Fix ChangeLog
[glibc.git] / ChangeLog
blob82aebf23bdbf2daca99b988112322acd179b4c16
1 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3         [BZ #16375]
4         * manual/arith.texi: Fix spelling.
5         * manual/charset.texi: Likewise.
6         * manual/errno.texi: Likewise.
7         * manual/filesys.texi: Likewise.
8         * manual/lang.texi: Likewise.
9         * manual/llio.texi: Likewise.
10         * manual/locale.texi: Likewise.
11         * manual/message.texi: Likewise.
12         * manual/resource.texi: Likewise.
13         * manual/search.texi: Likewise.
14         * manual/setjmp.texi: Likewise.
15         * manual/stdio.texi: Likewise.
16         * manual/string.texi: Likewise.
17         * manual/sysinfo.texi: Likewise.
18         * manual/time.texi: Likewise.
20 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22         * po/sl.po: New file.
24 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26         * .gitignore: Add core/.gdbinit/.gdb_history.
28 2013-12-27  Allan McRae  <allan@archlinux.org>
30         [BZ #16369]
31         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34 2013-12-24  Brooks Moses  <bmoses@google.com>
36         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37         all compilers that claim C++98 compliance, not just GCC.
38         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39         Likewise.
41 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43         * NEWS: Restore accidentally deleted bug-fix entries.
45 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46             Ondřej Bílka  <neleai@seznam.cz>
48         [BZ #15073]
49         * malloc/malloc.c (_int_free): Perform sanity check only if we
50         have_lock.
52 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54         [BZ #12986]
55         * manual/stdio.texi (String Input Conversions): Clarify that character
56         classes are not supported.
58 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
64         [BZ #16337]
65         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
66         Calculate results for small negative arguments directly rather
67         than using reflection formula with special underflow handling.
69         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
70         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
71         sysdeps/unix/bsd/bsd4.4/syscalls.list.
72         (fchflags): Likewise.
73         (revoke): Likewise.
74         (setlogin): Likewise.
75         (sigaltstack): Likewise.
76         (wait4): Likewise.
77         (sigblock): Remove.
78         (sigsetmask): Likewise.
79         (wait3): Likewise.
80         (waitpid): Likewise.
81         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
82         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
83         file.
84         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
85         * sysdeps/unix/bsd/Makefile: ... here.
86         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
87         * sysdeps/unix/bsd/Versions: ... here.
88         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
89         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
90         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
91         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
92         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
93         * sysdeps/unix/bsd/sigblock.c: ... here.
94         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
95         * sysdeps/unix/bsd/sigsetmask.c: ... here.
96         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
97         * sysdeps/unix/bsd/sigvec.c: ... here.
98         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
99         * sysdeps/unix/bsd/tcdrain.c: ... here.
100         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
101         * sysdeps/unix/bsd/tcgetattr.c: ... here.
102         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
103         * sysdeps/unix/bsd/tcsetattr.c: ... here.
104         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
105         * sysdeps/unix/bsd/wait.c: ... here.
106         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
107         * sysdeps/unix/bsd/wait3.c: ... here.
108         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
109         * sysdeps/unix/bsd/waitpid.c: ... here.
111 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
113         [BZ #16356]
114         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
115         round-to-nearest for [!USE_AS_EXPM1L].
116         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
117         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
118         more tests of exp and exp10.  Expect some exp10 tests to miss
119         exceptions or fail in directed rounding modes.
120         * math/auto-libm-test-out: Regenerated.
121         * math/libm-test.inc (exp10_tonearest_test_data): New array.
122         (exp10_test_tonearest): New function.
123         (exp10_towardzero_test_data): New array.
124         (exp10_test_towardzero): New function.
125         (exp10_downward_test_data): New array.
126         (exp10_test_downward): New function.
127         (exp10_upward_test_data): New array.
128         (exp10_test_upward): New function.
129         (main): Call the new functions.
130         * sysdeps/i386/fpu/libm-test-ulps: Update.
131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
133 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
135         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
136         asinh, atan, atan2, atanh, cbrt, cos and cosh.
137         * math/auto-libm-test-out: Regenerated.
138         * math/libm-test.inc (acosh_test_data): Add more tests.
139         (atanh_test_data): Likewise.
140         (ceil_test_data): Likewise.
141         (copysign_test_data): Likewise.
142         * sysdeps/i386/fpu/libm-test-ulps: Update.
143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145         * timezone/checktab.awk: Update from tzcode 2013i.
146         * timezone/private.h: Likewise.
147         * timezone/scheck.c: Likewise.
148         * timezone/tzfile.h: Likewise.
149         * timezone/tzselect.ksh: Likewise.
150         * timezone/zdump.c: Likewise.
151         * timezone/zic.c: Likewise.
153         * math/auto-libm-test-in: Add tests of cpow.
154         * math/auto-libm-test-out: Regenerated.
155         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
156         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
157         mpc_cc_c.
158         (func_calc_desc): Add mpc_cc_c union field.
159         (test_functions): Add cpow.
160         (special_fill_2pi): New function.
161         (special_real_inputs): Add 2pi.
162         (calc_generic_results): Handle mpc_cc_c.
163         * sysdeps/i386/fpu/libm-test-ulps: Update.
164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
167         csqrt, ctan and ctanh.
168         * math/auto-libm-test-out: Regenerated.
169         * math/libm-test.inc (TEST_COND_x86_64): New macro.
170         (TEST_COND_x86): Likewise.
171         (ccos_test_data): Use AUTO_TESTS_c_c.
172         (ccosh_test_data): Likewise.
173         (cexp_test_data): Likewise.
174         (clog_test_data): Likewise.
175         (csqrt_test_data): Likewise.
176         (ctan_test_data): Likewise.
177         (ctan_tonearest_test_data): Likewise.
178         (ctan_towardzero_test_data): Likewise.
179         (ctan_downward_test_data): Likewise.
180         (ctan_upward_test_data): Likewise.
181         (ctanh_test_data): Likewise.
182         (ctanh_tonearest_test_data): Likewise.
183         (ctanh_towardzero_test_data): Likewise.
184         (ctanh_downward_test_data): Likewise.
185         (ctanh_upward_test_data): Likewise.
186         * math/gen-auto-libm-tests.c (func_calc_method): Add value
187         mpc_c_c.
188         (func_calc_desc): Add mpc_c_c union field.
189         (FUNC_mpc_c_c): New macro.
190         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
191         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
192         ctanh.
193         (special_fill_min_subnorm_p120): New function.
194         (special_real_inputs): Add min_subnorm_p120.
195         (calc_generic_results): Handle mpc_c_c.
196         * sysdeps/i386/fpu/libm-test-ulps: Update.
197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
201         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
202         do_sin_slow): New functions.
203         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
204         cslow2, csloww1, csloww2): Use the new functions.
206         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
207         Use M to change sign of result instead of X.  Assume X is
208         positive.
209         (csloww1): Likewise.
210         (__sin): Adjust.
211         (__cos): Adjust.
213         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
214         arguments A and DA.
215         (__sin): Adjust.
216         (__cos): Likewise.
218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
219         (__cos): Likewise.
220         (sloww1): Don't adjust sign of DX.
221         (csloww1): Likewise.
222         (sloww2): Use X directly and don't adjust sign of DX.
223         (csloww2): Likewise.
225 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
227         * math/auto-libm-test-in: Add tests of cabs and carg.
228         * math/auto-libm-test-out: Regenerated.
229         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
230         (carg_test_data): Likewise.
231         * math/gen-auto-libm-tests.c (func_calc_method): Add value
232         mpc_c_f.
233         (func_calc_desc): Add mpc_c_f union field.
234         (test_functions): Add cabs and carg.
235         (calc_generic_results): Handle mpc_c_f.
237         * sysdeps/powerpc/powerpc32/libgcc-compat.S
238         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
239         as a macro and a compat symbol.
240         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
241         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
242         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
243         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
244         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
245         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
246         not use .hidden.
247         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
248         Likewise.
249         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
250         Likewise.
251         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
252         Likewise.
253         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
254         Likewise.
255         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
256         Likewise.
257         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
258         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
259         from GLIBC_2.3.2.
261 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
265 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
267         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
268         (__signal_safe_memalign, __signal_safe_free): Use it.
269         (__signal_safe_realloc): Likewise.
271 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
273         * manual/texinfo.tex: Update to version 2013-11-26.10 with
274         trailing whitespace removed.
275         * scripts/config.guess: Update to version 2013-11-29.
276         * scripts/config.sub: Update to version 2013-10-01.
278         * math/auto-libm-test-in: Add tests of sincos.
279         * math/auto-libm-test-out: Regenerated.
280         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
281         * math/gen-auto-libm-tests.c (func_calc_method): Add value
282         mpfr_f_11.
283         (func_calc_desc): Add mpfr_f_11 union field.
284         (test_functions): Add sincos.
285         (calc_generic_results): Handle mpfr_f_11.
286         * sysdeps/i386/fpu/libm-test-ulps: Update.
287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289 2013-12-19  Andreas Schwab  <schwab@suse.de>
291         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
292         CALL_MCOUNT.
293         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
294         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
295         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
297 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
299         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
300         * sysdeps/i386/fpu/libm-test-ulps: Update.
301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303         [BZ #16293]
304         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
305         round-to-nearest mode when using frndint.
306         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
307         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
309         Likewise.
310         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
311         sinh test to fail.
312         * math/auto-libm-test-out: Regenerated.
313         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
314         (TEST_COND_x86): Likewise.
315         (expm1_tonearest_test_data): New array.
316         (expm1_test_tonearest): New function.
317         (expm1_towardzero_test_data): New array.
318         (expm1_test_towardzero): New function.
319         (expm1_downward_test_data): New array.
320         (expm1_test_downward): New function.
321         (expm1_upward_test_data): New array.
322         (expm1_test_upward): New function.
323         (main): Run the new test functions.
324         * sysdeps/i386/fpu/libm-test-ulps: Update.
325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
327         * include/features.h: Update comment documenting feature test
328         macros.  Mention _DEFAULT_SOURCE in comment.
329         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
330         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
331         _BSD_SOURCE and _SVID_SOURCE.
332         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
333         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
334         !_SVID_SOURCE]: Likewise.
335         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
336         (__USE_POSIX_IMPLICITLY): Define.
337         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
338         (_POSIX_SOURCE): Undefine and redefine.
339         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
340         (_POSIX_C_SOURCE): Likewise.
341         * manual/creature.texi (_DEFAULT_SOURCE): Document.
342         (Feature Test Macros): Update documentation of default features.
344 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
346         * benchtests/Makefile: Add bench-strtok.
347         * benchtests/bench-strtok.c: New file: strtok benchtest.
349 2013-12-19  Allan McRae  <allan@archlinux.org>
351         * manual/install.texi: Suppress menu for plain text output.
352         * INSTALL: Regenerated.
354 2013-12-18  Andrew Hunter  <ahh@google.com>
356         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
357         (__signal_safe_malloc, __signal_safe_free): Likewise.
358         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
359         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
360         (__signal_safe_memalign, __signal_safe_malloc): New function.
361         (__signal_safe_free, __signal_safe_realloc): Likewise.
362         (__signal_safe_calloc): Likewise.
363         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
364         functions.
365         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
367 2013-12-18  Andrew Hunter  <ahh@google.com>
369         * elf/Versions (ld): Add _dl_clear_dtv.
370         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
371         * elf/dl-tls.c (_dl_clear_dtv): New function.
372         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
374 2013-12-18  Andrew Hunter  <ahh@google.com>
376         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
377         (_dl_unmask_signals): Likewise.
378         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
379         (_dl_unmask_all_signals): Likewise.
380         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
381         (_dl_unmask_all_signals): Likewise.
382         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
383         (_dl_unmask_signals): Likewise.
385 2013-12-18  Brooks Moses  <bmoses@google.com>
387         [BZ #15846]
388         * misc/getauxval.c: Include errno.h.
389         (__getauxval): Set errno to ENOENT if the requested type is not
390         found.
391         * misc/sys/auxv.h (getauxval): Document that it may set errno;
392         don't declare with __attribute_const__.
393         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
394         * manual/startup.texi: Document that getauxval sets errno.
396 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
398         * math/auto-libm-test-in: Add tests of jn and yn.
399         * math/auto-libm-test-out: Regenerated.
400         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
401         (yn_test_data): Likewise.
402         * math/gen-auto-libm-tests.c (func_calc_method): Add value
403         mpfr_if_f.
404         (func_calc_desc): Add mpfr_if_f union field.
405         (FUNC_mpfr_if_f): New macro.
406         (test_functions): Add jn and yn.
407         (calc_generic_results): Assert type of second input for
408         mpfr_ff_f.  Handle mpfr_if_f.
409         (output_for_one_input_case): Disable all checking for arguments
410         fitting floating-point types in case of an integer argument.
411         * sysdeps/i386/fpu/libm-test-ulps: Update.
412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
415         Don't expect fegetround reference in libm.so.
417 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
419         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
420         $(config-cflags-nofma).
422 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
424         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
425         * math/auto-libm-test-out: Regenerated.
427         [BZ #16338]
428         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
429         to determine exponent and adjust argument to have exponent of -1.
430         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
431         log2.
432         * math/auto-libm-test-out: Regenerated.
433         * sysdeps/i386/fpu/libm-test-ulps: Update.
434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
436 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
438         * manual/probes.texi: Remove cases when per-thread arenas are
439         disabled.
441 2013-12-18  Andreas Schwab  <schwab@suse.de>
443         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
444         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
445         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
446         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
447         * sysdeps/i386/i686/multiarch/Makefile: Update.
448         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
450 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
452         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
453         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
455 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
457         Support TZ transition times < 00:00:00.
458         This is needed for version-3 tz-format files; it supports time
459         stamps past 2037 for America/Godthab (the only entry in the tz
460         database for which this change is relevant).
461         * manual/time.texi (TZ Variable): Document transition times
462         from -167:59:59 through -00:00:01.
463         * time/tzset.c (tz_rule): Time of day is now signed.
464         (__tzset_parse_tz): Parse negative time of day.
466         Document TZ transition times >= 25:00:00.
467         * manual/time.texi (TZ Variable): Document transition times from
468         25:00:00 through 167:59:59.  These are already supported, and this
469         support will help with version-3 tz-format files.
471         * manual/time.texi (TZ Variable): Modernize North America example
472         to reflect current (i.e., 2007-and-later) daylight saving rules.
474         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
476 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
478         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
479         * sysdeps/unix/bsd/bits/stat.h: Likewise.
480         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
482         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
483         * sysdeps/unix/bsd/bsdstat.h: Likewise.
484         * sysdeps/unix/bsd/clock.c: Likewise.
485         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
486         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
487         * sysdeps/unix/bsd/init-posix.c: Likewise.
488         * sysdeps/unix/bsd/poll.c: Likewise.
489         * sysdeps/unix/bsd/ptsname.c: Likewise.
490         * sysdeps/unix/bsd/seekdir.c: Likewise.
491         * sysdeps/unix/bsd/setegid.c: Likewise.
492         * sysdeps/unix/bsd/seteuid.c: Likewise.
493         * sysdeps/unix/bsd/setgid.c: Likewise.
494         * sysdeps/unix/bsd/setrgid.c: Likewise.
495         * sysdeps/unix/bsd/setruid.c: Likewise.
496         * sysdeps/unix/bsd/setsid.c: Likewise.
497         * sysdeps/unix/bsd/setuid.c: Likewise.
498         * sysdeps/unix/bsd/sigaction.c: Likewise.
499         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
500         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
501         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
502         * sysdeps/unix/bsd/telldir.c: Likewise.
503         * sysdeps/unix/bsd/times.c: Likewise.
504         * sysdeps/unix/bsd/usleep.c: Likewise.
506         * misc/Makefile (install-lib): Remove libbsd-compat.a.
507         ($(objpfx)libbsd-compat.a): Remove rule.
509         * include/features.h (__FAVOR_BSD): Do not define.
510         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
511         features conflicting with POSIX.
512         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
513         (_BSD_SOURCE): Remove description of not being a subset of other
514         feature test macros.
515         * manual/job.texi (getpgrp): Do not document BSD version.
516         (getpgid): Do not document by reference to BSD getpgrp.
517         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
518         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
519         * signal/signal.h [__FAVOR_BSD]: Likewise.
520         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
521         instead of making contents conditional on [__FAVOR_BSD].
522         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
524 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
528 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
530         [BZ #16314]
531         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
532         values below 2**-450, not 2**-500.
533         * math/auto-libm-test-in: Don't allow spurious underflow from
534         hypot.
535         * math/auto-libm-test-out: Regenerated.
537         [BZ #16316]
538         [BZ #16330]
539         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
540         values of ha and hb and sort them after adjusting subnormal
541         arguments.
542         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
543         Likewise.
544         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
545         values of ea and eb and sort them after adjusting subnormal
546         arguments.
547         * math/auto-libm-test-in: Do not expect some hypot tests of
548         subnormals to fail.  Add more hypot tests.
549         * math/auto-libm-test-out: Regenerated.
551 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
553         [BZ #13304]
554         * sysdeps/sh/s_fma.c: New file.
555         * sysdeps/sh/s_fmaf.c: New file.
556         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
557         version.
558         * sysdeps/sh/Implies: Add sh/soft-fp.
560 2013-12-16  Roland McGrath  <roland@hack.frob.com>
562         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
563         level of indirection to members `objname', `errstring', `malloced'.
564         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
565         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
566         it as the __longjmp argument (just pass 1 instead).
567         (_dl_catch_error): Initialize C with argument pointers and address of
568         volatile local ERRCODE rather than copying values out of C at return.
570 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
572         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
573         * math/auto-libm-test-out: Regenerated.
574         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
575         (hypot_test_data): Likewise.
576         (pow_test_data): Likewise.
577         (pow_tonearest_test_data): Likewise.
578         * math/gen-auto-libm-tests.c (func_calc_method): Add value
579         mpfr_ff_f.
580         (func_calc_desc): Add mpfr_ff_f union field.
581         (FUNC_mpfr_ff_f): New macro.
582         (test_functions): Add atan2, hypot and pow.
583         (special_fill_min): New function.
584         (special_fill_minus_min): Likewise.
585         (special_fill_min_subnorm): Likewise.
586         (special_fill_minus_min_subnorm): Likewise.
587         (special_real_inputs): Add min, -min, min_subnorm and
588         -min_subnorm.
589         (calc_generic_results): Handle mpfr_ff_f.
590         * sysdeps/i386/fpu/libm-test-ulps: Update.
591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
593 2013-12-16  Will Newton  <will.newton@linaro.org>
595         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
596         (Aligned Memory Blocks): Add documentation for aligned_alloc
597         and suggest it as an alternative to posix_memalign.
598         (Hooks for Malloc): Document __memalign_hook is also called
599         for aligned_alloc.  (Summary of Malloc): Add summary for
600         aligned alloc.  Document __memalign_hook is also called
601         for aligned_alloc.
603 2013-12-16  Will Newton  <will.newton@linaro.org>
605         * manual/memory.texi (Malloc Examples): Clarify default
606         alignment documentation.  Suggest posix_memalign rather
607         than memalign or valloc.
608         (Aligned Memory Blocks): Remove suggestion to use memalign
609         or valloc.  Remove obsolete comment about BSD.
610         Document memalign errno values and mark the function obsolete.
611         Document posix_memalign returned error codes.  Mark valloc
612         as obsolete.  (Hooks for Malloc): __memalign_hook is also
613         called for posix_memalign and valloc.
614         (Summary of Malloc): Add posix_memalign to function summary.
615         __memalign_hook is also called for posix_memalign and valloc.
617 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
619         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
620         TAYLOR_SIN.
621         (__sin): Adjust.
622         (__cos): Likewise.
623         (sloww): Use mynumber union.  Expand ternary operator into
624         if-else statements.
625         (cslow): use mynumber union.
627 2013-12-16  Allan McRae  <allan@archlinux.org>
629         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
630         * configure: Regenerated.
632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
634         [BZ #14120]
635         * configure.ac: Added --enable-maintainer-mode. Check for
636         autoconf when enabled.
637         * configure: Regenerated.
639         * nscd/nscd.service: New file.
640         * nscd/nscd.tmpfiles: New file.
642 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
644         [BZ #12100]
645         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
646         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
647         * sysdeps/x86_64/multiarch/strstr.c: ... here.
648         (strstr): Add __strstr_sse2_unaligned ifunc.
649         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
650         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
651         (strcasestr): Remove __strcasestr_sse42 ifunc.
652         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
656 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
658         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
659         * sysdeps/sh/bits/fenv.h: ... here.
660         * sysdeps/sh/sh4/fpu/bits: Remove directory.
662 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
664         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
666 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
668         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
669         hypotf multiarch implementations.
670         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
671         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
672         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
673         multiarch hypot for PPC64.
674         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
675         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
677         multiarch hypotf for PPC64.
679 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
682         modff multiarch implementations.
683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
686         multiarch modf for PPC64.
687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
690         multiarch modff for PPC64.
692 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
695         and logl multiarch implementations.
696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
699         multiarch logb for PPC64.
700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
703         multiarch logb for PPC64.
704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
707         multiarch logb for PPC64.
709 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
712         isinff multiarch implementation.
713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
714         file.
715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
717         multiarch isinf for PPC64.
718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
719         file.
720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
721         multiarch isinff for PPC64.
723 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
726         finitef multiarch implementation.
727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
728         file.
729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
731         multiarch finite for PPC64.
732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
733         file.
734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
735         multiarch finitef for PPC64.
737 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
740         lrint multiarch implementation.
741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
742         file.
743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
745         multiarch llrint for PPC64.
746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
747         multiarch lrint for PPC64.
749 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
752         copysignf multiarch implementation.
753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
754         file.
755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
756         file.
757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
758         multiarch copysign for PPC64.
759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
760         multiarch copysignf for PPC64.
762 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
765         multiarch implementation.
766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
767         file.
768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
769         file.
770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
771         file.
772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
773         file.
774         multiarch llround for PPC64.
775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
776         multiarch trunc for PPC64.
777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
778         multiarch truncf for PPC64.
780 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
782         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
783         multiarch implementation.
784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
785         file.
786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
787         file.
788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
789         file.
790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
791         file.
792         multiarch llround for PPC64.
793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
794         multiarch round for PPC64.
795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
796         multiarch roundf for PPC64.
798 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
801         multiarch implementation.
802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
803         file.
804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
805         file.
806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
807         file.
808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
809         file.
810         multiarch llround for PPC64.
811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
812         multiarch floor for PPC64.
813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
814         multiarch floorf for PPC64.
816 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
819         multiarch implementation.
820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
821         file.
822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
823         file.
824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
825         file.
826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
827         file.
828         multiarch llround for PPC64.
829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
830         multiarch ceil for PPC64.
831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
832         multiarch ceilf for PPC64.
834 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
837         multiarch implementation.
838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
839         file.
840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
841         file.
842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
843         file.
844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
845         multiarch llround for PPC64.
846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
847         multiarch lround for PPC64.
849 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
852         multiarch implementation.
853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
856         file.
857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
860         multiarch isnan for PPC64.
861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
862         multiarch isnanf for PPC64.
864 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
866         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
867         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
868         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
869         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
870         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
873 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
875         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
876         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
878         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
880 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
883         multiarch implementations.
884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
885         (__libc_ifunc_impl_list): Likewise.
886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
888         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
889         multiarch stpcpy for PPC64.
891 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
894         multiarch implementations.
895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
896         (__libc_ifunc_impl_list): Likewise.
897         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
898         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
899         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
900         multiarch strcpy for PPC64.
902 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
905         redefine function name.
906         (_wordcopy_fwd_dest_aligned): Likewise.
907         (_wordcopy_bwd_aligned): Likewise.
908         (_wordcopy_bwd_dest_aligned): Likewise.
909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
910         multiarch implementations.
911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
912         (__libc_ifunc_impl_list): Likewise.
913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
917         multiarch wcscpy for PPC64.
919 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
922         multiarch implementations.
923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
924         (__libc_ifunc_impl_list): Likewise.
925         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
926         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
927         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
928         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
929         multiarch wcscpy for PPC64.
931 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
934         multiarch implementations.
935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
936         (__libc_ifunc_impl_list): Likewise.
937         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
938         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
939         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
940         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
941         multiarch wcsrchr for PPC64.
943 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
946         multiarch implementations.
947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
948         (__libc_ifunc_impl_list): Likewise.
949         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
950         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
951         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
952         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
953         multiarch wcschr for PPC64.
955 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
958         multiarch implementations.
959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
960         (__libc_ifunc_impl_list): Likewise.
961         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
962         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
963         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
964         multiarch strchrnul for PPC64.
966 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
969         implementations.
970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
971         (__libc_ifunc_impl_list): Likewise.
972         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
973         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
974         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
975         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
976         strchr for PPC64.
978 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
981         implementations.
982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
983         (__libc_ifunc_impl_list): Likewise.
984         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
985         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
986         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
987         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
988         strncmp for PPC64.
990 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
993         multiarch implementations.
994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
995         (__libc_ifunc_impl_list): Likewise.
996         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
997         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
998         strncasecmp for PPC64.
999         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1000         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1001         multiarch strncasecmp_l for PPC64.
1003 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1006         multiarch implementations.
1007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1008         (__libc_ifunc_impl_list): Likewise.
1009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1011         multiarch strcasecmp for PPC64.
1012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1013         file.
1014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1015         multiarch strcasecmp_l for PPC64.
1017 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1020         implementations.
1021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022         (__libc_ifunc_impl_list): Likewise.
1023         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1024         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1025         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1026         strnlen for PPC64.
1028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1031         implementations.
1032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1033         (__libc_ifunc_impl_list): Likewise.
1034         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1035         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1036         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1037         strlen for PPC64.
1039 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1042         implementations.
1043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1044         (__libc_ifunc_impl_list): Likewise.
1045         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1046         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1047         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1048         rawmemrchr for PPC64.
1050 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1053         implementation.
1054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1055         (__libc_ifunc_impl_list): Likewise.
1056         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1057         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1058         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1059         memrchr for PPC64.
1061 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1064         implementation.
1065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1066         (__libc_ifunc_impl_list): Likewise.
1067         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1068         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1069         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1070         memchr for PPC64.
1072 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1075         implementation.
1076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1077         (__libc_ifunc_impl_list): Likewise.
1078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1079         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1080         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1081         mempcpy for PPC64.
1083 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1085         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1086         avoid cretion of __bzero symbol.
1087         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1088         Likewise.
1089         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1090         Likewise.
1091         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1092         Likewise.
1093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1094         multiarch implementations.
1095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1096         (__libc_ifunc_impl_list): Likewise.
1097         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1098         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1099         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1100         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1101         bzero for PPC32.
1102         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1103         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1104         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1105         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1106         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1107         memset for PPC64.
1108         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1110 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1112         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1114         implementations.
1115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1116         (__libc_ifunc_impl_list): Likewise.
1117         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1118         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1119         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1120         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1121         memcmp for PPC64.
1123 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1126         multiarch for POWER/PPC64.
1127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1128         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1130         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1131         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1132         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1133         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1134         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1135         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1136         memcpy for PPC64.
1138 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1140         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1141         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1142         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1143         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1144         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1145         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1146         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1147         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1148         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1149         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1150         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1151         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1152         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1153         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1154         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1163 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1165         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1167 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1169         * benchtests/Makefile (bench): Add exp2 and log2.
1170         (LDLIBS-bench-exp2): Add -lm.
1171         (LDLIBS-bench-log2): Likewise.
1172         * benchtests/exp2-inputs: New inputs file.
1173         * benchtests/log2-inputs: New inputs file.
1174         * benchtests/log-inputs: Add new inputs.
1175         * benchtests/tan-inputs: Likewise.
1177 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1179         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1180         definition...
1181         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1182         csloww1, csloww2): ... from here.
1184         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1185         instead of structures.
1186         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1187         (POLYNOMIAL): Likewise.
1188         (TAYLOR_SLOW): Likewise.
1189         (__sin): Likewise.
1190         (__cos): Likewise.
1191         (slow1): Likewise.
1192         (slow2): Likewise.
1193         (sloww): Likewise.
1194         (sloww1); Likewise.
1195         (sloww2): Likewise.
1196         (bsloww1): Likewise.
1197         (bsloww2): Likewise.
1198         (cslow2): Likewise.
1199         (csloww): Likewise.
1200         (csloww1): Likewise.
1201         (csloww2): Likewise.
1203 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1205         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1206         (__malloc_assert, __libc_realloc, __libc_calloc,
1207         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1208         memcpy and memset.
1209         * malloc/hooks.c (realloc_check): Likewise.
1211 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1213         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1214         * malloc/arena.c: Remove PER_THREAD conditional.
1215         [!PER_THREAD]: Remove code.
1216         (ptmalloc_unlock_all2): Likewise.
1217         (ptmalloc_init): Likewise.
1218         (_int_new_arena): Likewise.
1219         (arena_get2): Likewise.
1220         * malloc/hooks.c (__malloc_get_state): Likewise.
1221         (__malloc_set_state): Likewise.
1222         * malloc/malloc.c: Likewise.
1223         (struct malloc_state): Likewise.
1224         (struct malloc_par): Likewise.
1225         (__libc_realloc): Likewise.
1226         (__libc_mallopt): Likewise.
1228 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1230         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1232 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1234         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1235         macro to a function.  Check for zero perturb_byte.
1236         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1238 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1240         * malloc/malloc.c: (force_reg): Remove.
1241         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1242         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1243         force_reg by atomic_forced_read.
1244         * malloc/arena.c (ptmalloc_init): Likewise.
1245         * malloc/hooks.c (top_check): Likewise.
1247 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1251 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1255 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1257         * math/auto-libm-test-in: Add tests of lgamma.
1258         * math/auto-libm-test-out: Regenerated.
1259         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1260         (M_LOG_2_SQRT_PIl): Likewise.
1261         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1262         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1263         mpfr_f_f1.
1264         (func_calc_desc): Add mpfr_f_f1 union field.
1265         (ARGS1): New macro.
1266         (ARGS2): Likewise.
1267         (ARGS3): Likewise.
1268         (ARGS4): Likewise.
1269         (RET1): Likewise.
1270         (RET2): Likewise.
1271         (CALC): Likewise.
1272         (FUNC): Likewise.
1273         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1274         (test_functions): Add lgamma.
1275         (calc_generic_results): Handle mpfr_f_f1.
1276         * sysdeps/i386/fpu/libm-test-ulps: Update.
1277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1281         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1282         __mpn_add_n for PowerPC64/POWER7.
1283         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1284         __mpn_sub_n for PowerPC64/POWER7.
1286 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1288         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1289         __mpn_addmul_1 for PowerPC64.
1290         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1291         __mpn_submul_1 for PowerPC64.
1292         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1293         for PowerPC64.
1294         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1295         for PowerPC64.
1297 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1299         [BZ #15089]
1300         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1302 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1304         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1306 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1308         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1309         add multiarch folders.
1310         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1311         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1312         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1313         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1314         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1315         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1316         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1317         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1318         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1319         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1320         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1331         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1333         New file.
1334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1335         New file.
1336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1337         multiarch __ieee754_hypot for PowerPC32.
1338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1339         New file.
1340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1341         New file.
1342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1343         multiarch __ieee754_hypotf for PowerPC32.
1345 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1348         long_double_symbol only if __logbl is defined.
1349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1350         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1352         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1354         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1356         path for implementation.
1357         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1360         logb, and logbl multiarch implementations for PowerPC32.
1361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1362         file.
1363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1364         file.
1365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1366         multiarch logb for PowerPC32.
1367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1368         file.
1369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1370         file.
1371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1372         multiarch logbf for PowerPC32.
1373         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1375         file.
1376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1377         multiarch logbl implementation for PowerPC32.
1379 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1382         and modff multiarch implementations.
1383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1384         New file.
1385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1386         New file.
1387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1388         multiarch modf for PowerPC32.
1389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1390         New file.
1391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1392         New file.
1393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1394         multiarch modff for PowerPC32.
1396 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1399         and lrintf multiarch implementations.
1400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1401         New file.
1402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1403         New file.
1404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1405         multiarch lrint for PowerPC32.
1406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1407         file: multiarch lrintf for PowerPC32.
1409 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1412         and lroundf multiarch implementations.
1413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1414         New file.
1415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1416         New file.
1417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1418         New file.
1419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1420         multiarch lround for PowerPC32.
1421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1422         file: multiarch lroundf for PowerPC32.
1424 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1427         copysign and copysignf multiarch implementations.
1428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1429         New file.
1430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1431         New file.
1432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1433         file: multiarch copysign for PowerPC32.
1434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1435         file: multiarch copysignf for PowerPC32.
1437 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1440         and truncf multiarch implementations.
1441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1442         New file.
1443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1444         file.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1446         multiarch trunc for PowerPC32.
1447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1448         New file.
1449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1450         New file.
1451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1452         multiarch truncf for PowerPC32.
1454 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1457         and roundf multiarch implementations.
1458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1459         New file.
1460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1461         file.
1462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1463         multiarch round for PowerPC32.
1464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1465         New file.
1466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1467         New file.
1468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1469         multiarch roundf for PowerPC32.
1471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1474         and floorf multiarch implementations.
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1476         New file.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1478         file.
1479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1480         multiarch floor for PowerPC32.
1481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1482         New file.
1483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1484         New file.
1485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1486         multiarch floorf for PowerPC32.
1488 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1491         and ceilf multiarch implementations.
1492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1493         New file.
1494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1495         file.
1496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1497         multiarch ceil for PowerPC32.
1498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1499         New file.
1500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1501         file.
1502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1503         multiarch ceilf for PowerPC32.
1505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1507         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1508         is defined.
1509         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1510         FINITEF is defined.
1511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1512         and finitef multiarch implementations.
1513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1514         New file.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1516         file.
1517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1518         multiarch finite for PowerPC32.
1519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1520         New file.
1521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1522         file: multiarch finitef for PowerPC32.
1524 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1527         and isinff multiarch implementations.
1528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1529         file.
1530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1531         file.
1532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1533         multiarch isinf for PowerPC32.
1534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1535         New file.
1536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1537         multiarch isinff for PowerPC32.
1539 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1541         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1542         alias when __isnan is defined.
1543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1544         and isnanf multiarch implementations.
1545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1546         file.
1547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1548         file.
1549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1550         file.
1551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1552         file.
1553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1554         multiarch isnan for PowerPC32.
1555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1556         New file.
1557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1558         New file.
1559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1560         multiarch isnanf for PowerPC32.
1562 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1565         and sqrtf multiarch implementations.
1566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1567         file.
1568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1569         file.
1570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1571         multiarch sqrt for PowerPC32.
1572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1573         file.
1574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1575         file.
1576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1577         multiarch sqrtf for PowerPC32.
1579 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1582         and llroundf multiarch implementations.
1583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1584         New file.
1585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1586         New file.
1587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1588         New file.
1589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1590         file: multiarch llround for PowerPC32.
1591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1592         file: multiarch llroundf for PowerPC32.
1594 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1597         multiarch PowerPC32 fpu implementations.
1598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1599         New file.
1600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1601         New file.
1602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1603         multiarch llrint for PowerPC32.
1604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1605         New file.
1606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1607         New file.
1608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1609         file.
1611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1615 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1618         file.
1619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1620         file.
1621         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1622         file.
1623         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1624         multiarch wordcopy for PPC32.
1625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1626         wordcopy objects.
1627         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1628         (__libc_ifunc_impl_list): Likewise.
1629         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1630         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1631         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1632         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1633         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1634         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1636 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1638         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1640         file.
1641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1642         file.
1643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1644         file.
1645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1646         multiarch wcscpy for PPC32.
1647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1648         multiarch objects.
1649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1650         (__libc_ifunc_impl_list): Likewise.
1651         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1652         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1653         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1654         sysdeps/powerpc/power6/wcscpy.c.
1656 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1658         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1660         file.
1661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1662         file.
1663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1664         file.
1665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1666         multiarch wcsrchr for PPC32.
1667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1668         multiarch objects.
1669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1670         (__libc_ifunc_impl_list): Likewise.
1671         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1672         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1673         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1674         sysdeps/powerpc/power6/wcsrchr.c.
1676 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1679         file.
1680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1681         file.
1682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1684         multiarch wcschr for PPc32.
1685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1686         multiarch objects.
1687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1688         (__libc_ifunc_impl_list): Likewise.
1689         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1690         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1691         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1692         sysdeps/powerpc/power6/wcschr.c.
1694 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1697         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1698         file.
1699         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1700         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1701         file: multiarch strchr for PPC32.
1702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1703         multiarch objects.
1704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1705         (__libc_ifunc_impl_list): Likewise.
1707 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1709         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1710         name.
1711         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1712         file.
1713         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1714         file.
1715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1716         multiarch strchrnul for PPC32.
1717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1718         multiarch objects.
1719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1720         (__libc_ifunc_impl_list): Likewise.
1722 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1725         file.
1726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1727         multiarch strncasecmp for PPC32.
1728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1729         file.
1730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1731         multiarch strncasecmp_l for PPC32.
1732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1733         strncasecmp multiarch objects.
1734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1735         (__libc_ifunc_impl_list): Likewise.
1737 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1739         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1740         file.
1741         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1742         multiarch strncasecmp for PPC32.
1743         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1744         New file.
1745         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1746         multiarch strcasecmp_l for PPC32.
1747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1748         multiarch objects.
1749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1750         (__libc_ifunc_impl_list): Likewise.
1752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1755         file.
1756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1757         file.
1758         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1759         multiarch strncmp for PPC32.
1760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1761         multiarch objects.
1762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1763         (__libc_ifunc_impl_list): Likewise.
1765 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1767         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1768         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1769         file.
1770         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1771         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1773         multiarch objects.
1774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1775         (__libc_ifunc_impl_list): Likewise.
1777 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1779         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1780         file.
1781         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1782         file.
1783         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1785         multiarch objects.
1786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1787         (__libc_ifunc_impl_list): Likewise.
1789 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1792         file.
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1794         file.
1795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1796         multiarch rawmemchr for PPC32.
1797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1798         multiarch objects.
1799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1800         (__libc_ifunc_impl_list): Likewise.
1802 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1804         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1805         file.
1806         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1807         file.
1808         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1809         file: memrchr multiarch for PPC32.
1810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1811         multiarch objects.
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1813         (__libc_ifunc_impl_list): Likewise.
1815 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1817         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1819         file.
1820         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1821         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1822         multiarch memchr for PPC32.
1823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1824         multiarch objects.
1825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1826         (__libc_ifunc_impl_list): Likewise.
1828 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1830         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1831         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1832         file.
1833         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1834         file.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1836         file: multiarch mempcpy for PPC32.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1838         multiarch objects.
1839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1840         (__libc_ifunc_impl_list): Likewise.
1842 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1844         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1845         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1846         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1847         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1848         multiarch bzero for PPC32.
1849         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1850         file.
1851         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1852         file.
1853         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1854         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1855         file: multiarch memset for PPC32.
1856         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1857         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1858         memset multiarch objects.
1859         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1860         (__libc_ifunc_impl_list): Likewise.
1862 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1865         file.
1866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1868         memcmp for PPC32.
1869         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1871         multiarch objects.
1872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1873         (__libc_ifunc_impl_list): Likewise.
1875 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1880         file.
1881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1882         file.
1883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1884         file.
1885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1886         multiarch memcpy for PPC32.
1887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1888         multiarch objects.
1889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1890         (__libc_ifunc_impl_list): Likewise.
1892 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1895         support multiarch for POWER/PPC32.
1896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1897         Likewise.
1898         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1900         Implies file to make multiarch folder appers before the fpu and
1901         default folder for power4 configuration.
1903 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1905         * scripts/bench.pl: Append volatile keyword to type.
1907 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1909         * sysdeps/sh/sotruss-lib.c: New file.
1910         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1912 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1916 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1918         [BZ #6810]
1919         * math/w_tgamma.c: Include <errno.h>.
1920         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1921         * math/w_tgammaf.c: Include <errno.h>.
1922         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1923         * math/w_tgammal.c: Include <errno.h>.
1924         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1925         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1926         underflow.  Add more tgamma tests.
1927         * math/auto-libm-test-out: Regenerated.
1928         * sysdeps/i386/fpu/libm-test-ulps: Update.
1929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1931         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1932         sin, sinh, tan, tanh, tgamma, y0 and y1.
1933         * math/auto-libm-test-out: Regenerated.
1934         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1935         (TEST_COND_x86): Likewise.
1936         (M_E2l): Remove macro.
1937         (M_E3l): Likewise.
1938         (M_2_SQRT_PIl): Likewise.
1939         (M_SQRT_PIl): Likewise.
1940         (M_1_DIV_El): Likewise.
1941         (log_test_data): Use AUTO_TESTS_f_f.
1942         (log10_test_data): Likewise.
1943         (log1p_test_data): Likewise.
1944         (log2_test_data): Likewise.
1945         (sin_test_data): Likewise.
1946         (sin_tonearest_test_data): Likewise.
1947         (sin_towardzero_test_data): Likewise.
1948         (sin_downward_test_data): Likewise.
1949         (sin_upward_test_data): Likewise.
1950         (sinh_test_data): Likewise.
1951         (sinh_tonearest_test_data): Likewise.
1952         (sinh_towardzero_test_data): Likewise.
1953         (sinh_downward_test_data): Likewise.
1954         (sinh_upward_test_data): Likewise.
1955         (tan_test_data): Likewise.
1956         (tan_tonearest_test_data): Likewise.
1957         (tan_towardzero_test_data): Likewise.
1958         (tan_downward_test_data): Likewise.
1959         (tan_upward_test_data): Likewise.
1960         (tanh_test_data): Likewise.
1961         (tgamma_test_data): Likewise.
1962         (y0_test_data): Likewise.
1963         (y1_test_data): Likewise.
1964         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1965         (special_real_inputs): Add pi/4.
1966         * sysdeps/i386/fpu/libm-test-ulps: Update.
1967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1971         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1972         "longjmp_target" static probes.
1973         (__longjmp): Rename to __longjmp_symbol.
1974         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1975         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1976         on which longjmp to generate.
1977         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1978         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1979         probe.
1980         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1981         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1982         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1983         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1984         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1985         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1987         __longjmp_symbol based on which __longjmp to generate.
1988         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1989         probe.
1990         (setjmp): Rename to setjmp_symbol.
1991         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1992         (_setjmp): Rename to _setjmp_symbol.
1993         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1994         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1995         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1996         which setjmp to generate.
1997         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1998         "longjmp_target" static probes.
2000 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2002         * benchtests/README: Add note about output arguments.
2003         * benchtests/bench-sincos.c: Remove file.
2004         * benchtests/sincos-inputs: New file.
2005         * scripts/bench.pl: Identify output arguments and define
2006         static variables for them.
2008         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2010         [BZ #15941]
2011         * Makefile (INSTALL): Add install-plain.texi as the primary
2012         dependency.
2013         * manual/install-plain.texi: New file.
2014         * manual/install.texi: Include node directive only for
2015         non-plaintext output.
2017 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2019         * stdlib/longlong.h: Update from GCC.
2021         [BZ #6807]
2022         [BZ #15901]
2023         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2024         * math/w_j0f.c (y0f): Likewise.
2025         * math/w_j0l.c (__y0l): Likewise.
2026         * math/w_j1.c (y1): Likewise.
2027         * math/w_j1f.c (y1f): Likewise.
2028         * math/w_j1l.c (__y1l): Likewise
2029         * math/w_jn.c (yn): Likewise.
2030         * math/w_jnf.c (ynf): Likewise.
2031         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2032         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2033         value for Bessel function domain errors outside _SVID_ mode.
2034         Adjust sign of return value for yn (negative integer, 0).
2035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2036         by zero in return for negative x and set sign appropriately for
2037         negative n.
2038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2039         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2040         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2041         expectations in error cases.
2042         (y1_test_data): Likewise.
2043         (yn_test_data): Likewise.
2044         * sysdeps/i386/fpu/libm-test-ulps: Update.
2045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2047 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2049         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2050         "64" to "64-v1".  Add "64-v2".
2051         (abi-64-options): Rename to ...
2052         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2053         (abi-64-condition): Rename to ...
2054         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2055         (abi-64-ld-soname): Rename to ...
2056         (abi-64-v1-ld-soname): ... this.
2057         (abi-64-v2-options): Define.
2058         (abi-64-v2-condition): Likewise.
2059         (abi-64-v2-ld-soname): Likewise.
2060         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2061         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2066 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2067             Alan Modra  <amodra@gmail.com>
2069         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2070         New versions for use with the ELFv2 ABI.
2071         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2072         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2073         declaration.
2074         (struct La_ppc64v2_retval): Likewise.
2075         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2076         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2077         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2078         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2079         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2080         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2081         Do not save or restore CR.
2082         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2083         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2084         return values for ELFv2 ABI.  Fix location of FPR return registers.
2085         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2086         updated values for _CALL_ELF == 2.
2087         (La_regs, La_retval, int_retval): Likewise.
2089 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2091         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2092         (FRAME_MIN_SIZE_PARM): Likewise.
2093         (FRAME_BACKCHAIN): Likewise.
2094         (FRAME_CR_SAVE): Likewise.
2095         (FRAME_LR_SAVE): Likewise.
2096         (FRAME_TOC_SAVE): Likewise.
2097         (FRAME_PARM_SAVE): Likewise.
2098         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2099         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2100         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2101         (call_mcount_parm_offset): New macro.
2102         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2103         (PROF): Use symbolic stack frame offsets.
2104         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2105         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2106         Redefine in terms of FRAME_MIN_SIZE.
2107         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2108         (_dl_profile_resolve): Likewise.  Update comment.
2109         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2110         symbols stack frame offsets.
2111         (__sigsetjmp): Likewise.
2112         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2113         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2114         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2115         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2118         (FRAME_BACKCHAIN): Remove.
2119         (FRAME_CR_SAVE): Likewise.
2120         (FRAME_LR_SAVE): Likewise.
2121         (FRAME_COMPILER_DW): Likewise.
2122         (FRAME_LINKER_DW): Likewise.
2123         (FRAME_TOC_SAVE): Likewise.
2124         (FRAME_PARM_SAVE): Likewise.
2125         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2126         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2127         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2129         (CHECK_SP): Use symbolic stack frame offsets.
2130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2131         zone" instead of caller's parameter save area for temp storage.
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2133         Likewise.  Also, use symbolic stack frame offsets.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2135         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2136         our own stack frame instead of the caller's.
2137         (__socket): Use symbolic stack frame offsets.
2139 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2140             Alan Modra  <amodra@gmail.com>
2142         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2143         Define.
2144         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2145         PPC64_LOCAL_ENTRY_OFFSET): Define.
2146         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2147         New function.
2148         (elf_machine_fixup_plt): Call it.
2149         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2150         reloc arguments.
2151         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2152         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2153         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2154         r2 before calling target.
2156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2157             Alan Modra  <amodra@gmail.com>
2159         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2160         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2161         versions of macros to support ELFv2 ABI.
2162         (LOCALENTRY): New macro.
2163         (ENTRY, EALIGN): Use it.
2164         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2165         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2166         fall through into ENTRY entry point.
2167         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2168         Only define if _CALL_ELF != 2.
2170         (elf_machine_matches_host): Verify ABI version matches.
2171         (RTLD_START): Use LOCALENTRY.
2172         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2173         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2174         (PLT_ENTRY_WORDS): New macro.
2175         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2176         (elf_machine_runtime_setup): Support ELFv2 ABI.
2177         (elf_machine_fixup_plt): Likewise.
2178         (elf_machine_plt_conflict): Likewise.
2179         (resolve_ifunc): Likewise.
2180         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2182         Likewise.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2184         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2186         (makecontext): Support ELFv2 ABI.
2187         * elf/elf.h (EF_PPC64_ABI): Define.
2189 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2191         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2192         New assembler macro.
2193         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2194         [ASSEMBLER] (ENTRY): ... but instead here ...
2195         [ASSEMBLER] (EALIGN): ... and here.
2196         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2197         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2198         [!ASSEMBLER] (ENTRY_2): Use it.
2199         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2200         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2201         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2202         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2203         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2205         Use PPC64_LOAD_FUNCPTR.
2207 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2209         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2211 2013-12-04  Alan Modra  <amodra@gmail.com>
2213         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2214         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2215         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2216         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2219         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2220         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2221         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2222         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2223         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2225 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2228         (__makecontext): Fix incorrect CFI when backtracing out of
2229         context created via makecontext.
2230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2231         (__setcontext): Fix incorrect CFI during switch to new context.
2232         (__novec_setcontext): Likewise.
2234 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2236         [BZ #4772]
2237         * time/strptime_l.c (__strptime_internal): Allow modifiers
2238         in strptime.
2239         * time/tst-strptime.c (day_tests): Add testcase.
2242 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2244         * scripts/bench.pl: Skip over blank lines.
2246 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2248         [BZ #926]
2249         * manual/time.texi (Calendar Time): Clarify what timezone functions
2250         use.
2252 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2256 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2258         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2259         implementation.
2260         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2261         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2262         * debug/memset_chk.c (__memset_chk): Likewise.
2263         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2264         * debug/strncpy_chk.c: Likewise.
2266 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2268         [BZ #15268]
2269         [BZ #15425]
2270         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2271         (__ieee754_exp): For possibly underflowing results, check size of
2272         result and force underflow exception if required.
2273         * math/auto-libm-test-in: Add more tests of exp.
2274         * math/auto-libm-test-out: Regenerated.
2275         * sysdeps/i386/fpu/libm-test-ulps: Update.
2276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2278         [BZ #16283]
2279         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2280         * math/w_exp2f.c (__exp2f): Likewise.
2281         * math/w_exp2l.c (__exp2l): Likewise.
2282         * math/auto-libm-test-in: Do not allow missing errno on exp2
2283         underflow.
2284         * math/auto-libm-test-out: Regenerated.
2286 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2288         [BZ #16274]
2289         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2290         handle filename validation.
2291         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2292         (do_open): Delete.
2294 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2296         [BZ #6786]
2297         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2298         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2299         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2300         <float.h>.
2301         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2302         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2303         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2305         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2307         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2308         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2309         Add more erfc tests.
2310         * math/auto-libm-test-out: Regenerated.
2311         * sysdeps/i386/fpu/libm-test-ulps: Update.
2312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2314         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2315         exp2, expm1, j0 and j1.
2316         * math/auto-libm-test-out: Regenerated.
2317         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2318         (erfc_test_data): Likewise.
2319         (exp_test_data): Likewise.
2320         (exp_tonearest_test_data): Likewise.
2321         (exp_towardzero_test_data): Likewise.
2322         (exp_downward_test_data): Likewise.
2323         (exp_upward_test_data): Likewise.
2324         (exp10_test_data): Likewise.
2325         (exp2_test_data): Likewise.
2326         (expm1_test_data): Likewise.
2327         (j0_test_data): Likewise.
2328         (j1_test_data): Likewise.
2329         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2330         (input_flag_type): Add flag_xfail_rounding.
2331         (input_flags): Add xfail-rounding.
2332         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2333         (output_for_one_input_case): Handle flag_xfail_rounding.
2334         * sysdeps/i386/fpu/libm-test-ulps: Update.
2335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2337 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2339         [BZ #16289]
2340         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2341         division by 0.
2343 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2345         [BZ #16195]
2346         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2347         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2348         (STAP_PROBE0): New macro.
2349         (STAP_PROBE1): Likewise.
2350         (STAP_PROBE2): Likewise.
2351         (STAP_PROBE3): Likewise.
2352         (STAP_PROBE4): Likewise.
2354 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2356         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2358 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2360         * benchtests/Makefile (bench): Add sqrt.
2361         (LDLIBS-bench-sqrt): New.
2362         * benchtests/sqrt-input: New.
2364 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2366         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2367         (GAIH_EAI): Likewise.
2368         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2369         (gaih_inet): Likewise.
2370         (getaddrinfo): Don't use GAIH_EAI.
2372         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2373         (struct gaih): Remove definition.
2375 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2377         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2378         Use HERRNOP directly.
2380 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2384 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2386         * math/gen-auto-libm-tests.c (test_functions): Add more
2387         single-argument functions.
2388         (special_fill_pi_2): New function.
2389         (special_fill_minus_pi_2): Likewise.
2390         (special_fill_pi_6): Likewise.
2391         (special_fill_minus_pi_6): Likewise.
2392         (special_fill_pi_3): Likewise.
2393         (special_fill_2pi_3): Likewise.
2394         (special_fill_e): Likewise.
2395         (special_fill_1_e): Likewise.
2396         (special_fill_e_minus_1): Likewise.
2397         (special_real_inputs): Add more special inputs.
2398         (output_for_one_input_case): Do not require ERANGE on underflow to
2399         zero if round-to-nearest result does not underflow to zero, unless
2400         exact results required.
2401         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2402         atan, atanh, cbrt, cos and cosh.
2403         * math/auto-libm-test-out: Regenerated.
2404         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2405         (acos_tonearest_test_data): Likewise.
2406         (acos_towardzero_test_data): Likewise.
2407         (acos_downward_test_data): Likewise.
2408         (acos_upward_test_data): Likewise.
2409         (acosh_test_data): Likewise.
2410         (asin_test_data): Likewise.
2411         (asin_tonearest_test_data): Likewise.
2412         (asin_towardzero_test_data): Likewise.
2413         (asin_upward_test_data): Likewise.
2414         (asinh_test_data): Likewise.
2415         (atan_test_data): Likewise.
2416         (atanh_test_data): Likewise.
2417         (cbrt_test_data): Likewise.
2418         (cos_test_data): Likewise.
2419         (cos_tonearest_test_data): Likewise.
2420         (cos_towardzero_test_data): Likewise.
2421         (cos_downward_test_data): Likewise.
2422         (cos_upward_test_data): Likewise.
2423         (cosh_test_data): Likewise.
2424         (cosh_tonearest_test_data): Likewise.
2425         (cosh_towardzero_test_data): Likewise.
2426         (cosh_downward_test_data): Likewise.
2427         (cosh_upward_test_data): Likewise.
2428         * sysdeps/i386/fpu/libm-test-ulps: Update.
2429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2431 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2433         [BZ #6787]
2434         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2435         * math/w_exp10f.c (__exp10f): Likewise.
2436         * math/w_exp10l.c (__exp10l): Likewise.
2437         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2438         errno settings in existing tests.
2440         [BZ #14032]
2441         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2442         precision control set to double precision.
2443         * sysdeps/i386/fpu/w_sqrt.c: New file.
2444         * math/auto-libm-test-in: Add more tests.
2445         * math/auto-libm-test-out: Update.
2447         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2448         (sqrt_test_tonearest): New function.
2449         (sqrt_towardzero_test_data): New variable.
2450         (sqrt_test_towardzero): New function.
2451         (sqrt_downward_test_data): New variable.
2452         (sqrt_test_downward): New function.
2453         (sqrt_upward_test_data): New variable.
2454         (sqrt_test_upward): New function.
2455         (main): Call the new functions.
2457         * math/gen-auto-libm-tests.c: New file.
2458         * math/auto-libm-test-in: Likewise.
2459         * math/auto-libm-test-out: New generated file.
2460         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2461         variables.
2462         (%beautify): Add generated representations of zero.
2463         (top level): Set $auto_input and call parse_auto_input.
2464         (beautify): Remove trailing "f" from hex float constants.
2465         (parse_args): Handle XFAIL_TEST.
2466         (convert_condition): New function.
2467         (or_value): Likewise.
2468         (or_cond_value): Likewise.
2469         (generate_testfile): Handle AUTO_TESTS_* lines.
2470         (parse_auto_input): New function.
2471         * math/libm-test.inc (XFAIL_TEST): New macro.
2472         (ERRNO_UNCHANGED): Update value.
2473         (ERRNO_EDOM): Likewise.
2474         (ERRNO_ERANGE): Likewise.
2475         (IGNORE_RESULT): Likewise.
2476         (TEST_COND_flt_32): New macro.
2477         (TEST_COND_dbl_64): Likewise.
2478         (TEST_COND_ldbl_96_intel): Likewise.
2479         (TEST_COND_ldbl_96_m68k): Likewise.
2480         (TEST_COND_ldbl_128): Likewise.
2481         (TEST_COND_ldbl_128ibm): Likewise.
2482         (TEST_COND_long32): Likewise.
2483         (TEST_COND_long64): Likewise.
2484         (TEST_COND_before_rounding): Likewise.
2485         (TEST_COND_after_rounding): Likewise.
2486         (enable_test): Handle XFAIL_TEST flag.
2487         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2488         with finite results.
2489         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2490         auto-libm-test-out.
2492 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2493             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2495         [BZ #16214]
2496         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2497         __tls_get_addr_internal instead of __tls_get_offset in order to
2498         avoid GOT pointer dependency.  Make rtld export
2499         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2500         __tls_get_addr since we are a __tls_get_offset platform.
2501         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2502         GOT pointer being set up before.
2503         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2505 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2507         * manual/math.texi (Errors in Math Functions): Document accuracy
2508         goals.
2510         [BZ #15004]
2511         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2512         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2513         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2514         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2515         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2516         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2517         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2518         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2519         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2520         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2521         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2522         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2523         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2524         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2525         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2526         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2528         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2529         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2530         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2531         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2532         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2533         Likewise.
2534         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2535         Likewise.
2536         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2537         Likewise.
2538         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2539         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2540         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2541         atomic-feupdateenv and flt-rounds.
2542         * sysdeps/powerpc/nofpu/Versions (libc): Add
2543         __atomic_feholdexcept, __atomic_feclearexcept,
2544         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2545         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2546         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2547         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2548         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2549         here.
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2551         Update.
2553         * manual/arith.texi (FP Exceptions): Document that exceptions may
2554         not be raised when matherr is used.
2555         (Math Error Reporting): Document overflow in directed rounding
2556         modes.  Document that errno may not be set when finite values are
2557         returned on overflow.  Document intent to set errno on underflow
2558         only for underflow to zero.
2560         [BZ #16271]
2561         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2562         round-to-nearest then adjust result for other rounding modes.
2563         * include/fenv.h (fegetround): Use libm_hidden_proto.
2564         * math/fegetround.c (fegetround): Use libm_hidden_def.
2565         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2566         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2567         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2568         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2569         Likewise.
2570         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2571         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2572         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2573         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2575 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2577         [BZ #16077]
2578         * nss/Versions (libnss_files): Add
2579         _nss_files_gethostbyname3_r.
2580         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2581         New function.
2582         (HOST_DB_LOOKUP): Remove macro.
2583         (_nss_files_gethostbyname_r): Implement function without the
2584         HOST_DB_LOOKUP macro.
2585         (_nss_files_gethostbyname2_r): Likewise.
2587 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2589         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2591 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2593         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2594         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2595         warning.
2597 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2599         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2600         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2601         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2602         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2603         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2604         __fe_nomask_env_priv and attribute_hidden.
2605         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2606         (libc_feupdateenv_test_ppc): Likewise.
2607         (libc_feresetround_ppc): Likewise.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2609         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2610         compat_symbol macro.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2612         (__fe_nomask_env): Likewise.
2613         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2615 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2617         * string/Makefile: Remove ifunc tests.
2618         * string/test-string.h: Define TEST_IFUNC.
2619         * string/test-bcopy-ifunc.c: Remove.
2620         * string/test-bzero-ifunc.c: Likewise.
2621         * string/test-memccpy-ifunc.c: Likewise.
2622         * string/test-memchr-ifunc.c: Likewise.
2623         * string/test-memcmp-ifunc.c: Likewise.
2624         * string/test-memcpy-ifunc.c: Likewise.
2625         * string/test-memmem-ifunc.c: Likewise.
2626         * string/test-memmove-ifunc.c: Likewise.
2627         * string/test-mempcpy-ifunc.c: Likewise.
2628         * string/test-memrchr-ifunc.c: Likewise.
2629         * string/test-memset-ifunc.c: Likewise.
2630         * string/test-rawmemchr-ifunc.c: Likewise.
2631         * string/test-stpcpy-ifunc.c: Likewise.
2632         * string/test-stpncpy-ifunc.c: Likewise.
2633         * string/test-strcasecmp-ifunc.c: Likewise.
2634         * string/test-strcasestr-ifunc.c: Likewise.
2635         * string/test-strcat-ifunc.c: Likewise.
2636         * string/test-strchr-ifunc.c: Likewise.
2637         * string/test-strchrnul-ifunc.c: Likewise.
2638         * string/test-strcmp-ifunc.c: Likewise.
2639         * string/test-strcpy-ifunc.c: Likewise.
2640         * string/test-strcspn-ifunc.c: Likewise.
2641         * string/test-strlen-ifunc.c: Likewise.
2642         * string/test-strncasecmp-ifunc.c: Likewise.
2643         * string/test-strncat-ifunc.c: Likewise.
2644         * string/test-strncmp-ifunc.c: Likewise.
2645         * string/test-strncpy-ifunc.c: Likewise.
2646         * string/test-strnlen-ifunc.c: Likewise.
2647         * string/test-strpbrk-ifunc.c: Likewise.
2648         * string/test-strrchr-ifunc.c: Likewise.
2649         * string/test-strspn-ifunc.c: Likewise.
2650         * string/test-strstr-ifunc.c: Likewise.
2652 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2654         * benchtests/Makefile: Remove ifunc tests.
2655         * benchtests/bench-string.h: Define TEST_IFUNC.
2656         * benchtests/bench-bcopy-ifunc.c: Remove.
2657         * benchtests/bench-bzero-ifunc.c: Likewise.
2658         * benchtests/bench-memccpy-ifunc.c: Likewise.
2659         * benchtests/bench-memchr-ifunc.c: Likewise.
2660         * benchtests/bench-memcmp-ifunc.c: Likewise.
2661         * benchtests/bench-memcpy-ifunc.c: Likewise.
2662         * benchtests/bench-memmem-ifunc.c: Likewise.
2663         * benchtests/bench-memmove-ifunc.c: Likewise.
2664         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2665         * benchtests/bench-memrchr-ifunc.c: Likewise.
2666         * benchtests/bench-memset-ifunc.c: Likewise.
2667         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2668         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2669         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2670         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2671         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2672         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2673         * benchtests/bench-strcat-ifunc.c: Likewise.
2674         * benchtests/bench-strchr-ifunc.c: Likewise.
2675         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2676         * benchtests/bench-strcmp-ifunc.c: Likewise.
2677         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2678         * benchtests/bench-strcpy-ifunc.c: Likewise.
2679         * benchtests/bench-strcspn-ifunc.c: Likewise.
2680         * benchtests/bench-strlen-ifunc.c: Likewise.
2681         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2682         * benchtests/bench-strncat-ifunc.c: Likewise.
2683         * benchtests/bench-strncmp-ifunc.c: Likewise.
2684         * benchtests/bench-strncpy-ifunc.c: Likewise.
2685         * benchtests/bench-strnlen-ifunc.c: Likewise.
2686         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2687         * benchtests/bench-strrchr-ifunc.c: Likewise.
2688         * benchtests/bench-strsep-ifunc.c: Likewise.
2689         * benchtests/bench-strspn-ifunc.c: Likewise.
2690         * benchtests/bench-strstr-ifunc.c: Likewise.
2692 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2694         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2696 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2698         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2699         * rt/aio.h: Likewise.
2700         * sysdeps/gnu/bits/utmp.h: Likewise.
2701         * sysdeps/gnu/bits/utmpx.h: Likewise.
2702         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2703         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2704         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2705         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2706         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2707         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2708         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2709         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2710         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2717         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2718         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2719         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2720         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2721         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2722         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2723         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2724         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2725         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2726         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2728         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2729         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2730         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2731         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2732         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2733         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2734         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2736         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2737         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2738         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2739         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2740         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2741         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2742         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2743         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2745 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2747         [BZ #16245]
2748         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2749         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2751 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2753         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2754         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2755         Likewise.
2757 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2760         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2761         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2762         (__fesetround): Remove define.
2763         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2764         rounding and exceptions handling.
2765         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2766         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2767         (__fe_nomask_env): Likewise.
2768         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2769         __fegetround instead of fegetround.
2770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2771         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2773 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2775         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2776         it's there.
2778         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2780 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2782         [BZ #11157]
2783         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2784         (encrypt_r): Likewise.
2785         * malloc/obstack.h (obstack_free): Likewise.
2786         * posix/unistd.h (encrypt): Likewise.
2788 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2790         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2791         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2792         DL_CALL_DT_FINI() that call the functions directly.
2793         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2794         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2795         * elf/dl-fini.c: Likewise.
2797 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2799         * malloc/hooks.c (memalign_check): Add alignment rounding.
2800         * malloc/malloc.c (_mid_memalign): New function.
2801         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2802         Implement by calling _mid_memalign.
2803         * manual/probes.texi (Memory Allocation Probes): Remove
2804         memory_valloc_retry and memory_pvalloc_retry.
2806 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2808         * locale/programs/locarchive.c (open_archive): Add const
2809         qualifier to ARCHIVEFNAME and copy default fname to
2810         DEFAULT_FNAME.
2812         [BZ #15601]
2813         * libio/tst-widetext.input: Rename Oriya to Odia.
2814         * locale/iso-639.def: Likewise.
2816         * manual/probes.texi (Mathematical Function Probes): Add
2817         documentation for sin, cos, asin and acos probes.
2818         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2819         (__sin32): Add slowasin probe.
2820         (__cos32): Add slowacos probe.
2821         (__mpsin): Add slowsin probe.
2822         (__mpcos): Add slowcos probe.
2824 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2826         [BZ #15483]
2827         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2828         thread-local __sim_exceptions_thread and global
2829         __sim_exceptions_global.
2830         (__sim_disabled_exceptions): Change to thread-local
2831         __sim_disabled_exceptions_thread and global
2832         __sim_disabled_exceptions_global.
2833         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2834         and global __sim_round_mode_global.
2835         (__simulate_exceptions): Use thread-local floating-point state and
2836         set global state from it as needed.
2837         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2838         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2839         __sim_round_mode_thread.
2840         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2841         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2842         and global __sim_exceptions_global.
2843         (__sim_disabled_exceptions): Change to thread-local
2844         __sim_disabled_exceptions_thread and global
2845         __sim_disabled_exceptions_global.
2846         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2847         and global __sim_round_mode_global.
2848         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2849         (SIM_SET_GLOBAL): Likewise.
2850         * sysdeps/powerpc/soft-fp/sfp-machine.h
2851         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2852         __sim_round_mode_thread.
2853         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2854         __sim_disabled_exceptions_thread.
2855         (__sim_exceptions): Change to __sim_exceptions_thread.
2856         (__sim_disabled_exceptions): Change to
2857         __sim_disabled_exceptions_thread.
2858         (__sim_round_mode): Change to __sim_round_mode_thread.
2859         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2860         thread-local floating-point state and set global state from it as
2861         needed.
2862         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2863         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2864         (__sim_disabled_exceptions): Remove extern declaration.
2865         (feenableexcept): Use thread-local floating-point state and set
2866         global state from it as needed.
2867         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2868         extern declaration.
2869         (__sim_disabled_exceptions): Likewise.
2870         (__sim_round_mode): Likewise.
2871         (__fegetenv): Use thread-local floating-point state.
2872         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2873         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2874         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2875         floating-point state and set global state from it as needed.
2876         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2877         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2878         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2879         Likewise.
2880         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2881         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2882         Likewise.
2883         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2884         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2885         Use __sim_round_mode_thread.
2886         * math/test-fenv-tls.c: New file.
2887         * math/Makefile (tests): Add test-fenv-tls.
2888         ($(objpfx)test-fenv-tls): Depend on
2889         $(common-objpfx)nptl/libpthread.so.
2891 2013-11-19  Andreas Schwab  <schwab@suse.de>
2893         * locale/programs/locale.c (show_info): Decode wordarray elements.
2894         * locale/categories.def (LC_MONETARY): Add element for
2895         _NL_MONETARY_CRNCYSTR.
2896         * locale/C-monetary.c (conversion_rate): New variable.
2897         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2898         element.
2900 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2902         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2903         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2905 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2907         * elf/Makefile (tst-auxv): New test.
2908         * elf/tst-auxv.c: New
2909         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2911 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2913         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2914         (hidden_proto): Caller changed.
2915         (hidden_tls_proto): New macro.
2916         (libc_hidden_tls_proto): Likewise.
2917         (rtld_hidden_tls_proto): Likewise.
2918         (libm_hidden_tls_proto): Likewise.
2919         (libresolv_hidden_tls_proto): Likewise.
2920         (librt_hidden_tls_proto): Likewise.
2921         (libdl_hidden_tls_proto): Likewise.
2922         (libnss_files_hidden_tls_proto): Likewise.
2923         (libnsl_hidden_tls_proto): Likewise.
2924         (libnss_nisplus_hidden_tls_proto): Likewise.
2925         (libutil_hidden_tls_proto): Likewise.
2927 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2929         [BZ #10253]
2930         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2931         (decompose_rpath): Defer expansion to fillin_rpath.
2932         (_dl_init_paths): Pass linkmap to fillin_rpath.
2934 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2936         * benchtests/Makefile: Add strsep.
2937         * benchtests/bench-strsep.c: New file: strsep benchtest.
2938         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2940 2013-11-18  Andreas Schwab  <schwab@suse.de>
2942         * locale/programs/locale.c (show_info) [case byte]: Check for
2943         '\377' instead of '\177'.
2944         * locale/C-monetary.c (not_available): Always use "\377".
2945         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2946         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2947         detect unavailable sign_posn locale elements.
2948         * locale/localeconv.c (__localeconv): For grouping and
2949         mon_grouping handle "\177" and "\377" like no grouping.
2950         (INT_ELEM): New macro.  Use it to set all numeric members.
2951         * locale/programs/ld-monetary.c (monetary_read)
2952         <tok_mon_grouping>: Normalize single -1 to the empty string.
2953         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2954         Likewise.
2956 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2958         [BZ #16055]
2959         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2960         when we match (nil).
2961         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2963 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2965         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2966         (NO_TEST_INLINE): Update value.
2967         (ERRNO_UNCHANGED): Likewise.
2968         (ERRNO_EDOM): Likewise.
2969         (ERRNO_ERANGE): Likewise.
2970         (IGNORE_RESULT): Likewise.
2971         (check_float_internal): Check signs of NaN results if
2972         TEST_NAN_SIGN used.
2973         (check_complex): Pass TEST_NAN_SIGN flag through to second
2974         check_float_internal call.
2975         (copysign_test_data): Add tests with quiet NaNs as second
2976         argument.  Use TEST_NAN_SIGN.
2977         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2978         TEST_NAN_SIGN.
2979         (signbit_test_data): Add tests of quiet NaN argument.
2980         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2982         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2983         $ignore_result.
2984         (parse_args): Handle function results specified as IGNORE.
2985         * math/libm-test.inc (IGNORE_RESULT): New macro.
2986         (check_float_internal): Do not check numerical result if flag
2987         IGNORE_RESULT set.
2988         (check_complex): Pass through IGNORE_RESULT to second
2989         check_float_internal call.
2990         (check_int): Do not check numerical result if flag IGNORE_RESULT
2991         set.
2992         (check_long): Likewise.
2993         (check_bool): Likewise.
2994         (check_longlong): Likewise.
2995         (lrint_test_data): Add tests of infinite and NaN arguments.
2996         (lrint_tonearest_test_data): Likewise.
2997         (lrint_towardzero_test_data): Likewise.
2998         (lrint_downward_test_data): Likewise.
2999         (lrint_upward_test_data): Likewise.
3000         (llrint_test_data): Likewise.
3001         (llrint_tonearest_test_data): Likewise.
3002         (llrint_towardzero_test_data): Likewise.
3003         (llrint_downward_test_data): Likewise.
3004         (llrint_upward_test_data): Likewise.
3005         (lround_test_data): Likewise.
3006         (llround_test_data): Likewise.
3008         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3009         (ERRNO_UNCHANGED): Update value.
3010         (ERRNO_EDOM): Likewise.
3011         (ERRNO_ERANGE): Likewise.
3012         (NO_TEST_INLINE_FLOAT): New macro.
3013         (NO_TEST_INLINE_DOUBLE): Likewise.
3014         (enable_test): New function.
3015         (RUN_TEST_f_f): Check enable_test before running test.
3016         (RUN_TEST_2_f): Likewise.
3017         (RUN_TEST_fff_f): Likewise.
3018         (RUN_TEST_c_f): Likewise.
3019         (RUN_TEST_f_f1): Likewise.
3020         (RUN_TEST_fF_f1): Likewise.
3021         (RUN_TEST_fI_f1): Likewise.
3022         (RUN_TEST_ffI_f1): Likewise.
3023         (RUN_TEST_c_c): Likewise.
3024         (RUN_TEST_cc_c): Likewise.
3025         (RUN_TEST_f_i): Likewise.
3026         (RUN_TEST_f_i_tg): Likewise.
3027         (RUN_TEST_ff_i_tg): Likewise.
3028         (RUN_TEST_f_b): Likewise.
3029         (RUN_TEST_f_b_tg): Likewise.
3030         (RUN_TEST_f_l): Likewise.
3031         (RUN_TEST_f_L): Likewise.
3032         (RUN_TEST_fFF_11): Likewise.
3033         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3034         conditionals.
3035         (cosh_test_data): Likewise.
3036         (exp_test_data): Likewise.
3037         (expm1_test_data): Likewise.
3038         (hypot_test_data): Likewise.
3039         (pow_test_data): Likewise.
3040         (sinh_test_data): Likewise.
3041         (tanh_test_data): Likewise.
3042         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3043         flags argument.
3045         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3046         tests with quiet NaN input and output.
3047         (acosh_test_data): Likewise.
3048         (asin_test_data): Likewise.
3049         (asinh_test_data): Likewise.
3050         (atan_test_data): Likewise.
3051         (atanh_test_data): Likewise.
3052         (atan2_test_data): Likewise.
3053         (cbrt_test_data): Likewise.
3054         (cos_test_data): Likewise.
3055         (cosh_test_data): Likewise.
3056         (erf_test_data): Likewise.
3057         (erfc_test_data): Likewise.
3058         (exp_test_data): Likewise.
3059         (exp10_test_data): Likewise.
3060         (exp2_test_data): Likewise.
3061         (expm1_test_data): Likewise.
3062         (hypot_test_data): Likewise.
3063         (j0_test_data): Likewise.
3064         (j1_test_data): Likewise.
3065         (jn_test_data): Likewise.
3066         (lgamma_test_data): Likewise.
3067         (log_test_data): Likewise.
3068         (log10_test_data): Likewise.
3069         (log1p_test_data): Likewise.
3070         (log2_test_data): Likewise.
3071         (pow_test_data): Likewise.
3072         (scalb_test_data): Likewise.
3073         (sin_test_data): Likewise.
3074         (sincos_test_data): Likewise.
3075         (sinh_test_data): Likewise.
3076         (tan_test_data): Likewise.
3077         (tanh_test_data): Likewise.
3078         (tgamma_test_data): Likewise.
3079         (y0_test_data): Likewise.
3080         (y1_test_data): Likewise.
3081         (yn_test_data): Likewise.
3083         [BZ #16167]
3084         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3085         argument being NaN and avoid computations with second argument in
3086         that case.
3087         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3088         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3089         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3091 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3093         * locale/iso-639.def: Add Chitwani Tharu (the).
3095 2013-11-14  Andreas Schwab  <schwab@suse.de>
3097         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3098         word instead of empty string.
3100 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3103         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3105         (__fe_nomask_env): Likewise.
3107 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3109         * benchtests/bench-timing.h: Include time.h.
3111 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3113         [BZ #15997]
3114         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3115         to 3.4.0 for x32.
3116         * sysdeps/unix/sysv/linux/configure: Regenerated.
3118 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3120         [BZ #16151]
3121         * stdlib/strtod_l.c (round_and_return): Do not consider
3122         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3123         exponent one less than half the least subnormal exponent.
3124         * stdlib/test-strtod-round-data: Add more tests.
3125         * stdlib/tst-strtod-round.c (tests): Regenerated.
3127 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3129         [BZ #14143]
3130         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3131         (__fe_mask_env): Likewise.
3132         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3133         libm_hidden_proto and add function prototype.
3134         (__fe_mask_env): Add function prototype.
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3136         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3138         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3140         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3142 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3144         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3145         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3147 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3149         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3150         of htab_find_slot().
3152 2013-11-11  David S. Miller  <davem@davemloft.net>
3154         [BZ #16150]
3155         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3156         symbol in the non-vis3 case in static builds.
3157         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3158         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3159         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3160         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3162 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3164         [BZ #387]
3165         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3166         it is empty.
3168 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3170         * benchtests/Makefile: Add bench-strtod.
3171         * benchtests/bench-strtod.c: New file: strtod benchtest
3173 2013-11-11  Andreas Schwab  <schwab@suse.de>
3175         [BZ #16153]
3176         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3177         terminating NUL in key length.
3179 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3182         Add artificial ODP entry for vDSO symbol for PPC64.
3183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3184         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3186 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3188         [BZ #15374]
3189         * nss/getent.c (services_keys): Recognize services starting with digit.
3191 2013-11-06  David S. Miller  <davem@davemloft.net>
3193         [BZ #15985]
3194         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3195         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3197 2013-11-06  Will Newton  <will.newton@linaro.org>
3199         * manual/memory.texi (Malloc Examples): Remove register
3200         keyword from examples.
3202 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3204         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3206 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3208         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3209         depending on [__GCC_IEC_559 > 0].
3210         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3211         depending on [__GCC_IEC_559_COMPLEX > 0].
3213 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3215         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3216         to iso-639.def.
3218 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3220         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3222 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3224         [BZ #16112]
3225         * malloc/malloc (malloc_info): Do not handle first bin as
3226         special case.
3228 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3230         * locale/iso-639.def: Add Central Nahuatl (nhn).
3232 2013-11-01  Bruno Haible  <bruno@clisp.org>
3234         [BZ #7003]
3235         * manual/math.texi (BSD Random): Specify range upper bound as
3236         in POSIX.
3238 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3240         * locale/iso-639.def: Add Meadow Mari (mhr).
3242 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3244         [BZ #14752], [BZ #15763]
3245         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3246         Validate name.
3247         * rt/tst_shm.c: Add test for escaping directory.
3249 2013-10-31  Andreas Schwab  <schwab@suse.de>
3251         [BZ #15917]
3252         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3253         followed by 'x' as part of digit sequence.
3254         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3256 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3258         [BZ #16037]
3259         * configure.ac: allow GNU Make 4.0 and greater.
3260         * configure: Regenerated.
3262 2013-10-30  Will Newton  <will.newton@linaro.org>
3264         [BZ #16038]
3265         * malloc/hooks.c (memalign_check): Limit alignment to the
3266         maximum representable power of two.
3267         * malloc/malloc.c (__libc_memalign): Likewise.
3268         * malloc/tst-memalign.c (do_test): Add test for very
3269         large alignment values.
3270         * malloc/tst-posix_memalign.c (do_test): Likewise.
3272 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3274         [BZ #11087]
3275         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3276         (munmap_chunk): Likewise.
3277         (mremap_chunk): Likewise.
3279 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3281         [BZ #15799]
3282         * stdlib/div.c (div): Remove obsolete code.
3283         * stdlib/ldiv.c (ldiv): Likewise.
3284         * stdlib/lldiv.c (lldiv): Likewise.
3286 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3288         [BZ #16071]
3289         * nss/nss_files/files-XXX.c (get_contents_ret): New
3290         enumerator.
3291         (get_contents): New function.
3292         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3294 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3296         * configure.in: Moved to ...
3297         * configure.ac: ... here. Change reference to configure.in
3298         to configure.ac.
3299         * sysdeps/arm/preconfigure.ac: ... here.
3300         configure.in to configure.ac.
3301         * sysdeps/gnu/configure.in: Moved to ...
3302         * sysdeps/gnu/configure.ac: ... here.
3303         * sysdeps/i386/configure.in: Moved to ...
3304         * sysdeps/i386/configure.ac: ... here.
3305         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3306         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3307         * sysdeps/mach/configure.in: Moved to ...
3308         * sysdeps/mach/configure.ac: ... here.
3309         * sysdeps/mach/hurd/configure.in: Moved to ...
3310         * sysdeps/mach/hurd/configure.ac: ... here.
3311         * sysdeps/powerpc/configure.in: Moved to ...
3312         * sysdeps/powerpc/configure.ac: ... here.
3313         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3314         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3315         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3316         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3317         * sysdeps/s390/s390-32/configure.in: Moved to ...
3318         * sysdeps/s390/s390-32/configure.ac: ... here.
3319         * sysdeps/s390/s390-64/configure.in: Moved to ...
3320         * sysdeps/s390/s390-64/configure.ac: ... here.
3321         * sysdeps/sh/configure.in: Moved to ...
3322         * sysdeps/sh/configure.ac: ... here.
3323         * sysdeps/sparc/configure.in: Moved to ...
3324         * sysdeps/sparc/configure.ac: ... here.
3325         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3326         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3327         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3328         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3329         * sysdeps/x86_64/configure.in: Moved to ...
3330         * sysdeps/x86_64/configure.ac: ... here.
3331         * sysdeps/x86_64/preconfigure.in: Moved to ...
3332         * sysdeps/x86_64/preconfigure.ac: ... here.
3333         * aclocal.m4: Change reference to configure.in to configure.ac.
3334         * config.h.in: Likewise.
3335         * manual/install.texi: Likewise.
3336         * manual/maint.texi: Likewise.
3337         * Makefile: Likewise.
3338         * malloc/Makefile: Likewise.
3339         * nscd/Makefile: Likewise.
3340         * Makeconfig: Change reference to configure.in and
3341         preconfigure.in to configure.ac and preconfigure.ac
3342         respectively.
3343         * INSTALL: Regenerated.
3344         * configure: Likewise.
3345         * sysdeps/gnu/configure: Likewise.
3346         * sysdeps/i386/configure: Likewise.
3347         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3348         * sysdeps/mach/configure: Likewise.
3349         * sysdeps/mach/hurd/configure: Likewise.
3350         * sysdeps/powerpc/configure: Likewise.
3351         * sysdeps/powerpc/powerpc32/configure: Likewise.
3352         * sysdeps/powerpc/powerpc64/configure: Likewise.
3353         * sysdeps/s390/s390-32/configure: Likewise.
3354         * sysdeps/s390/s390-64/configure: Likewise.
3355         * sysdeps/sh/configure: Likewise.
3356         * sysdeps/sparc/configure: Likewise.
3357         * sysdeps/unix/sysv/linux/configure: Likewise.
3358         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3359         * sysdeps/x86_64/configure: Likewise.
3360         * sysdeps/x86_64/preconfigure: Likewise.
3362 2013-10-29  Andreas Schwab  <schwab@suse.de>
3364         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3366 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3368         * benchtests/pow-inputs: Add new inputs.
3370         * benchtests/exp-inputs: Add new inputs.
3372         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3373         conditional check for return value.
3374         (__cos32): Likewise.
3376 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3378         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3379         to provide a boost for large inputs with word alignment.
3380         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3381         implementation based on optimized PPC64 strcpy.
3382         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3383         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3384         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3385         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3387 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3389         [BZ #2801]
3390         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3392 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3394         [BZ #14876]
3395         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3396         * time/tst-strptime.c (day_tests): Add testcase.
3398 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3400         [BZ #14029]
3401         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3403 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3405         [BZ #16074]
3406         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3407         MAP_FAILED on error.
3409 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3411         [BZ #16072]
3412         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3413         heap for large requests.
3415 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3417         [BZ #9954]
3418         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3419         result if the result has no associated interface.
3420         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3421         interface for all 127.X.Y.Z addresses.
3423 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3425         * locale/iso-639.def: Add Ligurian (lij)
3427 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3429         [BZ #15825]
3430         * sunrpc/rpc_main.c: Document rpcgen -5.
3432 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3434         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3436 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3438         [BZ #10278]
3439         * posix/glob.c: Match only directories when trailing slash is present.
3440         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3441         (main): Add testcase.
3443 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3445         [BZ #15670]
3446         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3448 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3450         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3451         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3452         AUTH_DES and cindex for FIPS 140-2.
3453         (DES Encryption): Add cindex FIPS 46-3.
3455         * locale/locarchive.h (struct locarhandle): Add fname.
3456         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3457         if an optional argument was specified to --list-archive,
3458         otherwise NULL.
3459         * locale/programs/locarchive.c (show_archive_content): Take new
3460         argument fname and pass it via ah.fname to open_archive.
3461         * locale/programs/localedef.h: Update decl.
3462         (open_archive): If AH->fname is non-null, open that file
3463         rather than the default file name, and don't ignore ENOENT.
3464         (create_archive): Set AH.fname to NULL.
3465         (delete_locales_from_archive): Likewise.
3466         (add_locales_to_archive): Likewise.
3467         * locale/programs/locfile.c (write_all_categories): Likewise.
3469 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3470             Aldy Hernandez  <aldyh@redhat.com>
3472         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3473         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3474         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3475         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3476         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3479         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3480         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3481         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3482         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3483         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3484         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3485         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3486         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3487         Likewise.
3488         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3489         Likewise.
3490         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3491         Likewise.
3492         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3493         Likewise.
3494         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3495         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3496         Likewise.
3497         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3498         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3499         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3500         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3501         Likewise.
3502         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3503         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3504         * sysdeps/powerpc/preconfigure: Likewise.
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3506         Likewise.
3507         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3508         Replace contents of file by #include of <fenv_libc.h>.
3509         * sysdeps/powerpc/soft-fp/sfp-machine.h
3510         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3511         and <sys/prctl.h>.
3512         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3525         Allow copysignl PLT reference to be missing.
3527 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3528             Joseph Myers  <joseph@codesourcery.com
3530         [BZ #15948]
3531         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3532         single character.
3533         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3535 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3537         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3538         * elf/tst-tls1.c: Likewise.
3539         * elf/tst-tls10.h: Likewise.
3540         * elf/tst-tls14.c: Likewise.
3541         * elf/tst-tls2.c: Likewise.
3542         * elf/tst-tls3.c: Likewise.
3543         * elf/tst-tls4.c: Likewise.
3544         * elf/tst-tls5.c: Likewise.
3545         * elf/tst-tls6.c: Likewise.
3546         * elf/tst-tls7.c: Likewise.
3547         * elf/tst-tls8.c: Likewise.
3548         * elf/tst-tls9.c: Likewise.
3549         * elf/tst-tlsmod1.c: Likewise.
3550         * elf/tst-tlsmod13.c: Likewise.
3551         * elf/tst-tlsmod13a.c: Likewise.
3552         * elf/tst-tlsmod14a.c: Likewise.
3553         * elf/tst-tlsmod16a.c: Likewise.
3554         * elf/tst-tlsmod16b.c: Likewise.
3555         * elf/tst-tlsmod2.c: Likewise.
3556         * elf/tst-tlsmod3.c: Likewise.
3557         * elf/tst-tlsmod4.c: Likewise.
3558         * elf/tst-tlsmod5.c: Likewise.
3559         * elf/tst-tlsmod6.c: Likewise.
3561 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3563         [BZ #12486]
3564         * malloc/malloc.c: remove checks for statistics.
3566 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3568         [BZ #15277]
3569         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3570         * inet/tst-network.c: Add testcase.
3572 2013-10-17  Andreas Schwab  <schwab@suse.de>
3574         [BZ #15218]
3575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3576         to determine canonical name.
3578 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3580         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3581         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3585         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3586         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3587         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3589         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3590         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3592         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3593         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3594         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3595         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3597         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3598         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3599         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3603         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3604         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3605         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3606         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3607         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3608         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3609         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3610         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3611         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3612         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3613         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3614         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3615         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3616         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3617         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3618         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3620         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3621         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3622         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3623         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3624         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3627         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3628         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3629         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3630         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3631         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3632         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3633         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3634         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3635         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3636         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3637         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3639 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3641         [BZ #16041]
3642         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3643         make result into a quiet NaN.
3645 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3647         * soft-fp/adddf3.c: Fix horizontal whitespace.
3648         * soft-fp/addsf3.c: Likewise.
3649         * soft-fp/addtf3.c: Likewise.
3650         * soft-fp/divdf3.c: Likewise.
3651         * soft-fp/divsf3.c: Likewise.
3652         * soft-fp/divtf3.c: Likewise.
3653         * soft-fp/double.h: Likewise.
3654         * soft-fp/eqdf2.c: Likewise.
3655         * soft-fp/eqsf2.c: Likewise.
3656         * soft-fp/eqtf2.c: Likewise.
3657         * soft-fp/extenddftf2.c: Likewise.
3658         * soft-fp/extended.h: Likewise.
3659         * soft-fp/extendsfdf2.c: Likewise.
3660         * soft-fp/extendsftf2.c: Likewise.
3661         * soft-fp/extendxftf2.c: Likewise.
3662         * soft-fp/fixdfdi.c: Likewise.
3663         * soft-fp/fixdfsi.c: Likewise.
3664         * soft-fp/fixdfti.c: Likewise.
3665         * soft-fp/fixsfdi.c: Likewise.
3666         * soft-fp/fixsfsi.c: Likewise.
3667         * soft-fp/fixsfti.c: Likewise.
3668         * soft-fp/fixtfdi.c: Likewise.
3669         * soft-fp/fixtfsi.c: Likewise.
3670         * soft-fp/fixtfti.c: Likewise.
3671         * soft-fp/fixunsdfdi.c: Likewise.
3672         * soft-fp/fixunsdfsi.c: Likewise.
3673         * soft-fp/fixunsdfti.c: Likewise.
3674         * soft-fp/fixunssfdi.c: Likewise.
3675         * soft-fp/fixunssfsi.c: Likewise.
3676         * soft-fp/fixunssfti.c: Likewise.
3677         * soft-fp/fixunstfdi.c: Likewise.
3678         * soft-fp/fixunstfsi.c: Likewise.
3679         * soft-fp/fixunstfti.c: Likewise.
3680         * soft-fp/floatdidf.c: Likewise.
3681         * soft-fp/floatdisf.c: Likewise.
3682         * soft-fp/floatditf.c: Likewise.
3683         * soft-fp/floatsidf.c: Likewise.
3684         * soft-fp/floatsisf.c: Likewise.
3685         * soft-fp/floatsitf.c: Likewise.
3686         * soft-fp/floattidf.c: Likewise.
3687         * soft-fp/floattisf.c: Likewise.
3688         * soft-fp/floattitf.c: Likewise.
3689         * soft-fp/floatundidf.c: Likewise.
3690         * soft-fp/floatundisf.c: Likewise.
3691         * soft-fp/floatunditf.c: Likewise.
3692         * soft-fp/floatunsidf.c: Likewise.
3693         * soft-fp/floatunsisf.c: Likewise.
3694         * soft-fp/floatunsitf.c: Likewise.
3695         * soft-fp/floatuntidf.c: Likewise.
3696         * soft-fp/floatuntisf.c: Likewise.
3697         * soft-fp/floatuntitf.c: Likewise.
3698         * soft-fp/fmadf4.c: Likewise.
3699         * soft-fp/fmasf4.c: Likewise.
3700         * soft-fp/fmatf4.c: Likewise.
3701         * soft-fp/gedf2.c: Likewise.
3702         * soft-fp/gesf2.c: Likewise.
3703         * soft-fp/getf2.c: Likewise.
3704         * soft-fp/ledf2.c: Likewise.
3705         * soft-fp/lesf2.c: Likewise.
3706         * soft-fp/letf2.c: Likewise.
3707         * soft-fp/muldf3.c: Likewise.
3708         * soft-fp/mulsf3.c: Likewise.
3709         * soft-fp/multf3.c: Likewise.
3710         * soft-fp/negdf2.c: Likewise.
3711         * soft-fp/negsf2.c: Likewise.
3712         * soft-fp/negtf2.c: Likewise.
3713         * soft-fp/op-1.h: Likewise.
3714         * soft-fp/op-2.h: Likewise.
3715         * soft-fp/op-4.h: Likewise.
3716         * soft-fp/op-8.h: Likewise.
3717         * soft-fp/op-common.h: Likewise.
3718         * soft-fp/quad.h: Likewise.
3719         * soft-fp/single.h: Likewise.
3720         * soft-fp/soft-fp.h: Likewise.
3721         * soft-fp/sqrtdf2.c: Likewise.
3722         * soft-fp/sqrtsf2.c: Likewise.
3723         * soft-fp/sqrttf2.c: Likewise.
3724         * soft-fp/subdf3.c: Likewise.
3725         * soft-fp/subsf3.c: Likewise.
3726         * soft-fp/subtf3.c: Likewise.
3727         * soft-fp/truncdfsf2.c: Likewise.
3728         * soft-fp/trunctfdf2.c: Likewise.
3729         * soft-fp/trunctfsf2.c: Likewise.
3730         * soft-fp/trunctfxf2.c: Likewise.
3731         * soft-fp/unorddf2.c: Likewise.
3732         * soft-fp/unordsf2.c: Likewise.
3733         * soft-fp/unordtf2.c: Likewise.
3735 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3737         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3738         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3740 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3742         * elf/dl-libc.c: Clear initfini list after freeing.
3744 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3746         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3747         * soft-fp/addsf3.c: Likewise.
3748         * soft-fp/addtf3.c: Likewise.
3749         * soft-fp/divdf3.c: Likewise.
3750         * soft-fp/divsf3.c: Likewise.
3751         * soft-fp/divtf3.c: Likewise.
3752         * soft-fp/double.h: Likewise.
3753         * soft-fp/eqdf2.c: Likewise.
3754         * soft-fp/eqsf2.c: Likewise.
3755         * soft-fp/eqtf2.c: Likewise.
3756         * soft-fp/extenddftf2.c: Likewise.
3757         * soft-fp/extended.h: Likewise.
3758         * soft-fp/extendsfdf2.c: Likewise.
3759         * soft-fp/extendsftf2.c: Likewise.
3760         * soft-fp/extendxftf2.c: Likewise.
3761         * soft-fp/fixdfdi.c: Likewise.
3762         * soft-fp/fixdfsi.c: Likewise.
3763         * soft-fp/fixdfti.c: Likewise.
3764         * soft-fp/fixsfdi.c: Likewise.
3765         * soft-fp/fixsfsi.c: Likewise.
3766         * soft-fp/fixsfti.c: Likewise.
3767         * soft-fp/fixtfdi.c: Likewise.
3768         * soft-fp/fixtfsi.c: Likewise.
3769         * soft-fp/fixtfti.c: Likewise.
3770         * soft-fp/fixunsdfdi.c: Likewise.
3771         * soft-fp/fixunsdfsi.c: Likewise.
3772         * soft-fp/fixunsdfti.c: Likewise.
3773         * soft-fp/fixunssfdi.c: Likewise.
3774         * soft-fp/fixunssfsi.c: Likewise.
3775         * soft-fp/fixunssfti.c: Likewise.
3776         * soft-fp/fixunstfdi.c: Likewise.
3777         * soft-fp/fixunstfsi.c: Likewise.
3778         * soft-fp/fixunstfti.c: Likewise.
3779         * soft-fp/floatdidf.c: Likewise.
3780         * soft-fp/floatdisf.c: Likewise.
3781         * soft-fp/floatditf.c: Likewise.
3782         * soft-fp/floatsidf.c: Likewise.
3783         * soft-fp/floatsisf.c: Likewise.
3784         * soft-fp/floatsitf.c: Likewise.
3785         * soft-fp/floattidf.c: Likewise.
3786         * soft-fp/floattisf.c: Likewise.
3787         * soft-fp/floattitf.c: Likewise.
3788         * soft-fp/floatundidf.c: Likewise.
3789         * soft-fp/floatundisf.c: Likewise.
3790         * soft-fp/floatunsidf.c: Likewise.
3791         * soft-fp/floatunsisf.c: Likewise.
3792         * soft-fp/floatuntidf.c: Likewise.
3793         * soft-fp/floatuntisf.c: Likewise.
3794         * soft-fp/floatuntitf.c: Likewise.
3795         * soft-fp/fmadf4.c: Likewise.
3796         * soft-fp/fmasf4.c: Likewise.
3797         * soft-fp/fmatf4.c: Likewise.
3798         * soft-fp/gedf2.c: Likewise.
3799         * soft-fp/gesf2.c: Likewise.
3800         * soft-fp/getf2.c: Likewise.
3801         * soft-fp/ledf2.c: Likewise.
3802         * soft-fp/lesf2.c: Likewise.
3803         * soft-fp/letf2.c: Likewise.
3804         * soft-fp/muldf3.c: Likewise.
3805         * soft-fp/mulsf3.c: Likewise.
3806         * soft-fp/multf3.c: Likewise.
3807         * soft-fp/negdf2.c: Likewise.
3808         * soft-fp/negsf2.c: Likewise.
3809         * soft-fp/negtf2.c: Likewise.
3810         * soft-fp/op-1.h: Likewise.
3811         * soft-fp/op-2.h: Likewise.
3812         * soft-fp/op-4.h: Likewise.
3813         * soft-fp/op-8.h: Likewise.
3814         * soft-fp/op-common.h: Likewise.
3815         * soft-fp/quad.h: Likewise.
3816         * soft-fp/single.h: Likewise.
3817         * soft-fp/soft-fp.h: Likewise.
3818         * soft-fp/sqrtdf2.c: Likewise.
3819         * soft-fp/sqrtsf2.c: Likewise.
3820         * soft-fp/sqrttf2.c: Likewise.
3821         * soft-fp/subdf3.c: Likewise.
3822         * soft-fp/subsf3.c: Likewise.
3823         * soft-fp/subtf3.c: Likewise.
3824         * soft-fp/truncdfsf2.c: Likewise.
3825         * soft-fp/trunctfdf2.c: Likewise.
3826         * soft-fp/trunctfsf2.c: Likewise.
3827         * soft-fp/trunctfxf2.c: Likewise.
3828         * soft-fp/unorddf2.c: Likewise.
3829         * soft-fp/unordsf2.c: Likewise.
3830         * soft-fp/unordtf2.c: Likewise.
3832 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3834         [BZ #15672]
3835         * misc/error.c (error_tail): Fix possible buffer overflow.
3837 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3839         [BZ #13028]
3840         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3841         address.
3843 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3845         [BZ #832]
3846         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3847         testing pipefail option.
3849 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3851         * soft-fp/double.h: Indent preprocessor directives inside #if.
3852         * soft-fp/extended.h: Likewise.
3853         * soft-fp/op-2.h: Likewise.
3854         * soft-fp/op-4.h: Likewise.
3855         * soft-fp/op-common.h: Likewise.
3856         * soft-fp/quad.h: Likewise.
3857         * soft-fp/single.h: Likewise.
3858         * soft-fp/soft-fp.h: Likewise.
3860 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3862         * iconv/iconv_prog.c: Fix typos.
3863         * stdio-common/psiginfo-data.h: Likewise.
3865 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3867         [BZ #15764]
3868         * locale/setlocale.c: Fix typo.
3870 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3872         [BZ #16036]
3873         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3874         signaling NaN arguments.
3875         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3876         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3878         [BZ #14910]
3879         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3880         unordered operands.
3881         * soft-fp/gesf2.c (__gesf2): Likewise.
3882         * soft-fp/getf2.c (__getf2): Likewise.
3883         * soft-fp/ledf2.c (__ledf2): Likewise.
3884         * soft-fp/lesf2.c (__lesf2): Likewise.
3885         * soft-fp/letf2.c (__letf2): Likewise.
3887         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3888         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3889         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3890         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3891         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3892         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3893         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3894         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3895         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3896         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3897         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3898         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3899         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3900         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3901         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3902         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3903         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3904         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3905         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3906         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3907         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3908         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3909         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3910         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3911         * soft-fp/floattidf.c (__floattidf): Likewise.
3912         * soft-fp/floattisf.c (__floattisf): Likewise.
3913         * soft-fp/floattitf.c (__floattitf): Likewise.
3914         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3915         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3916         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3917         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3918         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3919         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3920         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3921         * soft-fp/gesf2.c (__gesf2): Likewise.
3922         * soft-fp/getf2.c (__getf2): Likewise.
3923         * soft-fp/ledf2.c (__ledf2): Likewise.
3924         * soft-fp/lesf2.c (__lesf2): Likewise.
3925         * soft-fp/letf2.c (__letf2): Likewise.
3927         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3928         Undefine and redefine.
3929         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3930         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3931         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3932         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3933         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3934         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3935         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3936         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3937         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3938         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3939         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3940         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3941         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3942         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3943         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3945         [BZ #16032]
3946         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3947         without decrementing exponent if mantissa >= that for the
3948         denominator, not >.
3949         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3950         denominator, not >.  Decrement exponent in < case instead of
3951         incrementing in >= case.
3952         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3953         without decrementing exponent if mantissa >= that for the
3954         denominator, not >.
3956         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3957         computing saturated result for unsigned overflow.
3959 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3960             Jeff Law  <law@redhat.com>
3962         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3963         (atan2Mp): Add systemtap probe marker.
3964         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3965         (__ieee754_log): Add systemtap probe marker.
3966         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3967         (atanMp): Add systemtap probe marker.
3968         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3969         (tanMp): Add systemtap probe marker.
3970         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3971         (__slowexp): Add systemtap probe marker.
3972         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3973         (__slowpow): Add systemtap probe marker.
3974         * manual/probes.texi: Document probes.
3976 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3978         [BZ #15362]
3979         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3980         written.
3981         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3982         written.
3983         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3984         written to buffer but not flushed.
3985         * libio/iofwrite_u.c:  Likewise.
3986         * libio/iopadn.c:  Return bytes returned even if EOF was
3987         encountered.
3988         * libio/iowpadn.c:  Likewise.
3989         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3990         if _IO_padn does not write the whole buffer.
3991         [!COMPILE_WPRINTF] (PAD): Likewise.
3993 2013-10-10  David S. Miller  <davem@davemloft.net>
3995         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3996         directory block.
3998 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4000         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4001         instead of FSF address.
4002         * soft-fp/fixdfti.c: Likewise.
4003         * soft-fp/fixsfti.c: Likewise.
4004         * soft-fp/fixtfti.c: Likewise.
4005         * soft-fp/fixunsdfti.c: Likewise.
4006         * soft-fp/fixunssfti.c: Likewise.
4007         * soft-fp/fixunstfti.c: Likewise.
4008         * soft-fp/floattidf.c: Likewise.
4009         * soft-fp/floattisf.c: Likewise.
4010         * soft-fp/floattitf.c: Likewise.
4011         * soft-fp/floatuntidf.c: Likewise.
4012         * soft-fp/floatuntisf.c: Likewise.
4013         * soft-fp/floatuntitf.c: Likewise.
4014         * soft-fp/trunctfxf2.c: Likewise.
4016         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4017         * soft-fp/fixdfti.c: Likewise.
4018         * soft-fp/fixsfti.c: Likewise.
4019         * soft-fp/fixtfti.c: Likewise.
4020         * soft-fp/fixunsdfti.c: Likewise.
4021         * soft-fp/fixunssfti.c: Likewise.
4022         * soft-fp/fixunstfti.c: Likewise.
4023         * soft-fp/floattidf.c: Likewise.
4024         * soft-fp/floattisf.c: Likewise.
4025         * soft-fp/floattitf.c: Likewise.
4026         * soft-fp/floatuntidf.c: Likewise.
4027         * soft-fp/floatuntisf.c: Likewise.
4028         * soft-fp/floatuntitf.c: Likewise.
4029         * soft-fp/trunctfxf2.c: Likewise.
4031 2013-10-10  David S. Miller  <davem@davemloft.net>
4033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4035 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4037         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4038         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4039         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4040         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4041         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4042         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4043         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4045         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4046         for NaNs before doing comparisons on argument.
4047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4048         Likewise.
4050 2013-10-10  Will Newton  <will.newton@linaro.org>
4052         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4053         passed to _int_memalign does not overflow.
4055 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4057         * scripts/bench.pl: Add include-sources directive.
4058         * benchtests/README: Update documentation.
4060 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4062         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4063         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4064         instead of FP_INIT_ROUNDMODE.
4065         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4066         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4068         [BZ #16034]
4069         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4070         copy class of input value.
4071         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4072         not handle exceptions.
4073         * soft-fp/negsf2.c (__negsf2): Likewise.
4074         * soft-fp/negtf2.c (__negtf2): Likewise.
4075         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4077 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4079         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4080         semicolon.  From Linux kernel.
4082 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4084         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4086 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4088         [BZ #156]
4089         * manual/socket.texi: Added statement about buffer
4090         for gethostbyname2_r.
4092 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4094         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4095         Use .p2align directive instead, throughout.
4096         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4097         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4098         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4101         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4102         * sysdeps/x86_64/strchr.S: Likewise.
4103         * sysdeps/x86_64/strrchr.S: Likewise.
4105 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4107         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4109         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4111         * sysdeps/generic/math_private.h (__mpsin1): Remove
4112         declaration.
4113         (__mpcos1): Likewise.
4114         (__mpsin): New argument __range_reduce.
4115         (__mpcos): Likewise.
4116         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4117         (slow): Use __mpsin and __mpcos.
4118         (slow1): Likewise.
4119         (slow2): Likewise.
4120         (sloww): Likewise.
4121         (sloww1): Likewise.
4122         (sloww2): Likewise.
4123         (bsloww): Likewise.
4124         (bsloww1): Likewise.
4125         (bsloww2): Likewise.
4126         (cslow2): Likewise.
4127         (csloww): Likewise.
4128         (csloww1): Likewise.
4129         (csloww2): Likewise.
4130         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4131         range_reduce.  Merge in __mpsin1.
4132         (__mpcos): Likewise.
4133         (__mpsin1): Remove.
4134         (__mpcos1): Likewise.
4136 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4138         * locale/loadlocale.c (_nl_intern_locale_data): Use
4139         LOCFILE_ALIGNED_P.
4140         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4141         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4142         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4143         obstack data is appropriately aligned.
4144         (obstack_int32_grow_fast): Likewise.
4145         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4146         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4147         (add_locale_uint32_array): Likewise.
4149 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4151         * benchtests/Makefile: Remove ARGLIST and RET variables.
4152         ($(objpfx)bench-%.c): Pass only function name to the script.
4153         * benchtests/README: Update documentation.
4154         * benchtests/acos-inputs: Add new directives.
4155         * benchtests/acosh-inputs: Likewise.
4156         * benchtests/asin-inputs: Likewise.
4157         * benchtests/asinh-inputs: Likewise.
4158         * benchtests/atan-inputs: Likewise.
4159         * benchtests/atanh-inputs: Likewise.
4160         * benchtests/cos-inputs: Likewise.
4161         * benchtests/cosh-inputs: Likewise.
4162         * benchtests/exp-inputs: Likewise.
4163         * benchtests/log-inputs: Likewise.
4164         * benchtests/pow-inputs: Likewise.
4165         * benchtests/rint-inputs: Likewise.
4166         * benchtests/sin-inputs: Likewise.
4167         * benchtests/sinh-inputs: Likewise.
4168         * benchtests/tan-inputs: Likewise.
4169         * benchtests/tanh-inputs: Likewise.
4170         * scripts/bench.pl: Add support for new directives.
4172 2013-10-07  Alan Modra  <amodra@gmail.com>
4174         * README: Fix careless merge.
4176 2013-10-05  Alan Modra  <amodra@gmail.com>
4178         * NEWS: Mention powerpc64le support and bugs fixed.
4179         * README: Both big-endian and little-endian powerpc64 supported.
4181 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4183         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4184         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4185         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4186         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4188 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4190         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4191         match prototype.
4193 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4195         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4196         Move -mhard-float appending from
4197         ports/sysdeps/powerpc/powerpc32/Makefile.
4198         [$(with-fp) = yes] (ASFLAGS): Likewise.
4199         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4200         * sysdeps/powerpc/nofpu: Move directory from
4201         ports/sysdeps/powerpc/nofpu.
4202         * sysdeps/powerpc/soft-fp: Move directory from
4203         ports/sysdeps/powerpc/soft-fp.
4204         * sysdeps/powerpc/powerpc32/405: Move directory from
4205         ports/sysdeps/powerpc/powerpc32/405.
4206         * sysdeps/powerpc/powerpc32/440: Move directory from
4207         ports/sysdeps/powerpc/powerpc32/440.
4208         * sysdeps/powerpc/powerpc32/464: Move directory from
4209         ports/sysdeps/powerpc/powerpc32/464.
4210         * sysdeps/powerpc/powerpc32/476: Move directory from
4211         ports/sysdeps/powerpc/powerpc32/476.
4212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4213         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4215         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4217         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4219         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4221         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4222         * README: Update for powerpc-*-linux-gnu software floating point
4223         support in libc.
4225         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4226         case to powerpc/powerpc32*.
4227         * sysdeps/unix/sysv/linux/configure: Regenerated.
4229         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4230         (_FPU_MASK_OM): Define as 0x04.
4231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4233         0x00c10080.
4234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4235         0x0000003c.
4236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4239         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4240         getcontext_e500.
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4242         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4243         setcontext_e500.
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4245         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4246         and setcontext_e500.
4248 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4250         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4252 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4254         * manual/threads.texi (Default Thread Attributes): Fix typo.
4256 2013-10-04  Will Newton  <will.newton@linaro.org>
4258         * malloc/Makefile: Add tst-memalign.
4259         * malloc/tst-memalign.c: New file.
4261         * malloc/tst-posix_memalign.c: Add comments.
4262         (do_test): Add comments and call free on all potentially
4263         allocated pointers. Add space after cast.
4265         * malloc/tst-pvalloc.c: Add comments.
4266         (do_test): Add comments and call free on all potentially
4267         allocated pointers. Remove duplicate check for NULL pointer.
4268         Add space after cast.
4270         * malloc/tst-valloc.c: Add comments.
4271         (do_test): Add comments and call free on all potentially
4272         allocated pointers. Remove duplicate check for NULL pointer.
4273         Add space after cast.
4275 2013-10-04  Alan Modra  <amodra@gmail.com>
4277         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4278         Use stdint types in rather than __attribute__((mode())).
4279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4281 2013-10-04  Alan Modra  <amodra@gmail.com>
4283         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4284         Correct handling of unaligned relocs for little-endian.
4285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4287 2013-10-04  Alan Modra  <amodra@gmail.com>
4289         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4290         * configure: Regenerate.
4291         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4292         * shlib-versions: Likewise.
4294 2013-10-04  Alan Modra  <amodra@gmail.com>
4296         * string/tester.c (test_memrchr): Increment reported test cycle.
4298 2013-10-04  Alan Modra  <amodra@gmail.com>
4300         * string/test-memcpy.c (do_one_test): When reporting errors, print
4301         string address and don't overrun end of string.
4303 2013-10-04  Alan Modra  <amodra@gmail.com>
4305         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4306         insrdi.  Make better use of reg selection to speed exit slightly.
4307         Schedule entry path a little better.  Remove useless "are we done"
4308         checks on entry to main loop.  Handle wrapping around zero address.
4309         Correct main loop count.  Handle single left-over word from main
4310         loop inline rather than by using loop_small.  Remove extra word
4311         case in loop_small caused by wrong loop count.  Add little-endian
4312         support.
4313         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4315         cache hint.
4316         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4317         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4318         support.  Avoid rlwimi.
4319         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4321 2013-10-04  Alan Modra  <amodra@gmail.com>
4323         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4324         insrdi.  Formatting.
4325         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4326         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4327         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4328         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4329         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4330         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4332 2013-10-04  Alan Modra  <amodra@gmail.com>
4334         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4335         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4336         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4337         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4338         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4339         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4340         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4341         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4342         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4343         use of regs.  Use power7 mtocrf.  Tidy function tails.
4345 2013-10-04  Alan Modra  <amodra@gmail.com>
4347         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4348         Formatting.  Consistently use rXXX register defines or rN defines.
4349         Use early exit labels that avoid restoring unused non-volatile regs.
4350         Make cr field use more consistent with rWORDn compares.  Rename
4351         regs used as shift registers for unaligned loop, using rN defines
4352         for short lifetime/multiple use regs.
4353         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4355         addi 1,1,64 to pop stack frame.  Simplify return value code.
4356         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4358 2013-10-04  Alan Modra  <amodra@gmail.com>
4360         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4361         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4362         rather than rlwimi.
4363         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4364         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4365         little-endian support.  Correct typos.
4366         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4367         rather than rlwimi.
4368         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4369         in loop and entry code to keep "and." results.
4370         (strchr): Add little-endian support.  Comment.  Move cntlzd
4371         earlier in tail.
4372         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4374 2013-10-04  Alan Modra  <amodra@gmail.com>
4376         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4377         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4378         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4379         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4381 2013-10-04  Alan Modra  <amodra@gmail.com>
4383         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4384         (rTMP): Define as r11.
4385         (strcmp): Add little-endian support.  Optimise tail.
4386         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4387         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4388         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4389         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4390         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4392         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4394 2013-10-04  Alan Modra  <amodra@gmail.com>
4396         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4397         little-endian support.  Remove unnecessary "are we done" tests.
4398         Handle "s" wrapping around zero and extremely large "size".
4399         Correct main loop count.  Handle single left-over word from main
4400         loop inline rather than by using small_loop.  Correct comments.
4401         Delete "zero" tail, use "end_max" instead.
4402         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4404 2013-10-04  Alan Modra  <amodra@gmail.com>
4406         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4407         support.  Don't branch over align.
4408         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4409         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4410         support.  Rearrange tmp reg use to suit.  Comment.
4411         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4413 2013-10-04  Alan Modra  <amodra@gmail.com>
4415         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4417 2013-10-04  Alan Modra  <amodra@gmail.com>
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4420         conditional form of branch and link when obtaining pc.
4421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4423 2013-10-04  Alan Modra  <amodra@gmail.com>
4425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4426         HIWORD/LOWORD.
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4430 2013-10-04  Alan Modra  <amodra@gmail.com>
4432         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4433         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4434         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4435         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4436         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4437         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4438         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4439         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4440         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4441         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4443 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4444             Alistair Popple <alistair@ozlabs.au.ibm.com>
4445             Alan Modra <amodra@gmail.com>
4447         [BZ #15723]
4448         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4449         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4450         _dl_hwcap access for little-endian.
4451         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4452         destroy vmx regs when saving unaligned.
4453         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4454         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4455         destroy vmx regs when saving unaligned.
4457 2013-10-04  Alan Modra  <amodra@gmail.com>
4459         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4460         Don't use a union to pack hi/low value.
4462 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4464         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4465         for little-endian.
4466         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4467         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4468         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4469         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4470         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4472 2013-10-04  Alan Modra  <amodra@gmail.com>
4474         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4475         constants to usual value for .cst8 section, and remove redundant
4476         high address load.
4477         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4478         constant for 0x1p52.  Load little-endian words of double from
4479         correct stack offsets.
4481 2013-10-04  Alan Modra  <amodra@gmail.com>
4483         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4484         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4485         words of double from correct stack offsets.
4486         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4487         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4488         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4489         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4490         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4493         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4494         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4498         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4499         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4500         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4501         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4502         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4504 2013-10-04  Alan Modra  <amodra@gmail.com>
4506         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4507         64-bit int/double union.
4508         (_FPU_SETCW): Likewise.
4509         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4510         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4512 2013-10-04  Alan Modra  <amodra@gmail.com>
4514         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4515         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4517 2013-10-04  Alan Modra  <amodra@gmail.com>
4519         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4520         use vector int constants.
4521         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4523 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4525         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4526         array with long long.
4527         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4528         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4529         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4530         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4531         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4532         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4533         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4534         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4535         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4536         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4537         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4538         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4539         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4541 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4543         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4544         (__signbit): Likewise.  Correct for little-endian.
4545         (__signbitl): Call __signbit.
4546         (lrint): Correct for little-endian.
4547         (lrintf): Call lrint.
4549 2013-10-04  Alan Modra  <amodra@gmail.com>
4551         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4552         union 32-bit int array member with 64-bit int array.
4553         (t515, tm256): Double rather than long double.
4554         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4556 2013-10-04  Alan Modra  <amodra@gmail.com>
4558         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4559         Delete.
4560         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4562         version of math_ldbl.h.
4564 2013-10-04  Alan Modra  <amodra@gmail.com>
4566         [BZ #15734], [BZ #15735]
4567         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4568         all uses of ieee875 long double macros and unions.  Simplify test
4569         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4570         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4571         normalize after ldbl_extract_mantissa, and don't add hidden bit
4572         already handled.  Don't treat low word of ieee854 mantissa like
4573         low word of IBM long double and mask off bit when testing for
4574         zero.
4575         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4576         all uses of ieee875 long double macros and unions.  Simplify tests
4577         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4578         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4579         two1022, instead use their values.  Recognise that tests for large
4580         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4581         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4582         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4583         test for 0.0L and nan.  Correct negation.
4584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4585         ieee875 long double macros and unions.  Correct output for large
4586         magnitude x.  Correct absolute value calculation.
4587         (__erfcl): Likewise.
4588         * math/libm-test.inc: Add tests for errors discovered in IBM long
4589         double versions of fmodl, remainderl, erfl and erfcl.
4591 2013-10-04  Alan Modra  <amodra@gmail.com>
4593         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4594         all uses of ieee854 long double macros and unions.  Simplify tests
4595         for long doubles that are fully specified by the high double.
4596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4597         Likewise.
4598         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4599         Remove dead code too.
4600         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4601         (__ieee754_ynl): Likewise.
4602         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4603         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4604         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4605         Remove dead code too.
4606         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4607         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4608         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4609         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4610         Simplify.
4611         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4612         Simplify.
4613         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4614         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4615         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4616         Comment on variable precision.
4617         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4619         Likewise.
4620         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4623         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4624         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4626 2013-10-04  Alan Modra  <amodra@gmail.com>
4628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4629         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4630         all uses of ieee854 long double macros and unions.
4631         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4632         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4633         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4635         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4636         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4637         Likewise.
4638         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4639         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4640         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4641         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4642         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4643         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4644         Simplify sign and nan test too.
4645         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4646         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4647         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4648         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4649         Likewise.
4650         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4651         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4652         Likewise.
4653         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4654         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4655         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4660 2013-10-04  Alan Modra  <amodra@gmail.com>
4662         * stdio-common/printf_size.c (__printf_size): Don't use
4663         union ieee854_long_double in fpnum union.
4664         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4665         signbit macro to retrieve sign from long double.
4666         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4667         retrieve sign from long double.
4668         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4669         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4670         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4671         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4672         * math/test-misc.c (main): Don't use union ieee854_long_double.
4674 2013-10-04  Alan Modra  <amodra@gmail.com>
4676         [BZ #15680]
4677         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4678         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4679         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4680         calculation.  Remove unnecessary test for denormal exponent.
4681         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4682         Correct handling of denormals.  Avoid undefined shift behaviour.
4683         Correct normalisation of low mantissa when low double is denormal.
4684         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4685         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4686         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4687         Correct normalisation of low mantissa.  Test for overflow of high
4688         mantissa and normalise.
4689         (ldbl_nearbyint): Use more readable constant for two52.
4690         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4691         (__mpn_construct_long_double): Fix test for overflow of high
4692         mantissa and correct normalisation.  Avoid undefined shift.
4694 2013-10-04  Alan Modra  <amodra@gmail.com>
4696         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4697         (union ibm_extended_long_double): Define as an array of ieee754_double.
4698         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4699         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4700         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4701         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4703         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4705         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4706         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4707         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4708         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4710 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4712         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4713         page size instead of calling getpagesize.
4715         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4716         (LOCFILE_ALIGN_MASK): Likewise.
4717         (LOCFILE_ALIGN_UP): Likewise.
4718         (LOCFILE_ALIGNED_P): Likewise.
4719         * locale/programs/ld-collate.c (collate_output): Use the new
4720         macros instead of __alignof__ (int32_t).
4721         * locale/weight.h (findidx): Likewise.
4723 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4725         [BZ #431]
4726         * manual/string.texi: Fix strncat and wcsncat.
4728 2013-10-03  Brooks Moses  <bmoses@google.com>
4730         [BZ #15915]
4731         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4732         * Makerules: ...here, and adjust associated comments.
4734 2013-10-02  Will Newton  <will.newton@linaro.org>
4736         * malloc/Makefile: Add tst-pvalloc.
4737         * malloc/tst-pvalloc.c: New file.
4739 2013-10-02  Will Newton  <will.newton@linaro.org>
4741         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4742         improve test coverage.
4744 2013-10-02  Will Newton  <will.newton@linaro.org>
4746         * malloc/Makefile: Add tst-posix_memalign.
4747         * malloc/tst-posix_memalign.c: New file.
4749 2013-10-01  Eric Blake  <eblake@redhat.com>
4751         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4752         Use __THROWNL rather than __THROW on static functions.
4754 2013-09-30  Petr Machata  <pmachata@redhat.com>
4756         * elf/elf.h (R_AARCH64_ABS16): New macro.
4757         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4758         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4759         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4760         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4761         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4762         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4763         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4764         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4765         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4766         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4767         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4768         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4769         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4770         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4771         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4772         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4773         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4774         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4775         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4776         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4777         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4778         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4779         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4780         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4781         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4782         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4783         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4784         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4785         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4786         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4787         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4788         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4789         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4790         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4791         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4792         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4793         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4794         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4795         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4796         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4797         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4798         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4799         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4800         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4801         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4802         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4803         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4804         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4805         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4806         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4807         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4808         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4809         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4810         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4811         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4812         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4813         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4814         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4815         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4816         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4817         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4818         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4819         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4820         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4821         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4822         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4823         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4824         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4825         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4826         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4827         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4828         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4829         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4830         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4831         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4832         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4833         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4834         (R_AARCH64_TLSDESC_LDR): Likewise.
4835         (R_AARCH64_TLSDESC_ADD): Likewise.
4836         (R_AARCH64_TLSDESC_CALL): Likewise.
4838 2013-09-30  Andreas Schwab  <schwab@suse.de>
4840         [BZ #15048]
4841         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4842         the nss database lookup.
4843         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4846 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4848         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4850 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4852         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4853         ${Bash-specific parameter/pattern/string} parameter expansion.
4854         * sysdeps/unix/make-syscalls.sh: Likewise.
4856 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4858         * sysdeps/sh/stackguard-macros.h: New file.
4860 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4864         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4865         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4866         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4867         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4869 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4871         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4872         Fix thread ID register.
4874 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4876         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4877         [POSIX || UNIX98]: Require rather than permitting all symbols from
4878         <time.h>.
4879         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4880         element of struct sched_param.
4881         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4882         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4883         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4884         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4885         constant.
4887 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4889         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4890         argument calculation.
4892 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4894         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4895         Expect macro.
4896         [POSIX] (pthread_attr_t): Do not require type.
4897         [POSIX] (pthread_cond_t): Likewise.
4898         [POSIX] (pthread_condattr_t): Likewise.
4899         [POSIX] (pthread_key_t): Likewise.
4900         [POSIX] (pthread_mutex_t): Likewise.
4901         [POSIX] (pthread_mutexattr_t): Likewise.
4902         [POSIX] (pthread_once_t): Likewise.
4903         [POSIX] (pthread_t): Likewise.
4904         [POSIX-based standards] (pthread_atfork): Expect function.
4906 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4907             Richard Sandiford  <richard@codesourcery.com>
4909         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4910         (swap_endianness_p): New extern variable.
4911         (set_big_endian): New inline function.
4912         (maybe_swap_uint32): Likewise.
4913         (maybe_swap_uint32_array): Likewise.
4914         (maybe_swap_uint32_obstack): Likewise.
4915         * locale/programs/locfile.c: Include <stdbool.h>.
4916         (swap_endianness_p): New variable.
4917         (add_locale_uint32): Call maybe_swap_uint32.
4918         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4919         (write_locale_data): Call maybe_swap_uint32_array.
4920         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4921         maybe_swap_uint32.
4922         (obstack_int32_grow_fast): Likewise.
4923         (output_weightwc): Call maybe_swap_uint32_obstack.
4924         (collate_output): Likewise.
4925         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4926         (OPT_LITTLE_ENDIAN): Likewise.
4927         (options): Add --little-endian and --big-endian options.
4928         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4929         * locale/programs/locarchive.c: Include "locfile.h".
4930         (GET): New macro.
4931         (SET): Likewise.
4932         (INC): Likewise.
4933         (create_archive): Use the new macros to access fields of
4934         structures directly mapped from or written to locale archives.
4935         (oldlocrecentcmp): Likewise.
4936         (enlarge_archive): Likewise.
4937         (insert_name): Likewise.
4938         (add_alias): Likewise.
4939         (add_locale): Likewise.
4940         (delete_locales_from_archive): Likewise.
4941         (show_archive_content): Likewise.
4942         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4943         locale data.
4945 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4947         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4948         http://www.gnu.org/doc/freemanuals.texi.
4949         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4951 2013-09-24  Will Newton  <will.newton@linaro.org>
4953         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4954         macro.
4956 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4958         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4959         unsigned char.
4961 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4963         * manual/threads.texi (POSIX Threads): Fix a typo.
4965 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4967         [BZ #14547]
4968         * string/tst-strcoll-overflow.c: New test case.
4969         * string/Makefile (xtests): Add tst-strcoll-overflow.
4970         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4971         cache if string sizes may cause integer overflow.
4973         [BZ #14547]
4974         * string/strcoll_l.c (coll_seq): New members rule, idx,
4975         save_idx and back_us.
4976         (get_next_seq_nocache): New function.
4977         (do_compare_nocache): New function.
4978         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4979         when malloc fails.
4981 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4983         [BZ #15754]
4984         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4985         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4986         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4988         [BZ #15754]
4989         * elf/Makefile (tests): Add tst-ptrguard1.
4990         (tests-static): Add tst-ptrguard1-static.
4991         (tst-ptrguard1-ARGS): Define.
4992         (tst-ptrguard1-static-ARGS): Define.
4993         * elf/tst-ptrguard1.c: New file.
4994         * elf/tst-ptrguard1-static.c: New file.
4995         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4996         * sysdeps/i386/stackguard-macros.h: Likewise.
4997         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4998         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4999         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5000         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5001         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5002         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5004 2013-09-23  Hector Marco  <hecmargi@upv.es>
5005             Ismael Ripoll  <iripoll@disca.upv.es>
5006             Carlos O'Donell  <carlos@redhat.com>
5008         [BZ #15754]
5009         * sysdeps/generic/stackguard-macros.h: Define
5010         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5011         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5012         Define __pointer_chk_guard_local.
5013         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5014         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5016 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5018         [BZ #15859]
5019         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5021 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5023         * include/string.h (__ffs): Declare as hidden.
5024         * string/ffs.c (__ffs): Define as hidden.
5025         * sysdeps/i386/ffs.c (__ffs): Likewise.
5026         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5027         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5028         * sysdeps/s390/ffs.c (__ffs): Likewise.
5029         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5031 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5033         * NEWS: Mention malloc probes.
5035         * malloc/arena.c (new_heap): New memory_heap_new probe.
5036         (grow_heap): New memory_heap_more probe.
5037         (shrink_heap): New memory_heap_less probe.
5038         (heap_trim): New memory_heap_free probe.
5039         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5040         (systrim): New memory_sbrk_less probe.
5041         * manual/probes.texi: Document them.
5043         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5044         * manual/probes.texi: Document it.
5046         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5047         (__libc_realloc): Add memory_realloc_retry probe.
5048         (__libc_memalign): Add memory_memalign_retry probe.
5049         (__libc_valloc): Add memory_valloc_retry probe.
5050         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5051         (__libc_calloc): Add memory_calloc_retry probe.
5052         * manual/probes.texi: Document them.
5054         * malloc/arena.c (get_free_list): Add probe
5055         memory_arena_reuse_free_list.
5056         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5057         and memory_arena_reuse.
5058         (arena_get2) [!PER_THREAD]: Likewise.
5059         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5060         memory_arena_reuse_realloc.
5061         * manual/probes.texi: Document them.
5063         * malloc/malloc.c (__libc_free): Add
5064         memory_mallopt_free_dyn_thresholds probe.
5065         (__libc_mallopt): Add multiple memory_mallopt probes.
5066         * manual/probes.texi: Document them.
5068         * malloc/malloc.c: Include stap-probe.h.
5069         (__libc_mallopt): Add memory_mallopt probe.
5070         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5071         * manual/probes.texi: New.
5072         * manual/Makefile (chapters): Add probes.
5073         * manual/threads.texi: Set next node.
5075 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5077         [BZ #15963, #13985]
5078         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5079         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5080         Add `Chinese' to `nan' entry name.
5082 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5084         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5085         (POLYNOMIAL): Likewise.
5086         (TAYLOR_SINCOS): Likewise.
5087         (TAYLOR_SLOW): Likewise.
5088         (__sin): Use TAYLOR_SINCOS.
5089         (__cos): Likewise.
5090         (slow): Use TAYLOR_SLOW.
5091         (sloww): Likewise.
5092         (bsloww): Likewise.
5093         (csloww): Likewise.
5095 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5097         * stdlib/strtod_l.c: Fix buffer overrun.
5099 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5101         * benchtests/Makefile (bench): Add sincos.
5102         * benchtests/bench-sincos.c: New file.
5104         * math/libm-test.inc (cos_test_data): New test inputs.
5105         (sin_test_data): Likewise.
5107         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5108         macro.
5109         (__sin): Use it.
5110         (__cos): Likewise.
5111         (slow1): Likewise.
5112         (slow2): Likewise.
5113         (sloww1): Likewise.
5114         (sloww2): Likewise.
5115         (bsloww1): Likewise.
5116         (bsloww2): Likewise.
5117         (cslow2): Likewise.
5118         (csloww1): Likewise.
5119         (csloww2): Likewise.
5121         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5122         function.
5123         (__sin): Use it.
5124         (__cos): Likewise.
5126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5127         gotos.
5128         (__cos): Likewise.
5130 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5132         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5133         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5134         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5135         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5136         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5137         * elf/cache.c (print_entry): Handle the new cache flags.
5139 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5140             Aldy Hernandez  <aldyh@redhat.com>
5142         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5143         Change condition to [_SOFT_FLOAT].
5144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5156         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5159         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5160         declaration.
5162 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5164         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5165         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5166         (__longjmp): Use LOAD_GP to load saved GPRs.
5167         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5168         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5169         (__sigsetjmp): Use SAVE_GP to save GPRs.
5171         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5172         Do not append -msoft-float.
5173         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5175 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5177         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5179 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5181         [BZ #15966]
5182         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5183         (_FPU_GETCW): Use initial "__" on variable and field names but not
5184         on macro parameter name.
5185         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5186         parentheses around reference to macro parameter.
5188 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5190         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5191         prototype.
5192         (ctype_startup): Use uint32_t in cast and sizeof for
5193         ctype->charnames.
5195 2013-09-11  Jia Liu  <proljc@gmail.com>
5197         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5198         __daddr_t_defined.
5199         [__FreeBSD__]: Likewise.
5201 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5204         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5205         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5206         (strchr): Remove __strchr_sse42 ifunc selection.
5207         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5208         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5210 2013-09-11  Will Newton  <will.newton@linaro.org>
5212         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5213         parameter to RES. Remove hardcoded 1000 value.
5214         * benchtests/bench-skeleton.c (main): Pass RES parameter
5215         to TIMING_INIT and multiply result by 1000.
5217 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5221 2013-09-11  Andreas Schwab  <schwab@suse.de>
5223         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5224         if not defined.
5225         (O_TMPFILE) [__USE_GNU]: Define.
5226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5227         Define.
5229 2013-09-11  Will Newton  <will.newton@linaro.org>
5231         [BZ #15857]
5232         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5233         does not overflow.
5235 2013-09-11  Will Newton  <will.newton@linaro.org>
5237         [BZ #15856]
5238         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5239         does not overflow.
5241 2013-09-11  Will Newton  <will.newton@linaro.org>
5243         [BZ #15855]
5244         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5245         does not overflow.
5247 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5249         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5250         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5251         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5252         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5253         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5255 2013-09-10  Allan McRae  <allan@archlinux.org>
5257         [BZ #15748]
5258         * manual/arith.texi (Parsing of Floats): Clarify
5259         cross-reference.
5261         [BZ #15849]
5262         * manual/install.texi (Running make install): Mention
5263         --enable-pt-chown.
5264         * INSTALL: Regenerated.
5266 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5268         * csu/init-first.c (_init): Remove the !SHARED condition around
5269         FPU control word initialization.
5270         * elf/dl-support.c (_dl_fpu_control): New variable.
5271         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5272         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5273         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5274         * math/test-fpucw-static.c: New file.
5275         * math/test-fpucw-ieee.c: New file.
5276         * math/test-fpucw-ieee-static.c: New file.
5277         * math/Makefile (tests): Add `test-fpucw-ieee' and
5278         `$(tests-static)'.
5279         (tests-static): New variable.
5280         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5281         dependency to...
5282         [($(build-shared),yes)]
5283         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5284         ... this.
5285         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5286         New dependency.
5288 2013-09-09  Allan McRae  <allan@archlinux.org>
5290         [BZ #15939]
5291         * manual/string.texi (Collation Functions): Fix typo in
5292         strcoll example.
5293         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5295         [BZ #15893]
5296         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5298         [BZ #15892]
5299         * libio/memstream.c (open_memstream): Fix memory leak.
5300         * libio/wmemstream.c (open_wmemstream): Likewise.
5302         [BZ #15895]
5303         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5305 2013-09-09  Will Newton  <will.newton@linaro.org>
5307         * malloc/Makefile: Add tst-realloc to tests.
5308         * malloc/tst-realloc.c: New file.
5310 2013-09-09  Allan McRae  <allan@archlinux.org>
5312         [BZ #15844]
5313         * COPYING: Update from GNU website to fix FSF address.
5314         * COPYING.LIB: Likewise.
5316 2013-09-06  David S. Miller  <davem@davemloft.net>
5318         * po/zh_TW.po: Update Chinese (traditional) translation from
5319         translation project.
5321 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5322             Joseph Myers  <joseph@codesourcery.com>
5324         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5325         "localeinfo.h".
5326         (obstack_chunk_alloc): New macro.
5327         (obstack_chunk_free): Likewise.
5328         (record_offset): New function.
5329         (init_locale_data): Likewise.
5330         (align_locale_data): Likewise.
5331         (add_locale_empty): Likewise.
5332         (add_locale_raw_data): Likewise.
5333         (add_locale_raw_obstack): Likewise.
5334         (add_locale_string): Likewise.
5335         (add_locale_wstring): Likewise.
5336         (add_locale_uint32): Likewise.
5337         (add_locale_uint32_array): Likewise.
5338         (add_locale_char): Likewise.
5339         (start_locale_structure): Likewise.
5340         (end_locale_structure): Likewise.
5341         (start_locale_prelude): Likewise.
5342         (end_locale_prelude): Likewise.
5343         (write_locale_data): Take locale_file structure rather than an
5344         iovec.
5345         * locale/programs/locfile.h: Include "obstack.h".
5346         (struct locale_file): Change to store locale file contents instead
5347         of header.
5348         (init_locale_data): New prototype.
5349         (align_locale_data): Likewise.
5350         (add_locale_empty): Likewise.
5351         (add_locale_raw_data): Likewise.
5352         (add_locale_raw_obstack): Likewise.
5353         (add_locale_string): Likewise.
5354         (add_locale_wstring): Likewise.
5355         (add_locale_uint32): Likewise.
5356         (add_locale_uint32_array): Likewise.
5357         (add_locale_char): Likewise.
5358         (start_locale_structure): Likewise.
5359         (end_locale_structure): Likewise.
5360         (start_locale_prelude): Likewise.
5361         (end_locale_prelude): Likewise.
5362         (write_locale_data): Update prototype.
5363         * locale/programs/3level.h (struct TABLE): Remove result field.
5364         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5365         Use new locale_file interface.
5366         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5367         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5368         * locale/programs/ld-address.c (address_output): Use new
5369         locale_file interface.
5370         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5371         NO_ADD_LOCALE.
5372         (collate_finish): Don't call collseq_table_finalize.
5373         (collate_output): Use new locale_file interface.
5374         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5375         in file.
5376         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5377         (TABLE): Move defines earlier in file.
5378         (ELEMENT): Likewise.
5379         (DEFAULT): Likewise.
5380         (wctrans_table_add): Move macro and inline function earlier in
5381         file.
5382         (struct wctype_table): Move type earlier in file.
5383         (add_locale_wctype_table): New static prototype.
5384         (struct locale_ctype_t): Use logical types instead of struct iovec
5385         pointers for members.
5386         (ctype_output): Use new locale_file interface.
5387         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5388         new locale_file interface.
5389         (allocate_arrays): Update for use of new locale_file interface.
5390         * locale/programs/ld-identification.c (identification_output): Use
5391         new locale_file interface.
5392         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5393         * locale/programs/ld-messages.c (messages_output): Likewise.
5394         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5395         * locale/programs/ld-name.c (name_output): Likewise.
5396         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5397         * locale/programs/ld-paper.c (paper_output): Likewise.
5398         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5399         * locale/programs/ld-time.c (time_output): Likewise.
5401 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5403         * benchtests/Makefile: Add memrchr benchmark.
5404         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5405         benchmark as memrchr.
5406         * benchtests/bench-memrchr-ifunc.c: New file.
5407         * benchtests/bench-memrchr.c: New file.
5409 2013-09-06   Will Newton  <will.newton@linaro.org>
5411         * benchtests/Makefile (string-bench): Add memcpy.
5413 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5414             Cong Wang  <amwang@redhat.com>
5416         * sysdeps/unix/sysv/linux/bits/in.h
5417         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5418         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5419         before __USE_KERNEL_IPV6_DEFS uses.
5420         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5421         IPPROTO_BEETPH.
5422         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5423         sockaddr_in6, or ipv6_mreq.
5425 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5427         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5428         memory access for final bytes in some large inputs.
5429         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5431 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5433         * string/test-memrchr.c: New file.
5434         * string/test-memrchr-ifunc.c: New file.
5435         * string/Makefile: Add new memrchr testcase.
5437 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5439         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5440         fanotify_init returns EPERM.
5442 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5444         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5445         errors.
5446         (top level): Treat second token from macro or constant entries for
5447         allowed headers as allowed.
5448         * include/complex.h: Condition internal declarations on
5449         [!_ISOMAC].
5450         * include/fenv.h: Condition include of <stdbool.h> and internal
5451         declarations on [!_ISOMAC].
5453 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5455         [BZ #15923]
5456         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5458 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5460         * configure.in (--enable-versioning): Remove configure option.
5461         (libc_cv_asm_symver_directive): Remove configure test.
5462         (libc_cv_ld_version_script_option): Likewise.
5463         (VERSIONING): Remove variable and AC_SUBST.
5464         (DO_VERSIONING): Remove AC_DEFINE.
5465         * configure: Regenerated.
5466         * config.h.in (DO_VERSIONING): Remove macro.
5467         * Makerules [$(versioning) = yes]: Change conditionals to
5468         [$(build-shared) = yes].
5469         * config.make.in (versioning): Remove variable.
5470         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5471         [$(build-shared) = yes].
5472         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5473         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5474         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5475         [$(build-shared) = yes].
5476         * extra-lib.mk [$(versioning) = yes]: Likewise.
5477         * hurd/Makefile [$(versioning) = yes]: Likewise.
5478         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5479         [SHARED].
5480         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5481         [SHARED].
5482         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5483         [SHARED && !NO_HIDDEN].
5484         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5485         [SHARED].
5486         [SHARED && DO_VERSIONING]: Likewise..
5487         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5488         [$(build-shared) = yes].
5489         * manual/install.texi (--disable-versioning): Remove
5490         documentation.
5491         * INSTALL: Regenerated.
5492         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5493         to [SHARED].
5494         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5495         [$(build-shared) = yes].
5496         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5497         * sysdeps/i386/i686/multiarch/strstr-c.c
5498         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5499         [SHARED && !NO_HIDDEN].
5500         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5501         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5502         * sysdeps/powerpc/powerpc32/dl-machine.c
5503         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5504         * sysdeps/powerpc/powerpc32/sysdep.h
5505         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5506         to [SHARED && PIC && !NO_HIDDEN].
5507         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5508         conditional to [SHARED].
5510 2013-09-04   Will Newton  <will.newton@linaro.org>
5512         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5513         * benchtests/bench-string.h: Include bench-timing.h instead
5514         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5515         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5516         call to HP_TIMING_DIFF_INIT.
5517         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5518         instead of hp-timing.h macros.
5519         * benchtests/bench-memchr.c: Likewise.
5520         * benchtests/bench-memcmp.c: Likewise.
5521         * benchtests/bench-memcpy.c: Likewise.
5522         * benchtests/bench-memmem.c: Likewise.
5523         * benchtests/bench-memmove.c: Likewise.
5524         * benchtests/bench-memset.c: Likewise.
5525         * benchtests/bench-rawmemchr.c: Likewise.
5526         * benchtests/bench-strcasecmp.c: Likewise.
5527         * benchtests/bench-strcasestr.c: Likewise.
5528         * benchtests/bench-strcat.c: Likewise.
5529         * benchtests/bench-strchr.c: Likewise.
5530         * benchtests/bench-strcmp.c: Likewise.
5531         * benchtests/bench-strcpy.c: Likewise.
5532         * benchtests/bench-strcpy_chk.c: Likewise.
5533         * benchtests/bench-strlen.c: Likewise.
5534         * benchtests/bench-strncasecmp.c: Likewise.
5535         * benchtests/bench-strncat.c: Likewise.
5536         * benchtests/bench-strncmp.c: Likewise.
5537         * benchtests/bench-strncpy.c: Likewise.
5538         * benchtests/bench-strnlen.c: Likewise.
5539         * benchtests/bench-strpbrk.c: Likewise.
5540         * benchtests/bench-strrchr.c: Likewise.
5541         * benchtests/bench-strspn.c: Likewise.
5542         * benchtests/bench-strstr.c: Likewise.
5544 2013-09-04  Will Newton  <will.newton@linaro.org>
5546         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5548 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5550         [BZ #15427]
5551         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5552         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5553         * math/libm-test.inc (lgamma_test_data): Add more tests.
5554         * sysdeps/i386/fpu/libm-test-ulps: Update.
5555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5559         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5561         Add ifunc.
5562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5563         Add strcmp-sse2-unaligned
5564         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5566 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5568         * Versions.def (libc): Add GLIBC_2.19.
5570 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5572         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5573         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5575 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5577         [BZ #14155]
5578         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5579         intermediate calculations in recurrence.
5580         (__ieee754_ynf): Likewise.
5581         * math/libm-test.inc (jn_test_data): Do not allow spurious
5582         underflow exception.  Add more tests.
5583         (yn_test_data): Add more tests.
5584         * sysdeps/i386/fpu/libm-test-ulps: Update.
5585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5587 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5589         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5591 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5593         * csu/init-first.c: Fix then/than typos.
5594         * locale/programs/ld-collate.c: Likewise.
5595         * locale/programs/linereader.h: Likewise.
5596         * manual/charset.texi: Likewise.
5597         * manual/filesys.texi: Likewise.
5598         * manual/stdio.texi: Likewise.
5599         * manual/string.texi: Likewise.
5600         * stdlib/fmtmsg.c: Likewise.
5601         * sysdeps/i386/stpncpy.S: Likewise.
5602         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5603         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5604         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5605         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5607 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5609         * elf/dl-open.c: Fix typos.
5610         * iconvdata/gbbig5.c: Likewise.
5611         * iconvdata/iso-2022-jp.c: Likewise.
5612         * iconv/gconv_int.h: Likewise.
5613         * iconv/loop.c: Likewise.
5614         * nis/rpcsvc/nis.h: Likewise.
5615         * resolv/ns_name.c: Likewise.
5616         * stdio-common/vfscanf.c: Likewise.
5617         * streams/stropts.h: Likewise.
5618         * sunrpc/rpc_thread.c: Likewise.
5619         * sysdeps/i386/strpbrk.S: Likewise.
5620         * sysdeps/ieee754/k_standard.c: Likewise.
5621         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5622         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5623         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5624         * sysdeps/mach/hurd/profil.c: Likewise.
5625         * sysdeps/s390/dl-procinfo.h: Likewise.
5626         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5627         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5628         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5629         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5630         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5632 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5634         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5637 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5639         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5640         aix specific files.
5641         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5643         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5644         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5645         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5646         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5647         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5648         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5650 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5651             Roland McGrath  <roland@hack.frob.com>
5653         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5654         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5656 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5658         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5659         __executable_start symbol instead of _start.
5661 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5663         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5664         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5665         Move macros to...
5666         * sysdeps/gnu/ldsodefs.h: ... this new file.
5668         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5669         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5670         instead of ELFOSABI_LINUX.
5672         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5673         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5674         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5675         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5676         Likewise.
5677         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5678         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5679         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5680         Likewise.
5681         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5682         (ibm_extended_long_double): Add ieee_nan member.
5683         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5684         (do_test): New function.
5686         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5687         TEST_TRUNC.
5688         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5689         functions, renamed from truncdfsf_test, trunctfsf_test,
5690         trunctfdf_test.
5691         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5692         functions.
5693         (do_test): Run all these.
5695 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5697         * argp/argp-help.c: Fix typos.
5698         * argp/argp-parse.c: Likewise.
5699         * debug/backtracesyms.c: Likewise.
5700         * elf/elf.h: Likewise.
5701         * malloc/malloc.c: Likewise.
5702         * nis/nis_print.c: Likewise.
5703         * resolv/res_comp.c: Likewise.
5704         * stdlib/stdlib.h: Likewise.
5705         * sunrpc/clnt_tcp.c: Likewise.
5706         * sunrpc/clnt_udp.c: Likewise.
5707         * sunrpc/clnt_unix.c: Likewise.
5708         * sysdeps/unix/bsd/ptsname.c: Likewise.
5709         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5710         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5712         Likewise.
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5714         Likewise.
5715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5716         Likewise.
5717         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5719 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5721         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5724 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5726         [BZ #15897]
5727         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5728         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5729         ($(objpfx)bug-dl-leaf): New rule.
5730         ($(objpfx)bug-dl-leaf.so): Likewise.
5731         ($(objpfx)bug-dl-leaf.out): Likewise.
5732         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5733         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5734         * dlfcn/bug-dl-leaf.c: New test.
5735         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5736         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5737         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5738         (dlclose): Likewise.
5739         (dlmopen): Likewise.
5741 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5743         * include/netdb.h [!_ISOMAC]:
5744         Don't include <tls.h>.
5745         (h_errno, __libc_h_errno): Move declaration and macros out of
5746         [_LIBC_REENTRANT].
5748         * include/resolv.h [_RESOLV_H_]:
5749         Don't include <tls.h>.
5750         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5751         * resolv/res_libc.c: Don't include <tls.h>.
5752         (_res): Use __attribute__ ((nocommon)) in place of
5753         __attribute__ ((section (".bss"))).
5755         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5756         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5758         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5760         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5761         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5763         * resolv/res_mkquery.c: Include <sys/time.h>.
5765         * inet/ifreq.c: Moved to ...
5766         * sysdeps/unix/ifreq.c: ... here.
5767         * inet/ifreq.c: New file, true stub version.
5769         * socket/sa_len.c: New file.
5770         * socket/Makefile (aux): Add it.
5771         * sysdeps/unix/sysv/linux/Makefile
5772         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5773         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5774         and #include <socket/sa_len.c>.
5775         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5776         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5778         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5779         * bits/socket.h: ... here.
5781         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5782         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5783         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5785 2013-08-27  Andreas Schwab  <schwab@suse.de>
5787         [BZ #15736]
5788         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5789         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5790         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5791         * string/test-strcasecmp.c (test_main): Run tests in several
5792         locales.
5793         * string/test-strncasecmp.c (test_main): Likewise.
5795         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5796         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5797         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5799         (__strncasecmp_ssse3) [PIC]: Likewise.
5801 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5803         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5805         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5806         instead of explicitly declaring xdecrypt.
5807         * nis/nss_nis/nis-publickey.c: Likewise.
5809 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5811         [BZ #15890]
5812         * nscd/aicache.c: Include res_hconf.h.
5813         (addhstaiX): Initialize res_hconf.
5815 2013-08-26  Andreas Schwab  <schwab@suse.de>
5817         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5818         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5820 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5822         * nscd/aicache.c (addhstaiX): Fix indentation.
5824 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5826         * configure.ac: Quote $build_pt_chown test.
5827         * configure: Regenerated.
5829 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5831         [BZ #15532]
5832         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5833         * math/s_cexpf.c (__cexpf): Likewise.
5834         * math/s_cexpl.c (__cexpl): Likewise.
5835         * math/libm-test.inc (cexp_test_data): Correct expected return
5836         value for NaN + i0.  Add another test.
5838 2013-08-22  David S. Miller  <davem@davemloft.net>
5840         * po/ca.po: Update Catalan translation from translation project.
5841         * po/uk.po: Add Ukrainian translations from translation project.
5843 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5845         [BZ #15797]
5846         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5847         is infinite, not alongside NaN test.
5848         * math/s_fdimf.c (__fdimf): Likewise.
5849         * math/s_fdiml.c (__fdiml): Likewise.
5850         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5851         errno is unchanged.
5853 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5855         * argp/argp-help.c: Fix typos.
5856         * crypt/speeds.c: Likewise.
5857         * csu/check_fds.c: Likewise.
5858         * elf/dl-load.c: Likewise.
5859         * elf/dl-open.c: Likewise.
5860         * elf/reldep3.c: Likewise.
5861         * elf/reldep.c: Likewise.
5862         * elf/sprof.c: Likewise.
5863         * iconv/iconv_charmap.c: Likewise.
5864         * iconv/skeleton.c: Likewise.
5865         * iconv/strtab.c: Likewise.
5866         * io/lockf64.c: Likewise.
5867         * libio/libioP.h: Likewise.
5868         * resolv/gai_notify.c: Likewise.
5869         * resolv/ns_name.c: Likewise.
5870         * resolv/ns_samedomain.c: Likewise.
5871         * resolv/res_send.c: Likewise.
5872         * stdlib/random.c: Likewise.
5873         * sunrpc/rpc/xdr.h: Likewise.
5874         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5875         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5876         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5877         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5878         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5879         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5880         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5881         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5882         * sysdeps/mach/hurd/check_fds.c: Likewise.
5883         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5884         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5885         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5886         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5887         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5888         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5889         * sysdeps/pthread/aio_notify.c: Likewise.
5890         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5891         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5892         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5893         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5894         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5896 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5898         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5899         version if bit_Slow_SSE4_2 is set.
5900         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5901         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5903 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5905         [BZ #15867]
5906         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5907         trampoline stack frame information.
5908         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5909         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5910         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5911         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5912         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5913         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5914         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5915         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5916         sa_flags value.
5917         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5918         interrupting a syscall and set with option SA_SIGINFO.
5920 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5922         [BZ #15531]
5923         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5924         argument is infinite.
5925         * math/s_cprojf.c (__cprojf): Likewise.
5926         * math/s_cprojl.c (__cprojl): Likewise.
5927         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5928         * math/libm-test.inc (cproj_test_data): Add more tests.
5930         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5932         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5933         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5934         size.  Use __ffs to determine corresponding shift.
5936 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5937             Roland McGrath  <roland@hack.frob.com>
5939         * Makefile (INSTALL): Remove trailing blank lines from output of
5940         makeinfo.
5942 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5944         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5945         Align 32 bit compat elf_greg to 8 bytes.
5947 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5949         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5951 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5953         * string/strcoll_l.c (coll_seq): New structure.
5954         (get_next_seq_cached): New function.
5955         (get_next_seq): New function.
5956         (do_compare): New function.
5957         (STRCOLL): Use GNU style definition.  Simplify implementation
5958         by using get_next_seq, get_next_seq_cached and do_compare.
5960 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5962         [BZ #14699]
5963         CVE-2013-4237
5964         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5965         member.
5966         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5967         member.
5968         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5969         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5970         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5971         conditional.
5972         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5973         GETDENTS_64BIT_ALIGNED.
5974         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5975         * manual/filesys.texi (Reading/Closing Directory): Document
5976         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5977         strongly.
5978         * manual/conf.texi (Limits for Files): Add portability note to
5979         NAME_MAX, PATH_MAX.
5980         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5982 2013-08-13  Andreas Schwab  <schwab@suse.de>
5984         [BZ #15749]
5985         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5986         of fabs.
5987         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5988         LDBL_MAX_EXP >= 16384]: Add tests for it.
5990 2013-08-12  David S. Miller  <davem@davemloft.net>
5992         * version.h (RELEASE): Set to "development".
5993         (VERSION): Set to "2.18.90".
5994         * NEWS: Add 2.19 section.
5996 2013-08-03  David S. Miller  <davem@davemloft.net>
5998         * po/ko.po: Update Korean translation from translation project.
6000 2013-08-01  David S. Miller  <davem@davemloft.net>
6002         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6003         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6004         Bilka.
6006 2013-07-30  David S. Miller  <davem@davemloft.net>
6008         * po/fr.po: Update French translation from translation project.
6010 2013-07-28  David S. Miller  <davem@davemloft.net>
6012         * po/cs.po: Update Czech translation from translation project.
6014         * po/sv.po: Update Swedish translation from translation project.
6016 2013-07-27  David S. Miller  <davem@davemloft.net>
6018         * po/eo.po: Update Esperanto translation from translation project.
6020         * po/vi.po: Update Vietnamese translation from translation project.
6022         * po/de.po: Update German translation from translation project.
6024 2013-07-26  David S. Miller  <davem@davemloft.net>
6026         * po/bg.po: Update Bulgarian translation from translation project.
6028         * po/nl.po: Update Dutch translation from translation project.
6029         * po/pl.po: Update Polish translation from translation project.
6030         * po/ru.po: Update Russian translation from translation project.
6032 2013-07-24  David S. Miller  <davem@davemloft.net>
6034         * po/libc.pot: Update.
6036 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6038         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6039         variable page size.
6040         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6041         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6042         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6044 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6046         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6048 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6049             Andreas Schwab  <schwab@suse.de>
6050             Roland McGrath  <roland@hack.frob.com>
6051             Joseph Myers  <joseph@codesourcery.com>
6052             Carlos O'Donell  <carlos@redhat.com>
6054         [BZ #15755]
6055         * config.h.in: Define HAVE_PT_CHOWN.
6056         * config.make.in (build-pt-chown): New variable.
6057         * configure.in (--enable-pt_chown): New configure option.
6058         * configure: Regenerate.
6059         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6060         build-pt-chown is enabled.
6061         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6062         pt_chown to fix pty ownership.
6063         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6064         CLOSE_ALL_FDS.
6065         * manual/install.texi (Configuring and compiling): Mention
6066         --enable-pt_chown. Add @findex for grantpt.
6067         * INSTALL: Regenerate.
6069 2013-07-20  David S. Miller  <davem@davemloft.net>
6071         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6072         difference between 32-bit and 64-bit.
6074 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6076         [BZ #15711]
6077         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6078         Avoid system header dependency with -ffreestanding.
6079         ($(objpfx)bits/syscall%d): Likewise.
6081 2013-07-13  David S. Miller  <davem@davemloft.net>
6083         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6084         underflows from atanl/atan2l due to bug 15319.
6085         (casinh_test_data): Likewise.
6087 2013-07-07  David S. Miller  <davem@davemloft.net>
6089         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6091 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6093         * sysdeps/i386/fpu/libm-test-ulps: Update.
6094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6096 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6098         * configure.in (--enable-lock-elision): Fix message text.
6099         * INSTALL: Regenerate.
6100         * configure: Regenerate.
6102 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6106 2013-07-03  Andreas Jaeger  <aj@suse.de>
6108         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6109         define.
6110         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6111         (ptrace_peeksiginfo_args): Add.
6112         (__ptrace_peeksiginfo_flags): Add.
6113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6114         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6115         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6117 2013-07-03  Allan McRae  <allan@archlinux.org>
6119         * sysdeps/i386/fpu/libm-test-ulps: Update.
6121 2013-07-02  David S. Miller  <davem@davemloft.net>
6123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6125 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6129 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6131         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6134 2013-07-02  Andi Kleen <ak@linux.intel.com>
6136         * config.h.in (ENABLE_LOCK_ELISION): Add.
6137         * configure.in (--enable-lock-elision): Add option.
6138         * manual/install.texi: Document --enable lock elision.
6139         * configure: Regenerate
6140         * INSTALL: Regenerate.
6142 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6144         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6145         SSE4.2 strcasecmp for libc.a.
6146         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6148 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6150         [BZ #13304]
6151         * soft-fp/op-common.h (_FP_FMA): New macro.
6152         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6153         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6154         (_FP_MUL_MEAT_1_imm): ... here.
6155         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6156         (_FP_MUL_MEAT_1_wide): ... here.
6157         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6158         (_FP_MUL_MEAT_1_hard): ... here.
6159         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6160         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6161         (_FP_MUL_MEAT_2_wide): ... here.
6162         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6163         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6164         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6165         (_FP_MUL_MEAT_2_gmp): ... here.
6166         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6167         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6168         (_FP_MUL_MEAT_4_wide): ... here.
6169         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6170         (_FP_MUL_MEAT_4_gmp): ... here.
6171         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6172         (_FP_WFRACBITS_DW_S): Likewise.
6173         (_FP_WFRACXBITS_DW_S): Likewise.
6174         (_FP_HIGHBIT_DW_S): Likewise.
6175         (FP_FMA_S): Likewise.
6176         (_FP_FRAC_HIGH_DW_S): Likewise.
6177         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6178         (_FP_WFRACBITS_DW_D): Likewise.
6179         (_FP_WFRACXBITS_DW_D): Likewise.
6180         (_FP_HIGHBIT_DW_D): Likewise.
6181         (FP_FMA_D): Likewise.
6182         (_FP_FRAC_HIGH_DW_D): Likewise.
6183         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6184         (_FP_WFRACBITS_DW_E): Likewise.
6185         (_FP_WFRACXBITS_DW_E): Likewise.
6186         (_FP_HIGHBIT_DW_E): Likewise.
6187         (FP_FMA_E): Likewise.
6188         (_FP_FRAC_HIGH_DW_E): Likewise.
6189         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6190         (_FP_WFRACBITS_DW_Q): Likewise.
6191         (_FP_WFRACXBITS_DW_Q): Likewise.
6192         (_FP_HIGHBIT_DW_Q): Likewise.
6193         (FP_FMA_Q): Likewise.
6194         (_FP_FRAC_HIGH_DW_Q): Likewise.
6195         * soft-fp/fmasf4.c: New file.
6196         * soft-fp/fmadf4.c: Likewise.
6197         * soft-fp/fmatf4.c: Likewise.
6199 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6202         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6203         Silvermont.
6204         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6205         macro.
6206         (index_Slow_SSE4_2): Likewise.
6207         (index_Prefer_PMINUB_for_stringop): Likewise.
6208         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6209         bit_Slow_SSE4_2 is set.
6210         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6211         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6213 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6215         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6216         rtld_global._dl_hwcap2.
6217         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6218         POWER8.
6219         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6220         POWER8 feature descriptions defined in _dl_hwcap2.
6221         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6222         string handling for POWER8 feature bits.
6223         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6224         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6225         _dl_powerpc_cap_flags.
6226         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6227         * sysdeps/powerpc/rtld-global-offsets.sym
6228         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6229         _dl_hwcap2 in the rtld_global_ro structure.
6231 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6233         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6234         hardware capabilities in support of AT_HWCAP2.
6235         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6236         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6237         GLRO(dl_hwcap2).
6238         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6239         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6240         explicitly the unknown a_type display mechanism is used.
6241         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6242         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6243         struct member.
6244         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6245         to macro prototype for AT_HWCAP2 support.
6246         * sysdeps/i386/dl-procinfo.h: Likewise.
6247         * sysdeps/s390/dl-procinfo.h: Likewise.
6248         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6249         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6250         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6251         return -1 for unknown a_type display fallback.
6252         * sysdeps/sparc/dl-procinfo.h: Likewise.
6253         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6254         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6256 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6258         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6259         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6261 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6263         [BZ #12492]
6264         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6265         mprotect making __stack_prot writable.
6267 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6268             Joseph Myers  <joseph@codesourcery.com>
6270         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6271         as being properly aligned.
6273 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6275         * dlfcn/modstatic5.c: New file.
6276         * dlfcn/tststatic5.c: New file.
6277         * dlfcn/Makefile (tests): Add tststatic5.
6278         (tests-static): Likewise.
6279         (modules-names): Add modstatic5.
6280         (tststatic5-ENV): New variable.
6281         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6283         [BZ #15022]
6284         * elf/dl-support.c (_dl_main_map): New variable.
6285         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6286         (_dl_nns, _dl_load_adds): Set to 1.
6287         (_dl_initial_searchlist): Refer to _dl_main_map.
6288         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6289         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6290         call to _dl_get_origin.
6291         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6292         around call_map.
6293         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6294         * dlfcn/modstatic3.c: New file.
6295         * dlfcn/tststatic3.c: New file.
6296         * dlfcn/tststatic4.c: New file.
6297         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6298         (tests-static): Likewise.
6299         (modules-names): Add modstatic3.
6300         (tststatic3-ENV, tststatic4-ENV): New variables.
6301         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6302         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6304 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6306         * configure.in (CC): Require GCC version 4.4 or later.
6307         * configure: Regenerated.
6308         * manual/install.texi (Tools for Compilation): Update GCC version
6309         requirement.
6310         * INSTALL: Regenerated.
6312 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6314         [BZ #15674]
6315         * string/test-memcmp.c (check2): New.
6316         (main): Call check2.
6318         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6320 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6322         [BZ #15022]
6323         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6324         over to...
6325         (dl_open_worker) [!SHARED]: ... here.
6327 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6329         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6331 2013-06-25  Richard Henderson  <rth@redhat.com>
6333         * locale/programs/locarchive.c: Include <libc-internal.h>
6335 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6337         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6338         trailing whitespace removed.
6340 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6342         [BZ #10283]
6343         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6344         * locale/programs/locarchive.c: Include libc-mmap.h.
6345         (prepare_address_space): Take two new outputs (the mmap base and len).
6346         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6347         values.
6348         (create_archive): Declare new mmap base and len values for
6349         prepare_address_space, and store the result in ah.
6350         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6351         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6352         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6353         Declare new mmap base and len values for
6354         prepare_address_space, and store the result in new_ah.
6355         (open_archive): Declare new mmap base and len values for
6356         prepare_address_space, and store the result in ah.
6357         (close_archive): If ah->mmap_base is not NULL, use that and
6358         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6359         * sysdeps/generic/libc-mmap.h: New file.
6361 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6363         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6364         (ALIGN_UP): Likewise.
6365         (PTR_ALIGN_DOWN): Likewise.
6366         (PTR_ALIGN_UP): Likewise.
6368 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6370         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6371         entry mapped to PPC_PLATFORM_POWER8.
6372         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6373         POWER8.
6374         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6375         (_dl_string_platform): Add case for exporting platform position for
6376         POWER8.
6377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6378         search path to sysdeps/powerpc/powerpc32/power8 directory.
6379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6380         search path to sysdeps/powerpc/powerpc64/power8 directory.
6381         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6382         power7 directories.
6383         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6384         power7 directories.
6386 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6388         * INSTALL: Regenerate.
6390         * nscd/connections.c (nscd_init): Fix comment.
6392 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6394         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6396         [BZ #15667]
6397         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6398         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6400 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6402         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6403         DL_DST_REQ_STATIC.
6404         (DL_DST_REQ_STATIC): Remove macro.
6406 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6408         [BZ #7006]
6409         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6410         with a shift of 0 bits.
6412 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6414         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6415         $(tststatic-ENV).
6417 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6419         [BZ #15655]
6420         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6422 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6424         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6425         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6426         accepts -fno-tree-loop-distribute-patterns.
6427         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6428         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6429         recursive call.
6430         * string/memset.c (memset): Likewise.
6431         * string/test-memmove.c (simple_memmove): Disable loop transformation
6432         to library calls.
6433         * string/test-memset.c (simple_memset): Likewise.
6434         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6435         * benchtests/bench-memset.c (simple_memset): Likewise.
6436         * configure: Regenerated.
6438 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6440         * math/test-misc.c (main): Ignore fesetround failure when failures
6441         of subsequent rounding tests would be ignored.
6443         [BZ #15654]
6444         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6445         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6446         * math/fegetenv.c (__fegetenv): Return 0.
6447         * math/fegetexcept.c (fegetexcept): Return 0.
6448         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6449         FE_TONEAREST.
6450         * math/feholdexcpt.c (feholdexcept): Return 0.
6451         * math/fesetenv.c (__fesetenv): Return 0.
6452         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6453         argument FE_TONEAREST.
6454         * math/feupdateenv.c (__feupdateenv): Return 0.
6455         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6457 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6459         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6460         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6461         ($(objpfx)rtld-%.os rules): Use them.
6463 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6465         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6466         fields.
6468 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6470         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6471         length of target pattern, then descending length of dependency pattern.
6472         * configure.in (AWK): Require gawk 3.1.2 or newer.
6473         * manual/install.texi (Tools for Compilation): Say that we do.
6474         * configure: Regenerated.
6476         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6477         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6478         * scripts/sysd-rules.awk: ... this new script.
6479         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6480         than a glob-style pattern.
6482 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6484         * math/test-misc.c (main): Do not treat incorrectly rounded
6485         conversions as failure unless ROUNDING_TESTS passes.
6487 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6489         [BZ #15631]
6490         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6491         restore exception state around main square root computation, then
6492         check for inexactness explicitly.
6494         * math/libm-test.inc (fma_test_data): Add another test.
6496 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6498         * manual/threads.texi (Non-POSIX Extensions): New document
6499         node.  Document pthread_getattr_default_np and
6500         pthread_setattr_default_np.
6502         * Versions.def (libpthread): Add GLIBC_2.18.
6503         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6505         Likewise.
6506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6507         Likewise.
6508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6509         Likewise.
6510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6513         Likewise.
6514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6515         Likewise.
6516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6517         Likewise.
6518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6519         Likewise.
6520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6521         Likewise.
6523 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6526         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6528 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6529             H.J. Lu  <hjl.tools@gmail.com>
6531         [BZ #15627]
6532         * sysdeps/x86_64/rtld-memset.c: Remove file.
6533         * sysdeps/x86_64/rtld-memset.S: New file.
6535 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6537         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6538         (test_in_one_mode): Take arguments for whether the rounding mode
6539         is supported for each floating-point type.
6540         (do_test): Pass new arguments to test_in_one_mode using
6541         ROUNDING_TESTS.
6543 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6545         * posix/tst-waitid.c (do_test): Distinguish different instances of
6546         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6547         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6548         before entering the kernel for waitpid.
6550 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6552         * NEWS: Fix note on clock function precision.  Text by Roland
6553         McGrath.
6555 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6557         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6558         it into place only when and if the sanity check passes.
6560 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6562         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6563         output for whether conversion result is exact.  Take argument
6564         indicating whether type is IBM long double.
6565         (round_for_all): Change need_exact field to ibm_ld.
6566         * stdlib/tst-strtod-round.c (struct exactness): New type.
6567         (struct test): Change bool ld_ok field to struct exactness exact.
6568         (TEST): Update all definitions for change to field.
6569         (tests): Regenerate array contents.
6570         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6571         field value.  Check for IBM long double here.
6572         (do_test): Update calls to test_in_one_mode.
6574 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6576         [BZ #12515]
6577         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6578         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6580 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6582         [BZ #15605]
6583         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6584         generated by the compiler on loop optimizations.
6585         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6586         general definitions.
6588 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6590         * math/bug-nextafter.c: Include <math-tests.h>.
6591         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6592         the relevant type.
6593         * math/bug-nexttoward.c: Include <math-tests.h>.
6594         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6595         the relevant type.
6596         * math/test-misc.c: Include <math-tests.h>.
6597         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6598         the relevant type.
6600 2013-06-12  Andreas Jaeger  <aj@suse.de>
6602         * po/ia.po: Update Interlingua translation from translation
6603         project.
6605 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6607         * include/fenv.h: Include stdbool.h.
6608         (struct rm_ctx): New structure.
6609         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6610         Define macro.
6611         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6612         (SET_RESTORE_ROUNDF): Likewise.
6613         (SET_RESTORE_ROUNDL): Likewise.
6614         (SET_RESTORE_ROUND_NOEX): Likewise.
6615         (SET_RESTORE_ROUND_NOEXF): Likewise.
6616         (SET_RESTORE_ROUND_NOEXL): Likewise.
6617         (SET_RESTORE_ROUND_53BIT): Likewise.
6618         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6619         (libc_feresetround_noexf_ctx): Likewise.
6620         (libc_feresetround_noexl_ctx): Likewise.
6621         (libc_feholdsetround_53bit_ctx): Likewise.
6622         (libc_feresetround_53bit_ctx): Likewise.
6623         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6624         (libc_feholdexcept_setround_sse_ctx): New function.
6625         (libc_fesetenv_sse_ctx): Likewise.
6626         (libc_feupdateenv_sse_ctx): Likewise.
6627         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6628         (libc_feholdexcept_setround_387_ctx): Likewise.
6629         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6630         (libc_feholdsetround_387_prec_ctx): Likewise.
6631         (libc_feholdsetround_387_ctx): Likewise.
6632         (libc_feholdsetround_387_53bit_ctx): Likewise.
6633         (libc_feholdsetround_sse_ctx): Likewise.
6634         (libc_feresetround_sse_ctx): Likewise.
6635         (libc_feresetround_387_ctx): Likewise.
6636         (libc_feupdateenv_387_ctx): Likewise.
6637         (libc_feholdexcept_setroundf_ctx): Define macro.
6638         (libc_fesetenvf_ctx): Likewise.
6639         (libc_feupdateenvf_ctx): Likewise.
6640         (libc_feholdsetroundf_ctx): Likewise.
6641         (libc_feresetroundf_ctx): Likewise.
6642         (libc_feholdexcept_setround_ctx): Likewise.
6643         (libc_fesetenv_ctx): Likewise.
6644         (libc_feupdateenv_ctx): Likewise.
6645         (libc_feholdsetround_ctx): Likewise.
6646         (libc_feresetround_ctx): Likewise.
6647         (libc_feholdexcept_setroundl_ctx): Likewise.
6648         (libc_feupdateenvl_ctx): Likewise.
6649         (libc_feholdsetroundl_ctx): Likewise.
6650         (libc_feresetroundl_ctx): Likewise.
6651         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6652         (libc_feresetround_53bit_ctx): Likewise.
6654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6656         * locale/iso-639.def: Convert to UTF-8.
6658 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6660         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6661         (EXCEPTION_TESTS_double): Likewise.
6662         (EXCEPTION_TESTS_long_double): Likewise.
6663         (EXCEPTION_TESTS): Likewise.
6664         * math/libm-test.inc (test_exceptions): Only test exceptions if
6665         EXCEPTION_TESTS (FLOAT).
6667 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6669         * benchtests/Makefile (string-bench): Add strcpy_chk and
6670         stpcpy_chk.
6671         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6672         * benchtests/bench-stpcpy_chk.c: New file.
6673         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6674         * benchtests/bench-strcpy_chk.c: New file.
6675         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6676         code.
6677         (do_test): Likewise.
6679 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6681         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6682         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6683         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6684         with tabs where appropriate.
6685         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6686         dl-procinfo.h.
6687         [PPC_PLATFORM_PPC440]: Likewise.
6688         [PPC_PLATFORM_PPC464]: Likewise.
6689         [PPC_PLATFORM_PPC476]: Likewise.
6690         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6691         ppc464, and ppc476 platform strings merging from ports/
6692         dl-procinfo.h.
6694 2013-06-11  Andreas Schwab  <schwab@suse.de>
6696         [BZ #14991]
6697         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6698         (from_ucs4_idx): Regenerate.
6699         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6700         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6701         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6702         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6703         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6704         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6705         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6706         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6707         from FROM_LOOP and TO_LOOP specific macros.
6708         (BODY): Handle combining characters.
6709         * iconvdata/BIG5HKSCS.irreversible: Update.
6710         * iconvdata/BIG5HKSCS.precomposed: New file.
6711         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6712         characters.
6713         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6715 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6717         * include/sys/time.h: Fix indentation and add copyright header.
6719         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6720         (do_test): Likewise.
6721         * string/test-memchr.c (do_one_test): Likewise.
6722         (do_test): Likewise.
6723         * string/test-memcmp.c (do_one_test): Likewise.
6724         (do_test): Likewise.
6725         * string/test-memcpy.c (do_one_test): Likewise.
6726         (do_test): Likewise.
6727         * string/test-memmem.c (do_one_test): Likewise.
6728         (do_test): Likewise.
6729         (do_random_tests): Likewise.
6730         * string/test-memmove.c (do_one_test): Likewise.
6731         (do_test): Likewise.
6732         * string/test-memset.c (do_one_test): Likewise.
6733         (do_test): Likewise.
6734         * string/test-rawmemchr.c (do_one_test): Likewise.
6735         (do_test): Likewise.
6736         * string/test-strcasecmp.c (do_one_test): Likewise.
6737         (do_test): Likewise.
6738         * string/test-strcasestr.c (do_one_test): Likewise.
6739         (do_test): Likewise.
6740         * string/test-strcat.c (do_one_test): Likewise.
6741         (do_test): Likewise.
6742         * string/test-strchr.c (do_one_test): Likewise.
6743         (do_test): Likewise.
6744         * string/test-strcmp.c (do_one_test): Likewise.
6745         (do_test): Likewise.
6746         * string/test-strcpy.c (do_one_test): Likewise.
6747         (do_test): Likewise.
6748         * string/test-string.h: Likewise.
6749         (test_init): Likewise.
6750         * string/test-strlen.c (do_one_test): Likewise.
6751         (do_test): Likewise.
6752         * string/test-strncasecmp.c (do_one_test): Likewise.
6753         (do_test): Likewise.
6754         * string/test-strncat.c (do_one_test): Likewise.
6755         (do_test): Likewise.
6756         * string/test-strncmp.c (do_one_test): Likewise.
6757         (do_test_limit): Likewise.
6758         (do_test): Likewise.
6759         * string/test-strncpy.c (do_one_test): Likewise.
6760         (do_test): Likewise.
6761         * string/test-strnlen.c (do_one_test): Likewise.
6762         (do_test): Likewise.
6763         * string/test-strpbrk.c (do_one_test): Likewise.
6764         (do_test): Likewise.
6765         * string/test-strrchr.c (do_one_test): Likewise.
6766         (do_test): Likewise.
6767         * string/test-strspn.c (do_one_test): Likewise.
6768         (do_test): Likewise.
6769         * string/test-strstr.c (do_one_test): Likewise.
6770         (do_test): Likewise.
6772         * benchtests/Makefile (string-bench): Add string benchmarks.
6773         * benchtests/bench-bcopy-ifunc.c: New file.
6774         * benchtests/bench-bcopy.c: New file.
6775         * benchtests/bench-bzero-ifunc.c: New file.
6776         * benchtests/bench-bzero.c: New file.
6777         * benchtests/bench-memccpy-ifunc.c: New file.
6778         * benchtests/bench-memccpy.c: New file.
6779         * benchtests/bench-memchr-ifunc.c: New file.
6780         * benchtests/bench-memchr.c: New file.
6781         * benchtests/bench-memcmp-ifunc.c: New file.
6782         * benchtests/bench-memcmp.c: New file.
6783         * benchtests/bench-memmem-ifunc.c: New file.
6784         * benchtests/bench-memmem.c: New file.
6785         * benchtests/bench-memmove-ifunc.c: New file.
6786         * benchtests/bench-memmove.c: New file.
6787         * benchtests/bench-mempcpy-ifunc.c: New file.
6788         * benchtests/bench-mempcpy.c: New file.
6789         * benchtests/bench-memset-ifunc.c: New file.
6790         * benchtests/bench-memset.c: New file.
6791         * benchtests/bench-rawmemchr-ifunc.c: New file.
6792         * benchtests/bench-rawmemchr.c: New file.
6793         * benchtests/bench-stpcpy-ifunc.c: New file.
6794         * benchtests/bench-stpcpy.c: New file.
6795         * benchtests/bench-stpncpy-ifunc.c: New file.
6796         * benchtests/bench-stpncpy.c: New file.
6797         * benchtests/bench-strcasecmp-ifunc.c: New file.
6798         * benchtests/bench-strcasecmp.c: New file.
6799         * benchtests/bench-strcasestr-ifunc.c: New file.
6800         * benchtests/bench-strcasestr.c: New file.
6801         * benchtests/bench-strcat-ifunc.c: New file.
6802         * benchtests/bench-strcat.c: New file.
6803         * benchtests/bench-strchr-ifunc.c: New file.
6804         * benchtests/bench-strchr.c: New file.
6805         * benchtests/bench-strchrnul-ifunc.c: New file.
6806         * benchtests/bench-strchrnul.c: New file.
6807         * benchtests/bench-strcmp-ifunc.c: New file.
6808         * benchtests/bench-strcmp.c: New file.
6809         * benchtests/bench-strcpy-ifunc.c: New file.
6810         * benchtests/bench-strcpy.c: New file.
6811         * benchtests/bench-strcspn-ifunc.c: New file.
6812         * benchtests/bench-strcspn.c: New file.
6813         * benchtests/bench-strlen-ifunc.c: New file.
6814         * benchtests/bench-strlen.c: New file.
6815         * benchtests/bench-strncasecmp-ifunc.c: New file.
6816         * benchtests/bench-strncasecmp.c: New file.
6817         * benchtests/bench-strncat-ifunc.c: New file.
6818         * benchtests/bench-strncat.c: New file.
6819         * benchtests/bench-strncmp-ifunc.c: New file.
6820         * benchtests/bench-strncmp.c: New file.
6821         * benchtests/bench-strncpy-ifunc.c: New file.
6822         * benchtests/bench-strncpy.c: New file.
6823         * benchtests/bench-strnlen-ifunc.c: New file.
6824         * benchtests/bench-strnlen.c: New file.
6825         * benchtests/bench-strpbrk-ifunc.c: New file.
6826         * benchtests/bench-strpbrk.c: New file.
6827         * benchtests/bench-strrchr-ifunc.c: New file.
6828         * benchtests/bench-strrchr.c: New file.
6829         * benchtests/bench-strspn-ifunc.c: New file.
6830         * benchtests/bench-strspn.c: New file.
6831         * benchtests/bench-strstr-ifunc.c: New file.
6832         * benchtests/bench-strstr.c: New file.
6834         * benchtests/Makefile: Disable parallel execution of targets.
6835         (string-bench): Add memcpy.
6836         (benchset): New variable to store a list of benchmark sets.
6837         (bench-func): Renamed from bench.
6838         (bench-set): New target.
6839         (bench): Depend on bench-func and bench-set.
6840         * benchtests/README: Add section on benchmark sets.
6841         * benchtests/bench-memcpy-ifunc.c: New file.
6842         * benchtests/bench-memcpy.c: New file.
6843         * benchtests/bench-string.h: New file.
6845 2013-06-11  Andreas Schwab  <schwab@suse.de>
6847         [BZ #15577]
6848         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6849         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6850         values in the triple.
6851         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6852         terminator in the group key.
6854 2013-06-11  Andreas Jaeger  <aj@suse.de>
6856         * po/zh_TW.po: Update Chinese (traditional) translation from
6857         translation project.
6859 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6861         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6862         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6863         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6864         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6865         (clock_getcpuclockid): Likewise.
6866         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6867         Add weak_alias and libc_hidden_def.
6868         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6869         * rt/clock_gettime.c (clock_gettime): Rename to
6870         __clock_gettime.  Add weak_alias and libc_hidden_def.
6871         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6872         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6873         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6874         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6875         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6876         Likewise.
6877         * rt/clock_settime.c (clock_settime): Rename to
6878         __clock_settime.  Add weak_alias and libc_hidden_def.
6879         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6881 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6883         * mach/err_boot.sub: Remove trailing whitespace.
6884         * mach/err_ipc.sub: Likewise.
6885         * mach/err_mach.sub: Likewise.
6887         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6888         (ROUNDING_TESTS_double): Likewise.
6889         (ROUNDING_TESTS_long_double): Likewise.
6890         (ROUNDING_TESTS): Likewise.
6891         * math/libm-test.inc: Include <math-tests.h>.
6892         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6893         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6894         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6895         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6897 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6899         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6900         of assigning.
6902 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6904         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6905         otherwise empty TRANS lines.
6906         * sysdeps/gnu/errlist.c: Regenerated.
6908         * catgets/gencat.c (error_print): Use (void) in function
6909         definition.
6910         * crypt/crypt_util.c (__init_des): Likewise.
6911         * crypt/speeds.c (Stop): Likewise.
6912         (main): Likewise.
6913         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6914         * inet/ruserpass.c (token): Likewise.
6915         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6916         * intl/localealias.c (extend_alias_table): Likewise.
6917         * intl/plural-exp.c (init_germanic_plural): Likewise.
6918         * libio/fcloseall.c (__fcloseall): Likewise.
6919         * libio/genops.c (_IO_flush_all): Likewise.
6920         (_IO_flush_all_linebuffered): Likewise.
6921         (_IO_cleanup): Likewise.
6922         (_IO_iter_begin): Likewise.
6923         (_IO_iter_end): Likewise.
6924         (_IO_list_lock): Likewise.
6925         (_IO_list_unlock): Likewise.
6926         (_IO_list_resetlock): Likewise.
6927         * libio/getchar.c (getchar): Likewise.
6928         * libio/getchar_u.c (getchar_unlocked): Likewise.
6929         * libio/getwchar.c (getwchar): Likewise.
6930         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6931         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6932         * login/getpt.c (__getpt): Likewise.
6933         * login/tst-utmp.c (main): Likewise.
6934         * malloc/hooks.c (__malloc_check_init): Likewise.
6935         * malloc/malloc.c (__malloc_stats): Likewise.
6936         * malloc/mtrace.c (tr_break): Likewise.
6937         (mtrace): Likewise.
6938         (muntrace): Likewise.
6939         * misc/fstab.c (endfsent): Likewise.
6940         * misc/getclktck.c (__getclktck): Likewise.
6941         * misc/getdtsz.c (__getdtablesize): Likewise.
6942         * misc/gethostid.c (gethostid): Likewise.
6943         * misc/getpagesize.c (__getpagesize): Likewise.
6944         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6945         (__get_nprocs): Likewise.
6946         (__get_phys_pages): Likewise.
6947         (__get_avphys_pages): Likewise.
6948         * misc/getttyent.c (getttyent): Likewise.
6949         (setttyent): Likewise.
6950         (endttyent): Likewise.
6951         * misc/getusershell.c (getusershell): Likewise.
6952         (endusershell): Likewise.
6953         (setusershell): Likewise.
6954         (initshells): Likewise.
6955         * misc/hsearch.c (__hdestroy): Likewise.
6956         * misc/sync.c (sync): Likewise.
6957         * misc/syslog.c (closelog_internal): Likewise.
6958         (closelog): Likewise.
6959         * misc/ttyslot.c (ttyslot): Likewise.
6960         * misc/vhangup.c (vhangup): Likewise.
6961         * posix/fork.c (__fork): Likewise.
6962         * posix/getegid.c (__getegid): Likewise.
6963         * posix/geteuid.c (__geteuid): Likewise.
6964         * posix/getgid.c (__getgid): Likewise.
6965         * posix/getpid.c (__getpid): Likewise.
6966         * posix/getppid.c (__getppid): Likewise.
6967         * posix/getuid.c (__getuid): Likewise.
6968         * posix/pause.c (pause): Likewise.
6969         * posix/setpgrp.c (setpgrp): Likewise.
6970         * posix/setsid.c (__setsid): Likewise.
6971         * posix/test-vfork.c (noop): Likewise.
6972         * resolv/gethnamaddr.c (_endhtent): Likewise.
6973         (_gethtent): Likewise.
6974         (ht_endhostent): Likewise.
6975         (gethostent): Likewise.
6976         (dns_service): Likewise.
6977         * stdlib/drand48.c (drand48): Likewise.
6978         * stdlib/lrand48.c (lrand48): Likewise.
6979         * stdlib/mrand48.c (mrand48): Likewise.
6980         * stdlib/rand.c (rand): Likewise.
6981         * stdlib/random.c (__random): Likewise.
6982         * stdlib/setenv.c (clearenv): Likewise.
6983         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6984         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6985         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6986         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6987         (__get_nprocs): Likewise.
6988         (__get_phys_pages): Likewise.
6989         (__get_avphys_pages): Likewise.
6990         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6991         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6992         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6993         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6994         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6995         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6996         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6997         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6998         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6999         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7000         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7001         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7002         * sysdeps/posix/clock.c (clock): Likewise.
7003         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7004         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7005         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7006         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7007         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7009         (__get_nprocs_conf): Likewise.
7010         (__get_phys_pages): Likewise.
7011         (__get_avphys_pages): Likewise.
7012         * time/clock.c (clock): Likewise.
7013         * time/tzset.c (__tzname_max): Likewise.
7015 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7017         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7018         (__bswap_32): Do not use "register".
7019         * crypt/crypt.c (_ufc_doit_r): Likewise.
7020         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7021         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7022         * gmon/gmon.c (__monstartup): Likewise.
7023         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7024         * hurd/hurdmalloc.c (more_memory): Likewise.
7025         (malloc): Likewise.
7026         (free): Likewise.
7027         (realloc): Likewise.
7028         (malloc_fork_prepare): Likewise.
7029         (malloc_fork_parent): Likewise.
7030         (malloc_fork_child): Likewise.
7031         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7032         (_svcauth_des): Likewise.
7033         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7034         * inet/inet_net.c (inet_network): Likewise.
7035         * inet/inet_netof.c (inet_netof): Likewise.
7036         * inet/rcmd.c (__validuser2_sa): Likewise.
7037         * io/fts.c (fts_open): Likewise.
7038         (fts_load): Likewise.
7039         (fts_close): Likewise.
7040         (fts_read): Likewise.
7041         (fts_children): Likewise.
7042         (fts_build): Likewise.
7043         (fts_stat): Likewise.
7044         (fts_sort): Likewise.
7045         (fts_alloc): Likewise.
7046         (fts_lfree): Likewise.
7047         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7048         (_IO_file_xsgetn): Likewise.
7049         (_IO_file_xsgetn_mmap): Likewise.
7050         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7051         (_IO_cookie_write): Likewise.
7052         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7053         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7054         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7055         * malloc/obstack.c (_obstack_begin): Likewise.
7056         (_obstack_begin_1): Likewise.
7057         (_obstack_newchunk): Likewise.
7058         (_obstack_allocated_p): Likewise.
7059         (obstack_free): Likewise.
7060         (_obstack_memory_used): Likewise.
7061         * misc/getttyent.c (getttynam): Likewise.
7062         (getttyent): Likewise.
7063         (skip): Likewise.
7064         (value): Likewise.
7065         * misc/getusershell.c (initshells): Likewise.
7066         * misc/syslog.c (__vsyslog_chk): Likewise.
7067         * misc/ttyslot.c (ttyslot): Likewise.
7068         * nis/nis_hash.c (__nis_hash): Likewise.
7069         * posix/fnmatch_loop.c (FCT): Likewise.
7070         * posix/getconf.c (print_all): Likewise.
7071         (main): Likewise.
7072         * posix/getopt.c (exchange): Likewise.
7073         * posix/glob.c (globfree): Likewise.
7074         (prefix_array): Likewise.
7075         (__glob_pattern_type): Likewise.
7076         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7077         (NS_GET32): Likewise.
7078         (NS_PUT16): Likewise.
7079         (NS_PUT32): Likewise.
7080         * resolv/gethnamaddr.c (getanswer): Likewise.
7081         (gethostbyname2): Likewise.
7082         (gethostbyaddr): Likewise.
7083         (_gethtent): Likewise.
7084         (_gethtbyname2): Likewise.
7085         (_gethtbyaddr): Likewise.
7086         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7087         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7088         * resolv/res_init.c (__res_vinit): Likewise.
7089         (net_mask): Likewise.
7090         * resolv/res_mkquery.c (outchar): Likewise.
7091         (PRINT): Likewise.
7092         * stdio-common/printf_fp.c (outchar): Likewise.
7093         (PRINT): Likewise.
7094         * stdio-common/printf_fphex.c (outchar): Likewise.
7095         (PRINT): Likewise.
7096         * stdio-common/printf_size.c (outchar): Likewise.
7097         (PRINT): Likewise.
7098         * stdio-common/test_rdwr.c (main): Likewise.
7099         * stdio-common/tfformat.c (matches): Likewise.
7100         * stdio-common/vfprintf.c (outchar): Likewise.
7101         (printf_unknown): Likewise.
7102         (buffered_vfprintf): Likewise.
7103         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7104         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7105         (ReadFile): Likewise.
7106         * stdlib/qsort.c (SWAP): Likewise.
7107         (_quicksort): Likewise.
7108         * stdlib/setenv.c (__add_to_environ): Likewise.
7109         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7110         * stdlib/strtol_l.c (__strtol_l): Likewise.
7111         * stdlib/tst-strtod.c (main): Likewise.
7112         * stdlib/tst-strtol.c (main): Likewise.
7113         * stdlib/tst-strtoll.c (main): Likewise.
7114         * string/bits/string2.h (__strcmp_cc): Likewise.
7115         (__strcmp_cg): Likewise.
7116         (__strcspn_c1): Likewise.
7117         (__strcspn_c2): Likewise.
7118         (__strcspn_c3): Likewise.
7119         (__strspn_c1): Likewise.
7120         (__strspn_c2): Likewise.
7121         (__strspn_c3): Likewise.
7122         (__strsep_1c): Likewise.
7123         (__strsep_2c): Likewise.
7124         (__strsep_3c): Likewise.
7125         * string/memccpy.c (__memccpy): Likewise.
7126         * string/stpcpy.c (__stpcpy): Likewise.
7127         * string/strcmp.c (strcmp): Likewise.
7128         * string/strrchr.c (strrchr): Likewise.
7129         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7130         Likewise.
7131         * sysdeps/mach/hurd/getcwd.c
7132         (_hurd_canonicalize_directory_name_internal): Likewise.
7133         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7134         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7135         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7136         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7137         Likewise, in both definitions.
7138         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7139         definitions.
7140         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7141         64] (__bswap_64): Likewise.
7142         * time/test_time.c (main): Likewise.
7143         * time/tzfile.c (__tzfile_read): Likewise.
7144         (__tzfile_compute): Likewise.
7145         * time/tzset.c (__tzset_parse_tz): Likewise.
7146         (tzset_internal): Likewise.
7147         (compute_change): Likewise.
7148         * wcsmbs/wcscat.c (__wcscat): Likewise.
7149         * wcsmbs/wcschr.c (wcschr): Likewise.
7150         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7151         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7152         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7153         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7154         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7155         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7156         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7157         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7158         * wcsmbs/wmemset.c (wmemset): Likewise.
7160 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7162         * scripts/config.guess: Update to version 2013-05-16.
7163         * scripts/config.sub: Update to version 2013-04-24.
7164         * scripts/install-sh: Update to version 2011-11-20.07.
7165         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7166         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7168 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7170         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7171         * elf/sln.c: Likewise.
7172         * hurd/hurd/ioctl.h: Likewise.
7173         * hurd/hurdmalloc.c: Likewise.
7174         * hurd/xattr.c: Likewise.
7175         * include/shlib-compat.h: Likewise.
7176         * inet/ruserpass.c: Likewise.
7177         * libio/iofgets_u.c: Likewise.
7178         * libio/iofgetws_u.c: Likewise.
7179         * locale/programs/ld-identification.c: Likewise.
7180         * locale/programs/ld-time.c: Likewise.
7181         * mach/msg-destroy.c: Likewise.
7182         * nss/nss_files/files-netgrp.c: Likewise.
7183         * resolv/res_data.c: Likewise.
7184         * soft-fp/op-1.h: Likewise.
7185         * soft-fp/op-2.h: Likewise.
7186         * soft-fp/op-4.h: Likewise.
7187         * soft-fp/op-common.h: Likewise.
7188         * stdio-common/printf_fphex.c: Likewise.
7189         * stdlib/strtod_l.c: Likewise.
7190         * sunrpc/rpc/clnt.h: Likewise.
7191         * sysdeps/generic/framestate.c: Likewise.
7192         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7193         * sysdeps/i386/bsd-setjmp.S: Likewise.
7194         * sysdeps/i386/__longjmp.S: Likewise.
7195         * sysdeps/i386/setjmp.S: Likewise.
7196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7197         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7198         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7199         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7200         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7201         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7202         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7205         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7206         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7209         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7210         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7212         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7213         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7214         * sysdeps/ieee754/support.c: Likewise.
7215         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7216         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7217         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7218         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7219         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7220         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7221         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7222         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7223         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7224         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7225         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7226         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7227         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7228         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7229         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7230         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7231         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7234 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7236         * posix/transbug.c: Remove executable mode.
7238 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7240         * crypt/speeds.c: Remove trailing whitespace.
7241         * dlfcn/default.c: Likewise.
7242         * elf/ifuncdep2.c: Likewise.
7243         * elf/ifuncmain1.c: Likewise.
7244         * elf/ifuncmain1vis.c: Likewise.
7245         * elf/testobj.h: Likewise.
7246         * elf/tst-stackguard1.c: Likewise.
7247         * gmon/sys/gmon.h: Likewise.
7248         * hurd/hurdmsg.c: Likewise.
7249         * hurd/new-fd.c: Likewise.
7250         * hurd/ports-get.c: Likewise.
7251         * iconvdata/ibm1008_420.c: Likewise.
7252         * inet/tst-getni1.c: Likewise.
7253         * inet/tst-getni2.c: Likewise.
7254         * libio/ioungetc.c: Likewise.
7255         * libio/wfiledoalloc.c: Likewise.
7256         * manual/libm-err-tab.pl: Likewise.
7257         * math/w_dremf.c: Likewise.
7258         * misc/ftruncate.c: Likewise.
7259         * posix/bug-glob2.c: Likewise.
7260         * posix/tst-pcre.c: Likewise.
7261         * posix/wait4.c: Likewise.
7262         * resolv/README: Likewise.
7263         * resolv/res_debug.h: Likewise.
7264         * resolv/tst-inet_ntop.c: Likewise.
7265         * setjmp/bug269-setjmp.c: Likewise.
7266         * soft-fp/extended.h: Likewise.
7267         * soft-fp/op-1.h: Likewise.
7268         * soft-fp/op-2.h: Likewise.
7269         * soft-fp/op-4.h: Likewise.
7270         * soft-fp/op-8.h: Likewise.
7271         * soft-fp/testit.c: Likewise.
7272         * stdio-common/bug16.c: Likewise.
7273         * stdlib/random.c: Likewise.
7274         * sunrpc/rpcsvc/rquota.x: Likewise.
7275         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7276         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7277         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7278         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7279         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7280         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7281         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7282         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7283         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7284         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7285         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7286         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7287         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7288         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7289         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7290         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7291         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7292         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7293         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7294         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7295         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7296         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7297         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7298         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7299         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7300         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7301         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7302         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7304         * sysdeps/ieee754/s_lib_version.c: Likewise.
7305         * sysdeps/mach/hurd/check_fds.c: Likewise.
7306         * sysdeps/mach/hurd/getsockname.c: Likewise.
7307         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7308         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7309         * sysdeps/powerpc/bits/link.h: Likewise.
7310         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7311         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7312         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7313         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7314         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7315         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7316         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7317         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7318         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7319         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7320         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7321         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7322         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7323         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7324         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7325         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7326         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7329         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7330         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7331         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7333         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7334         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7335         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7336         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7337         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7338         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7339         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7341         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7342         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7343         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7344         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7345         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7346         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7347         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7348         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7349         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7350         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7351         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7352         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7353         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7354         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7355         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7356         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7357         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7358         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7359         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7362         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7363         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7364         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7365         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7366         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7367         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7368         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7369         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7371         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7372         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7373         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7374         * sysdeps/powerpc/sysdep.h: Likewise.
7375         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7376         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7377         * sysdeps/sh/dl-trampoline.S: Likewise.
7378         * sysdeps/sh/memset.S: Likewise.
7379         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7380         * sysdeps/sh/strlen.S: Likewise.
7381         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7382         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7383         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7384         * sysdeps/sparc/sparc32/rem.S: Likewise.
7385         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7386         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7387         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7388         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7389         * sysdeps/sparc/sparc32/urem.S: Likewise.
7390         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7391         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7392         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7393         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7394         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7395         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7396         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7397         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7398         * sysdeps/unix/bsd/times.c: Likewise.
7399         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7400         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7404         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7405         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7406         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7408         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7409         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7410         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7411         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7412         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7413         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7414         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7415         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7416         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7417         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7418         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7419         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7420         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7421         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7422         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7423         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7424         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7425         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7426         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7427         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7428         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7429         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7430         * sysdeps/x86_64/strcspn.S: Likewise.
7432 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7434         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7435         generated file.  Regenerate properly from gen-translit.pl.
7436         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7437         locale/C-translit.h.
7439 2013-06-05  Andreas Schwab  <schwab@suse.de>
7441         [BZ #15100]
7442         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7443         week as 6 instead of -1.
7444         * time/tst-strptime.c (day_tests): Add test case.
7446 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7448         * sysdeps/generic/math_private.h
7449         (libc_feholdexcept_setround_53bit): Replace with
7450         libc_feholdsetround_53bit.
7451         (libc_feupdateenv_53bit): Replace with
7452         libc_feresetround_53bit.
7453         (SET_RESTORE_ROUND_53BIT): Adjust.
7455 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7457         * string/test-strchrnul.c: Add copyright header.
7459         * posix/tst-getaddrinfo4.c: Increase test timeout.
7461 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7463         [BZ #15536]
7464         * math/libm-test.inc (MAX_EXP): Remove
7465         (MIN_EXP): Define.
7466         (ulp): Use MIN_EXP - MANT_DIG.
7467         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7469 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7471         * po/be.po: Revert last change.
7472         * po/zh_CN.po: Likewise.
7473         * po/header.pot: Likewise.
7475 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7477         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7478         link-libc-deps to empty as target-specific variable.
7479         * Makerules (link-libc-args): New variable.
7480         (libc-for-link): Likewise.
7481         (link-libc-deps): Likewise.
7482         (lib%.so): Depend on $(link-libc-deps).  Link with
7483         $(link-libc-args).
7484         (build-module): Link with $(link-libc-args).
7485         (build-module-asneeded): Likewise.
7486         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7487         list of objects.
7488         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7489         target-specific variable.
7490         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7491         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7492         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7493         libc.
7494         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7495         libc and ld.so.
7496         ($(objpfx)libpcprofile.so): Likewise.
7497         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7498         libc_nonshared.a.
7499         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7500         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7501         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7502         $(link-libc-deps).
7503         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7504         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7505         * login/Makefile ($(objpfx)libutil.so): Likewise.
7506         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7507         * math/Makefile ($(objpfx)libm.so): Likewise.
7508         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7509         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7510         variable instead of depending directly on libc.
7511         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7512         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7513         $(link-libc-deps).
7514         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7515         libc.
7516         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7517         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7518         ($(objpfx)libanl.so): Likewise.
7519         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7520         ld.so.
7521         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7522         $(link-libc-deps).
7523         * sysdeps/i386/fpu/Makefile: Remove file.
7524         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7525         ($(objpfx)libm.so): Remove dependency on ld.so.
7527 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7529         [BZ # 15553]
7530         * nis/yp_xdr.c (XDRMAXNAME): Define.
7531         (XDRMAXRECORD): Define.
7532         (xdr_domainname): Use XDRMAXNAME.
7533         (xdr_mapname): Likewise.
7534         (xdr_peername): Likewise.
7535         (xdr_keydat): Use XDRMAXRECORD.
7536         (xdr_valdat): Likewise.
7538 2013-05-30  Jeff Law  <law@redhat.com>
7540         [BZ #14256]
7541         * manual/errno.texi (ESTALE): Update to account for more than
7542         just NFS file systems.
7543         * sysdeps/gnu/errlist.c: Regenerated.
7545 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7547         [BZ #15465]
7548         * elf/Makefile (tests): Add tst-null-argv.
7549         (modules-names):  Add tst-null-argv-lib.
7550         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7551         (tst-null-argv-ENV): Set environment for tst-null-argv.
7552         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7553         (RTLD_PROGNAME): New macro.
7554         * elf/tst-null-argv.c: New test case.
7555         * elf/tst-null-argv-lib.c: Library for test case.
7556         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7557         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7558         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7559         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7560         * elf/dl-init.c (call_init): Likewise.
7561         (_dl_init): Likewise.
7562         * elf/dl-load.c (print_search_path): Likewise.
7563         (_dl_map_object): Likewise.
7564         * elf/dl-lookup.c (do_lookup_x): Likewise.
7565         (add_dependency): Likewise.
7566         (_dl_lookup_symbol_x): Likewise.
7567         (_dl_debug_bindings): Likewise.
7568         * elf/dl-open.c (_dl_show_scope): Likewise.
7569         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7570         * elf/dl-version.c (match_symbol): Likewise.
7571         (_dl_check_map_versions): Likewise.
7572         * elf/rtld.c (dl_main): Likewise.
7573         (print_unresolved): Use RTLD_PROGNAME.
7574         (print_missing_version): Likewise.
7575         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7576         (elf_machine_rela): Likewise.
7577         * sysdeps/powerpc/powerpc32/dl-machine.c
7578         (__process_machine_rela): Likewise.
7579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7580         Likewise.
7581         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7582         Likewise.
7583         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7584         Likewise.
7585         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7587         Likewise.
7588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7589         Likewise.
7590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7592 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7594         * po/be.po: Add descriptive title.
7595         * po/zh_CN.po: Likewise.
7596         * po/header.pot: Likewise.
7598 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7600         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7601         error message.
7602         (enlarge_archive): Likewise.
7604 2013-05-28  Ben North  <ben@redfrontdoor.org>
7606         * manual/arith.texi (frexp): It is the magnitude of the return
7607         value which lies in [0.5, 1), not the return value itself.
7609 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7613 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7615         * stdio-common/bug26.c (main): Correct fscanf template.
7617         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7618         declare _dl_skip_args.
7620         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7621         Don't declare.
7623         * manual/platform.texi: Add missing @end deftypefun.
7625 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #15529]
7628         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7629         bit of mantissa of 2^16382.
7630         * math/libm-test.inc (hypot_test_data): Add more tests.
7632         * math/libm-test.inc: Add drem and pow10 to list of tested
7633         functions.
7634         (pow10_test): New function.
7635         (drem_test): Likewise.
7636         (drem_test_tonearest): Likewise.
7637         (drem_test_towardzero): Likewise.
7638         (drem_test_downward): Likewise.
7639         (drem_test_upward): Likewise.
7640         (main): Call the new functions.
7642         * math/libm-test.inc (finite_test_data): Remove.
7643         (finite_test): Run tests from isfinite_test_data.
7644         (gamma_test_data): Remove.
7645         (gamma_test): Run tests from lgamma_test_data.
7646         * sysdeps/i386/fpu/libm-test-ulps: Update.
7647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7649 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7651         * manual/platform.texi: Add PowerPC PPR function set documentation.
7652         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7653         implementation.
7655 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7657         * math/libm-test.inc (MAX_EXP): Define.
7658         (ULPDIFF): Define.
7659         (ulp): New function.
7660         (check_float_internal): Use ULPDIFF.
7661         (cpow_test): Disable failing test.
7662         (check_ulp): Test ulp() implemetnation.
7663         (main): Call check_ulp before starting tests.
7665 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7667         * math/gen-libm-test.pl (generate_testfile): Do not handle
7668         START_DATA and END_DATA.
7669         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7670         END_DATA.
7671         (acos_tonearest_test_data): Likewise.
7672         (acos_towardzero_test_data): Likewise.
7673         (acos_downward_test_data): Likewise.
7674         (acos_upward_test_data): Likewise.
7675         (acosh_test_data): Likewise.
7676         (asin_test_data): Likewise.
7677         (asin_tonearest_test_data): Likewise.
7678         (asin_towardzero_test_data): Likewise.
7679         (asin_downward_test_data): Likewise.
7680         (asin_upward_test_data): Likewise.
7681         (asinh_test_data): Likewise.
7682         (atan_test_data): Likewise.
7683         (atanh_test_data): Likewise.
7684         (atan2_test_data): Likewise.
7685         (cabs_test_data): Likewise.
7686         (cacos_test_data): Likewise.
7687         (cacosh_test_data): Likewise.
7688         (carg_test_data): Likewise.
7689         (casin_test_data): Likewise.
7690         (casinh_test_data): Likewise.
7691         (catan_test_data): Likewise.
7692         (catanh_test_data): Likewise.
7693         (cbrt_test_data): Likewise.
7694         (ccos_test_data): Likewise.
7695         (ccosh_test_data): Likewise.
7696         (ceil_test_data): Likewise.
7697         (cexp_test_data): Likewise.
7698         (cimag_test_data): Likewise.
7699         (clog_test_data): Likewise.
7700         (clog10_test_data): Likewise.
7701         (conj_test_data): Likewise.
7702         (copysign_test_data): Likewise.
7703         (cos_test_data): Likewise.
7704         (cos_tonearest_test_data): Likewise.
7705         (cos_towardzero_test_data): Likewise.
7706         (cos_downward_test_data): Likewise.
7707         (cos_upward_test_data): Likewise.
7708         (cosh_test_data): Likewise.
7709         (cosh_tonearest_test_data): Likewise.
7710         (cosh_towardzero_test_data): Likewise.
7711         (cosh_downward_test_data): Likewise.
7712         (cosh_upward_test_data): Likewise.
7713         (cpow_test_data): Likewise.
7714         (cproj_test_data): Likewise.
7715         (creal_test_data): Likewise.
7716         (csin_test_data): Likewise.
7717         (csinh_test_data): Likewise.
7718         (csqrt_test_data): Likewise.
7719         (ctan_test_data): Likewise.
7720         (ctan_tonearest_test_data): Likewise.
7721         (ctan_towardzero_test_data): Likewise.
7722         (ctan_downward_test_data): Likewise.
7723         (ctan_upward_test_data): Likewise.
7724         (ctanh_test_data): Likewise.
7725         (ctanh_tonearest_test_data): Likewise.
7726         (ctanh_towardzero_test_data): Likewise.
7727         (ctanh_downward_test_data): Likewise.
7728         (ctanh_upward_test_data): Likewise.
7729         (erf_test_data): Likewise.
7730         (erfc_test_data): Likewise.
7731         (exp_test_data): Likewise.
7732         (exp_tonearest_test_data): Likewise.
7733         (exp_towardzero_test_data): Likewise.
7734         (exp_downward_test_data): Likewise.
7735         (exp_upward_test_data): Likewise.
7736         (exp10_test_data): Likewise.
7737         (exp2_test_data): Likewise.
7738         (expm1_test_data): Likewise.
7739         (fabs_test_data): Likewise.
7740         (fdim_test_data): Likewise.
7741         (finite_test_data): Likewise.
7742         (floor_test_data): Likewise.
7743         (fma_test_data): Likewise.
7744         (fma_towardzero_test_data): Likewise.
7745         (fma_downward_test_data): Likewise.
7746         (fma_upward_test_data): Likewise.
7747         (fmax_test_data): Likewise.
7748         (fmin_test_data): Likewise.
7749         (fmod_test_data): Likewise.
7750         (fpclassify_test_data): Likewise.
7751         (frexp_test_data): Likewise.
7752         (gamma_test_data): Likewise.
7753         (hypot_test_data): Likewise.
7754         (ilogb_test_data): Likewise.
7755         (isfinite_test_data): Likewise.
7756         (isgreater_test_data): Likewise.
7757         (isgreaterequal_test_data): Likewise.
7758         (isinf_test_data): Likewise.
7759         (isless_test_data): Likewise.
7760         (islessequal_test_data): Likewise.
7761         (islessgreater_test_data): Likewise.
7762         (isnan_test_data): Likewise.
7763         (isnormal_test_data): Likewise.
7764         (issignaling_test_data): Likewise.
7765         (isunordered_test_data): Likewise.
7766         (j0_test_data): Likewise.
7767         (j1_test_data): Likewise.
7768         (jn_test_data): Likewise.
7769         (ldexp_test_data): Likewise.
7770         (lgamma_test_data): Likewise.
7771         (lrint_test_data): Likewise.
7772         (lrint_tonearest_test_data): Likewise.
7773         (lrint_towardzero_test_data): Likewise.
7774         (lrint_downward_test_data): Likewise.
7775         (lrint_upward_test_data): Likewise.
7776         (llrint_test_data): Likewise.
7777         (llrint_tonearest_test_data): Likewise.
7778         (llrint_towardzero_test_data): Likewise.
7779         (llrint_downward_test_data): Likewise.
7780         (llrint_upward_test_data): Likewise.
7781         (log_test_data): Likewise.
7782         (log10_test_data): Likewise.
7783         (log1p_test_data): Likewise.
7784         (log2_test_data): Likewise.
7785         (logb_test_data): Likewise.
7786         (logb_downward_test_data): Likewise.
7787         (lround_test_data): Likewise.
7788         (llround_test_data): Likewise.
7789         (modf_test_data): Likewise.
7790         (nearbyint_test_data): Likewise.
7791         (nextafter_test_data): Likewise.
7792         (nexttoward_test_data): Likewise.
7793         (pow_test_data): Likewise.
7794         (pow_tonearest_test_data): Likewise.
7795         (pow_towardzero_test_data): Likewise.
7796         (pow_downward_test_data): Likewise.
7797         (pow_upward_test_data): Likewise.
7798         (remainder_test_data): Likewise.
7799         (remainder_tonearest_test_data): Likewise.
7800         (remainder_towardzero_test_data): Likewise.
7801         (remainder_downward_test_data): Likewise.
7802         (remainder_upward_test_data): Likewise.
7803         (remquo_test_data): Likewise.
7804         (rint_test_data): Likewise.
7805         (rint_tonearest_test_data): Likewise.
7806         (rint_towardzero_test_data): Likewise.
7807         (rint_downward_test_data): Likewise.
7808         (rint_upward_test_data): Likewise.
7809         (round_test_data): Likewise.
7810         (scalb_test_data): Likewise.
7811         (scalbn_test_data): Likewise.
7812         (scalbln_test_data): Likewise.
7813         (signbit_test_data): Likewise.
7814         (sin_test_data): Likewise.
7815         (sin_tonearest_test_data): Likewise.
7816         (sin_towardzero_test_data): Likewise.
7817         (sin_downward_test_data): Likewise.
7818         (sin_upward_test_data): Likewise.
7819         (sincos_test_data): Likewise.
7820         (sinh_test_data): Likewise.
7821         (sinh_tonearest_test_data): Likewise.
7822         (sinh_towardzero_test_data): Likewise.
7823         (sinh_downward_test_data): Likewise.
7824         (sinh_upward_test_data): Likewise.
7825         (sqrt_test_data): Likewise.
7826         (tan_test_data): Likewise.
7827         (tan_tonearest_test_data): Likewise.
7828         (tan_towardzero_test_data): Likewise.
7829         (tan_downward_test_data): Likewise.
7830         (tan_upward_test_data): Likewise.
7831         (tanh_test_data): Likewise.
7832         (tgamma_test_data): Likewise.
7833         (trunc_test_data): Likewise.
7834         (y0_test_data): Likewise.
7835         (y1_test_data): Likewise.
7836         (yn_test_data): Likewise.
7837         (significand_test_data): Likewise.
7839         * math/gen-libm-test.pl (@functions): Remove variable.
7840         (generate_testfile): Don't handle START and END lines.
7841         * math/libm-test.inc (START): New macro.
7842         (END): Likewise.
7843         (END_COMPLEX): Likewise.
7844         (acos_test): Use END macro without arguments.
7845         (acos_test_tonearest): Likewise.
7846         (acos_test_towardzero): Likewise.
7847         (acos_test_downward): Likewise.
7848         (acos_test_upward): Likewise.
7849         (acosh_test): Likewise.
7850         (asin_test): Likewise.
7851         (asin_test_tonearest): Likewise.
7852         (asin_test_towardzero): Likewise.
7853         (asin_test_downward): Likewise.
7854         (asin_test_upward): Likewise.
7855         (asinh_test): Likewise.
7856         (atan_test): Likewise.
7857         (atanh_test): Likewise.
7858         (atan2_test): Likewise.
7859         (cabs_test): Likewise.
7860         (cacos_test): Use END_COMPLEX macro without arguments.
7861         (cacosh_test): Likewise.
7862         (carg_test): Use END macro without arguments.
7863         (casin_test): Use END_COMPLEX macro without arguments.
7864         (casinh_test): Likewise.
7865         (catan_test): Likewise.
7866         (catanh_test): Likewise.
7867         (cbrt_test): Use END macro without arguments.
7868         (ccos_test): Use END_COMPLEX macro without arguments.
7869         (ccosh_test): Likewise.
7870         (ceil_test): Use END macro without arguments.
7871         (cexp_test): Use END_COMPLEX macro without arguments.
7872         (cimag_test): Use END macro without arguments.
7873         (clog_test): Use END_COMPLEX macro without arguments.
7874         (clog10_test): Likewise.
7875         (conj_test): Likewise.
7876         (copysign_test): Use END macro without arguments.
7877         (cos_test): Likewise.
7878         (cos_test_tonearest): Likewise.
7879         (cos_test_towardzero): Likewise.
7880         (cos_test_downward): Likewise.
7881         (cos_test_upward): Likewise.
7882         (cosh_test): Likewise.
7883         (cosh_test_tonearest): Likewise.
7884         (cosh_test_towardzero): Likewise.
7885         (cosh_test_downward): Likewise.
7886         (cosh_test_upward): Likewise.
7887         (cpow_test): Use END_COMPLEX macro without arguments.
7888         (cproj_test): Likewise.
7889         (creal_test): Use END macro without arguments.
7890         (csin_test): Use END_COMPLEX macro without arguments.
7891         (csinh_test): Likewise.
7892         (csqrt_test): Likewise.
7893         (ctan_test): Likewise.
7894         (ctan_test_tonearest): Likewise.
7895         (ctan_test_towardzero): Likewise.
7896         (ctan_test_downward): Likewise.
7897         (ctan_test_upward): Likewise.
7898         (ctanh_test): Likewise.
7899         (ctanh_test_tonearest): Likewise.
7900         (ctanh_test_towardzero): Likewise.
7901         (ctanh_test_downward): Likewise.
7902         (ctanh_test_upward): Likewise.
7903         (erf_test): Use END macro without arguments.
7904         (erfc_test): Likewise.
7905         (exp_test): Likewise.
7906         (exp_test_tonearest): Likewise.
7907         (exp_test_towardzero): Likewise.
7908         (exp_test_downward): Likewise.
7909         (exp_test_upward): Likewise.
7910         (exp10_test): Likewise.
7911         (exp2_test): Likewise.
7912         (expm1_test): Likewise.
7913         (fabs_test): Likewise.
7914         (fdim_test): Likewise.
7915         (finite_test): Likewise.
7916         (floor_test): Likewise.
7917         (fma_test): Likewise.
7918         (fma_test_towardzero): Likewise.
7919         (fma_test_downward): Likewise.
7920         (fma_test_upward): Likewise.
7921         (fmax_test): Likewise.
7922         (fmin_test): Likewise.
7923         (fmod_test): Likewise.
7924         (fpclassify_test): Likewise.
7925         (frexp_test): Likewise.
7926         (gamma_test): Likewise.
7927         (hypot_test): Likewise.
7928         (ilogb_test): Likewise.
7929         (isfinite_test): Likewise.
7930         (isgreater_test): Likewise.
7931         (isgreaterequal_test): Likewise.
7932         (isinf_test): Likewise.
7933         (isless_test): Likewise.
7934         (islessequal_test): Likewise.
7935         (islessgreater_test): Likewise.
7936         (isnan_test): Likewise.
7937         (isnormal_test): Likewise.
7938         (issignaling_test): Likewise.
7939         (isunordered_test): Likewise.
7940         (j0_test): Likewise.
7941         (j1_test): Likewise.
7942         (jn_test): Likewise.
7943         (ldexp_test): Likewise.
7944         (lgamma_test): Likewise.
7945         (lrint_test): Likewise.
7946         (lrint_test_tonearest): Likewise.
7947         (lrint_test_towardzero): Likewise.
7948         (lrint_test_downward): Likewise.
7949         (lrint_test_upward): Likewise.
7950         (llrint_test): Likewise.
7951         (llrint_test_tonearest): Likewise.
7952         (llrint_test_towardzero): Likewise.
7953         (llrint_test_downward): Likewise.
7954         (llrint_test_upward): Likewise.
7955         (log_test): Likewise.
7956         (log10_test): Likewise.
7957         (log1p_test): Likewise.
7958         (log2_test): Likewise.
7959         (logb_test): Likewise.
7960         (logb_test_downward): Likewise.
7961         (lround_test): Likewise.
7962         (llround_test): Likewise.
7963         (modf_test): Likewise.
7964         (nearbyint_test): Likewise.
7965         (nextafter_test): Likewise.
7966         (nexttoward_test): Likewise.
7967         (pow_test): Likewise.
7968         (pow_test_tonearest): Likewise.
7969         (pow_test_towardzero): Likewise.
7970         (pow_test_downward): Likewise.
7971         (pow_test_upward): Likewise.
7972         (remainder_test): Likewise.
7973         (remainder_test_tonearest): Likewise.
7974         (remainder_test_towardzero): Likewise.
7975         (remainder_test_downward): Likewise.
7976         (remainder_test_upward): Likewise.
7977         (remquo_test): Likewise.
7978         (rint_test): Likewise.
7979         (rint_test_tonearest): Likewise.
7980         (rint_test_towardzero): Likewise.
7981         (rint_test_downward): Likewise.
7982         (rint_test_upward): Likewise.
7983         (round_test): Likewise.
7984         (scalb_test): Likewise.
7985         (scalbn_test): Likewise.
7986         (scalbln_test): Likewise.
7987         (signbit_test): Likewise.
7988         (sin_test): Likewise.
7989         (sin_test_tonearest): Likewise.
7990         (sin_test_towardzero): Likewise.
7991         (sin_test_downward): Likewise.
7992         (sin_test_upward): Likewise.
7993         (sincos_test): Likewise.
7994         (sinh_test): Likewise.
7995         (sinh_test_tonearest): Likewise.
7996         (sinh_test_towardzero): Likewise.
7997         (sinh_test_downward): Likewise.
7998         (sinh_test_upward): Likewise.
7999         (sqrt_test): Likewise.
8000         (tan_test): Likewise.
8001         (tan_test_tonearest): Likewise.
8002         (tan_test_towardzero): Likewise.
8003         (tan_test_downward): Likewise.
8004         (tan_test_upward): Likewise.
8005         (tanh_test): Likewise.
8006         (tgamma_test): Likewise.
8007         (trunc_test): Likewise.
8008         (y0_test): Likewise.
8009         (y1_test): Likewise.
8010         (yn_test): Likewise.
8011         (significand_test): Likewise.
8013 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8015         [BZ #15381]
8016         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8018 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8020         [BZ #14894]
8021         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8022         __ppc_mdoio and __ppc_mdoom.
8023         * manual/platform.texi: Document new functions __ppc_yield,
8024         __ppc_mdoio and __ppc_mdoom.
8026 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8028         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8029         (main): Mention "tls" pseudo-hwcap is legacy.
8030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8032 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8034         * math/gen-libm-test.pl (parse_args): Output only string of
8035         arguments as text for test name, not full call or descriptions of
8036         tests for extra outputs.
8037         (generate_testfile): Do not pass function name to parse_args.
8038         Generate this_func variable from START.
8039         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8040         field to arg_str.
8041         (struct test_ff_f_data): Likewise.
8042         (test_ff_f_data_nexttoward): Likewise.
8043         (struct test_fi_f_data): Likewise.
8044         (struct test_fl_f_data): Likewise.
8045         (struct test_if_f_data): Likewise.
8046         (struct test_fff_f_data): Likewise.
8047         (struct test_c_f_data): Likewise.
8048         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8049         (struct test_fF_f1_data): Likewise.
8050         (struct test_ffI_f1_data): Likewise.
8051         (struct test_c_c_data): Rename test_name field to arg_str.
8052         (struct test_cc_c_data): Likewise.
8053         (struct test_f_i_data): Likewise.
8054         (struct test_ff_i_data): Likewise.
8055         (struct test_f_l_data): Likewise.
8056         (struct test_f_L_data): Likewise.
8057         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8058         and extra2_name.
8059         (COMMON_TEST_SETUP): New macro.
8060         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8061         (COMMON_TEST_CLEANUP): Likewise.
8062         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8063         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8064         macros.
8065         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8066         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8067         macros.
8068         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8069         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8070         cleanup macros.
8071         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8072         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8073         macros.
8074         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8075         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8076         macros.
8077         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8078         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8079         cleanup macros.
8080         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8081         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8082         cleanup macros.
8083         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8084         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8085         cleanup macros.
8086         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8087         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8088         macros.
8089         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8090         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8091         macros.
8092         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8093         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8094         macros.
8095         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8096         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8097         cleanup macros.
8098         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8099         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8100         cleanup macros.
8101         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8102         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8103         macros.
8104         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8105         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8106         cleanup macros.
8107         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8108         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8109         macros.
8110         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8111         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8112         macros.
8113         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8114         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8115         cleanup macros.
8116         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8118 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8120         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8121         to _sifields.sigfault.
8122         (si_addr_lsb): Define new macro.
8123         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8124         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8125         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8127 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8129         [BZ #15441]
8130         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8131         returns -1.
8132         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8133         null return -1.
8134         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8135         loading the domain.
8137 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8139         * math/gen-libm-test.pl (parse_args): Do not include expected
8140         result in test name.
8141         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8142         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8143         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8144         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8145         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8148 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8150         * benchtests/Makefile: Sort function entries.
8152         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8153         tanh, asinh, acosh, atanh.
8154         * benchtests/acos-inputs: New file.
8155         * benchtests/acosh-inputs: New file.
8156         * benchtests/asin-inputs: New file.
8157         * benchtests/asinh-inputs: New file.
8158         * benchtests/atanh-inputs: New file.
8159         * benchtests/cosh-inputs: New file.
8160         * benchtests/log-inputs: New file.
8161         * benchtests/sinh-inputs: New file.
8162         * benchtests/tanh-inputs: New file.
8164 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8166         [BZ #15339]
8167         * posix/tst-getaddrinfo4.c: New test.
8168         * posix/Makefile (tests): Add it.
8170 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8172         [BZ #15339]
8173         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8174         when no services were used.
8175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8176         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8178 2013-05-21  Andreas Schwab  <schwab@suse.de>
8180         [BZ #15014]
8181         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8182         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8183         successful.
8184         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8185         redundant variable declarations and reallocation of buffer when
8186         parsing as IPv6 address.  Always set NSS status when called from
8187         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8188         buffer too small.  Correct computation of needed size.
8189         * nss/Makefile (tests): Add test-digits-dots.
8190         * nss/test-digits-dots.c: New test.
8192 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8194         * benchtests/Makefile: Remove instructions for adding
8195         benchmark tests.
8196         * benchtests/README: New file to explain how to execute and
8197         enhance the benchmark tests.
8199 2013-05-21  Andreas Schwab  <schwab@suse.de>
8201         [BZ #15493]
8202         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8203         * setjmp/tst-sigsetjmp.c: New test.
8205 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8207         * sysdeps/x86_64/memset.S (memset): New implementation.
8208         (__bzero): Likewise.
8209         (__memset_tail): New function.
8211 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8213         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8214         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8215         __memcpy_sse2_unaligned ifunc selection.
8216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8217         Add memcpy-sse2-unaligned.S.
8218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8219         Add: __memcpy_sse2_unaligned.
8221 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8223         [BZ #15490]
8224         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8225         math_force_eval before restoring floating-point envrionment.
8226         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8228         Likewise.
8229         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8230         <math_private.h>.
8231         (__nearbyintl): Use math_force_eval before restoring
8232         floating-point environment.
8233         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8235         * math/gen-libm-test.pl (special_functions): Remove.
8236         (parse_args): Don't handle TEST_extra.  Handle functions with no
8237         return value.
8238         * math/libm-test.inc (struct test_sincos_data): Replace with
8239         struct test_fFF_11_data.
8240         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8241         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8242         (sincos_test_data): Change element type to struct
8243         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8244         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8245         RUN_TEST_LOOP_sincos.
8246         * math/README.libm-test: Don't mention special handling of
8247         individual functions.
8248         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8249         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8250         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8251         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8252         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8255         * math/gen-libm-test.pl (get_variable): Remove function.
8256         (parse_args): Don't show pointer parameters to call in test
8257         names.  Use "extra output N" in test names for extra outputs
8258         rather than naming variables.
8260 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8262         [BZ #15488]
8263         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8264         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8265         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8266         double tests.
8267         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8268         disable.
8269         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8270         check_long_double.
8272         * math/gen-libm-test.pl (@tests): Remove variable.
8273         ($count): Likewise.
8274         (new_test): Remove function.
8275         (show_exceptions): New function.
8276         (special_functions): Use show_exceptions instead of new_test.
8277         (parse_args): Likewise.
8278         (generate_testfile): Pass only function name in generated call to
8279         print_max_error or print_complex_max_error.
8280         (get_ulps): Do not handle complex tests specially.
8281         (output_test): Rename to ...
8282         (get_all_ulps_for_test): ... this.  Return a string rather than
8283         printing to a file.  Require ulps to be present.
8284         (output_ulps): Generate arrays rather than #defines.
8285         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8286         (struct ulp_data): New type.
8287         (BUILD_COMPLEX_ULP): Remove macro.
8288         (compare_ulp_data): New function.
8289         (find_ulps): Likewise.
8290         (find_test_ulps): Likewise.
8291         (find_function_ulps): Likewise.
8292         (find_complex_function_ulps): Likewise.
8293         (print_max_error): Determine allowed ulps using
8294         find_function_ulps.
8295         (print_complex_max_error): Determine allowed ulps using
8296         find_complex_function_ulps.
8297         (check_float_internal): Determine max ulps using find_test_ulps.
8298         (check_float): Do not take max_ulp parameter.  Update call to
8299         check_float_internal.
8300         (check_complex): Likewise.
8301         (check_int): Do not take max_ulp parameter.
8302         (check_long): Likewise.
8303         (check_bool): Likewise.
8304         (check_longlong): Likewise.
8305         (struct test_f_f_data): Remove max_ulp field.
8306         (struct test_ff_f_data): Likewise.
8307         (struct test_ff_f_data_nexttoward): Likewise.
8308         (struct test_fi_f_data): Likewise.
8309         (struct test_fl_f_data): Likewise.
8310         (struct test_if_f_data): Likewise.
8311         (struct test_fff_f_data): Likewise.
8312         (struct test_c_f_data): Likewise.
8313         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8314         (struct test_fF_f1_data): Likewise.
8315         (struct test_ffI_f1_data): Likewise.
8316         (struct test_c_c_data): Remove max_ulp field.
8317         (struct test_cc_c_data): Likewise.
8318         (struct test_f_i_data): Likewise.
8319         (struct test_ff_i_data): Likewise.
8320         (struct test_f_l_data): Likewise.
8321         (struct test_f_L_data): Likewise.
8322         (struct test_sincos_data): Likewise.
8323         (RUN_TEST_f_f): Do not handle ulps.
8324         (RUN_TEST_LOOP_f_f): Likewise.
8325         (RUN_TEST_2_f): Likewise.
8326         (RUN_TEST_LOOP_2_f): Likewise.
8327         (RUN_TEST_fff_f): Likewise.
8328         (RUN_TEST_LOOP_fff_f): Likewise.
8329         (RUN_TEST_c_f): Likewise.
8330         (RUN_TEST_LOOP_c_f): Likewise.
8331         (RUN_TEST_f_f1): Likewise.
8332         (RUN_TEST_LOOP_f_f1): Likewise.
8333         (RUN_TEST_fF_f1): Likewise.
8334         (RUN_TEST_LOOP_fF_f1): Likewise.
8335         (RUN_TEST_fI_f1): Likewise.
8336         (RUN_TEST_LOOP_fI_f1): Likewise.
8337         (RUN_TEST_ffI_f1): Likewise.
8338         (RUN_TEST_LOOP_ffI_f1): Likewise.
8339         (RUN_TEST_c_c): Likewise.
8340         (RUN_TEST_LOOP_c_c): Likewise.
8341         (RUN_TEST_cc_c): Likewise.
8342         (RUN_TEST_LOOP_cc_c): Likewise.
8343         (RUN_TEST_f_i): Likewise.
8344         (RUN_TEST_LOOP_f_i): Likewise.
8345         (RUN_TEST_f_i_tg): Likewise.
8346         (RUN_TEST_LOOP_f_i_tg): Likewise.
8347         (RUN_TEST_ff_i_tg): Likewise.
8348         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8349         (RUN_TEST_f_b): Likewise.
8350         (RUN_TEST_LOOP_f_b): Likewise.
8351         (RUN_TEST_f_b_tg): Likewise.
8352         (RUN_TEST_LOOP_f_b_tg): Likewise.
8353         (RUN_TEST_f_l): Likewise.
8354         (RUN_TEST_LOOP_f_l): Likewise.
8355         (RUN_TEST_f_L): Likewise.
8356         (RUN_TEST_LOOP_f_L): Likewise.
8357         (RUN_TEST_sincos): Likewise.
8358         (RUN_TEST_LOOP_sincos): Likewise.
8360 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8362         [BZ #15480]
8363         [BZ #15485]
8364         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8365         main case of finite arguments, set rounding mode to FE_TONEAREST
8366         and discard exceptions.
8367         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8368         exceptions.
8369         (remainder_tonearest_test_data): New variable.
8370         (remainder_test_tonearest): New function.
8371         (remainder_towardzero_test_data): New variable.
8372         (remainder_test_towardzero): New function.
8373         (remainder_downward_test_data): New variable.
8374         (remainder_test_downward): New function.
8375         (remainder_upward_test_data): New variable.
8376         (remainder_test_upward): New function.
8377         (main): Call the new test functions.
8379         * math/libm-test.inc (struct test_f_f1_data): Remove field
8380         extra_init.
8381         (struct test_fF_f1_data): Likewise.
8382         (struct test_ffI_f1_data): Likewise.
8383         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8384         based on value of EXTRA_EXPECTED.
8385         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8386         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8387         EXTRA_VAR based on value of EXTRA_EXPECTED.
8388         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8389         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8390         EXTRA_VAR based on value of EXTRA_EXPECTED.
8391         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8392         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8393         EXTRA_VAR based on value of EXTRA_EXPECTED.
8394         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8395         * math/gen-libm-test.pl (parse_args): Don't output initializers
8396         for extra output values.
8398         * math/libm-test.inc (check_int): Expect result to be exactly
8399         equal to expected value and do not handle ulps.
8400         (check_long): Likewise.
8401         (check_longlong): Likewise.
8403         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8404         exceptions.
8405         (cimag_test_data): Likewise.
8406         (conj_test_data): Likewise.
8407         (copysign_test_data): Likewise.
8408         (cproj_test_data): Likewise.
8409         (creal_test_data): Likewise.
8410         (fabs_test_data): Likewise.
8411         (fdim_test_data): Likewise.
8412         (finite_test_data): Likewise.
8413         (floor_test_data): Likewise.
8414         (fmax_test_data): Likewise.
8415         (fmin_test_data): Likewise.
8416         (fmod_test_data): Likewise.
8417         (fpclassify_test_data): Likewise.
8418         (frexp_test_data): Likewise.
8419         (ilogb_test_data): Likewise.
8420         (isfinite_test_data): Likewise.
8421         (isgreater_test_data): Likewise.
8422         (isgreaterequal_test_data): Likewise.
8423         (isinf_test_data): Likewise.
8424         (isless_test_data): Likewise.
8425         (islessequal_test_data): Likewise.
8426         (islessgreater_test_data): Likewise.
8427         (isnan_test_data): Likewise.
8428         (isnormal_test_data): Likewise.
8429         (issignaling_test_data): Likewise.
8430         (isunordered_test_data): Likewise.
8431         (ldexp_test_data): Likewise.
8432         (lrint_test_data): Likewise.
8433         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8434         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8435         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8436         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8437         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8438         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8439         test input.
8440         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8441         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8442         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8443         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8444         that test input.
8445         (lrint_downward_test_data): Test for "inexact" exceptions.
8446         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8447         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8448         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8449         test input.
8450         (lrint_upward_test_data): Test for "inexact" exceptions.
8451         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8452         test input.
8453         (llrint_test_data): Test for "inexact" exceptions.
8454         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8455         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8456         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8457         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8458         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8459         (llrint_downward_test_data): Test for "inexact" exceptions.
8460         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8461         (llrint_upward_test_data): Test for "inexact" exceptions.
8462         (logb_test_data): Likewise.
8463         (logb_downward_test_data): Likewise.
8464         (nextafter_test_data): Likewise.
8465         (nexttoward_test_data): Likewise.
8466         (remainder_test_data): Likewise.
8467         (remquo_test_data): Likewise.
8468         (scalbn_test_data): Likewise.
8469         (scalbln_test_data): Likewise.
8470         (signbit_test_data): Likewise.
8471         (sqrt_test_data): Likewise.
8472         (significand_test_data): Likewise.
8474 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8476         [BZ #15424]
8477         * benchtests/bench-modf.c (struct args): Mark arg0 as
8478         volatile.
8479         * scripts/bench.pl: Mark members of struct args as volatile.
8481 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8483         [BZ # 15497]
8484         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8485         negative infinity on POWER6 or lower.
8486         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8488 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8490         [BZ #15442]
8491         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8492         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8493         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8494         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8495         (_FP_SETQNAN): New macro.
8496         (_FP_SETQNAN_SEMIRAW): Likewise.
8497         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8498         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8499         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8500         (FP_EXTEND): Use _FP_FRAC_SNANP.
8501         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8502         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8503         into account.
8504         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8505         New macro.
8506         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8507         Likewise.
8509 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8511         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8512         with DIVIDE_BY_ZERO_EXCEPTION.
8513         (gamma_test_data): Likewise.
8514         (lgamma_test_data): Likewise.
8515         (log_test_data): Likewise.
8516         (log10_test_data): Likewise.
8517         (log2_test_data): Likewise.
8518         (tgamma_test_data): Likewise.
8520         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8521         (acos_test_tonearest): Likewise.
8522         (acos_test_towardzero): Likewise.
8523         (acos_test_downward): Likewise.
8524         (acos_test_upward): Likewise.
8525         (acosh_test): Likewise.
8526         (asin_test): Likewise.
8527         (asin_test_tonearest): Likewise.
8528         (asin_test_towardzero): Likewise.
8529         (asin_test_downward): Likewise.
8530         (asin_test_upward): Likewise.
8531         (asinh_test): Likewise.
8532         (atan_test): Likewise.
8533         (atanh_test): Likewise.
8534         (atan2_test): Likewise.
8535         (cabs_test): Likewise.
8536         (cacos_test): Likewise.
8537         (cacosh_test): Likewise.
8538         (casin_test): Likewise.
8539         (casinh_test): Likewise.
8540         (catan_test): Likewise.
8541         (catanh_test): Likewise.
8542         (cbrt_test): Likewise.
8543         (ccos_test): Likewise.
8544         (ccosh_test): Likewise.
8545         (cexp_test): Likewise.
8546         (clog_test): Likewise.
8547         (clog10_test): Likewise.
8548         (cos_test): Likewise.
8549         (cos_test_tonearest): Likewise.
8550         (cos_test_towardzero): Likewise.
8551         (cos_test_downward): Likewise.
8552         (cos_test_upward): Likewise.
8553         (cosh_test): Likewise.
8554         (cosh_test_tonearest): Likewise.
8555         (cosh_test_towardzero): Likewise.
8556         (cosh_test_downward): Likewise.
8557         (cosh_test_upward): Likewise.
8558         (cpow_test): Likewise.
8559         (csin_test): Likewise.
8560         (csinh_test): Likewise.
8561         (csqrt_test): Likewise.
8562         (ctan_test): Likewise.
8563         (ctan_test_tonearest): Likewise.
8564         (ctan_test_towardzero): Likewise.
8565         (ctan_test_downward): Likewise.
8566         (ctan_test_upward): Likewise.
8567         (ctanh_test): Likewise.
8568         (ctanh_test_tonearest): Likewise.
8569         (ctanh_test_towardzero): Likewise.
8570         (ctanh_test_downward): Likewise.
8571         (ctanh_test_upward): Likewise.
8572         (erf_test): Likewise.
8573         (erfc_test): Likewise.
8574         (exp_test): Likewise.
8575         (exp_test_tonearest): Likewise.
8576         (exp_test_towardzero): Likewise.
8577         (exp_test_downward): Likewise.
8578         (exp_test_upward): Likewise.
8579         (exp10_test): Likewise.
8580         (exp2_test): Likewise.
8581         (expm1_test): Likewise.
8582         (fmod_test): Likewise.
8583         (gamma_test): Likewise.
8584         (hypot_test): Likewise.
8585         (j0_test): Likewise.
8586         (j1_test): Likewise.
8587         (jn_test): Likewise.
8588         (lgamma_test): Likewise.
8589         (log_test): Likewise.
8590         (log10_test): Likewise.
8591         (log1p_test): Likewise.
8592         (log2_test): Likewise.
8593         (logb_test_downward): Likewise.
8594         (pow_test): Likewise.
8595         (pow_test_tonearest): Likewise.
8596         (pow_test_towardzero): Likewise.
8597         (pow_test_downward): Likewise.
8598         (pow_test_upward): Likewise.
8599         (remainder_test): Likewise.
8600         (remquo_test): Likewise.
8601         (sin_test): Likewise.
8602         (sin_test_tonearest): Likewise.
8603         (sin_test_towardzero): Likewise.
8604         (sin_test_downward): Likewise.
8605         (sin_test_upward): Likewise.
8606         (sincos_test): Likewise.
8607         (sinh_test): Likewise.
8608         (sinh_test_tonearest): Likewise.
8609         (sinh_test_towardzero): Likewise.
8610         (sinh_test_downward): Likewise.
8611         (sinh_test_upward): Likewise.
8612         (sqrt_test): Likewise.
8613         (tan_test): Likewise.
8614         (tan_test_tonearest): Likewise.
8615         (tan_test_towardzero): Likewise.
8616         (tan_test_downward): Likewise.
8617         (tan_test_upward): Likewise.
8618         (tanh_test): Likewise.
8619         (tgamma_test): Likewise.
8620         (y0_test): Likewise.
8621         (y1_test): Likewise.
8622         (yn_test): Likewise.
8624         * math/gen-libm-test.pl (adjust_arg): Remove function.
8625         (special_function): Remove argument $in_func.  Only handle
8626         generating output for tables of tests, not inside functions.
8627         (parse_args): Likewise.
8628         (generate_testfile): Remove variable $in_func.  Update call to
8629         parse_args.
8630         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8631         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8632         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8633         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8634         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8635         (MAX_VALUE_INIT): Rename macro to max_value.
8636         (MIN_VALUE_INIT): Rename macro to min_value.
8637         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8638         (plus_zero): Remove variable.
8639         (minus_zero): Likewise.
8640         (plus_infty): Likewise.
8641         (minus_infty): Likewise.
8642         (qnan_value): Likewise.
8643         (max_value): Likewise.
8644         (min_value): Likewise.
8645         (min_subnorm_value): Likewise.
8647 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8649         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8650         uint64_t or uint32_t usage.
8651         * crypt/sha256-block.c: Likewise.
8652         * crypt/sha256-crypt.c: Likewise.
8653         * crypt/sha256.c: Likewise.
8654         * crypt/sha512-block.c: Likewise.
8655         * crypt/sha512-crypt.c: Likewise.
8656         * crypt/sha512.c: Likewise.
8657         * debug/backtrace-tst.c: Likewise.
8658         * debug/pcprofiledump.c: Likewise.
8659         * elf/cache.c: Likewise.
8660         * elf/dl-cache.c: Likewise.
8661         * elf/dl-misc.c: Likewise.
8662         * elf/dl-profile.c: Likewise.
8663         * elf/dl-support.c: Likewise.
8664         * elf/ldconfig.c: Likewise.
8665         * elf/sprof.c: Likewise.
8666         * iconv/dummy-repertoire.c: Likewise.
8667         * iconv/iconv_charmap.c: Likewise.
8668         * iconv/skeleton.c: Likewise.
8669         * iconvdata/8bit-generic.c: Likewise.
8670         * iconvdata/cp737.h: Likewise.
8671         * iconvdata/cp775.h: Likewise.
8672         * iconvdata/ibm1008.h: Likewise.
8673         * iconvdata/ibm1025.h: Likewise.
8674         * iconvdata/ibm1046.h: Likewise.
8675         * iconvdata/ibm1097.h: Likewise.
8676         * iconvdata/ibm1112.h: Likewise.
8677         * iconvdata/ibm1122.h: Likewise.
8678         * iconvdata/ibm1123.h: Likewise.
8679         * iconvdata/ibm1124.h: Likewise.
8680         * iconvdata/ibm1129.h: Likewise.
8681         * iconvdata/ibm1130.h: Likewise.
8682         * iconvdata/ibm1132.h: Likewise.
8683         * iconvdata/ibm1133.h: Likewise.
8684         * iconvdata/ibm1137.h: Likewise.
8685         * iconvdata/ibm1140.h: Likewise.
8686         * iconvdata/ibm1141.h: Likewise.
8687         * iconvdata/ibm1142.h: Likewise.
8688         * iconvdata/ibm1143.h: Likewise.
8689         * iconvdata/ibm1144.h: Likewise.
8690         * iconvdata/ibm1145.h: Likewise.
8691         * iconvdata/ibm1146.h: Likewise.
8692         * iconvdata/ibm1147.h: Likewise.
8693         * iconvdata/ibm1148.h: Likewise.
8694         * iconvdata/ibm1149.h: Likewise.
8695         * iconvdata/ibm1153.h: Likewise.
8696         * iconvdata/ibm1154.h: Likewise.
8697         * iconvdata/ibm1155.h: Likewise.
8698         * iconvdata/ibm1156.h: Likewise.
8699         * iconvdata/ibm1157.h: Likewise.
8700         * iconvdata/ibm1158.h: Likewise.
8701         * iconvdata/ibm1160.h: Likewise.
8702         * iconvdata/ibm1161.h: Likewise.
8703         * iconvdata/ibm1162.h: Likewise.
8704         * iconvdata/ibm1163.h: Likewise.
8705         * iconvdata/ibm1164.h: Likewise.
8706         * iconvdata/ibm1166.h: Likewise.
8707         * iconvdata/ibm1167.h: Likewise.
8708         * iconvdata/ibm12712.h: Likewise.
8709         * iconvdata/ibm1390.h: Likewise.
8710         * iconvdata/ibm1399.h: Likewise.
8711         * iconvdata/ibm16804.h: Likewise.
8712         * iconvdata/ibm4517.h: Likewise.
8713         * iconvdata/ibm4899.h: Likewise.
8714         * iconvdata/ibm4909.h: Likewise.
8715         * iconvdata/ibm4971.h: Likewise.
8716         * iconvdata/ibm5347.h: Likewise.
8717         * iconvdata/ibm803.h: Likewise.
8718         * iconvdata/ibm856.h: Likewise.
8719         * iconvdata/ibm901.h: Likewise.
8720         * iconvdata/ibm902.h: Likewise.
8721         * iconvdata/ibm9030.h: Likewise.
8722         * iconvdata/ibm9066.h: Likewise.
8723         * iconvdata/ibm921.h: Likewise.
8724         * iconvdata/ibm922.h: Likewise.
8725         * iconvdata/ibm9448.h: Likewise.
8726         * iconvdata/isiri-3342.h: Likewise.
8727         * iconvdata/jis0201.h: Likewise.
8728         * include/link.h: Likewise.
8729         * include/netdb.h: Likewise.
8730         * inet/check_native.c: Likewise.
8731         * inet/check_pf.c: Likewise.
8732         * inet/getipv4sourcefilter.c: Likewise.
8733         * inet/getnameinfo.c: Likewise.
8734         * inet/getsourcefilter.c: Likewise.
8735         * inet/htonl.c: Likewise.
8736         * inet/setipv4sourcefilter.c: Likewise.
8737         * inet/setsourcefilter.c: Likewise.
8738         * inet/test-inet6_opt.c: Likewise.
8739         * inet/tst-network.c: Likewise.
8740         * locale/C-collate.c: Likewise.
8741         * locale/C-ctype.c: Likewise.
8742         * locale/C-time.c: Likewise.
8743         * locale/C-translit.h: Likewise.
8744         * locale/loadarchive.c: Likewise.
8745         * locale/programs/3level.h: Likewise.
8746         * locale/programs/charmap.c: Likewise.
8747         * locale/programs/charmap.h: Likewise.
8748         * locale/programs/ld-address.c: Likewise.
8749         * locale/programs/ld-collate.c: Likewise.
8750         * locale/programs/ld-ctype.c: Likewise.
8751         * locale/programs/ld-identification.c: Likewise.
8752         * locale/programs/ld-measurement.c: Likewise.
8753         * locale/programs/ld-messages.c: Likewise.
8754         * locale/programs/ld-monetary.c: Likewise.
8755         * locale/programs/ld-name.c: Likewise.
8756         * locale/programs/ld-numeric.c: Likewise.
8757         * locale/programs/ld-paper.c: Likewise.
8758         * locale/programs/ld-telephone.c: Likewise.
8759         * locale/programs/ld-time.c: Likewise.
8760         * locale/programs/linereader.c: Likewise.
8761         * locale/programs/locale.c: Likewise.
8762         * locale/programs/locarchive.c: Likewise.
8763         * locale/programs/locfile.h: Likewise.
8764         * locale/programs/repertoire.c: Likewise.
8765         * locale/programs/simple-hash.c: Likewise.
8766         * locale/programs/simple-hash.h: Likewise.
8767         * malloc/memusage.c: Likewise.
8768         * malloc/memusagestat.c: Likewise.
8769         * nis/nis_defaults.c: Likewise.
8770         * nis/nis_hash.c: Likewise.
8771         * nis/nis_print.c: Likewise.
8772         * nis/nis_xdr.c: Likewise.
8773         * nscd/connections.c: Likewise.
8774         * nscd/hstcache.c: Likewise.
8775         * nscd/nscd_gethst_r.c: Likewise.
8776         * nscd/nscd_getserv_r.c: Likewise.
8777         * nscd/nscd_helper.c: Likewise.
8778         * nscd/servicescache.c: Likewise.
8779         * nss/makedb.c: Likewise.
8780         * nss/nss_db/db-XXX.c: Likewise.
8781         * nss/nss_db/db-initgroups.c: Likewise.
8782         * nss/nss_db/db-netgrp.c: Likewise.
8783         * nss/nss_files/files-network.c: Likewise.
8784         * nss/nss_files/files-parse.c: Likewise.
8785         * posix/bug-regex5.c: Likewise.
8786         * posix/fnmatch_loop.c: Likewise.
8787         * posix/regcomp.c: Likewise.
8788         * posix/regexec.c: Likewise.
8789         * posix/tst-rfc3484-2.c: Likewise.
8790         * posix/tst-rfc3484-3.c: Likewise.
8791         * posix/tst-rfc3484.c: Likewise.
8792         * resolv/nss_dns/dns-canon.c: Likewise.
8793         * resolv/nss_dns/dns-network.c: Likewise.
8794         * resolv/res_init.c: Likewise.
8795         * resolv/res_mkquery.c: Likewise.
8796         * resolv/tst-aton.c: Likewise.
8797         * stdlib/cxa_atexit.c: Likewise.
8798         * stdlib/cxa_finalize.c: Likewise.
8799         * stdlib/gen-fpioconst.c: Likewise.
8800         * stdlib/strtol_l.c: Likewise.
8801         * string/tst-endian.c: Likewise.
8802         * sunrpc/auth_des.c: Likewise.
8803         * sunrpc/clnt_udp.c: Likewise.
8804         * sunrpc/rtime.c: Likewise.
8805         * sunrpc/svcauth_des.c: Likewise.
8806         * sunrpc/xdr.c: Likewise.
8807         * sunrpc/xdr_intXX_t.c: Likewise.
8808         * sunrpc/xdr_rec.c: Likewise.
8809         * sysdeps/generic/ldconfig.h: Likewise.
8810         * sysdeps/generic/ldsodefs.h: Likewise.
8811         * sysdeps/generic/memusage.h: Likewise.
8812         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8813         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8814         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8815         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8816         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8817         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8818         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8820         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8822         * sysdeps/posix/getaddrinfo.c: Likewise.
8823         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8824         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8825         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8826         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8827         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8828         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8829         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8830         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8831         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8832         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8833         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8834         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8835         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8836         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8837         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8838         * sysdeps/x86_64/dl-tls.h: Likewise.
8839         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8840         * time/alt_digit.c: Likewise.
8841         * time/era.c: Likewise.
8842         * wcsmbs/tst-c16c32-1.c: Likewise.
8844 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8846         * math/libm-test.inc (struct test_sincos_data): New type.
8847         (RUN_TEST_LOOP_sincos): New macro.
8848         (sincos_test_data): New variable.
8849         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8851 2013-05-16  Richard Henderson  <rth@redhat.com>
8853         * math/atest-exp2.c (LIMB64): New macro.
8854         (CONSTSZ): New macro.
8855         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8856         (hexdig): Move ...
8857         (print_mpn_fp): ... to function scope.
8858         (read_mpn_hex): Remove.
8859         (get_log2): Remove.
8860         (exp2_mpn): Use mp_log2.
8861         (main): Use mp_exp1.
8863 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8865         * math/libm-test.inc: Remove comment about not testing "inexact"
8866         exceptions.
8867         (INEXACT_EXCEPTION): New macro.
8868         (NO_INEXACT_EXCEPTION): Likewise.
8869         (INVALID_EXCEPTION_OK): Update value.
8870         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8871         (OVERFLOW_EXCEPTION_OK): Likewise.
8872         (UNDERFLOW_EXCEPTION_OK): Likewise.
8873         (IGNORE_ZERO_INF_SIGN): Likewise.
8874         (ERRNO_UNCHANGED): Likewise.
8875         (ERRNO_EDOM): Likewise.
8876         (ERRNO_ERANGE): Likewise.
8877         (test_exceptions): Handle testing "inexact" exceptions.
8878         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8879         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8880         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8881         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8882         INEXACT_EXCEPTION.
8883         (rint_towardzero_test_data): Likewise.
8884         (rint_downward_test_data): Likewise.
8885         (rint_upward_test_data): Likewise.
8887         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8888         with OVERFLOW_EXCEPTION.
8889         (exp10_test_data): Likewise.
8890         (exp2_test_data): Likewise.
8891         (expm1_test_data): Likewise.
8892         (lgamma_test_data): Likewise.
8893         (pow_test_data): Likewise.
8894         (tgamma_test_data): Likewise.
8895         (yn_test_data): Remove duplicate test of overflow.
8897         * math/libm-test.inc (struct test_cc_c_data): New type.
8898         (RUN_TEST_LOOP_cc_c): New macro.
8899         (cpow_test_data): New variable.
8900         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8902         * math/libm-test.inc (struct test_f_L_data): New type.
8903         (RUN_TEST_LOOP_f_L): New macro.
8904         (llrint_test_data): New variable.
8905         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8906         (llrint_tonearest_test_data): New variable.
8907         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8908         (llrint_towardzero_test_data): New variable.
8909         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8910         (llrint_downward_test_data): New variable.
8911         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8912         (llrint_upward_test_data): New variable.
8913         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8914         (llround_test_data): New variable.
8915         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8917 2013-05-13  Peter Collingbourne  <pcc@google.com>
8919         * math/atest-exp2.c (get_log2): Remove const attribute.
8921 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8923         * math/libm-test.inc (struct test_f_l_data): New type.
8924         (RUN_TEST_LOOP_f_l): New macro.
8925         (lrint_test_data): New variable.
8926         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8927         (lrint_tonearest_test_data): New variable.
8928         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8929         (lrint_towardzero_test_data): New variable.
8930         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8931         (lrint_downward_test_data): New variable.
8932         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8933         (lrint_upward_test_data): New variable.
8934         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8935         (lround_test_data): New variable.
8936         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8938 2013-05-15  Peter Collingbourne  <pcc@google.com>
8940         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8941         (EXTRACT_WORDS64) Use where appropriate.
8942         (INSERT_WORDS64) Likewise.
8944         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8945         constraints with x constraints.
8946         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8948         * malloc/obstack.c (_obstack_compat): Add initializer.
8950 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8952         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8953         si_trapno and add si_addr_lsb to _sifields.sigfault.
8954         (si_trapno): Remove macro.
8955         (si_addr_lsb): Define new macro.
8956         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8958 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8960         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8961         instead of TEST_f_l.
8962         (llrint_test_tonearest): Likewise.
8963         (llrint_test_towardzero): Likewise.
8964         (llrint_test_downward): Likewise.
8965         (llrint_test_upward): Likewise.
8966         (llround_test): Likewise.
8968         * math/libm-test.inc (struct test_f_i_data): Add comment.
8969         (RUN_TEST_LOOP_f_b): New macro.
8970         (RUN_TEST_LOOP_f_b_tg): Likewise.
8971         (finite_test_data): New variable.
8972         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8973         (isfinite_test_data): New variable.
8974         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8975         (isinf_test_data): New variable.
8976         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8977         (isnan_test_data): New variable.
8978         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8979         (isnormal_test_data): New variable.
8980         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8981         (issignaling_test_data): New variable.
8982         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8983         (signbit_test_data): New variable.
8984         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8986         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8987         with INVALID_EXCEPTION.
8988         (acosh_test_data): Likewise.
8989         (asin_test_data): Likewise.
8990         (atanh_test_data): Likewise.
8991         (fmod_test_data): Likewise.
8992         (log_test_data): Likewise.
8993         (log10_test_data): Likewise.
8994         (log2_test_data): Likewise.
8995         (pow_test_data): Likewise.
8996         (sqrt_test_data): Likewise.
8997         (y0_test_data): Likewise.
8998         (y1_test_data): Likewise.
8999         (yn_test_data): Likewise.
9001         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9002         function contents.
9004         * math/libm-test.inc (struct test_ff_i_data): New type.
9005         (RUN_TEST_LOOP_ff_i_tg): New macro.
9006         (isgreater_test_data): New variable.
9007         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9008         (isgreaterequal_test_data): New variable.
9009         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9010         (isless_test_data): New variable.
9011         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9012         (islessequal_test_data): New variable.
9013         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9014         (islessgreater_test_data): New variable.
9015         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9016         (isunordered_test_data): New variable.
9017         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9019 2013-05-14  David S. Miller  <davem@davemloft.net>
9021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9023 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9025         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9027         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9028         extra_test to int.
9029         (struct test_f_i_data): Change type of max_ulp to int.
9031         * math/libm-test.inc (test_ffI_f1_data): New type.
9032         (RUN_TEST_LOOP_ffI_f1): New macro.
9033         (remquo_test_data): New variable.
9034         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9036         * setjmp/tst-setjmp-fp.c: New file.
9037         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9038         (link-libm): New variable.
9039         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9041         * math/libm-test.inc (struct test_f_i_data): New type.
9042         (RUN_TEST_LOOP_f_i): New macro.
9043         (RUN_TEST_LOOP_f_i_tg): Likewise.
9044         (fpclassify_test_data): New variable.
9045         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9046         (ilogb_test_data): New variable.
9047         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9049         * math/libm-test.inc (scalbln_test): Correct function name in END
9050         call.
9052         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9053         (RUN_TEST_LOOP_fI_f1): New macro.
9054         (frexp_test_data): New variable.
9055         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9057         * math/libm-test.inc (struct test_fF_f1_data): New type.
9058         (RUN_TEST_LOOP_fF_f1): New macro.
9059         (modf_test_data): New variable.
9060         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9062         * math/libm-test.inc (struct test_f_f1_data): New type.
9063         (RUN_TEST_LOOP_f_f1): New macro.
9064         (gamma_test_data): New variable.
9065         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9066         (lgamma_test_data): New variable.
9067         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9069 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9071         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9072         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9073         (main): Comment "tls" pseudo-hwcap.
9075 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9077         * math/libm-test.inc (struct test_fl_f_data): New type.
9078         (RUN_TEST_LOOP_fl_f): New variable.
9079         (scalbln_test_data): New variable.
9080         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9082         * math/libm-test.inc (struct test_fi_f_data): New type.
9083         (RUN_TEST_LOOP_fi_f): New macro.
9084         (ldexp_test_data): New variable.
9085         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9086         (scalbn_test_data): New variable.
9087         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9089         * math/libm-test.inc (struct test_c_f_data): New type.
9090         (RUN_TEST_LOOP_c_f): New macro.
9091         (cabs_test_data): New variable.
9092         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9093         (carg_test_data): New variable.
9094         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9095         (cimag_test_data): New variable.
9096         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9097         (creal_test_data): New variable.
9098         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9100         * math/libm-test.inc (struct test_if_f_data): New type.
9101         (RUN_TEST_LOOP_if_f): New macro.
9102         (jn_test_data): New variable.
9103         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9104         (yn_test_data): New variable.
9105         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9107         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9109 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9111         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9112         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9114 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9117         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9118         (bench-deps): Add bench-timing.h.
9119         * benchtests-bench-skeleton.c: Include bench-timing.h.
9120         (main): Use TIMING_* macros instead of clock_gettime.
9121         * benchtests/bench-timing.h: New file.
9123         [BZ #14582]
9124         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9125         Renamed from _LIB_VERSION.
9126         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9128 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9130         * math/libm-test.inc (struct test_fff_f_data): New type.
9131         (RUN_TEST_LOOP_fff_f): New macro.
9132         (fma_test_data): New variable.
9133         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9134         (fma_towardzero_test_data): New variable.
9135         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9136         (fma_downward_test_data): New variable.
9137         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9138         (fma_upward_test_data): New variable.
9139         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9141         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9142         (struct test_c_c_data): New type.
9143         (RUN_TEST_LOOP_c_c): New macro.
9144         (cacos_test_data): New variable.
9145         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9146         (cacosh_test_data): New variable.
9147         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9148         (casin_test_data): New variable.
9149         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9150         (casinh_test_data): New variable.
9151         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9152         (catan_test_data): New variable.
9153         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9154         (catanh_test_data): New variable.
9155         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9156         (ccos_test_data): New variable.
9157         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9158         (ccosh_test_data): New variable.
9159         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9160         (cexp_test_data): New variable.
9161         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9162         (clog_test_data): New variable.
9163         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9164         (clog10_test_data): New variable.
9165         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9166         (conj_test_data): New variable.
9167         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9168         (cproj_test_data): New variable.
9169         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9170         (csin_test_data): New variable.
9171         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9172         (csinh_test_data): New variable.
9173         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9174         (csqrt_test_data): New variable.
9175         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9176         (ctan_test_data): New variable.
9177         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9178         (ctan_tonearest_test_data): New variable.
9179         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9180         (ctan_towardzero_test_data): New variable.
9181         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9182         (ctan_downward_test_data): New variable.
9183         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9184         (ctan_upward_test_data): New variable.
9185         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9186         (ctanh_test_data): New variable.
9187         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9188         (ctanh_tonearest_test_data): New variable.
9189         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9190         (ctanh_towardzero_test_data): New variable.
9191         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9192         (ctanh_downward_test_data): New variable.
9193         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9194         (ctanh_upward_test_data): New variable.
9195         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9196         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9197         of BUILD_COMPLEX.
9199         * math/libm-test.inc (struct test_ff_f_data): New type.
9200         (struct test_ff_f_data_nexttoward): Likewise.
9201         (RUN_TEST_LOOP_2_f): New macro.
9202         (RUN_TEST_LOOP_ff_f): Likewise.
9203         (atan2_test_data): New variable.
9204         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9205         (copysign_test_data): New variable.
9206         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9207         (fdim_test_data): New variable.
9208         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9209         (fmax_test_data): New variable.
9210         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9211         (fmin_test_data): New variable.
9212         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9213         (fmod_test_data): New variable.
9214         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9215         (hypot_test_data): New variable.
9216         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9217         (nextafter_test_data): New variable.
9218         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9219         (nexttoward_test_data): New variable.
9220         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9221         (pow_test_data): New variable.
9222         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9223         (pow_tonearest_test_data): New variable.
9224         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9225         (pow_towardzero_test_data): New variable.
9226         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9227         (pow_downward_test_data): New variable.
9228         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9229         (pow_upward_test_data): New variable.
9230         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9231         (remainder_test_data): New variable.
9232         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9233         (scalb_test_data): New variable.
9234         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9235         * sysdeps/i386/fpu/libm-test-ulps: Update.
9237 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9239         * math/libm-test.inc (fma_test): Use max_value instead of local
9240         variable fltmax.
9241         (nextafter_test): Likewise.
9243         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9244         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9245         (acos_downward_test_data): New variable.
9246         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9247         (acos_upward_test_data): New variable.
9248         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9249         (acosh_test_data): New variable.
9250         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9251         (asin_test_data): New variable.
9252         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9253         (asin_tonearest_test_data): New variable.
9254         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9255         (asin_towardzero_test_data): New variable.
9256         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9257         (asin_downward_test_data): New variable.
9258         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9259         (asin_upward_test_data): New variable.
9260         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9261         (asinh_test_data): New variable.
9262         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9263         (atan_test_data): New variable.
9264         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9265         (atanh_test_data): New variable.
9266         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9267         (cbrt_test_data): New variable.
9268         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9269         (ceil_test_data): New variable.
9270         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9271         (cos_test_data): New variable.
9272         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9273         (cos_tonearest_test_data): New variable.
9274         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9275         (cos_towardzero_test_data): New variable.
9276         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9277         (cos_downward_test_data): New variable.
9278         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9279         (cos_upward_test_data): New variable.
9280         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9281         (cosh_test_data): New variable.
9282         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9283         (cosh_tonearest_test_data): New variable.
9284         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9285         (cosh_towardzero_test_data): New variable.
9286         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9287         (cosh_downward_test_data): New variable.
9288         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9289         (cosh_upward_test_data): New variable.
9290         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9291         (erf_test_data): New variable.
9292         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9293         (erfc_test_data): New variable.
9294         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9295         (exp_test_data): New variable.
9296         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9297         (exp_tonearest_test_data): New variable.
9298         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9299         (exp_towardzero_test_data): New variable.
9300         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9301         (exp_downward_test_data): New variable.
9302         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9303         (exp_upward_test_data): New variable.
9304         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9305         (exp10_test_data): New variable.
9306         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9307         (exp2_test_data): New variable.
9308         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9309         (expm1_test_data): New variable.
9310         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9311         (fabs_test_data): New variable.
9312         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9313         (floor_test_data): New variable.
9314         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9315         (j0_test_data): New variable.
9316         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9317         (j1_test_data): New variable.
9318         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9319         (log_test_data): New variable.
9320         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9321         (log10_test_data): New variable.
9322         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9323         (log1p_test_data): New variable.
9324         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9325         (log2_test_data): New variable.
9326         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9327         (logb_test_data): New variable.
9328         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9329         (logb_downward_test_data): New variable.
9330         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9331         (nearbyint_test_data): New variable.
9332         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9333         (rint_test_data): New variable.
9334         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9335         (rint_tonearest_test_data): New variable.
9336         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9337         (rint_towardzero_test_data): New variable.
9338         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9339         (rint_downward_test_data): New variable.
9340         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9341         (rint_upward_test_data): New variable.
9342         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9343         (round_test_data): New variable.
9344         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9345         (sin_test_data): New variable.
9346         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9347         (sin_tonearest_test_data): New variable.
9348         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9349         (sin_towardzero_test_data): New variable.
9350         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9351         (sin_downward_test_data): New variable.
9352         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9353         (sin_upward_test_data): New variable.
9354         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9355         (sinh_test_data): New variable.
9356         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9357         (sinh_tonearest_test_data): New variable.
9358         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9359         (sinh_towardzero_test_data): New variable.
9360         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9361         (sinh_downward_test_data): New variable.
9362         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9363         (sinh_upward_test_data): New variable.
9364         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9365         (sqrt_test_data): New variable.
9366         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9367         (tan_test_data): New variable.
9368         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9369         (tan_tonearest_test_data): New variable.
9370         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9371         (tan_towardzero_test_data): New variable.
9372         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9373         (tan_downward_test_data): New variable.
9374         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9375         (tan_upward_test_data): New variable.
9376         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9377         (tanh_test_data): New variable.
9378         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9379         (tgamma_test_data): New variable.
9380         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9381         (trunc_test_data): New variable.
9382         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9383         (y0_test_data): New variable.
9384         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9385         (y1_test_data): New variable.
9386         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9387         (significand_test_data): New variable.
9388         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9390 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9392         [BZ #12387]
9393         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9395 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9397         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9399 2013-05-10  Andreas Jaeger  <aj@suse.de>
9401         [BZ #15448]
9402         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9403         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9405 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9407         * math/gen-libm-test.pl (adjust_arg): New function.
9408         (special_functions): Handle generating output in both functions
9409         and arrays.
9410         (parse_args): Likewise.
9411         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9412         $in_func argument to parse_args.
9413         * math/libm-test.inc (struct test_f_f_data): New type.
9414         (IF_ROUND_INIT_): New macro.
9415         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9416         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9417         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9418         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9419         (ROUND_RESTORE_): Likewise.
9420         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9421         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9422         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9423         (ROUND_RESTORE_FE_UPWARD): Likewise.
9424         (RUN_TEST_LOOP_f_f): New macro.
9425         (acos_test_data): New variable.
9426         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9427         (acos_tonearest_test_data): New variable.
9428         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9430 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9432         * benchtests/bench-skeleton.c (startup): Fix coding style.
9434 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9436         [BZ #6809]
9437         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9438         negative infinity argument.
9439         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9440         negative infinity argument.
9441         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9442         negative infinity argument.
9443         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9444         domain errors.
9446 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9448         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9449         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9450         * iconv/iconv_prog.c (main): Likewise.
9451         * locale/programs/charmap-dir.c (charmap_readdir)
9452         (fopen_uncompressed): Likewise.
9453         * locale/programs/locfile.c (siblings_uncached)
9454         (write_locale_data): Use lstat64 instead of lstat.
9455         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9456         stat.
9458 2013-05-10  Andreas Jaeger  <aj@suse.de>
9460         [BZ #15395]
9461         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9462         localization.
9463         Include <locale.h>.
9465 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9467         * elf/dl-close.c (_dl_close_worker): Add comments.
9469 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9471         [BZ #15359]
9472         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9473         high part of pi/2.
9474         (__ieee754_rem_pio2l): Update comments.
9476         [BZ #15429]
9477         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9478         high part of pi/2.
9479         (__ieee754_rem_pio2l): Update comments.
9481         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9482         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9484         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9485         M_PI_4l.
9487         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9488         (M_PI_34_LOG10El): Likewise.
9489         (M_PI2_LOG10El): Likewise.
9490         (M_PI4_LOG10El): Likewise.
9491         (M_PI_LOG10El): Likewise.
9493 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9497 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9499         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9500         (MINUS_ZERO_INIT): Likewise.
9501         (PLUS_INFTY_INIT): Likewise.
9502         (MINUS_INFTY_INIT): Likewise.
9503         (QNAN_VALUE_INIT): Likewise.
9504         (MAX_VALUE_INIT): Likewise.
9505         (MIN_VALUE_INIT): Likewise.
9506         (MIN_SUBNORM_VALUE_INIT): Likewise.
9507         (plus_zero): Initialize with PLUS_ZERO_INIT.
9508         (minus_zero): Initialize with MINUS_ZERO_INIT.
9509         (plus_infty): Initialize with PLUS_INFTY_INIT.
9510         (minus_infty): Initialize with MINUS_INFTY_INIT.
9511         (qnan_value): Initialize with QNAN_VALUE_INIT.
9512         (max_value): Initialize with MAX_VALUE_INIT.
9513         (min_value): Initialize with MIN_VALUE_INIT.
9514         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9516         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9517         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9518         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9519         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9521         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9522         (RUN_TEST_2_f): Likewise.
9523         (RUN_TEST_ff_f): Likewise.
9524         (RUN_TEST_fi_f): Likewise.
9525         (RUN_TEST_fl_f): Likewise.
9526         (RUN_TEST_fff_f): Likewise.
9527         (RUN_TEST_c_f): Likewise.
9528         (RUN_TEST_f_f1): Likewise.
9529         (RUN_TEST_fF_f1): Likewise.
9530         (RUN_TEST_fI_f1): Likewise.
9531         (RUN_TEST_ffI_f1): Likewise.
9532         (RUN_TEST_c_c): Likewise.
9533         (RUN_TEST_cc_c): Likewise.
9534         (RUN_TEST_f_i): Likewise.
9535         (RUN_TEST_f_i_tg): Likewise.
9536         (RUN_TEST_ff_i_tg): Likewise.
9537         (RUN_TEST_f_b): Likewise.
9538         (RUN_TEST_f_b_tg): Likewise.
9539         (RUN_TEST_f_l): Likewise.
9540         (RUN_TEST_f_L): Likewise.
9541         (RUN_TEST_sincos): Likewise.
9542         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9543         whether to show exceptions.  Do not include ");\n" in return
9544         value.
9545         (special_functions): Output call to RUN_TEST_sincos instead of
9546         check_float calls.  Update calls to new_test.
9547         (parse_args): Output call to single RUN_TEST_* macro instead of
9548         check_* calls and other assignments.  Update calls to new_test.
9550         [BZ #2546]
9551         [BZ #2560]
9552         [BZ #5159]
9553         [BZ #15426]
9554         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9555         input to result for tgamma overflow.
9556         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9557         (gamma_coeff): New variable.
9558         (NCOEFF): New macro.
9559         (gamma_positive): New function.
9560         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9561         underflow here.  Use gamma_positive instead of exp (lgamma) for
9562         other arguments.
9563         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9564         (gamma_coeff): New variable.
9565         (NCOEFF): New macro.
9566         (gammaf_positive): New function.
9567         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9568         underflow here.  Use gamma_positive instead of exp (lgamma) for
9569         other arguments.
9570         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9571         (gamma_coeff): New variable.
9572         (NCOEFF): New macro.
9573         (gammal_positive): New function.
9574         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9575         underflow here.  Use gamma_positive instead of exp (lgamma) for
9576         other arguments.
9577         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9578         (gamma_coeff): New variable.
9579         (NCOEFF): New macro.
9580         (gammal_positive): New function.
9581         (__ieee754_gammal_r): Handle positive infinity, overflow and
9582         underflow here.  Handle NaN the same as positive infinity.  Remove
9583         check x < 0xffffffff for negative integers.  Use gamma_positive
9584         instead of exp (lgamma) for other arguments.
9585         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9586         (gamma_coeff): New variable.
9587         (NCOEFF): New macro.
9588         (gammal_positive): New function.
9589         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9590         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9591         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9592         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9593         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9594         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9595         * sysdeps/generic/math_private.h (__gamma_productf): New
9596         prototype.
9597         (__gamma_product): Likewise.
9598         (__gamma_productl): Likewise.
9599         * math/Makefile (libm-calls): Add gamma_product.
9600         * math/libm-test.inc (tgamma_test): Add more tests.
9601         * sysdeps/i386/fpu/libm-test-ulps: Update.
9602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9604 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9606         * benchtests/bench-skeleton.c (main): Preheat CPU.
9608 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9610         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9612 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9614         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9615         and _dl_skip_args_internal.
9617 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9619         * manual/message.texi (Message Translation): Talk about users.
9620         Message to key mapping impacts design.
9622 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9624         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9626         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9628         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9629         * sysdeps/wordsize-64/glob64.c: ... here.
9631         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9632         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9633         New macros.
9635         * debug/getlogin_r_chk.c: Moved to ...
9636         * login/getlogin_r_chk.c: ... here.
9637         * debug/Makefile (routines): Move getlogin_r_chk to ...
9638         * login/Makefile (routines): ... here.
9639         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9640         * login/Versions (libc: GLIBC_2.4): ... here.
9642         * io/poll.c (__poll): Renamed from poll.
9643         Add libc_hidden_def.
9644         (poll): Define as weak alias.
9646         * debug/ptsname_r_chk.c: Moved to ...
9647         * login/ptsname_r_chk.c: ... here.
9648         * debug/Makefile (routines): Move ptsname_r_chk to ...
9649         * login/Makefile (routines): ... here.
9650         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9651         * login/Versions (libc: GLIBC_2.4): ... here.
9653         * posix/getlogin.c: Moved to ...
9654         * login/getlogin.c: ... here.
9655         * posix/getlogin_r.c: Moved to ...
9656         * login/getlogin_r.c: ... here.
9657         * posix/getlogin_r.c: Moved to ...
9658         * login/getlogin_r.c: ... here.
9659         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9660         * login/Makefile (routines): ... here.
9661         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9662         * login/Versions (libc: GLIBC_2.0): ... here.
9664         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9665         (setrlimit): Define as weak alias.
9667         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9668         Call __ names for open, ftruncate, and close.
9669         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9670         (truncate): Define as weak alias.
9672 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9674         * math/gen-libm-test.pl (parse_args): Initialize x before each
9675         test of frexp, modf and remquo.
9677         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9678         test signgam value.
9680 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9682         [BZ #15418]
9683         [BZ #15419]
9684         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9685         internal tests.
9686         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9688 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9690         * elf/dl-writev.h: New file.
9691         * elf/dl-misc.c: Include it.
9692         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9693         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9695 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9697         * math/libm-test.inc (noXFails): Remove variable.
9698         (noXPasses): Likewise.
9699         (BUILD_COMPLEX_INT): Remove macro.
9700         (print_screen): Remove xfail argument.
9701         (print_screen_max_error): Likewise.
9702         (update_stats): Likewise.
9703         (print_max_error): Likewise.  Update calls to other affected
9704         functions.
9705         (print_complex_max_error): Likewise.
9706         (test_single_exception): Update calls to print_screen.
9707         (test_single_errno): Likewise.
9708         (check_float_internal): Remove xfail argument.  Update calls to
9709         other affected functions.
9710         (check_float): Likewise.
9711         (check_complex): Likewise.
9712         (check_int): Likewise.
9713         (check_long): Likewise.
9714         (check_bool): Likewise.
9715         (check_longlong): Likewise.
9716         (main): Don't print noXFails and noXPasses.
9717         * math/gen-libm-test.pl (top level): Don't mention expected
9718         failure handling in comment.
9719         (new_test): Don't handle expected failures.
9720         (parse_args): Don't mention expected failure handling in comment.
9721         (generate_testfile): Don't handle expected failures.
9722         (parse_ulps): Likewise.
9723         (print_ulps_file): Likewise.
9724         (get_failure): Remove function.
9725         (output_test): Don't handle expected failures.
9726         * make/README.libm-test: Don't mention expected failure handling.
9728         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9729         (minus_zero): Likewise.
9730         (plus_infty): Likewise.
9731         (minus_infty): Likewise.
9732         (qnan_value): Likewise.
9733         (max_value): Likewise.
9734         (min_value): Likewise.
9735         (min_subnorm_value): Likewise.
9736         (initialize): Do not initialize those variables dynamically.
9738 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9740         * io/open.c (__open_2): Moved to ...
9741         * io/open_2.c: ... this new file.
9742         * io/open64.c (__open64_2): Moved to ...
9743         * io/open64_2.c: ... this new file.
9744         * io/openat.c (__openat_2): Moved to ...
9745         * io/openat_2.c: ... this new file.
9746         * io/openat64.c (__openat64_2): Moved to ...
9747         * io/openat64_2.c: ... this new file.
9748         * io/Makefile (routines): Add them.
9749         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9750         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9751         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9752         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9753         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9754         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9755         (__openat64): Add hidden_ver.
9756         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9757         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9759         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9760         Separately conditionalize setting of GLRO(dl_sysinfo) so
9761         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9762         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9764 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9766         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9767         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9768         definition.
9769         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9770         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9771         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9772         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9773         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9775 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9777         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9778         test signgam value.
9780         * math/libm-test.inc (hypot_test): Do not use
9781         IGNORE_ZERO_INF_SIGN.
9783 2013-05-03  Andreas Jaeger  <aj@suse.de>
9785         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9786         Linux 3.9.
9787         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9788         (PF_MAX): Adjust for VSOCK change.
9790 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9794 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9796         [BZ #15264]
9797         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9798         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9799         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9801 2013-05-02  David S. Miller  <davem@davemloft.net>
9803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9805 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9807         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9809 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9811         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9813 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9815         [BZ #14952]
9816         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9817         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9818         Use __attribute__ ((__gnu_inline__)).
9819         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9820         Don't use __attribute__ ((__gnu_inline__)).
9822 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9824         [BZ #15423]
9825         * math/s_catan.c (__catan): Handle small real or imaginary part of
9826         input specially to avoid spurious underflow.
9827         * math/s_catanf.c (__catanf): Likewise.
9828         * math/s_catanh.c (__catanh): Likewise.
9829         * math/s_catanhf.c (__catanhf): Likewise.
9830         * math/s_catanhl.c (__catanhl): Likewise.
9831         * math/s_catanl.c (__catanl): Likewise.
9832         * math/libm-test.inc (catan_test): Add more tests.
9833         (catanh_test): Likewise.
9834         * sysdeps/i386/fpu/libm-test-ulps: Update.
9835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9837 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9841 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9843         [BZ #15416]
9844         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9845         accurately for denominator in atan2.
9846         * math/s_catanf.c (__catanf): Likewise.
9847         * math/s_catanh.c (__catanh): Likewise.
9848         * math/s_catanhf.c (__catanhf): Likewise.
9849         * math/s_catanhl.c (__catanhl): Likewise.
9850         * math/s_catanl.c (__catanl): Likewise.
9851         * math/libm-test.inc (catan_test): Add more tests.
9852         (catanh_test): Likewise.
9853         * sysdeps/i386/fpu/libm-test-ulps: Update.
9854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9856 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9858         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9860         * benchtests/Makefile (bench): Remove slow benchmarks.
9861         * benchtests/atan-inputs: Add slow benchmark inputs.
9862         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9863         (BENCH_FUNC): Accept variant offset.
9864         (VARIANT): Define.
9865         * benchtests/bench-skeleton.c (main): Run benchmark for each
9866         variant.
9867         * benchtests/cos-inputs: Add slow benchmark inputs.
9868         * benchtests/exp-inputs: Likewise.
9869         * benchtests/pow-inputs: Likewise.
9870         * benchtests/sin-inputs: Likewise.
9871         * benchtests/slowatan-inputs: Remove.
9872         * benchtests/slowatan.c: Remove.
9873         * benchtests/slowcos-inputs: Remove.
9874         * benchtests/slowcos.c: Remove.
9875         * benchtests/slowexp-inputs: Remove.
9876         * benchtests/slowexp.c: Remove.
9877         * benchtests/slowpow-inputs: Remove.
9878         * benchtests/slowpow.c: Remove.
9879         * benchtests/slowsin-inputs: Remove.
9880         * benchtests/slowsin.c: Remove.
9881         * benchtests/slowtan-inputs: Remove.
9882         * benchtests/slowtan.c: Remove.
9883         * benchtests/tan-inputs: Add slow benchmark inputs.
9884         * scripts/bench.pl: Parse comments and directives.
9886         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9887         in CPPFLAGS.
9888         ($(objpfx)bench-%.c): Remove *-ITER.
9889         * benchtests/bench-modf.c: Remove definition of ITER.
9890         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9891         (main): Loop for DURATION seconds instead of fixed number of
9892         iterations.
9893         * scripts/bench.pl: Don't expect iterations in parameters.
9895 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9897         * io/fchdir.c (__fchdir): Renamed from fchdir.
9898         (fchdir): Define as weak alias.
9900 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9902         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9903         (ERRNO_EDOM): Likewise.
9904         (ERRNO_ERANGE): Likewise.
9905         (noErrnoTests): New variable.
9906         (init_max_error): Set errno to 0.
9907         (test_single_errno): New function.
9908         (test_errno): Likewise.
9909         (check_float_internal): Call test_errno.  Set errno to 0.
9910         (check_complex): Refer to errno tests in comment.
9911         (check_int): Call test_errno.  Set errno to 0.
9912         (check_long): Likewise.
9913         (check_bool): Likewise.
9914         (check_longlong): Likewise.
9915         (cos_test): Use ERRNO_* flags for errno tests instead of
9916         check_int.
9917         (expm1_test): Likewise.
9918         (fmod_test): Likewise.
9919         (ilogb_test): Likewise.
9920         (lgamma_test): Likewise.
9921         (pow_test): Likewise.
9922         (remainder_test): Likewise.
9923         (sin_test): Likewise.
9924         (tan_test): Likewise.
9925         (yn_test): Likewise.
9926         (initialize): Set errno to 0.
9927         (main): Print number of errno tests.
9928         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9930 2013-04-29  Andreas Jaeger  <aj@suse.de>
9932         [BZ #15084]
9933         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9934         and RES_USEVC.
9936         [BZ #15085]
9937         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9938         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9939         unimplemented.
9941         [BZ #15380]
9942         * stdlib/random.c (__initstate): Return NULL if
9943         __initstate fails.
9945         [BZ #15086]
9946         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9947         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9948         RES_SNGLKUPREOP.
9950 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9954 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9956         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9957         of individual tests.
9958         (casin_test): Likewise.
9959         (casinh_test): Likewise.
9961 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9963         [BZ #15409]
9964         * math/s_catan.c (__catan): Handle arguments with large real or
9965         imaginary part separately without squaring.
9966         * math/s_catanf.c (__catanf): Likewise.
9967         * math/s_catanh.c (__catanh): Likewise.
9968         * math/s_catanhf.c (__catanhf): Likewise.
9969         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9970         and redefine.
9971         (__catanhl): Handle arguments with large real or imaginary part
9972         separately without squaring.
9973         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9974         and redefine.
9975         (__catanl): Handle arguments with large real or imaginary part
9976         separately without squaring.
9977         * math/libm-test.inc (catan_test): Add more tests.
9978         (catanh_test): Likewise.
9979         * sysdeps/i386/fpu/libm-test-ulps: Update.
9980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9982 2013-04-27  Andreas Jaeger  <aj@suse.de>
9984         [BZ #15007]
9985         * stdlib/stdlib.h: Update guards for qecvt.
9986         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9987         <stdlib.h>.
9989 2013-04-27  Allan McRae  <allan@archlinux.org>
9991         * sysdeps/i386/fpu/libm-test-ulps: Update.
9993 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9995         [BZ #15406]
9996         * math/s_catan.c: Include <float.h>.
9997         (__catan): Ensure underflow exception occurs for underflowed
9998         result.
9999         * math/s_catanf.c: Include <float.h>.
10000         (__catanf): Ensure underflow exception occurs for underflowed
10001         result.
10002         * math/s_catanh.c: Include <float.h>.
10003         (__catanh): Ensure underflow exception occurs for underflowed
10004         result.
10005         * math/s_catanhf.c: Include <float.h>.
10006         (__catanhf): Ensure underflow exception occurs for underflowed
10007         result.
10008         * math/s_catanhl.c: Include <float.h>.
10009         (__catanhl): Ensure underflow exception occurs for underflowed
10010         result.
10011         * math/s_catanl.c: Include <float.h>.
10012         (__catanl): Ensure underflow exception occurs for underflowed
10013         result.
10014         * math/libm-test.inc (catan_test): Add more tests.
10015         (catanh_test): Likewise.
10017         [BZ #15405]
10018         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10019         underflowed result.
10020         * math/s_ccoshf.c (__ccoshf): Likewise.
10021         * math/s_ccoshl.c (__ccoshl): Likewise.
10022         * math/s_csin.c (__csin): Likewise.
10023         * math/s_csinf.c (__csinf): Likewise.
10024         * math/s_csinh.c (__csinh): Likewise.
10025         * math/s_csinhf.c (__csinhf): Likewise.
10026         * math/s_csinhl.c (__csinhl): Likewise.
10027         * math/s_csinl.c (__csinl): Likewise.
10028         * math/libm-test.inc (ccos_test): Add more tests.
10029         (ccosh_test): Likewise.
10030         (csin_test): Likewise.
10031         (csinh_test): Likewise.
10033 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10035         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10036         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10037         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10038         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10039         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10040         powerpc/power5+/fpu folders.
10041         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10044 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10048 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10050         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10051         additions to variable.
10052         [$(config-machine) = x86_64] (modules-names): Likewise.
10053         ($(objpfx)tst-audit3): Remove dependency.
10054         ($(objpfx)tst-audit3.out): Likewise.
10055         ($(objpfx)tst-audit4): Likewise.
10056         ($(objpfx)tst-audit4.out): Likewise.
10057         ($(objpfx)tst-audit5): Likewise.
10058         ($(objpfx)tst-audit5.out): Likewise.
10059         ($(objpfx)tst-audit6): Likewise.
10060         ($(objpfx)tst-audit6.out): Likewise.
10061         ($(objpfx)tst-audit7): Likewise.
10062         ($(objpfx)tst-audit7.out): Likewise.
10063         (tst-audit3-ENV): Remove variable.
10064         (tst-audit4-ENV): Likewise.
10065         (tst-audit5-ENV): Likewise.
10066         (tst-audit6-ENV): Likewise.
10067         (tst-audit7-ENV): Likewise.
10068         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10069         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10070         addition to variable.
10071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10075         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10076         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10077         tst-audit3, tst-audit4 and tst-audit5.
10078         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10079         tst-audit6 and tst-audit7.
10080         [$(subdir) = elf] (modules-names): Add audit modules for those
10081         tests.
10082         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10083         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10084         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10085         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10086         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10087         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10088         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10089         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10090         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10091         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10092         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10093         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10094         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10095         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10096         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10097         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10098         Likewise.
10099         [$(subdir) = elf && $(config-cflags-avx) = yes]
10100         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10101         [$(subdir) = elf && $(config-cflags-avx) = yes]
10102         (CFLAGS-tst-auditmod4a.c): Likewise.
10103         [$(subdir) = elf && $(config-cflags-avx) = yes]
10104         (CFLAGS-tst-auditmod4b.c): Likewise.
10105         [$(subdir) = elf && $(config-cflags-avx) = yes]
10106         (CFLAGS-tst-auditmod6b.c): Likewise.
10107         [$(subdir) = elf && $(config-cflags-avx) = yes]
10108         (CFLAGS-tst-auditmod6c.c): Likewise.
10109         [$(subdir) = elf && $(config-cflags-avx) = yes]
10110         (CFLAGS-tst-auditmod7b.c): Likewise.
10111         * elf/tst-audit3.c: Move to ...
10112         * sysdeps/x86_64/tst-audit3.c: ... here.
10113         * elf/tst-audit4.c: Move to ...
10114         * sysdeps/x86_64/tst-audit4.c: ... here.
10115         * elf/tst-audit5.c: Move to ...
10116         * sysdeps/x86_64/tst-audit5.c: ... here.
10117         * elf/tst-audit6.c: Move to ...
10118         * sysdeps/x86_64/tst-audit6.c: ... here.
10119         * elf/tst-audit7.c: Move to ...
10120         * sysdeps/x86_64/tst-audit7.c: ... here.
10121         * elf/tst-auditmod3a.c: Move to ...
10122         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10123         * elf/tst-auditmod3b.c: Move to ...
10124         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10125         * elf/tst-auditmod4a.c: Move to ...
10126         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10127         * elf/tst-auditmod4b.c: Move to ...
10128         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10129         * elf/tst-auditmod5a.c: Move to ...
10130         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10131         * elf/tst-auditmod5b.c: Move to ...
10132         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10133         * elf/tst-auditmod6a.c: Move to ...
10134         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10135         * elf/tst-auditmod6b.c: Move to ...
10136         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10137         * elf/tst-auditmod6c.c: Move to ...
10138         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10139         * elf/tst-auditmod7a.c: Move to ...
10140         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10141         * elf/tst-auditmod7b.c: Move to ...
10142         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10144 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10146         [BZ #15366]
10147         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10148         define unconditionally.
10149         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10150         define unconditionally.
10151         (INT8_C, INT16_C, etc.): Likewise.
10153 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10155         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10156         __ehdr_start with hidden visibility.
10158         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10160 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10162         * math/libm-test.inc (cos_test): Use accurate hex constants.
10163         (sincost_test): Likewise.
10165 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10167         * math/libm-test.inc (catan_test): Add more tests.
10168         (catanh_test): Likewise.
10170         * math/s_catanf.c (__catanf): Use suffixed floating-point
10171         constants.
10172         * math/s_catanhf.c (__catanhf): Likewise.
10173         * math/s_catanhl.c (__catanhl): Likewise.
10174         * math/s_catanl.c (__catanl): Likewise.
10176         [BZ #15394]
10177         * math/s_catan.c (__catan): Calculate imaginary part of result
10178         with log1p not log unless computing log of number close to 0.
10179         * math/s_catanf.c (__catanf): Likewise.
10180         * math/s_catanl.c (__catanl): Likewise.
10181         * math/s_catanh.c (__catanh): Calculate real part of result with
10182         log1p not log unless computing log of number close to 0.
10183         * math/s_catanhf.c (__catanhf): Likewise.
10184         * math/s_catanhl.c (__catanhl): Likewise.
10185         * math/libm-test.inc (catan_test): Add more tests.
10186         (catanh_test): Likewise.
10187         * sysdeps/i386/fpu/libm-test-ulps: Update.
10188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10190 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10192         * benchtests/Makefile: Mention files in which fast and slow
10193         paths of math functions are implemented.
10195 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10197         * sysdeps/posix/timespec_get.c: New file.
10199 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10201         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10202         POWER.
10203         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10204         for POWER.
10205         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10206         powerpc/power5/fpu folders.
10207         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10208         * benchtests/Makefile: Add modf testcase.
10209         * benchtests/bench-modf.c: New file: Benchmark test for mo
10211 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10213         [BZ #14888]
10214         * time/Makefile (tests): Add tst-strptime-whitespace.
10215         * time/strptime_l.c (get_number): Use ISSPACE.
10216         (__strptime_internal): Likewise.
10217         * time/tst-strptime-whitespace.c: New test case.
10219 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10221         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10222         member.
10223         (_nss_files_init): Set it here.
10225 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10227         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10228         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10229         unsigned.
10231 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10233         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10235 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10237         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10238         size just once.
10240 2013-04-21  David S. Miller  <davem@davemloft.net>
10242         * po/ru.po: Update Russion translation from translation project.
10244 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10246         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10247         and setfsgid.
10249 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10251         * configure.in: Remove i386 configure warning. Remove i386 case.
10252         * configure: Regenerate.
10253         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10254         Add example to error message.
10255         * sysdeps/i386/configure: Regenerate.
10257 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10259         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10260         slowtan.
10261         * benchtests/cos-inputs: New file.
10262         * benchtests/slowcos-inputs: New file.
10263         * benchtests/slowcos.c: New file.
10264         * benchtests/slowtan-inputs: New file.
10265         * benchtests/slowtan.c: New file.
10266         * benchtests/tan-inputs: New file.
10268 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10270         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10271         considered kosher.
10273 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10275         * benchtests/Makefile: Include cppflags-iterator.mk to add
10276         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10278         * Makefile.in (bench-clean): New target.
10279         * benchtests/Makefile (bench-clean): Likewise.
10281 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10283         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10285 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10287         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10289 2013-04-15  Andreas Schwab  <schwab@suse.de>
10291         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10292         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10293         * nscd/pwdcache.c (cache_addpw): Likewise.
10294         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10295         more than recsize.
10297 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * benchtests/Makefile (bench): Write all output to
10300         bench-out.tmp together.
10302 2013-04-15  Andreas Schwab  <schwab@suse.de>
10304         * nscd/nscd.c (main): Don't fork again after closing files.
10306 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10308         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10310         * benchtests/Rules (bench-deps): Collect dependencies into a
10311         single variable.  Add Makefile to dependencies.
10312         ($(objpfx)bench-%.c): Depend on bench-deps.
10314 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10315             Xavier Roche  <roche+kml2@exalead.com>
10317         [BZ #15361]
10318         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10319         just that it's a file descriptor.
10320         * manual/llio.texi (Synchronizing AIO Operations): Update description
10321         for EBADF error from aio_fsync.
10323 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10325         * Rules (bench): Move target definition...
10326         * benchtests/Makefile: ... here.
10328 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10330         * math/libm-test.inc (cos_test): Fix PI/2 test.
10331         (sincos_test): Likewise.
10332         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10333         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10335 2013-04-11  Andreas Schwab  <schwab@suse.de>
10337         [BZ #13988]
10338         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10339         accept exponent character only when digits were seen.
10340         * stdio-common/Makefile (tests): Add bug26.
10341         * stdio-common/bug26.c: New file.
10343         [BZ #14293]
10344         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10345         non-freeable.
10347 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10349         * Makeconfig (rtld-prefix): Define built linker prefix.
10350         * Rules (run-bench): Use it.
10351         * math/Makefile (run-regen-ulps): Likewise.
10353         * Rules (bench): Remove eval.
10355 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10356             Roland McGrath  <roland@hack.frob.com>
10357             Ondrej Bilka  <neleai@seznam.cz>
10359         [BZ #15346]
10360         * time/getdate.c: Include ctype.h and alloca.h.
10361         (__getdate_r): Trim leading and trailing spaces of input.
10362         * time/tst-getdate.c (tests): Add tests with leading and
10363         trailing spaces.
10365 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10367         [BZ #14280]
10368         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10369         when computing value.
10371 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10373         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10374         Use testrun.sh to run libm tests.
10376         [BZ #15309]
10377         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10379 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10381         [BZ #15264]
10382         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10384 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10386         * Makefile.in (regen-ulps): New target.
10387         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10388         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10389         [ifneq (no,$(PERL)] (regen-ulps): New target.
10390         [ifeq (no,$(PERL)] (regen-ulps): New target.
10391         * math/libm-test.inc (ulps_file_name): Define.
10392         (output_dir): New variable.
10393         (options): Add "output-dir" option.
10394         (parse_opt): Handle 'o' case.
10395         (main): If output_dir is non-NULL use it as a prefix
10396         otherwise use "".
10397         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10399 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10401         [BZ #10060, #10062]
10402         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10403         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10404         fail configure if __sync_val_compare_and_swap is not inlined.
10405         * sysdeps/i386/configure: Regenerate.
10406         * configure.in: Build for i686 when configured for i386.
10407         * configure: Regenerate.
10408         * README: Remove i386 reference.
10410 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10412         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10413         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10415 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10417         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10418         (lmsnanval): New variables.
10419         (F): Add conversion tests.
10420         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10421         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10423         * stdio-common/tstdiomisc.c (F): Properly collect individual
10424         tests' results.
10426         [BZ #14686, #15336]
10427         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10428         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10429         Instead, use input NaN values or generate a qNaN by arithmetic
10430         operation.  Also fix bugs to comply with the standard.
10431         * math/libm-test.inc (remainder_test): Add more tests.
10433         [BZ #15335, #15342]
10434         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10436         input NaN values or generate a qNaN by arithmetic operation.
10438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10439         unreachable code.
10441         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10442         definitions.
10444 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10446         [BZ #14478]
10447         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10448         underflowed result.
10449         * math/s_cexpf.c (__cexpf): Likewise.
10450         * math/s_cexpl.c (__cexpl): Likewise.
10451         * math/libm-test.inc (cexp_test): Add more tests.
10453 2013-04-03  Andreas Schwab  <schwab@suse.de>
10455         [BZ #15330]
10456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10457         order arrays from heap if bigger than alloca cutoff.
10459 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10461         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10462         (SNAN_TESTS_double): Refer to GCC PR56831.
10463         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10464         GCC PR56828.
10466 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10468         * Rules (bench): Move bench.out after the run is complete.
10470         * Rules (bench): Echo currently running benchmark.
10472         * benchtests/Makefile (bench): Add atan and slowatan.
10473         * benchtests/atan-inputs: New file.
10474         * benchtests/slowatan-inputs: New file.
10475         * benchtests/slowatan.c: New file.
10477         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10478         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10479         its value.
10481         [BZ #15305]
10482         * sysdeps/unix/sysv/linux/kernel-features.h
10483         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10484         __ASSUME_XFS_RESTRICTED_CHOWN.
10485         * sysdeps/unix/sysv/linux/pathconf.c
10486         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10487         Save and restore errno.
10489 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10491         [BZ #15327]
10492         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10493         arguments using __kernel_casinh.
10494         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10495         arguments using __kernel_casinhf.
10496         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10497         arguments using __kernel_casinhl.
10498         * math/libm-test.inc (cacosh_test): Add more tests.
10499         * sysdeps/i386/fpu/libm-test-ulps: Update.
10500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10502 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10504         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10505         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10507         * bench/Makefile (bench): Add sin and slowsin.
10508         * benchtests/sin-inputs: New file.
10509         * benchtests/slowsin-inputs: New file.
10510         * benchtests/slowsin.c: New file.
10512         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10513         (bench): Add slowexp and slowpow.
10514         (exp-ITER): Increase iterations.
10515         (pow-ITER): Likewise.
10516         * benchtests/exp-inputs: Change input.
10517         * benchtests/pow-inputs: Likewise.
10518         * benchtests/slowexp-inputs: New file.
10519         * benchtests/slowexp.c: New file.
10520         * benchtests/slowpow-inputs: New file.
10521         * benchtests/slowpow.c: New file.
10523 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10525         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10526         instructions.
10527         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10528         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10529         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10530         * benchtests/Makefile: Add rint benchtest.
10531         * benchtests/rint-inputs: Input for rint benchtest.
10533 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10535         * Versions.def (libm): Add GLIBC_2.18.
10536         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10537         hidden libm prototypes.
10538         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10539         * math/Makefile (libm-calls): Add s_issignaling.
10540         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10541         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10542         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10543         declaration.
10544         * math/math.h [__USE_GNU] (issignaling): New macro.
10545         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10546         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10547         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10548         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10549         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10550         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10551         * manual/arith.texi (issignaling): New section.
10552         * manual/libm-err-tab.pl (@all_functions): Update comment.
10553         * math/gen-libm-test.pl (parse_args): Apply special handling for
10554         issignaling.
10555         * math/libm-test.inc (print_float, issignaling_test): New
10556         functions.
10557         (check_float_internal): Add issignaling checks.
10558         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10559         default definition.
10560         * sysdeps/powerpc/math-tests.h: New file.
10561         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10562         tests.
10563         * math/test-snan.c (TEST_FUNC): Likewise.
10565 2013-03-30  David S. Miller  <davem@davemloft.net>
10567         * po/de.po: Update from translation team.
10569 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10571         [BZ #10357]
10572         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10573         imaginary part less than 1.0 and real part less than 0.5
10574         specially.
10575         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10576         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10577         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10578         (cacos_test): Add more tests.
10579         (casin_test): Likewise.
10580         (casinh_test): Likewise.
10581         * sysdeps/i386/fpu/libm-test-ulps: Update.
10582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10584 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10586         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10587         ONE with its value.
10589         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10590         (__pow_mp): Replace ONE and MONE with their values.
10591         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10593         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10594         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10595         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10596         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10598         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10600         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10601         (__pow_mp): Replace ZERO and MZERO with their values.
10602         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10604         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10606         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10607         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10608         (__sqr): Likewise.
10610         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10612         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10614 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10616         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10617         Declare with __attribute__ ((weak)).
10618         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10619         Call __call_tls_dtors only if it's not NULL.
10621 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10623         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10624         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10625         magic __ehdr_start linker symbol if it's defined.
10626         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10627         them up here if it was already done.
10629         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10630         (_dl_aux_init): Use const in cast when setting it.
10631         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10632         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10633         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10635         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10636         Declare them here.
10637         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10638         * csu/libc-tls.c: Nor here.
10639         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10641         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10642         (__libc_message): Never call vsyslog.
10644 2013-03-28  Alan Modra  <amodra@gmail.com>
10646         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10647         Define as empty.
10648         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10649         Likewise.
10651 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10653         [BZ #15214]
10654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10655         underflow.
10656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10658 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10660         [BZ #15304]
10661         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10662         Don't add gid passed as argument.
10664         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10666 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10668         [BZ #15307]
10669         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10670         imaginary part between 1.0 and 1.5 and real part less than 0.5
10671         specially.
10672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10674         * math/libm-test.inc (cacos_test): Add more tests.
10675         (casin_test): Likewise.
10676         (casinh_test): Likewise.
10677         * sysdeps/i386/fpu/libm-test-ulps: Update.
10678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10680 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10682         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10683         constants.
10684         (norm): Likewise.
10685         (denorm): Likewise.
10686         (__dbl_mp): Likewise.
10687         (add_magnitudes): Likewise.
10688         (sub_magnitudes): Likewise.
10689         (__add): Likewise.
10690         (__sub): Likewise.
10691         (__mul): Likewise.
10692         (__sqr): Likewise.
10693         (__inv): Likewise.
10694         (__dvd): Likewise.
10696         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10697         commented code.
10698         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10699         (__dubcos): Likewise.
10700         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10701         (__ieee754_acos): Likewise.
10702         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10703         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10704         (__exp1): Likewise.
10705         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10707         (log1): Likewise.
10708         (my_log2): Likewise.
10709         (checkint): Likewise.
10710         * sysdeps/ieee754/dbl-64/e_remainder.c
10711         (__ieee754_remainder): Likewise.
10712         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10714         (bsloww): Likewise.
10715         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10717         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10718         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10719         MANTISSA_STORE_T to store computations on mantissa.  Use
10720         macros for rounding and division.
10721         (denorm): Likewise.
10722         (__dbl_mp): Likewise.
10723         (add_magnitudes): Likewise.
10724         (sub_magnitudes): Likewise.
10725         (__mul): Likewise.
10726         (__sqr): Likewise.
10727         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10728         powers of two in terms of TWOPOW macro.
10729         (mp_no): Make type of mantissa as MANTISSA_T.
10730         [!RADIXI]: Define RADIXI.
10731         [!TWO52]: Define TWO52.
10732         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10734 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10736         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10737         llroundl symbol when building for PPC32.
10739 2013-03-24  Mark H Weaver  <mhw@netris.org>
10741         * manual/arith.texi (Normalization Functions): Fix prototypes for
10742         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10744 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10746         [BZ #13889]
10747         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10748         high value to check if expl overflow.
10749         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10750         to check for underflow and overflow.
10751         * math/libm-test.inc: Add exp test.
10753 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10755         [BZ #11120]
10756         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10757         with NOT_IN_libc.
10759 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10761         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10762         symbol.
10764 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10766         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10767         wrap blocks consisting of several statements.
10769         * sysdeps/generic/math-tests.h: New file.
10770         * sysdeps/i386/fpu/math-tests.h: Likewise.
10771         * math/test-snan.c: Include it.
10772         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10774 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10776         [BZ #15285]
10777         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10778         (__ieee754_j0l): Do not improve calculations using cos of twice
10779         input for inputs above LDBL_MAX / 2.0L.
10780         (__ieee754_y0l): Likewise.
10781         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10782         (__ieee754_j1l): Do not improve calculations using cos of twice
10783         input for inputs above LDBL_MAX / 2.0L.
10784         (__ieee754_y1l): Likewise.
10785         * math/libm-test.inc (j0_test): Add another test.
10786         (j1_test): Likewise.
10787         (y0_test): Likewise.
10788         (y1_test): Likewise.
10789         * sysdeps/i386/fpu/libm-test-ulps: Update.
10791 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10793         * Rules ($(objpfx)bench-%.c): Include code from a C source
10794         file.
10796 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10798         [BZ #15287]
10799         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10800         imaginary part 1.0 and real part less than 0.5 specially.
10801         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10802         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10803         * math/libm-test.inc (cacos_test): Add more tests.
10804         (casin_test): Likewise.
10805         (casinh_test): Likewise.
10806         * sysdeps/i386/fpu/libm-test-ulps: Update.
10807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10809 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10811         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10812         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10814 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10816         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10817         * config.make.in (config-cflags-sse4): Remove variable.
10818         (config-cflags-avx): Likewise.
10819         (config-cflags-sse2avx): Likewise.
10820         (config-cflags-novzeroupper): Likewise.
10821         (config-asflags-i686): Likewise.
10822         (have-mfma4): Likewise.
10823         (have-as-vis3): Likewise.
10824         (MIG): Likewise.
10825         * configure.in (MIG): Do not AC_SUBST.
10826         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10827         (libc_cv_cc_sse4): Do not AC_SUBST.
10828         (libc_cv_cc_avx): Likewise.
10829         (libc_cv_cc_sse2avx): Likewise.
10830         (libc_cv_cc_novzeroupper): Likewise.
10831         (libc_cv_cc_fma4): Likewise.
10832         (libc_cv_as_i686): Likewise.
10833         (libc_cv_sparc_as_vis3): Likewise.
10834         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10835         LIBC_CONFIG_VAR.
10836         (config-asflags-i686): Likewise.
10837         (config-cflags-avx): Likewise.
10838         (config-cflags-sse2avx): Likewise.
10839         (have-mfma4): Likewise.
10840         (config-cflags-novzeroupper): Likewise.
10841         * sysdeps/mach/configure.in (MIG): Likewise.
10842         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10843         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10844         LIBC_CONFIG_VAR.
10845         (config-cflags-avx): Likewise.
10846         (config-cflags-sse2avx): Likewise.
10847         (have-mfma4): Likewise.
10848         (config-cflags-novzeroupper): Likewise.
10849         * configure: Regenerated.
10850         * sysdeps/i386/configure: Likewise.
10851         * sysdeps/mach/configure: Likewise.
10852         * sysdeps/sparc/configure: Likewise.
10853         * sysdeps/x86_64/configure: Likewise.
10855 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10857         [BZ #14812]
10858         * locale/programs/localedef.c (options): Put N_ translation marker
10859         on argument names, not just descriptions.
10861 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10863         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10865 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10867         [BZ #14176]
10868         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10870 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10872         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10873         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10874         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10875         [!BEFORE_ABORT] (before_abort): New function.
10876         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10877         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10878         (writev_for_fatal): New function.
10879         (WRITEV_FOR_FATAL): New macro; call that.
10880         (backtrace_and_maps): New function.
10881         (BEFORE_ABORT): New macro; call that.
10882         (struct str_list): Type removed.
10883         (__libc_message, __libc_fatal): Functions removed.
10884         Include <sysdeps/posix/libc_fatal.c> instead.
10886 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10888         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10889         constants.
10890         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10891         double constants.
10893 2013-03-19  Andreas Schwab  <schwab@suse.de>
10895         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10896         * sysdeps/gnu/configure: Regenerate.
10898         * configure.in: Substitute libc_cv_rtlddir.
10899         * configure: Regenerate.
10900         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10901         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10902         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10903         * elf/Makefile (install-others, CFLAGS-interp.c)
10904         (ldso_install, common-ldd-rewrite): Likewise.
10905         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10906         $(inst_slibdir)/$(rtld-installed-name).
10907         * scripts/rellns-sh: Add -p option.
10908         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10909         for source.
10911 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10913         * manual/nptl.texi: Renamed to ...
10914         * manual/threads.texi: ... this.
10915         * manual/Makefile (chapters): Update.
10917 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10919         [BZ #14812]
10920         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10921         on argument names, not just descriptions.
10922         * malloc/memusagestat.c (options): Likewise.
10923         * nss/getent.c (options): Likewise.
10925 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10927         [BZ #14812]
10928         * iconv/iconv_prog.c (options): Put N_ translation marker
10929         on argument names, not just descriptions.
10930         * iconv/iconvconfig.c (options): Likewise.
10932 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10934         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10935         implementation which is faster on all x86_64 architectures.
10936         Tested on AMD, Intel Nehalem, SNB, IVB.
10937         * sysdeps/x86_64/strnlen.S: Likewise.
10939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10940         Remove all multiarch strlen and strnlen versions.
10941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10942         Remove strlen and strnlen related parts.
10944         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10945         Inline strlen part.
10946         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10948         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10949         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10950         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10951         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10952         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10953         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10955 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10957         * manual/memory.texi (Malloc Tunable Parameters):
10958         Sort parameters alphabetically. Add comments for missing entries.
10960 2013-03-17  David S. Miller  <davem@davemloft.net>
10962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10964 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #15283]
10967         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10968         for arguments at most half maximum finite value.
10969         * math/libm-test.inc (j0_test): Add more tests.
10970         (j1_test): Likewise.
10971         (y0_test): Likewise.
10972         (y1_test): Likewise.
10973         * sysdeps/i386/fpu/libm-test-ulps: Update.
10974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10976         [BZ #14155]
10977         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10978         1 / x and functions P and Q for arguments above 0x1p256L.
10979         (__ieee754_y0l): Likewise.
10980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10981         (__ieee754_y1l): Likewise.
10982         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10983         (j1_test): Likewise.
10984         (y0_test): Likewise.
10985         (y1_test): Likewise.
10987 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10989         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10990         variable.
10992 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10994         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10995         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10996         zero since it's initialized to EXEC_PAGESIZE.
10998         * sysdeps/unix/sysv/linux/ldsodefs.h
10999         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11000         * sysdeps/generic/ldsodefs.h: ... here.
11002 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11004         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11006         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11007         math/test-snan.c.
11008         * math/test-snan.c: Renamed from
11009         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11010         * math/Makefile (tests): Add test-snan.
11011         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11012         test-powerpc-snan.
11014         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11015         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11016         functions.
11017         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11018         __builtin_nan family of functions.
11019         * math/libm-test.inc (initialize): Initialize qnan_value with
11020         __builtin_nan family of functions.
11021         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11022         Remove variables.
11023         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11024         Remove functions.
11025         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11026         storage class.  Initialize qNaN_var and sNaN_var with
11027         __builtin_nan and __builtin_nans families of functions,
11028         respectively.
11030         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11031         (sqrt_test): Remove duplicate test with qNaN input.
11032         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11033         (round_test, signbit_test, significand_test): Note missing +/-Inf
11034         as well as qNaN tests.
11036         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11037         qNaN_var.  Fix a few strings, too.
11038         * math/libm-test.inc (nan_value): Rename to qnan_value.
11039         * math/gen-libm-test.pl (%beautify): Adjust to that.
11040         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11041         * math/test-misc.c (main): Likewise.
11042         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11043         to __qnan_bytes, and __qnan_union, respectively.
11044         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11045         Likewise.
11046         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11047         and lqnanval, respectively.
11048         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11049         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11050         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11051         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11053         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11054         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11055         doubles.
11057         * math/test-misc.c (main): Fix copy'n'pastos.
11058         * misc/tst-efgcvt.c (special): Likewise.
11060         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11061         Remove declarations.
11063 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11065         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11066         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11067         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11068         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11070 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11072         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11073         macro to return vdso values correctly in IFUNC implementations.
11074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11075         Optimization by using IFUNC.
11077 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11078             Richard Henderson  <rth@redhat.com>
11079             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11081         * Makefile.in (bench): New target.
11082         * NEWS: Mention the benchmark framework.
11083         * Rules (bench): Likewise.
11084         (binaries-bench): Generate binaries for functions to
11085         benchmark.
11086         * benchtests/Makefile: New makefile for benchmark tests.
11087         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11088         programs.
11089         * benchtests/exp-inputs: New input file for EXP function.
11090         * benchtests/pow-inputs: New input file for POW function.
11091         * scripts/bench.pl: New script to generate source files for
11092         benchmark programs.
11094 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11096         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11097         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11098         computations on mantissa.  Use macros for rounding and
11099         division.
11100         (denorm): Likewise.
11101         (__dbl_mp): Likewise.
11102         (add_magnitudes): Likewise.
11103         (sub_magnitudes): Likewise.
11104         (__mul): Likewise.
11105         (__sqr): Likewise.
11106         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11107         powers of two in terms of TWOPOW macro.
11108         (mp_no): Make type of mantissa as MANTISSA_T.
11109         [!RADIXI]: Define RADIXI.
11110         [!TWO52]: Define TWO52.
11111         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11113         * manual/nptl.texi (cindex): Modify threads to pthreads.
11115 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11117         * sysdeps/x86_64/preconfigure: Regenerated.
11119 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11121         [BZ #14155]
11122         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11123         0x1p28 and above.
11124         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11125         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11126         0x1p28 and above.
11127         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11128         * math/libm-test.inc (j0_test): Do not allow one spurious
11129         underflow exception.
11130         (y1_test): Likewise.
11132 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11134         * manual/Makefile (chapters): Add nptl.
11135         * manual/debug.texi (Debugging Support): Add link to Threads
11136         chapter.
11137         * manual/nptl.texi: New file.
11139         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11141 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11143         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11144         for non-NULL pointer before the memory validity test. Pointed
11145         out by Holger Brunck <holger.brunck@keymile.com>.
11147 2013-03-13  Andreas Schwab  <schwab@suse.de>
11149         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11150         instead of .os.
11152 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11154         * timezone/zic.c: Update from tzcode 2013b.
11156 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11158         * manual/install.texi (Configuring and compiling):
11159         Mention i686 and i586.
11160         * INSTALL: Regenerate.
11162 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11164         * sysdeps/init_array/elf-init.c: New file.
11165         * csu/elf-init.c
11166         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11167         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11169         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11170         __gmon_start__ as global, but as static with a .preinit_array pointer.
11171         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11172         * sysdeps/init_array/crti.S: New file, empty except for comments.
11173         * sysdeps/init_array/crtn.S: Likewise.
11175 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11177         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11178         definining bcopy.
11179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11180         Remove Prefer_SSE_for_memop.
11181         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11182         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11183         HAS_PREFER_SSE_FOR_MEMOP.
11184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11185         memset-x86-64.
11186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11187         Remove bzero, memset ifunc support.
11188         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11189         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11190         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11191         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11193 2013-03-11  Andreas Schwab  <schwab@suse.de>
11195         [BZ #15234]
11196         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11197         by SHLIB_COMPAT.
11198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11199         (GLIBC_2.16): Remove pthread_atfork.
11201 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11203         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11204         (ptestcases.h): Likewise.
11206 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11208         * Makeconfig ($(common-objpfx)config.status): Depend on
11209         sysdeps/*/preconfigure{,.in} too.
11211 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11213         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11214         (__free_hook): Use void * instead of __malloc_ptr_t.
11215         (__malloc_hook): Likewise.
11216         (__realloc_hook): Likewise.
11217         (__memalign_hook): Likewise.
11218         (__after_morecore_hook): Likewise.
11219         * malloc/arena.c (save_malloc_hook): Likewise.
11220         (save_free_hook): Likewise.
11221         * malloc/hooks.c (malloc_hook_ini): Likewise.
11222         (realloc_hook_ini): Likewise.
11223         (memalign_hook_ini): Likewise.
11224         * malloc/malloc.c (malloc_hook_ini): Likewise.
11225         (realloc_hook_ini): Likewise.
11226         (memalign_hook_ini): Likewise.
11227         (__free_hook): Likewise.
11228         (__malloc_hook): Likewise.
11229         (__realloc_hook): Likewise.
11230         (__memalign_hook): Likewise.
11231         (__libc_malloc): Likewise.
11232         (__libc_free): Likewise.
11233         (__libc_realloc): Likewise.
11234         (__libc_memalign): Likewise.
11235         (__libc_valloc): Likewise.
11236         (__libc_pvalloc): Likewise.
11237         (__libc_calloc): Likewise.
11238         (__posix_memalign): Likewise.
11239         * malloc/morecore.c (__sbrk): Likewise.
11240         (__default_morecore): Likewise.
11242         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11244         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11245         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11246         __malloc_ptrdiff_t.
11248         * malloc/malloc.h (__malloc_size_t): Remove macro.
11249         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11250         __malloc_size_t.
11251         (old_memalign_hook): Likewise.
11252         (old_realloc_hook): Likewise.
11253         (struct hdr): Likewise.
11254         (flood): Likewise.
11255         (mallochook): Likewise.
11256         (memalignhook): Likewise.
11257         (reallochook): Likewise.
11258         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11259         (tr_old_realloc_hook): Likewise.
11260         (tr_old_memalign_hook): Likewise.
11261         (tr_mallochook): Likewise.
11262         (tr_reallochook): Likewise.
11263         (tr_memalignhook): Likewise.
11265 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11268         default_ldbl_pack and using as default implementation.
11269         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11270         implementation.
11271         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11272         redundant definition.
11273         (ldbl_insert_mantissa): Likewise.
11274         (ldbl_canonicalize): Likewise.
11275         (ldbl_nearbyint): Likewise.
11276         (ldbl_pack): Rename to ldbl_pack_ppc.
11277         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11278         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11279         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11281 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11284         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11285         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11286         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11288         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11289         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11290         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11292 2013-03-07  Andreas Jaeger  <aj@suse.de>
11294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11295         bits/mman-linux.h.
11297 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11299         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11300         Include mpa.h and declare __MPEXP.
11301         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11302         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11303         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11304         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11305         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11306         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11307         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11309         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11310         (__slowpow): Use long double EXPL and LOGL functions to
11311         compute POW.
11312         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11313         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11314         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11315         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11316         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11317         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11320         intermediate variable to calculate exponent.
11321         (__sqr): Likewise.
11322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11323         Likewise.
11324         (__sqr): Likewise.
11326         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11327         [!NO__SQR]: Define __sqr.
11328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11329         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11330         sysdeps/ieee754/dbl-64/mpa.c.
11331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11333         [BZ #12723]
11334         * posix/Makefile (tests): Add tst-pathconf.
11335         * posix/tst-pathconf.c: New test case.
11336         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11337         _PC_PIPE_BUF.
11338         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11340 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11342         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11344 2013-03-06  Andreas Jaeger  <aj@suse.de>
11346         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11347         definition via __MAP_ANONYMOUS.
11349         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11350         it's not part of Linux headers.
11352         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11353         (MAP_HUGE_MASK): Define.
11355         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11356         Define.
11357         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11359         Define.
11360         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11361         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11362         Define.
11363         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11364         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11365         Define.
11366         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11368         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11369         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11370         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11371         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11372         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11373         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11375         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11376         Handle f2fs.
11378         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11379         Handle f2fs and efivarfs.
11381         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11382         f2fs.
11384         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11385         (EFIVARFS_MAGIC): Add.
11386         (F2FS_LINK_MAX): Add.
11388 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11390         * stdio-common/vfprintf.c: Replace __builtin_expect with
11391         __glibc_unlikely.
11393 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11395         [BZ #13550]
11396         * sysdeps/generic/bp-sym.h: Remove file.
11397         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11398         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11399         <bp-sym.h> and <bp-asm.h>.
11400         (__longjmp): Don't use BP_SYM.
11401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11402         and <bp-asm.h>.
11403         (memcpy): Don't use BP_SYM.
11404         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11405         <bp-sym.h> and <bp-asm.h>.
11406         (memcpy): Don't use BP_SYM.
11407         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11408         <bp-asm.h>.
11409         (memcpy): Don't use BP_SYM.
11410         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11411         <bp-asm.h>.
11412         (memset): Don't use BP_SYM.
11413         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11414         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11415         (__bzero): Don't use BP_SYM.
11416         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11417         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11418         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11419         <bp-sym.h> and <bp-asm.h>.
11420         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11421         pointers.
11422         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11423         <bp-sym.h> and <bp-asm.h>.
11424         (memcpy): Don't use BP_SYM.
11425         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11426         <bp-sym.h> and <bp-asm.h>.
11427         (memset): Don't use BP_SYM.
11428         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11429         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11430         (__bzero): Don't use BP_SYM.
11431         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11432         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11433         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11434         <bp-sym.h> and <bp-asm.h>.
11435         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11436         pointers.
11437         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11438         <bp-sym.h> and <bp-asm.h>.
11439         (memcpy): Don't use BP_SYM.
11440         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11441         <bp-sym.h> and <bp-asm.h>.
11442         (memset): Don't use BP_SYM.
11443         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11444         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11445         (__bzero): Don't use BP_SYM.
11446         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11447         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11449         <bp-sym.h> and <bp-asm.h>.
11450         (__memchr): Don't use BP_SYM.
11451         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11452         <bp-sym.h> and <bp-asm.h>.
11453         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11454         pointers.
11455         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11456         <bp-sym.h> and <bp-asm.h>.
11457         (memcpy): Don't use BP_SYM.
11458         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11459         <bp-sym.h> and <bp-asm.h>.
11460         (__mempcpy): Don't use BP_SYM.
11461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11462         <bp-sym.h> and <bp-asm.h>.
11463         (__memrchr): Don't use BP_SYM.
11464         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11465         <bp-sym.h> and <bp-asm.h>.
11466         (memset): Don't use BP_SYM.
11467         (__bzero): Likewise.
11468         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11469         <bp-sym.h> and <bp-asm.h>.
11470         (__rawmemchr): Don't use BP_SYM.
11471         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11472         <bp-sym.h> and <bp-asm.h>.
11473         (__STRCMP): Don't use BP_SYM.
11474         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11475         <bp-sym.h> and <bp-asm.h>.
11476         (strchr): Don't use BP_SYM.
11477         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11478         <bp-sym.h> and <bp-asm.h>.
11479         (__strchrnul): Don't use BP_SYM.
11480         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11481         <bp-sym.h> and <bp-asm.h>.
11482         (strlen): Don't use BP_SYM.
11483         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11484         <bp-sym.h> and <bp-asm.h>.
11485         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11486         pointers.
11487         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11488         <bp-sym.h> and <bp-asm.h>.
11489         (__strnlen): Don't use BP_SYM.
11490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11491         <bp-sym.h> and <bp-asm.h>.
11492         (__GI__setjmp): Don't use BP_SYM.
11493         (_setjmp): Likewise.
11494         (__sigsetjmp): Likewise.
11495         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11496         (L(start_addresses)): Don't use BP_SYM.
11497         (_start): Likewise.
11498         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11499         <bp-asm.h>.
11500         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11501         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11502         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11503         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11504         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11505         <bp-asm.h>.
11506         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11507         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11508         about bounded pointers.
11509         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11510         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11511         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11512         <bp-asm.h>.
11513         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11514         about bounded pointers.  Remove GKM FIXME comments.
11515         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11516         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11517         <bp-asm.h>.
11518         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11519         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11520         Remove GKM FIXME comments.
11521         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11522         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11523         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11524         <bp-asm.h>.
11525         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11526         about bounded pointers.  Remove GKM FIXME comment.
11527         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11528         and <bp-asm.h>.
11529         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11530         pointers.
11531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11532         <bp-sym.h> and <bp-asm.h>.
11533         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11535         <bp-sym.h> and <bp-asm.h>.
11536         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11537         comment.
11539 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11541         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11542         call free(NULL).
11544 2013-03-05  David S. Miller  <davem@davemloft.net>
11546         * po/es.po: Update from translation team.
11548 2013-03-05  Andreas Jaeger  <aj@suse.de>
11550         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11551         <bits/mman-linux.h>.
11552         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11553         is fine.
11554         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11555         <bits/mman-linux.h> to end of file.
11556         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11557         is fine.
11558         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11559         <bits/mman-linux.h> to end of file.
11560         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11561         is fine.
11562         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11563         <bits/mman-linux.h> to end of file.
11565         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11566         (MCL_CURRENT, MCL_FUTURE): Define here.
11568 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11570         [BZ #15232]
11571         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11572         attribute_hidden.
11573         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11575 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11577         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11578         fourth parameter needed for rt_sigprocmask syscall.
11579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11580         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11582         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11583         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11584         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11586 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11588         [BZ #13550]
11589         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11590         comment about bounded pointers.
11591         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11592         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11594 2013-03-04  Andreas Jaeger  <aj@suse.de>
11596         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11597         common definitions.
11599         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11600         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11601         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11602         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11603         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11604         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11606 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11608         [BZ #15055]
11609         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11610         __ieee754_sqrl instead of __sqrl.
11612 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11614         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11615         * sysdeps/powerpc/fpu_control.h: ... here.
11616         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11617         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11618         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11619         * sysdeps/powerpc/bits/mathinline.h: ... here.
11621 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11623         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11624         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11625         to just [NEED_DL_SYSINFO_DSO].
11626         * elf/dl-support.c: Likewise.
11627         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11628         * elf/rtld.c (dl_main): Likewise.
11629         * elf/setup-vdso.h (setup_vdso): Likewise.
11630         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11631         * sysdeps/unix/sysv/linux/dl-sysdep.c
11632         (_dl_discover_osversion): Likewise.
11634 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11636         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11637         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11639 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11641         * NEWS: Mention libm performance improvements and non-x86 PI
11642         futex support.
11644         * csu/libc-start.c (__pthread_initialize_minimal): Change
11645         function arguments.
11646         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11648 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11650         [BZ #13550]
11651         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11652         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11653         <bp-sym.h> and <bp-asm.h>.
11654         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11655         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11656         and <bp-asm.h>.
11657         (memcpy): Don't use BP_SYM.
11658         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11659         <bp-asm.h>.
11660         (__mpn_add_n): Don't use BP_SYM.
11661         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11662         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11663         and <bp-asm.h>.
11664         (__mpn_addmul_1): Don't use BP_SYM.
11665         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11666         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11667         <bp-sym.h>.
11668         (_setjmp): Don't use BP_SYM.
11669         (__novmx_setjmp): Likewise.
11670         (__GI__setjmp): Likewise.
11671         (__vmx_setjmp): Likewise.
11672         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11673         <bp-sym.h>.
11674         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11675         (__bzero): Don't use BP_SYM.
11676         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11677         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11678         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11679         <bp-sym.h> and <bp-asm.h>.
11680         (memcpy): Don't use BP_SYM.
11681         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11682         <bp-sym.h> and <bp-asm.h>.
11683         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11684         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11685         <bp-sym.h> and <bp-asm.h>.
11686         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11687         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11688         <bp-asm.h>.
11689         (__mpn_lshift): Don't use BP_SYM.
11690         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11691         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11692         <bp-asm.h>.
11693         (memset): Don't use BP_SYM.
11694         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11695         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11696         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11697         <bp-asm.h>.
11698         (__mpn_mul_1): Don't use BP_SYM.
11699         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11701         <bp-sym.h> and <bp-asm.h>.
11702         (memcmp): Don't use BP_SYM.
11703         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11704         <bp-sym.h> and <bp-asm.h>.
11705         (memcpy): Don't use BP_SYM.
11706         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11707         <bp-sym.h> and <bp-asm.h>.
11708         (memset): Don't use BP_SYM.
11709         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11710         <bp-sym.h> and <bp-asm.h>.
11711         (strncmp): Don't use BP_SYM.
11712         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11713         <bp-sym.h> and <bp-asm.h>.
11714         (memcpy): Don't use BP_SYM.
11715         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11716         <bp-sym.h> and <bp-asm.h>.
11717         (memset): Don't use BP_SYM.
11718         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11719         <bp-sym.h> and <bp-asm.h>.
11720         (__memchr): Don't use BP_SYM.
11721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11722         <bp-sym.h> and <bp-asm.h>.
11723         (memcmp): Don't use BP_SYM.
11724         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11725         <bp-sym.h> and <bp-asm.h>.
11726         (memcpy): Don't use BP_SYM.
11727         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11728         <bp-sym.h> and <bp-asm.h>.
11729         (__mempcpy): Don't use BP_SYM.
11730         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11731         <bp-sym.h> and <bp-asm.h>.
11732         (__memrchr): Don't use BP_SYM.
11733         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11734         <bp-sym.h> and <bp-asm.h>.
11735         (memset): Don't use BP_SYM.
11736         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11737         <bp-sym.h> and <bp-asm.h>.
11738         (__rawmemchr): Don't use BP_SYM.
11739         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11740         <bp-sym.h> and <bp-asm.h>.
11741         (__STRCMP): Don't use BP_SYM.
11742         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11743         <bp-sym.h> and <bp-asm.h>.
11744         (strchr): Don't use BP_SYM.
11745         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11746         <bp-sym.h> and <bp-asm.h>.
11747         (__strchrnul): Don't use BP_SYM.
11748         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11749         <bp-sym.h> and <bp-asm.h>.
11750         (strlen): Don't use BP_SYM.
11751         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11752         <bp-sym.h> and <bp-asm.h>.
11753         (strncmp): Don't use BP_SYM.
11754         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11755         <bp-sym.h> and <bp-asm.h>.
11756         (__strnlen): Don't use BP_SYM.
11757         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11758         <bp-asm.h>.
11759         (__mpn_rshift): Don't use BP_SYM.
11760         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11761         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11762         <bp-sym.h> and <bp-asm.h>.
11763         (__sigsetjmp): Don't use BP_SYM.
11764         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11765         (L(start_addresses)): Don't use BP_SYM.
11766         (_start): Likewise.
11767         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11768         <bp-asm.h>.
11769         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11770         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11771         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11772         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11773         <bp-asm.h>.
11774         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11775         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11776         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11777         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11778         <bp-asm.h>.
11779         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11780         comments.
11781         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11782         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11783         <bp-asm.h>.
11784         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11785         FIXME comments.
11786         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11787         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11788         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11789         <bp-asm.h>.
11790         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11791         comment.
11792         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11793         and <bp-asm.h>.
11794         (strncmp): Don't use BP_SYM,
11795         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11796         <bp-asm.h>.
11797         (__mpn_sub_n): Don't use BP_SYM.
11798         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11799         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11800         and <bp-asm.h>.
11801         (__mpn_submul_1): Don't use BP_SYM.
11802         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11804         <bp-sym.h> and <bp-asm.h>.
11805         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11807         <bp-sym.h> and <bp-asm.h>.
11808         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11809         comment.
11811 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11814         Use ZK to minimize writes to Z.
11815         (sub_magnitudes): Simplify code a bit.
11816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11817         Use ZK to minimize writes to Z.
11818         (sub_magnitudes): Simplify code a bit.
11820 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11822         * csu/gmon-start.c: Add special exception to license text.
11824 2013-02-27  Richard Henderson  <rth@redhat.com>
11826         * scripts/config.guess: Update from config.git.
11827         * scripts/config.sub: Likewise.
11829 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11831         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11833         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11835         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11837         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11839         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11841 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11843         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11844         [$(build-shared = yes].
11846 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11848         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11849         (__mul): Reduce iterations for calculating mantissa.
11851         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11852         MPTWO.
11853         (__mpranred): Likewise.
11855         [BZ #15160]
11856         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11857         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11859 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11861         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11862         Define __attribute__.
11864 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11866         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11867         unused.
11868         * posix/regex_internal.h (__attribute): Remove.
11869         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11870         (re_string_context_at): Likewise.
11871         (bitset_not): Use __attribute__ and mark function as possibly
11872         unused.
11873         (bitset_merge): Likewise.
11874         (bitset_mask): Likewise.
11875         (re_string_char_size_at): Likewise.
11876         (re_string_wchar_at): Likewise.
11877         (re_string_elem_size_at): Likewise.
11879 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11881         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11882         code.
11883         (cc32): Likewise.
11885         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11886         (__acr): Likewise.
11887         (__cpy): Likewise.
11888         (norm): Likewise.
11889         (denorm): Likewise.
11890         (__dbl_mp): Likewise.
11891         (add_magnitudes): Likewise.
11892         (sub_magnitudes): Likewise.
11893         (__mul): Likewise.
11894         (__inv): Likewise.
11896         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11897         style.
11899         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11900         style.
11902         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11903         code.
11905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11906         up changes with default code.
11907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11908         Likewise.
11910 2013-02-24  Allan McRae  <allan@archlinux.org>
11912         * manual/socket.texi (The Internet Namespace): Order menu items
11913         to match that in the file.
11915         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11916         node listing of the info page menu.
11918 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11920         [BZ #13550]
11921         * sysdeps/i386/bp-asm.h: Remove file.
11922         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11923         (PARMS): Do not use macros from bp-asm.h.
11924         (S1): Likewise.
11925         (S2): Likewise.
11926         (SIZE): Likewise.
11927         (__mpn_add_n): Do not use BP_SYM
11928         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11929         "bp-asm.h".
11930         (PARMS): Do not use macros from bp-asm.h.
11931         (S1): Likewise.
11932         (SIZE): Likewise.
11933         (__mpn_addmul_1): Do not use BP_SYM
11934         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11935         "bp-asm.h".
11936         (PARMS): Do not use macros from bp-asm.h.
11937         (SIGMSK): Likewise.
11938         (_setjmp): Likewise.  Do not use BP_SYM.
11939         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11940         "bp-asm.h".
11941         (PARMS): Do not use macros from bp-asm.h.
11942         (SIGMSK): Likewise.
11943         (setjmp): Likewise.  Do not use BP_SYM.
11944         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11945         "bp-asm.h".
11946         (PARMS): Do not use macros from bp-asm.h.
11947         (__frexp): Do not use BP_SYM.
11948         (frexp): Likewise.
11949         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11950         "bp-asm.h".
11951         (PARMS): Do not use macros from bp-asm.h.
11952         (__frexpf): Do not use BP_SYM.
11953         (frexpf): Likewise.
11954         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11955         "bp-asm.h".
11956         (PARMS): Do not use macros from bp-asm.h.
11957         (__frexpl): Do not use BP_SYM.
11958         (frexpl): Likewise.
11959         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11960         "bp-asm.h".
11961         (PARMS): Do not use macros from bp-asm.h.
11962         (__remquo): Do not use BP_SYM.
11963         (remquo): Likewise.
11964         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11965         "bp-asm.h".
11966         (PARMS): Do not use macros from bp-asm.h.
11967         (__remquof): Do not use BP_SYM.
11968         (remquof): Likewise.
11969         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11970         "bp-asm.h".
11971         (PARMS): Do not use macros from bp-asm.h.
11972         (__remquol): Do not use BP_SYM.
11973         (remquol): Likewise.
11974         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11975         "bp-asm.h".
11976         (PARMS): Do not use macros from bp-asm.h.
11977         (DEST): Likewise.
11978         (SRC): Likewise.
11979         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11980         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11981         "bp-asm.h".
11982         (PARMS): Do not use macros from bp-asm.h.
11983         (strlen): Do not use BP_SYM.
11984         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11985         "bp-asm.h".
11986         (PARMS): Do not use macros from bp-asm.h.
11987         (S1): Likewise.
11988         (S2): Likewise.
11989         (SIZE): Likewise.
11990         (__mpn_add_n): Do not use BP_SYM.
11991         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11992         "bp-asm.h".
11993         (PARMS): Do not use macros from bp-asm.h.
11994         (S1): Likewise.
11995         (SIZE): Likewise.
11996         (__mpn_addmul_1): Do not use BP_SYM.
11997         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11998         weak_alias.
11999         (bzero): Likewise.
12000         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12001         "bp-asm.h".
12002         (PARMS): Do not use macros from bp-asm.h.
12003         (S): Likewise.
12004         (SIZE): Likewise.
12005         (__mpn_lshift): Do not use BP_SYM.
12006         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12007         "bp-asm.h".
12008         (PARMS): Do not use macros from bp-asm.h.
12009         (DEST): Likewise.
12010         (SRC): Likewise.
12011         (LEN): Likewise.
12012         (memcpy): Likewise.  Do not use BP_SYM.
12013         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12014         libc_hidden_def and weak_alias.
12015         (mempcpy): Do not use BP_SYM in weak_alias.
12016         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12017         "bp-asm.h".
12018         (PARMS): Do not use macros from bp-asm.h.
12019         (DEST): Likewise.
12020         (LEN): Likewise.
12021         [!BZERO_P] (CHR): Likewise.
12022         (memset): Likewise.  Do not use BP_SYM.
12023         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12024         "bp-asm.h".
12025         (PARMS): Do not use macros from bp-asm.h.
12026         (S1): Likewise.
12027         (SIZE): Likewise.
12028         (__mpn_mul_1): Do not use BP_SYM.
12029         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12030         "bp-asm.h".
12031         (PARMS): Do not use macros from bp-asm.h.
12032         (S): Likewise.
12033         (SIZE): Likewise.
12034         (__mpn_rshift): Do not use BP_SYM.
12035         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12036         "bp-asm.h".
12037         (PARMS): Do not use macros from bp-asm.h.
12038         (STR): Likewise.
12039         (CHR): Likewise.
12040         (strchr): Likewise.  Do not use BP_SYM.
12041         (index): Do not use BP_SYM in weak_alias.
12042         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12043         "bp-asm.h".
12044         (PARMS): Do not use macros from bp-asm.h.
12045         (DEST): Likewise.
12046         (SRC): Likewise.
12047         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12048         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12049         "bp-asm.h".
12050         (PARMS): Do not use macros from bp-asm.h.
12051         (strlen): Do not use BP_SYM.
12052         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12053         "bp-asm.h".
12054         (PARMS): Do not use macros from bp-asm.h.
12055         (S1): Likewise.
12056         (S2): Likewise.
12057         (SIZE): Likewise.
12058         (__mpn_sub_n): Do not use BP_SYM.
12059         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12060         "bp-asm.h".
12061         (PARMS): Do not use macros from bp-asm.h.
12062         (S1): Likewise.
12063         (SIZE): Likewise.
12064         (__mpn_submul_1): Do not use BP_SYM.
12065         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12066         "bp-asm.h".
12067         (PARMS): Do not use macros from bp-asm.h.
12068         (S1): Likewise.
12069         (S2): Likewise.
12070         (SIZE): Likewise.
12071         (__mpn_add_n): Do not use BP_SYM.
12072         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12073         weak_alias.
12074         (bzero): Likewise.
12075         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12076         "bp-asm.h".
12077         (PARMS): Do not use macros from bp-asm.h.
12078         (BLK2): Likewise.
12079         (LEN): Likewise.
12080         (memcmp): Do not use BP_SYM.
12081         (bcmp): Do not use BP_SYM in weak_alias.
12082         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12083         "bp-asm.h".
12084         (PARMS): Do not use macros from bp-asm.h.
12085         (DEST): Likewise.
12086         (SRC): Likewise.
12087         (LEN): Likewise.
12088         (memcpy): Likewise.  Do not use BP_SYM.
12089         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12090         "bp-asm.h".
12091         (PARMS): Do not use macros from bp-asm.h.
12092         (DEST): Likewise.
12093         (SRC): Likewise.
12094         (LEN): Likewise.
12095         (memmove): Likewise.  Do not use BP_SYM.
12096         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12097         "bp-asm.h".
12098         (PARMS): Do not use macros from bp-asm.h.
12099         (DEST): Likewise.
12100         (SRC): Likewise.
12101         (LEN): Likewise.
12102         (__mempcpy): Likewise.  Do not use BP_SYM.
12103         (mempcpy): Do not use BP_SYM in weak_alias.
12104         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12105         "bp-asm.h".
12106         (PARMS): Do not use macros from bp-asm.h.
12107         (DEST): Likewise.
12108         (LEN): Likewise.
12109         [!BZERO_P] (CHR): Likewise.
12110         (memset): Likewise.  Do not use BP_SYM.
12111         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12112         "bp-asm.h".
12113         (PARMS): Do not use macros from bp-asm.h.
12114         (STR2): Likewise.
12115         (strcmp): Do not use BP_SYM.
12116         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12117         "bp-asm.h".
12118         (PARMS): Do not use macros from bp-asm.h.
12119         (STR): Likewise.
12120         (DELIM): Likewise.
12121         [USE_AS_STRTOK_R] (SAVE): Likewise.
12122         (FUNCTION): Likewise.  Do not use BP_SYM.
12123         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12124         aliases.
12125         (strtok_r): Likewise.
12126         (__GI___strtok_r): Likewise.
12127         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12128         (PARMS): Do not use macros from bp-asm.h.
12129         (S): Likewise.
12130         (SIZE): Likewise.
12131         (__mpn_lshift): Do not use BP_SYM.
12132         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12133         (PARMS): Do not use macros from bp-asm.h.
12134         (STR): Likewise.
12135         (CHR): Likewise.
12136         (__memchr): Do not use BP_SYM.
12137         (memchr): Do not use BP_SYM in weak_alias.
12138         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12139         (PARMS): Do not use macros from bp-asm.h.
12140         (BLK2): Likewise.
12141         (LEN): Likewise.
12142         (memcmp): Do not use BP_SYM.
12143         (bcmp): Do not use BP_SYM in weak_alias.
12144         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12145         (PARMS): Do not use macros from bp-asm.h.
12146         (S1): Likewise.
12147         (SIZE): Likewise.
12148         (__mpn_mul_1): Do not use BP_SYM.
12149         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12150         "bp-asm.h".
12151         (PARMS): Do not use macros from bp-asm.h.
12152         (STR): Likewise.
12153         (CHR): Likewise.
12154         (__rawmemchr): Do not use BP_SYM.
12155         (rawmemchr): Do not use BP_SYM in weak_alias.
12156         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12157         (PARMS): Do not use macros from bp-asm.h.
12158         (S): Likewise.
12159         (SIZE): Likewise.
12160         (__mpn_rshift): Do not use BP_SYM.
12161         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12162         (PARMS): Do not use macros from bp-asm.h.
12163         (SIGMSK): Likewise.
12164         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12165         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12166         (_start): Do not use BP_SYM.
12167         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12168         (PARMS): Do not use macros from bp-asm.h.
12169         (DEST): Likewise.
12170         (SRC): Likewise.
12171         (__stpcpy): Likewise.  Do not use BP_SYM.
12172         (stpcpy): Do not use BP_SYM in weak_alias.
12173         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12174         "bp-asm.h".
12175         (PARMS): Do not use macros from bp-asm.h.
12176         (DEST): Likewise.
12177         (SRC): Likewise.
12178         (LEN): Likewise.
12179         (__stpncpy): Likewise.  Do not use BP_SYM.
12180         (stpncpy): Do not use BP_SYM in weak_alias.
12181         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12182         (PARMS): Do not use macros from bp-asm.h.
12183         (STR): Likewise.
12184         (CHR): Likewise.
12185         (strchr): Likewise.  Do not use BP_SYM.
12186         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12187         "bp-asm.h".
12188         (PARMS): Do not use macros from bp-asm.h.
12189         (STR): Likewise.
12190         (CHR): Likewise.
12191         (__strchrnul): Likewise.  Do not use BP_SYM.
12192         (strchrnul): Do not use BP_SYM in weak_alias.
12193         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12194         "bp-asm.h".
12195         (PARMS): Do not use macros from bp-asm.h.
12196         (STOP): Likewise.
12197         (strcspn): Do not use BP_SYM.
12198         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12199         "bp-asm.h".
12200         (PARMS): Do not use macros from bp-asm.h.
12201         (STR): Likewise.
12202         (STOP): Likewise.
12203         (strpbrk): Likewise.  Do not use BP_SYM.
12204         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12205         "bp-asm.h".
12206         (PARMS): Do not use macros from bp-asm.h.
12207         (STR): Likewise.
12208         (CHR): Likewise.
12209         (strrchr): Likewise.  Do not use BP_SYM.
12210         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12211         (PARMS): Do not use macros from bp-asm.h.
12212         (SKIP): Likewise.
12213         (strspn): Do not use BP_SYM.
12214         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12215         (PARMS): Do not use macros from bp-asm.h.
12216         (STR): Likewise.
12217         (DELIM): Likewise.
12218         (SAVE): Likewise.
12219         (FUNCTION): Likewise.  Do not use BP_SYM.
12220         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12221         aliases.
12222         (strtok_r): Likewise.
12223         (__GI___strtok_r): Likewise.
12224         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12225         (PARMS): Do not use macros from bp-asm.h.
12226         (S1): Likewise.
12227         (S2): Likewise.
12228         (SIZE): Likewise.
12229         (__mpn_sub_n): Do not use BP_SYM.
12230         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12231         "bp-asm.h".
12232         (PARMS): Do not use macros from bp-asm.h.
12233         (S1): Likewise.
12234         (SIZE): Likewise.
12235         (__mpn_submul_1): Do not use BP_SYM.
12236         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12237         <bp-sym.h>.
12238         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12239         and <bp-asm.h>.
12240         (PARMS): Do not use macros from bp-asm.h.
12241         (FLAGS): Likewise.
12242         (PTID): Likewise.
12243         (TLS): Likewise.
12244         (CTID): Likewise.
12245         (__clone): Do not use BP_SYM.
12246         (clone): Do not use BP_SYM in weak_alias.
12247         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12248         and <bp-asm.h>.
12249         (PARMS): Do not use macros from bp-asm.h.
12250         (LEN): Likewise.
12251         (__mmap64): Do not use BP_SYM.
12252         (mmap64): Do not use BP_SYM in weak_alias.
12253         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12254         <bp-sym.h> and <bp-asm.h>.
12255         (PARMS): Do not use macros from bp-asm.h.
12256         (__posix_fadvise64_l64): Do not use BP_SYM.
12257         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12258         (PARMS): Do not use macros from bp-asm.h.
12259         (NSOPS): Likewise.
12260         (semtimedop): Do not use BP_SYM.
12261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12262         and <bp-asm.h>.
12264 2013-02-21  Allan McRae  <allan@archlinux.org>
12266         * manual/message.texi (Charset conversion in gettext):
12267         Move @end statement to beginning of line.
12269 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12272         static.
12273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12274         Likewise.
12276         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12277         (denorm): Likewise.
12278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12281 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12283         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12284         tail-call to the resolved function if pltexit isn't needed.
12286 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12289         or Y being zero as being unlikely.
12290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12291         Likewise.
12293 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12295         * manual/nss.texi (System Databases and Name Service Switch):
12296         Remove frobnicate @pxref.
12298 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12300         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12301         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12303 2013-02-20  Petr Machata  <pmachata@redhat.com>
12305         * elf/elf.h (R_ARM_TARGET1): New macro.
12306         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12307         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12308         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12309         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12310         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12311         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12312         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12313         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12314         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12315         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12316         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12317         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12318         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12319         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12320         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12321         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12322         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12323         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12324         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12325         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12326         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12327         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12328         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12329         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12330         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12331         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12332         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12333         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12334         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12335         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12336         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12337         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12338         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12339         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12340         (R_ARM_THM_GOT_BREL12): Likewise.
12341         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12342         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12343         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12344         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12345         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12346         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12347         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12348         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12349         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12351 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12353         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12354         __attribute_used__ to __attribute__ ((unused)).
12356 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12358         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12359         powerpc mpa.c.
12360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12361         comment formatting.
12362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12364 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12366         [BZ #13550]
12367         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12368         Remove macro.
12369         (ENTER): Remove both macro definitions.
12370         (LEAVE): Likewise.
12371         (CHECK_BOUNDS_LOW): Likewise.
12372         (CHECK_BOUNDS_HIGH): Likewise.
12373         (CHECK_BOUNDS_BOTH): Likewise.
12374         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12375         (RETURN_BOUNDED_POINTER): Likewise.
12376         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12377         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12378         (POP_ERRNO_LOCATION_RETURN): Likewise.
12379         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12380         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12381         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12382         macros.
12383         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12384         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12385         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12386         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12387         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12388         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12389         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12390         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12391         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12392         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12393         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12394         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12395         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12396         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12397         removed macros.
12398         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12399         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12400         macros.
12401         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12402         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12403         * sysdeps/i386/i586/memset.S (memset): Likewise.
12404         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12405         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12406         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12407         macros.
12408         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12409         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12410         Change uses of L(2) to L(out).
12411         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12412         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12413         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12414         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12415         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12416         removed macros.
12417         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12418         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12419         macros.
12420         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12421         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12422         (RETURN): Do not use macro LEAVE.
12423         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12424         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12425         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12426         * sysdeps/i386/i686/memset.S (memset): Likewise.
12427         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12428         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12429         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12430         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12431         Likewise.
12432         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12433         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12434         L(1_2) and L(1_3) into L(1).
12435         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12436         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12437         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12438         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12439         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12440         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12441         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12442         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12443         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12444         macros.
12445         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12446         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12447         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12448         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12449         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12450         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12451         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12452         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12453         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12454         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12455         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12456         * sysdeps/i386/strspn.S (strspn): Likewise.
12457         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12458         conditional code.
12459         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12460         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12461         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12462         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12463         L(1_3) into L(1_1).
12464         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12465         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12466         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12467         macros.
12468         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12470 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12472         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12473         macro.
12475 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12477         * math/atest-exp.c (exp_mpn): Remove ROUND.
12478         * math/atest-exp2.c (exp_mpn): Likewise.
12479         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12481         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12482         * stdlib/tst-tls-atexit-lib.c: Likewise.
12483         * stdlib/tst-tls-atexit.c: Likewise.
12485 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12487         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12488         and __attribute_alloc_size__.
12490 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12492         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12493         __attribute_alloc_size__.
12494         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12495         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12497 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12499         * include/programs/xmalloc.h: New file.
12500         * catgets/gencat.c: Include it.
12501         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12502         * elf/pldd.c: Likewise.
12503         * iconv/iconv_charmap.c: Likewise.
12504         * iconv/iconvconfig.c: Likewise.
12505         * iconv/strtab.c: Likewise.
12506         * locale/programs/locale.c: Likewise.
12507         * locale/programs/localedef.h: Likewise.
12508         * locale/programs/simple-hash.c: Likewise.
12509         * nscd/nscd.h: Likewise.
12510         * nss/makedb.c: Likewise.
12511         * sysdeps/generic/ldconfig.h: Likewise.
12513 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12515         * Versions.def: Add GLIBC_2.18.
12516         * include/link.h (struct link_map): New member l_tls_dtor_count.
12517         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12518         (__call_tls_dtors): Likewise.
12519         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12520         __cxa_thread_atexit_impl.
12521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12522         Likewise.
12523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12524         Likewise.
12525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12526         Likewise.
12527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12528         Likewise.
12529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12531         Likewise.
12532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12533         Likewise.
12534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12536         Likewise.
12537         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12538         (tests): Add test case tst-tls-atexit.
12539         (modules-names): Add shared library for tst-tls-atexit.
12540         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12541         (GLIBC_PRIVATE): Add __call_tls_dtors.
12542         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12543         for libstdc++.
12544         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12545         * stdlib/tst-tls-atexit.c: New test case.
12546         * stdlib/tst-tls-atexit-lib.c: New test case.
12548         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12550         * elf/Versions (ld): Add _dl_find_dso_for_object.
12551         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12552         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12553         (dl_open_worker): Use _dl_find_dso_for_object.
12554         * elf/dl-sym.c (do_sym): Likewise.
12555         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12557 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12559         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12560         Syntactic changes only.
12561         (_dl_runtime_profile): Do a tail-call to the resolved function.
12563 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12565         [BZ #13550]
12566         * sysdeps/x86_64/bp-asm.h: Remove file.
12567         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12568         <bp-sym.h> and <bp-asm.h>.
12569         (__clone): Do not use BP_SYM.
12570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12571         <bp-sym.h> and <bp-asm.h>.
12572         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12573         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12574         "bp-asm.h".
12575         (_setjmp): Do not use BP_SYM.
12576         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12577         "bp-asm.h".
12578         (setjmp): Do not use BP_SYM.
12579         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12580         libc_hidden_def.
12581         (mempcpy): Do not use BP_SYM in weak_alias.
12582         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12583         "bp-asm.h".
12584         (strchr): Do not use BP_SYM.
12585         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12586         "bp-asm.h".
12587         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12588         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12589         (_start): Do not use BP_SYM.
12590         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12591         "bp-asm.h".
12592         (strcat): Do not use BP_SYM.
12593         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12594         "bp-asm.h".
12595         (STRCMP): Do not use BP_SYM.
12596         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12597         "bp-asm.h".
12598         (STRCPY): Do not use BP_SYM.
12599         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12600         "bp-asm.h".
12601         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12602         "bp-asm.h".
12603         (FUNCTION): Do not use BP_SYM.
12604         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12605         weak_alias.
12606         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12608 2013-02-17  Andreas Jaeger  <aj@suse.de>
12610         * time/Versions: Sort entries.
12611         * string/Versions: Likewise.
12612         * resolv/Versions: Likewise.
12613         * posix/Versions: Likewise.
12614         * iconv/Versions: Likewise.
12615         * elf/Versions: Likewise.
12616         * wcsmbs/Versions: Likewise.
12618 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12620         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12621         loop termination condition.
12623         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12624         variable to calculate EZ.
12625         (__sqr): Likewise.
12627         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12628         the lower precision input.
12630 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12632         [BZ #13550]
12633         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12634         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12635         (run-via-rtld-prefix): Do not handle %-bp tests.
12636         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12637         (all-object-suffixes): Remove .ob.
12638         (bppfx): Remove variable.
12639         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12640         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12641         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12642         [$(build-bounded) = yes] (libtype.ob): Likewise.
12643         * Makerules (elide-routines.ob): Remove variable.
12644         (do-tests-clean): Do not handle *-bp.out.
12645         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12646         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12647         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12648         (tests): Do not include $(tests-bp.out).
12649         (xtests): Do not include $(xtests-bp.out).
12650         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12651         [$(build-bounded) = yes] ($(addprefix
12652         $(objpfx),$(binaries-bounded))): Remove rule.
12653         ($(objpfx)%-bp.out): Remove rule.
12654         * config.make.in (build-bounded): Remove variable.
12655         * crypt/Makefile [$(build-bounded) = yes]
12656         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12657         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12658         append to variable.
12659         [$(build-bounded) = yes] (install-lib): Likewise.
12660         [$(build-bounded) = yes] (generated): Likewise.
12661         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12662         Remove rule.
12663         * intl/Makefile [$(build-bounded) = yes]
12664         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12665         * math/Makefile [$(build-bounded) = yes]
12666         ($(tests:%=$(objpfx)%-bp): Likewise.
12667         * misc/Makefile [$(build-bounded) = yes]
12668         ($(objpfx)tst-tsearch-bp): Likewise.
12669         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12670         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12671         Remove dependency.
12672         * string/Makefile (o-objects.ob): Remove variable.
12673         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12674         (CFLAGS-.ob): Remove variable.
12675         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12676         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12677         both definitions of variable.
12678         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12679         (ASFLAGS-.ob): Remove variable.
12681 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12683         [BZ #13550]
12684         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12685         Remove __BOUNDED_POINTERS__ from condition.
12686         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12687         * string/bits/string2.h [!__NO_STRING_INLINES &&
12688         !__BOUNDED_POINTERS__]: Likewise.
12689         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12690         Likewise.
12691         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12692         Remove conditional code.
12693         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12694         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12695         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12696         condition.
12698         [BZ #13550]
12699         * csu/libc-start.c: Do not include <bp-sym.h>.
12700         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12701         * elf/dl-open.c: Do not include <bp-sym.h>.
12702         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12703         * math/fegetenv.c: Do not include <bp-sym.h>.
12704         (fegetenv): Do not use BP_SYM in versioned symbols.
12705         * nptl/sysdeps/pthread/bits/libc-lockP.h
12706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12707         <bp-sym.h>.
12708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12709         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12711         (__pthread_mutex_destroy): Likewise.
12712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12713         (__pthread_mutex_lock): Likewise.
12714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12715         (__pthread_mutex_trylock): Likewise.
12716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12717         (__pthread_mutex_unlock): Likewise.
12718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12719         (__pthread_mutexattr_init): Likewise.
12720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12721         (__pthread_mutexattr_destroy): Likewise.
12722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12723         (__pthread_mutexattr_settype): Likewise.
12724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12725         (__pthread_rwlock_init): Likewise.
12726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12727         (__pthread_rwlock_destroy): Likewise.
12728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12729         (__pthread_rwlock_rdlock): Likewise.
12730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12731         (__pthread_rwlock_tryrdlock): Likewise.
12732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12733         (__pthread_rwlock_wrlock): Likewise.
12734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12735         (__pthread_rwlock_trywrlock): Likewise.
12736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12737         (__pthread_rwlock_unlock): Likewise.
12738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12739         (__pthread_key_create): Likewise.
12740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12741         (__pthread_setspecific): Likewise.
12742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12743         (__pthread_getspecific): Likewise.
12744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12745         Likewise.
12746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12747         (_pthread_cleanup_push_defer): Likewise.
12748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12749         (_pthread_cleanup_pop_restore): Likewise.
12750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12751         (pthread_setcancelstate): Likewise.
12752         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12753         <bp-sym.h>.
12754         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12755         (memchr): Do not use BP_SYM in weak_alias.
12756         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12757         (fegetenv): Do not use BP_SYM in versioned symbols.
12758         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12759         (fesetenv): Do not use BP_SYM in versioned symbols.
12760         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12761         (feupdateenv): Do not use BP_SYM in versioned symbols.
12762         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12763         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12764         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12765         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12766         (open64): Do not use BP_SYM in weak_alias.
12767         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12768         (fegetenv): Do not use BP_SYM in versioned symbols.
12769         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12770         (fesetenv): Do not use BP_SYM in versioned symbols.
12771         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12772         (feupdateenv): Do not use BP_SYM in versioned symbols.
12773         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12774         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12775         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12776         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12777         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12778         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12779         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12780         <bp-sym.h>.
12781         (__libc_start_main): Do not use BP_SYM.
12783 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12786         redundant return line.
12787         (norm): Likewise.
12788         (denorm): Likewise.
12789         (dbl_mp): Likewise.
12790         (sub_magnitudes): Likewise.
12791         (__add): Likewise.
12792         (__sub): Likewise.
12793         (__mul): Likewise.
12794         (__inv): Likewise.
12795         (__dvd): Likewise.
12796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12797         (norm): Likewise.
12798         (denorm): Likewise.
12799         (dbl_mp): Likewise.
12800         (sub_magnitudes): Likewise.
12801         (__add): Likewise.
12802         (__sub): Likewise.
12803         (__mul): Likewise.
12804         (__inv): Likewise.
12805         (__dvd): Likewise.
12807         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12808         instead of __mul.
12809         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12810         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12811         (cc32): Likewise.
12813         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12814         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12816         of __mul for squares.
12817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12818         function
12819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12820         Likewise.
12821         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12822         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12824 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12826         [BZ #13550]
12827         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12828         code.
12829         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12830         prototype or function definition.  Rename ubp_* variables and
12831         parameters.  Remove argv definitions conditional on
12832         [__BOUNDED_POINTERS__].
12833         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12834         * elf/dl-runtime.c (_dl_fixup): Likewise.
12835         * include/set-hooks.h (RUN_HOOK): Likewise.
12836         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12837         definition.
12838         * string/strcpy.c (strcpy): Do not use __unbounded.
12839         * sysdeps/generic/frame.h (struct layout): Likewise.
12840         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12841         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12842         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12843         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12844         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12845         (__backtrace): Likewise.
12846         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12847         use __ptrvalue.
12848         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12849         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12850         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12851         Likewise.
12852         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12853         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12854         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12855         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12856         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12857         Do not use __unbounded.
12858         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12859         Rename __unboundedrlimits parameter to rlimits in prototype.
12860         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12861         Do not use __unbounded.
12862         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12863         not use __ptrvalue.
12864         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12865         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12866         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12867         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12868         __ptrvalue or __unbounded.
12869         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12870         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12871         use __unbounded.
12872         (__new_msgctl): Do not use __ptrvalue.
12873         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12874         __unbounded.
12875         (__libc_msgrcv): Do not use __ptrvalue.
12876         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12877         startup_info): Do not use __unbounded.
12878         (__libc_start_main): Likewise.  Rename ubp_* variables and
12879         parameters.  Remove argv definitions conditional on
12880         [__BOUNDED_POINTERS__].
12881         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12882         __ptrvalue.
12883         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12884         use __unbounded.
12885         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12886         or __ptrvalue.
12887         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12888         use __unbounded.
12889         (__new_shmctl): Do not use __ptrvalue.
12890         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12891         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12892         Likewise.
12893         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12894         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12895         (__libc_sigaction): Likewise.
12896         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12897         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12898         Likewise.
12899         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12901 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12903         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12905         * string/mempcpy.c: Implement by calling memcpy.
12907 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12912         evaluation.
12914         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12915         values in the mantissa.
12917         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12918         minimize writes to Z.
12919         (sub_magnitudes): Simplify code a bit.
12921 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12923         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12924         from the message.  The linker prefixes all warnings with that already.
12926 2013-02-12  Andreas Schwab  <schwab@suse.de>
12928         [BZ #15078]
12929         * posix/regexec.c (extend_buffers): Add parameter min_len.
12930         (check_matching): Pass minimum needed length.
12931         (clean_state_log_if_needed): Likewise.
12932         (get_subexp): Likewise.
12933         * posix/Makefile (tests): Add bug-regex34.
12934         (bug-regex34-ENV): Define.
12935         * posix/bug-regex34.c: New file.
12937         [BZ #11561]
12938         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12939         elements compare against the byte sequence of it, not its name.
12940         * posix/Makefile (tests): Add bug-regex35.
12941         (bug-regex35-ENV): Define.
12942         * posix/bug-regex35.c: New file.
12944 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12946         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12947         comment.
12948         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12949         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12950         (CHECK_EOL): Add undef.
12952 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12954         * bits/stdlib-bsearch.h: New file.
12955         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12956         * stdlib/stdlib.h: Likewise.
12958 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12960         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12961         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12962         declaration.
12963         * manual/search.texi (Array Search Function): Add missing const in
12964         lfind prototype.
12965         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12966         declaration to use rlim_t.
12967         (Basic Scheduling Functions): Remove erroneous const from
12968         sched_getparam prototype.  Remove erroneous * from
12969         sched_get_priority_max and sched_get_priority_min prototypes.
12970         (Resource Usage): Fix summary @comment on vtimes to refer to
12971         sys/vtimes.h rather than vtimes.h.
12972         Add missing *s in vtimes prototype.
12973         (Limits on Resources): Fix ulimit prototype to return long int.
12974         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12975         prototypes to use long int rather than double.
12976         (BSD Random): Fix initstate and setstate to use char *, not void *.
12977         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12978         prototype to make second argument 'struct aiocb64 *const[]'.
12979         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12980         (Status of AIO Operations): Remove erroneous const in aio_return and
12981         aio_return64 prototypes.
12982         (Synchronizing I/O): Fix sync prototype to return void.
12983         * manual/startup.texi (Suboptions): Remove an erroneous const in
12984         getsubopt prototype.
12985         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12986         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12987         use size_t rather than int.
12988         (Scanning All Users): Likewise for getpwent_r.
12989         (Setting Groups): Add missing const to setgroups prototype.
12990         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12991         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12992         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12993         'const void *' rather than 'const char *'.
12994         (Host Address Functions): Likewise for inet_ntop.
12995         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12996         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12997         ssize_t for return value.
12998         (Sending Data): Likewise for send, sendto, sendmsg.
12999         (Socket Option Functions): Add a missing const in setsockopt prototype.
13000         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13001         use wchar_t for the argument.
13002         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13003         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13004         take no arguments.
13005         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13006         double/float/long double for second argument.
13007         Fix return types of significand, significandf, significandl.
13008         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13009         argument in fchmod prototype.
13010         (File Owner): Use uid_t and gid_t in fchown prototype.
13011         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13012         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13013         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13014         use 'const struct dirent **' as argument types to CMP function pointer
13015         argument.
13016         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13017         (File Times): Fix summary magic @comment for struct utimbuf and utime
13018         to refer to utime.h, not time.h.
13019         * manual/string.texi (Argz Functions): Add missing const in
13020         argz_extract and argz_next prototypes.
13021         (Finding Tokens in a String): Likewise for basename.
13022         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13023         (Copying and Concatenation): Fix typo in wmemmove prototype.
13024         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13025         (Signal Stack): Remove erroneous const in sigstack prototype.
13026         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13027         prototype.
13028         (Simple Calendar Time): Likewise for stime.
13029         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13030         prototype.
13031         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13032         say sys/sysctl.h instead.
13033         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13034         and vsyslog prototypes.
13036 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13038         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13039         Remove.
13041 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13043         * misc/sys/mman.h: Fix typo in mremap comment.
13045 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13047         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13048         the '\0' terminator.
13050 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13052         [BZ #13550]
13053         * debug/segfault.c: Don't include <bp-checks.h>.
13054         * sysdeps/generic/bp-checks.h: Remove file.
13055         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13056         (__GETDENTS): Don't use CHECK_N.
13057         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13058         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13059         (__getgroups): Don't use CHECK_N.
13060         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13061         (setgroups): Don't use CHECK_N.
13062         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13063         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13064         (__libc_msgrcv): Don't use CHECK_N.
13065         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13066         (__libc_msgsnd): Don't use CHECK_N.
13067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13068         <bp-checks.h>.
13069         (__libc_pread): Don't use CHECK_N.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13071         include <bp-checks.h>.
13072         (__libc_pread64): Don't use CHECK_N.
13073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13074         include <bp-checks.h>.
13075         (__libc_pwrite): Don't use CHECK_N.
13076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13077         include <bp-checks.h>.
13078         (__libc_pwrite64): Don't use CHECK_N.
13079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13080         <bp-checks.h>.
13081         (__libc_pread): Don't use CHECK_N.
13082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13083         include <bp-checks.h>.
13084         (__libc_pread64): Don't use CHECK_N.
13085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13086         include <bp-checks.h>.
13087         (__libc_pwrite): Don't use CHECK_N.
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13089         include <bp-checks.h>.
13090         (__libc_pwrite64): Don't use CHECK_N.
13091         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13092         (do_pread): Don't use CHECK_N.
13093         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13094         (do_pread64): Don't use CHECK_N.
13095         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13096         (do_pwrite): Don't use CHECK_N.
13097         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13098         (do_pwrite64): Don't use CHECK_N.
13099         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13100         (__libc_readv): Don't use CHECK_N.
13101         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13102         (semop): Don't use CHECK_N.
13103         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13104         <bp-checks.h>.
13105         (semtimedop): Don't use CHECK_N.
13106         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13107         (__libc_pread): Don't use CHECK_N.
13108         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13109         <bp-checks.h>.
13110         (__libc_pread64): Don't use CHECK_N.
13111         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13112         <bp-checks.h>.
13113         (__libc_pwrite): Don't use CHECK_N.
13114         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13115         <bp-checks.h>.
13116         (__libc_pwrite64): Don't use CHECK_N.
13117         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13118         <bp-checks.h>.
13119         (__libc_msgrcv): Don't use CHECK_N.
13120         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13121         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13122         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13123         (__libc_writev): Don't use CHECK_N.
13125 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13127         * string/strcpy.c: Removed unused variable.
13129         * Makeconfig (+sysdep-includes): Define with := rather than =.
13130         Use an existing include/ subdir of each sysdeps dir before it.
13132 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13134         * nscd/connection.c (register_traced_file): Comment function.
13135         [HAVE_INOTIFY] (union __inev): Define.
13136         [HAVE_INOTIFY] (inotify_check_files): New function.
13137         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13138         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13139         clear_db_cache.
13140         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13142 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13144         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13145         loaded if not already and that a failure is permanent.
13147 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13149         [BZ #15006]
13150         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13151         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13153 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13155         [BZ #13550]
13156         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13157         (CHECK_1_NULL_OK): Likewise.
13158         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13159         (__fxstat): Do not use CHECK_1.
13160         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13161         <bp-checks.h>.
13162         (___fxstat64): Do not use CHECK_1.
13163         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13164         <bp-checks.h>.
13165         (__fxstatat): Do not use CHECK_1.
13166         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13167         <bp-checks.h>.
13168         (__fxstatat64): Do not use CHECK_1.
13169         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13170         <bp-checks.h>.
13171         (__fxstat): Do not use CHECK_1.
13172         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13173         <bp-checks.h>.
13174         (__fxstatat): Do not use CHECK_1.
13175         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13176         <bp-checks.h>.
13177         (__getresgid): Do not use CHECK_1.
13178         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13179         <bp-checks.h>.
13180         (__getresuid): Do not use CHECK_1.
13181         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13182         <bp-checks.h>.
13183         (__lxstat): Do not use CHECK_1.
13184         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13185         <bp-checks.h>.
13186         (__old_msgctl): Do not use CHECK_1.
13187         (__new_msgctl): Likewise.
13188         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13189         <bp-checks.h>.
13190         (__new_setrlimit): Do not use CHECK_1.
13191         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13192         <bp-checks.h>.
13193         (__old_shmctl): Do not use CHECK_1.
13194         (__new_shmctl): Likewise.
13195         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13196         <bp-checks.h>.
13197         (__xstat): Do not use CHECK_1.
13198         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13199         (__lxstat): Do not use CHECK_1.
13200         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13201         <bp-checks.h>.
13202         (___lxstat64): Do not use CHECK_1.
13203         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13204         (__old_msgctl): Do not use CHECK_1.
13205         (__new_msgctl): Likewise.
13206         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13207         <bp-checks.h>.
13208         (__gettimeofday): Do not use CHECK_1.
13209         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13210         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13212         <bp-checks.h>.
13213         (__gettimeofday): Do not use CHECK_1.
13214         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13215         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13216         (__new_shmctl): Do not use CHECK_1.
13217         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13218         <bp-checks.h>.
13219         (do_sigtimedwait): Do not use CHECK_1.
13220         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13221         <bp-checks.h>.
13222         (do_sigwaitinfo): Do not use CHECK_1.
13223         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13224         <bp-checks.h>.
13225         (msgctl): Do not use CHECK_1.
13226         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13227         <bp-checks.h>.
13228         (shmctl): Do not use CHECK_1.
13229         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13230         (ustat): Do not use CHECK_1.
13231         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13232         <bp-checks.h>.
13233         (__fxstat): Do not use CHECK_1.
13234         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13235         <bp-checks.h>.
13236         (__fxstatat): Do not use CHECK_1.
13237         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13238         <bp-checks.h>.
13239         (__lxstat): Do not use CHECK_1.
13240         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13241         <bp-checks.h>.
13242         (__xstat): Do not use CHECK_1.
13243         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13244         (__xstat): Do not use CHECK_1.
13245         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13246         (___xstat64): Do not use CHECK_1.
13248         [BZ #13550]
13249         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13250         definitions.
13251         (CHECK_BOUNDS_HIGH): Likewise.
13252         * string/strcpy.c: Do not include <bp-checks.h>.
13253         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13255 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13257         * nscd/nscd-client.h (__nscd_drop_map_ref):
13258         Add __attribute__ ((unused)).
13259         * nis/nss-nisplus.h (niserr2nss): Likewise.
13261         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13262         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13264         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13265         Remove inline keyword.
13266         * include/rounding-mode.h (round_away): Likewise.
13267         * libio/wfileops.c (adjust_wide_data): Likewise.
13268         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13269         (__m128i_strloadu_tolower): Likewise.
13270         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13271         (__m128i_strloadu_tolower): Likewise.
13272         * time/mktime.c (ydhms_diff): Likewise.
13273         * locale/elem-hash.h (elem_hash): Likewise.
13274         * locale/setlocale.c (setdata): Likewise.
13275         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13276         (re_string_wchar_at): Likewise.
13277         (bitset_not, bitset_merge, bitset_mask): Likewise.
13278         [!(__GNUC__ > 3)] (inline): Remove macro.
13279         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13280         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13281         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13282         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13283         * string/memcmp.c (memcmp_bytes): Likewise.
13284         * locale/programs/locarchive.c (compute_hashval): Likewise.
13285         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13286         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13287         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13288         * nss/getent.c (print_rpc, print_protocols): Likewise.
13289         (print_passwd, print_group, print_aliases): Likewise.
13290         * nis/nss-nisplus.h (niserr2nss): Likewise.
13291         * nscd/connections.c (restart_p): Likewise.
13292         Change return type to bool.
13294 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13296         * Makeconfig (all-Depend-files): Add existing
13297         $(sorted-subdirs:=/Depend) files.
13298         (all-subdirs): Remove nss.
13299         * sysdeps/unix/inet/Subdirs: Add it here instead.
13300         * hesiod/Depend: New file.
13302         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13303         instead of calling alloca.
13305         * io/lseek.c (__lseek): Rename to __libc_lseek.
13306         Define __lseek as an alias.
13308         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13310 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13312         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13313         else clause and remove check for non-standard endianness.
13315 2013-02-04  David S. Miller  <davem@davemloft.net>
13317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13319 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13321         [BZ #13550]
13322         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13323         (__ubp_memchr): Remove prototype.
13324         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13325         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13326         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13327         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13328         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13329         Remove alias.
13330         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13331         (__ubp_memchr): Likewise.
13332         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13333         (__ubp_memchr): Likewise.
13334         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13335         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13336         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13337         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13338         CHECK_STRING.
13339         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13340         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13341         (__getcwd): Do not use CHECK_STRING.
13342         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13343         <bp-checks.h>.
13344         (__real_chown): Do not use CHECK_STRING.
13345         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13346         <bp-checks.h>.
13347         (fchownat): Do not use CHECK_STRING.
13348         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13349         CHECK_STRING.
13350         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13351         <bp-checks.h>.
13352         (__lchown): Do not use CHECK_STRING.
13353         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13354         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13355         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13356         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13358         include <bp-checks.h>.
13359         (truncate64): Do not use CHECK_STRING.
13360         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13361         <bp-checks.h>.
13362         (__real_chown): Do not use CHECK_STRING.
13363         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13364         <bp-checks.h>.
13365         (__lchown): Do not use CHECK_STRING.
13366         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13367         <bp-checks.h>.
13368         (__chown): Do not use CHECK_STRING.
13369         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13370         <bp-checks.h>.
13371         (truncate64): Do not use CHECK_STRING.
13372         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13373         Likewise.
13374         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13375         (__xmknod): Do not use CHECK_STRING.
13376         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13377         <bp-checks.h>.
13378         (__xmknodat): Do not use CHECK_STRING.
13379         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13380         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13382 2013-02-04  Andreas Schwab  <schwab@suse.de>
13384         [BZ #14142]
13385         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13386         * include/netdb.h: Likewise for h_errno.
13387         * elf/tst-stackguard1.c: Include <tls.h>.
13389 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13391         * elf/link.h (struct link_map): Extend the l_addr comment.
13392         * include/link.h (struct link_map): Likewise.
13394 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13396         [BZ #13550]
13397         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13398         (BOUNDED_1): Remove macro.
13399         * debug/backtrace.c: Don't include <bp-checks.h>.
13400         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13401         (__backtrace): Likewise.
13402         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13403         <bp-checks.h>.
13404         (__backtrace): Don't use BOUNDED_1.
13405         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13406         <bp-checks.h>.
13407         (__backtrace): Don't use BOUNDED_1.
13408         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13409         (__backtrace): Don't use BOUNDED_1.
13410         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13411         (shmat): Don't use BOUNDED_N.
13413 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13415         [BZ #13550]
13416         * sysdeps/generic/bp-start.h: Remove file.
13417         * csu/libc-start.c: Don't include <bp-start.h>.
13418         (LIBC_START_MAIN): Set up __environ directly instead of using
13419         INIT_ARGV_and_ENVIRON.
13420         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13421         <bp-start.h>.
13423         [BZ #13550]
13424         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13425         definitions.
13426         (CHECK_FCNTL): Likewise.
13427         (CHECK_N_PAGES): Likewise.
13429         [BZ #13550]
13430         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13431         definitions.
13432         (CHECK_SIGSET_NULL_OK): Likewise.
13433         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13434         <bp-checks.h>.
13435         (sigpending): Don't use CHECK_SIGSET.
13436         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13437         <bp-checks.h>.
13438         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13439         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13440         <bp-checks.h>.
13441         (do_sigsuspend): Don't use CHECK_SIGSET.
13442         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13443         use CHECK_SIGSET.
13444         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13445         (do_sigwait): Don't use CHECK_SIGSET.
13446         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13447         use CHECK_SIGSET.
13448         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13449         include <bp-checks.h>.
13450         (sigpending): Don't use CHECK_SIGSET.
13451         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13452         include <bp-checks.h>.
13453         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13454         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13455         <bp-checks.h>.
13456         (sigpending): Don't use CHECK_SIGSET.
13457         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13458         <bp-checks.h>.
13459         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13461         [BZ #13550]
13462         * sysdeps/generic/bp-semctl.h: Remove file.
13463         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13464         <bp-checks.h> and <bp-semctl.h>.
13465         (__old_semctl): Don't use CHECK_SEMCTL.
13466         (__new_semctl): Likewise.
13467         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13468         and <bp-semctl.h>.
13469         (__old_semctl): Don't use CHECK_SEMCTL.
13470         (__new_semctl): Likewise.
13471         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13472         <bp-checks.h> and <bp-semctl.h>.
13473         (__old_semctl): Don't use CHECK_SEMCTL.
13474         (__new_semctl): Likewise.
13475         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13476         <bp-checks.h> and <bp-semctl.h>.
13477         (semctl): Don't use CHECK_SEMCTL.
13479         [BZ #13550]
13480         * Makerules (elide-bp-thunks): Remove variable.
13481         (elide-routines.oS): Don't use $(elide-bp-thunks).
13482         (elide-routines.os): Likewise.
13483         (elide-routines.o): Likewise.
13484         (elide-routines.op): Likewise.
13485         (elide-routines.og): Likewise.
13486         (objects): Don't use $(bp-thunks).
13487         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13488         include.
13489         (common-generated): Do not add s-proto-bp.d.
13490         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13491         (int): Likewise.
13492         (typ): Likewise.
13493         Do not generate makefile rules for bounded-pointer thunks.
13494         * sysdeps/generic/bp-thunks.h: Remove file.
13495         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13496         * sysdeps/unix/s-proto-bp.S: Likewise.
13498         [BZ #15062]
13499         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13500         parts of result separately when argument is not close to line from
13501         -i to i and one part of argument is small.
13502         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13503         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13504         * math/libm-test.inc (cacos_test): Add more tests.
13505         (casin_test): Likewise.
13506         (casinh_test): Likewise.
13507         * sysdeps/i386/fpu/libm-test-ulps: Update.
13508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13510 2013-01-31  David S. Miller  <davem@davemloft.net>
13512         * po/de.po: Update from translation team.
13514 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13516         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13518 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13520         * configure.in (_AC_PROG_CC_C89): New definition.
13521         * configure: Regenerate.
13523         * configure.in (AC_PROG_CPP): New definition.
13524         * configure: Regenerate.
13526 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13528         * debug/tst-backtrace.h: New file.
13529         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13530         (ret): Remove variable.
13531         (x): Likewise.
13532         (FAIL): Remove macro.
13533         (NO_INLINE): Likewise.
13534         (fn1): Use match function instead of strstr.
13535         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13536         (ret): Remove variable.
13537         (x): Likewise.
13538         (FAIL): Remove macro.
13539         (NO_INLINE): Likewise.
13540         (fn): Use match function instead of strstr.
13541         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13542         (ret): Remove variable.
13543         (x): Likewise.
13544         (FAIL): Remove macro.
13545         (NO_INLINE): Likewise.
13546         (handle_signal): Use match function instead of strstr.
13547         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13548         (ret): Remove variable.
13549         (x): Likewise.
13550         (FAIL): Remove macro.
13551         (NO_INLINE): Likewise.
13552         (handle_signal): Use match function instead of strstr.
13554 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13556         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13558 2013-01-23  David S. Miller  <davem@davemloft.net>
13560         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13561         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13562         argument of CAS if possible.
13563         * sysdeps/sparc/sparc64/bits/atomic.h
13564         (__arch_compare_and_exchange_val_32_acq): Likewise.
13565         (__arch_compare_and_exchange_val_64_acq): Likewise.
13567 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13569         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13570         * sysdeps/posix/ulimit.c: ... this.
13571         Include <limits.h>.
13572         * sysdeps/unix/bsd/ulimit.c: Remove file.
13574 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13576         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13577         (LDFLAGS-tst-array5): Likewise.
13579 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13581         [BZ #15036]
13582         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13583         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13584         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13585         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13587 2013-01-21  David S. Miller  <davem@davemloft.net>
13589         * sysdeps/sparc/backtrace.c: New file.
13590         * sysdeps/sparc/sparc32/backtrace.h: New file.
13591         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13592         * sysdeps/sparc/sparc64/backtrace.h: New file.
13593         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13594         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13595         -funwind-tables.
13597 2013-01-21  Andreas Schwab  <schwab@suse.de>
13599         [BZ #15020]
13600         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13601         closed its stdout.
13603 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13606         "mpa2.h".
13607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13609 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13610             Mark Mitchell  <mark@codesourcery.com>
13611             Tom de Vries  <tom@codesourcery.com>
13612             Paul Pluzhnikov  <ppluzhnikov@google.com>
13614         * debug/tst-backtrace2.c: New file.
13615         * debug/tst-backtrace3.c: Likewise.
13616         * debug/tst-backtrace4.c: Likewise.
13617         * debug/tst-backtrace5.c: Likewise.
13618         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13619         (CFLAGS-tst-backtrace3.c): Likewise.
13620         (CFLAGS-tst-backtrace4.c): Likewise.
13621         (CFLAGS-tst-backtrace5.c): Likewise.
13622         (LDFLAGS-tst-backtrace2): Likewise.
13623         (LDFLAGS-tst-backtrace3): Likewise.
13624         (LDFLAGS-tst-backtrace4): Likewise.
13625         (LDFLAGS-tst-backtrace5): Likewise.
13626         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13627         tst-backtrace4 and tst-backtrace5.
13629 2013-01-18  Anton Blanchard  <anton@samba.org>
13630             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13632         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13633         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13634         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13635         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13637         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13638         "+r" and remove output regs list as redundant.  Add explicit inline
13639         asm to specify register of return val to work around compiler codegen
13640         bug.  Remove (int) cast on return value.  Add return type parameter to
13641         use in macro so that this macro does not truncate return value for
13642         64-bit values.
13643         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13644         pass to INTERNAL_VSYSCALL_NCS.
13645         (INLINE_VSYSCALL): Add 'long int' as return type to
13646         INTERNAL_VSYSCALL_NCS macro invocation.
13647         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13648         INTERNAL_VSYSCALL_NCS macro invocation.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13651 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13653         [BZ #14496]
13654         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13655         Fix application of SIMD FP exception mask.
13657         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13658         mp_no from a power of two.
13659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13660         __mpexp_twomm1.  Use __pow_mp.
13662         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13663         multiplication.
13665 2013-01-17  David S. Miller  <davem@davemloft.net>
13667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13669 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13671         [BZ #15023]
13672         * include/complex.h: Condition contents on [!_COMPLEX_H].
13673         (__kernel_casinhf): New prototype.
13674         (__kernel_casinh): Likewise.
13675         (__kernel_casinhl): Likewise.
13676         * math/Makefile (libm_calls): Add k_casinh.
13677         * math/k_casinh.c: New file.
13678         * math/k_casinhf.c: Likewise.
13679         * math/k_casinhl.c: Likewise.
13680         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13681         finite nonzero arguments.
13682         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13683         finite nonzero arguments.
13684         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13685         finite nonzero arguments.
13686         * math/s_casinh.c: Do not include <float.h>.
13687         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13688         * math/s_casinhf.c: Do not include <float.h>.
13689         (__casinhf): Move code for finite nonzero arguments to
13690         k_casinhf.c.
13691         * math/s_casinhl.c: Do not include <float.h>.
13692         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13693         redefine.
13694         (__casinhl): Move code for finite nonzero arguments to
13695         k_casinhl.c.
13696         * math/libm-test.inc (cacos_test): Add more tests.
13697         * sysdeps/i386/fpu/libm-test-ulps: Update.
13698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13700 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13702         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13703         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13704         [!HAVE_MREMAP]: Remove [defined linux] case.
13705         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13707 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13709         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13711 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13713         * elf/elf.h (R_386_SIZE32): New relocation.
13714         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13715         R_386_SIZE32.
13716         (elf_machine_rela): Likewise.
13717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13718         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13720 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13722         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13723         (FP_FAST_FMA): Do not define.
13724         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13725         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13726         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13727         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13728         !_SOFT_FLOAT]: Likewise.
13729         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13730         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13731         value.
13732         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13733         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13734         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13736         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13737         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13738         file.
13740 2013-01-16  Andreas Schwab  <schwab@suse.de>
13742         [BZ #14327]
13743         * include/stdlib.h (__mktemp): Add declaration.
13744         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13745         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13747 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13749         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13750         definitions.
13751         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13752         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13753         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13754         definitions here.
13755         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13756         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13757         definitions.
13758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13759         and ONE.
13760         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13761         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13762         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13763         definitions.
13764         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13765         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13766         definitions.
13767         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13769         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13771 2013-01-15  David S. Miller  <davem@davemloft.net>
13773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13774         trunc{,f} to libm-sysdep_routes.
13775         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13777         file.
13778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13780         file.
13781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13782         file.
13783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13786         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13788         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13789         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13790         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13793         nearbyint{,f} to libm-sysdep_routes.
13794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13796         New file.
13797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13798         file.
13799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13800         New file.
13801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13802         file.
13803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13805         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13806         file.
13807         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13808         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13809         file.
13810         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13811         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13812         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13814         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13815         libc_feholdexcept and libc_fesetenv.
13817 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13819         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13821 2013-01-14  David S. Miller  <davem@davemloft.net>
13823         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13824         (SPARC_ASM_VIS2_IFUNC): Likewise.
13825         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13827         use of 'siam' instruction.
13828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13829         Likewise.
13830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13831         Likewise.
13832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13833         Likewise.
13834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13837         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13839         file.
13840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13841         file.
13842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13843         file.
13844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13845         file.
13846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13851         new VIS2 routines.
13852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13855         Likewise.
13856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13861         routines to libm-sysdep_routines.
13862         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13865         fdim/fdimf to libm-sysdep_routines.
13866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13867         file.
13868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13870         file.
13871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13874         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13875         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13876         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13877         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13879 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13881         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13882         to optimize copies.
13884         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13889         local variable MPTWO.
13890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13891         Likewise.
13893 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13895         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13896         GLOB_NOESCAPE.
13898 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13900         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13902 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13904         * manual/pattern.texi (glob_t): Document gl_flags.
13905         (glob64_t): Likewise.
13907 2013-01-11  David S. Miller  <davem@davemloft.net>
13909         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13910         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13911         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13912         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13913         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13914         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13915         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13916         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13917         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13918         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13919         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13920         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13921         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13923         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13924         sparc V9 rather than using V8 code.
13925         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13926         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13928         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13929         Move to...
13930         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13931         Here.
13933 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13935         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13936         not in the main loop.
13937         * configure: Regenerated.
13939 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13941         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13942         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13943         to just #else.
13944         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13945         [!__GLIBC_HAVE_LONG_LONG] case.
13946         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13947         condition to just #else.
13948         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13949         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13950         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13951         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13952         unconditional.
13953         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13954         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13955         #elif condition to just #else.
13956         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13957         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13958         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13959         #elif condition to just #else.
13961 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13963         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13964         (EF_MIPS_ARCH_64): Fix value.
13965         (EF_MIPS_ARCH_32R2): New.
13966         (EF_MIPS_ARCH_64R2): New.
13968 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13970         * Makeconfig (+link-pie-before-libc): New.
13971         (+link-pie-after-libc): Likewise.
13972         (+link-pie-tests): Likewise.
13973         (+link-pie): Rewritten.
13974         (link-before-libc): Remove $(config-LDFLAGS).
13975         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13976         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13977         (config-LDFLAGS): Renamed to ...
13978         (rtld-LDFLAGS): This.
13979         (rtld-tests-LDFLAGS): New macro.
13980         (link-libc-rpath-link): Likewise.
13981         (link-libc-tests-rpath-link): Likewise.
13982         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13983         (link-libc): Prepand $(link-libc-rpath-link).
13984         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13985         (test-program-prefix): New macro.
13986         (test-via-rtld-prefix): Likewise.
13987         (test-program-cmd): Likewise.
13988         (host-test-program-cmd): Likewise.
13989         * Makefile ($(common-objpfx)testrun.sh): Replace
13990         $(run-program-prefix) with $(test-program-prefix).
13991         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13992         $(rtld-LDFLAGS).
13993         ($(common-objpfx)shlib.lds): Likewise.
13994         (build-module-helper): Likewise.
13995         ($(common-objpfx)format.lds): Likewise.
13996         * Rules (binaries-pie-tests): New.
13997         (binaries-pie-notests): Likewise.
13998         (binaries-pie): Rewritten.
13999         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14000         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14001         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14002         (make-test-out): Replace $(host-built-program-cmd) with
14003         $(host-test-program-cmd).
14004         * config.make.in (build-hardcoded-path-in-tests): New variable.
14005         * configure.in (--enable-hardcoded-path-in-tests): New configure
14006         option.
14007         (hardcoded_path_in_tests): New AC_SUBST.
14008         * configure: Regenerated.
14009         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14010         $(built-program-cmd) with $(test-program-cmd).
14011         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14012         (test_program_cmd): This.
14013         * elf/Makefile ($(objpfx)order.out): Run test with
14014         $(test-program-prefix).
14015         ($(objpfx)order2.out): Likewise.
14016         ($(objpfx)tst-initorder.out): Likewise.
14017         ($(objpfx)tst-initorder2.out): Likewise.
14018         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14019         $(test-program-cmd).
14020         ($(objpfx)tst-array1-static.out): Likewise.
14021         ($(objpfx)tst-array2.out): Likewise.
14022         ($(objpfx)tst-array3.out): Likewise.
14023         ($(objpfx)tst-array4.out): Likewise.
14024         ($(objpfx)tst-array5.out): Likewise.
14025         ($(objpfx)tst-array5-static.out): Likewise.
14026         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14027         $(test-program-cmd).
14028         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14029         $(run-program-prefix) with $(test-program-prefix).
14030         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14031         (test_program_prefix): This.
14032         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14033         $(run-program-prefix) with $(test-program-prefix).
14034         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14035         (test_program_prefix): This.
14036         * iconvdata/tst-tables.sh: Likewise.
14037         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14038         $(run-program-prefix) with $(test-program-prefix).
14039         ($(objpfx)tst-translit.out): Likewise.
14040         ($(objpfx)tst-gettext2.out): Likewise.
14041         ($(objpfx)tst-gettext4.out): Likewise.
14042         ($(objpfx)tst-gettext6.out): Likewise.
14043         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14044         (test_program_prefix): This.
14045         * intl/tst-gettext2.sh: Likewise.
14046         * intl/tst-gettext4.sh  Likewise.
14047         * intl/tst-gettext6.sh: Likewise.
14048         * intl/tst-translit.sh: Likewise.
14049         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14050         with $(test-program-cmd).
14051         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14052         $(run-program-prefix) with $(test-program-prefix).
14053         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14054         (test_program_prefix): This.
14055         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14056         $(run-program-prefix) with $(test-program-prefix).
14057         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14058         (test_program_prefix): This.
14059         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14060         * posix/Makefile ($(objpfx)globtest.out): Replace
14061         $(run-via-rtld-prefix) and $(test-wrapper) with
14062         $(test-program-prefix) and $(test-via-rtld-prefix).
14063         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14064         $(test-program-prefix).
14065         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14066         $(host-test-program-cmd).
14067         (tst-spawn-ARGS): Likewise.
14068         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14069         $(test-program-prefix).
14070         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14071         (test_via_rtld_prefix): This.
14072         (test_wrapper): Renamed to ...
14073         (test_program_prefix): This.
14074         (run_program_prefix): Replaced by test_program_prefix.
14075         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14076         (test_program_prefix): This.
14077         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14078         with $(host-test-program-cmd).
14079         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14080         $(run-program-prefix) with $(test-program-prefix).
14081         ($(objpfx)tst-printf.out): Likewise.
14082         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14083         $(test-program-cmd).
14084         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14085         (test_program_prefix): This.
14086         * stdio-common/tst-unbputc.sh: Likewise.
14087         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14088         $(run-program-prefix) with $(test-program-prefix).
14089         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14090         (test_program_prefix): This.
14091         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14092         $(built-program-cmd) with $(test-program-cmd).
14094 2013-01-11  Andreas Jaeger  <aj@suse.de>
14096         [BZ #15003]
14097         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14098         value. Sync with Linux 3.7.
14100 2013-01-10  David S. Miller  <davem@davemloft.net>
14102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14103         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14104         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14106 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14108         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14109         never set.
14110         * configure: Regenerated.
14112 2013-01-10  David S. Miller  <davem@davemloft.net>
14114         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14115         sparc V9 rather than using V8 code.
14116         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14117         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14119 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14121         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14122         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14123         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14124         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14125         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14126         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14127         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14128         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14129         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14130         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14131         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14132         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14133         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14134         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14135         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14136         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14137         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14138         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14139         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14140         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14141         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14142         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14143         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14144         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14145         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14146         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14147         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14149 2013-01-10  David S. Miller  <davem@davemloft.net>
14151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14153 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14155         * posix/Makefile (tests-static): New variable.
14156         (tests): Add $(tests-static).
14157         (tst-exec-static-ARGS): New variable.
14158         (tst-spawn-static-ARGS): Likewise.
14159         * posix/tst-exec-static.c: New file.
14160         * posix/tst-spawn-static.c: Likewise.
14161         * posix/tst-exec.c: Support run directly.
14162         * posix/tst-spawn.c: Likewise.
14164 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14166         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14167         long.
14168         * math/bits/mathcalls.h (llrint): Likewise.
14169         (llround): Likewise.
14170         * stdlib/stdlib.h (struct drand48_data): Likewise.
14171         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14172         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14173         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14174         Likewise.
14175         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14176         Likewise.
14177         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14178         (elf_greg_t): Likewise.
14179         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14180         (__jmp_buf): Likewise.
14181         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14182         definitions.
14183         (llrint): Likewise, for all definitions.
14184         (llrintl): Likewise.
14186         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14187         Remove [__GNUC__] condition.
14188         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14189         condition to just [__USE_ISOC99].
14190         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14192 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14194         [BZ #14200]
14195         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14196         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14197         defined.
14198         (_POSIX_V6_ILP32_OFF32): Likewise.
14199         (_XBS5_ILP32_OFF32): Likewise.
14200         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14201         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14203 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14205         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14208         doubles __mpexp_twomm1.  Adjust usage.
14209         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14210         Remove.
14212 2013-01-10  Andreas Schwab  <schwab@suse.de>
14214         [BZ #14964]
14215         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14216         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14218 2013-01-09  David S. Miller  <davem@davemloft.net>
14220         [BZ #15003]
14221         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14222         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14223         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14224         TCP_FASTOPEN): Define.
14225         (tcp_repair_opt): New structure.
14226         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14227         enum values.
14228         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14229         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14230         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14231         (tcp_cookie_transactions): New structure.
14233 2013-01-09  Anton Blanchard  <anton@samba.org>
14235         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14236         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14237         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14238         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14240 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14242         * include/features.h (__USE_ANSI): Remove.
14244 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14246         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14248         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14250 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14252         * sysdeps/s390/fpu/libm-test-ulps: Update.
14254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14256         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14257         (__acr): Likewise.
14258         (__cpy): Likewise.
14259         (norm): Likewise.
14260         (denorm): Likewise.
14261         (__mp_dbl): Likewise.
14262         (__dbl_mp): Likewise.
14263         (add_magnitudes): Likewise.
14264         (sub_magnitudes): Likewise.
14265         (__add): Likewise.
14266         (__sub): Likewise.
14267         (__mul): Likewise.
14268         (__inv): Likewise.
14269         (__dvd): Likewise.
14270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14271         (__acr): Likewise.
14272         (__cpy): Likewise.
14273         (norm): Likewise.
14274         (denorm): Likewise.
14275         (__mp_dbl): Likewise.
14276         (__dbl_mp): Likewise.
14277         (add_magnitudes): Likewise.
14278         (sub_magnitudes): Likewise.
14279         (__add): Likewise.
14280         (__sub): Likewise.
14281         (__mul): Likewise.
14282         (__inv): Likewise.
14283         (__dvd): Likewise.
14284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14285         (__acr): Likewise.
14286         (__cpy): Likewise.
14287         (norm): Likewise.
14288         (denorm): Likewise.
14289         (__mp_dbl): Likewise.
14290         (__dbl_mp): Likewise.
14291         (add_magnitudes): Likewise.
14292         (sub_magnitudes): Likewise.
14293         (__add): Likewise.
14294         (__sub): Likewise.
14295         (__mul): Likewise.
14296         (__inv): Likewise.
14297         (__dvd): Likewise.
14299 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14301         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14302         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14303         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14304         2 && __USE_EXTERN_INLINES]: Likewise.
14306 2013-01-08  Andreas Jaeger  <aj@suse.de>
14308         [BZ# 14985]
14309         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14310         Remove.
14311         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14312         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14314 2013-01-07  Anton Blanchard  <anton@samba.org>
14316         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14317         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14318         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14319         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14320         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14321         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14322         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14323         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14325         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14328         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14330         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14331         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14332         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14333         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14334         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14335         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14336         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14337         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14338         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14339         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14340         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14341         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14342         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14343         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14344         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14345         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14346         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14348         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14350         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14351         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14352         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14353         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14355         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14356         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14358         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14360 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14362         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14363         (__MALLOC_PMT): Likewise.
14364         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14365         [__GNUC__], only on [_LIBC].
14366         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14367         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14368         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14369         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14370         forward declaration.
14371         (realloc_hook_ini): Likewise.
14372         (memalign_hook_ini): Likewise.
14373         (__libc_memalign): Do not use __MALLOC_PMT in variable
14374         declaration.
14375         (__libc_valloc): Likewise.
14376         (__libc_pvalloc): Likewise.
14377         (__libc_calloc): Likewise.
14378         (__posix_memalign): Likewise.
14380         [BZ #14996]
14381         * math/s_casinh.c: Include <float.h>.
14382         (__casinh): Do not do computation with squaring and square root
14383         for large arguments.
14384         * math/s_casinhf.c: Include <float.h>.
14385         (__casinhf): Do not do computation with squaring and square root
14386         for large arguments.
14387         * math/s_casinhl.c: Include <float.h>.
14388         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14389         (__casinhl): Do not do computation with squaring and square root
14390         for large arguments.
14391         * math/libm-test.inc (casin_test): Add more tests.
14392         (casinh_test): Likewise.
14393         * sysdeps/i386/fpu/libm-test-ulps: Update.
14394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14396 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14398         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14399         (__x86_64_raw_data_cache_size): Likewise.
14400         (__x86_64_data_cache_size_half): Likewise.
14401         (__x86_64_raw_data_cache_size_half): Likewise.
14402         (__x86_64_shared_cache_size): Likewise.
14403         (__x86_64_raw_shared_cache_size): Likewise.
14404         (__x86_64_shared_cache_size_half): Likewise.
14405         (__x86_64_raw_shared_cache_size_half): Likewise.
14406         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14407         to ...
14408         (__x86_data_cache_size): This.
14409         (__x86_64_raw_data_cache_size): Renamed to ...
14410         (__x86_raw_data_cache_size): This.
14411         (__x86_64_data_cache_size_half): Renamed to ...
14412         (__x86_data_cache_size_half): This.
14413         (__x86_64_raw_data_cache_size_half): Renamed to ...
14414         (__x86_raw_data_cache_size_half): This.
14415         (__x86_64_shared_cache_size): Renamed to ...
14416         (__x86_shared_cache_size): This.
14417         (__x86_64_raw_shared_cache_size): Renamed to ...
14418         (__x86_raw_shared_cache_size): This.
14419         (__x86_64_shared_cache_size_half): Renamed to ...
14420         (__x86_shared_cache_size_half): This.
14421         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14422         (__x86_raw_shared_cache_size_half): This.
14423         * sysdeps/x86_64/memcpy.S: Updated.
14424         * sysdeps/x86_64/memset.S: Likewise.
14425         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14429 2013-01-04  David S. Miller  <davem@davemloft.net>
14431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14433 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14435         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14436         1 to avoid redefinition warning.
14437         (__USE_GNU): Don't define.
14438         (init_signaling_nan): Protoize.
14440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14442 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14444         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14446         (__cpymn): Likewise.
14447         (norm): Remove commented code.
14448         (denorm): Likewise.
14449         (__mp_dbl): Likewise.
14450         (__inv): Likewise.
14451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14452         (__cpymn): Likewise.
14453         (norm): Remove commented code.
14454         (denorm): Likewise.
14455         (__mp_dbl): Likewise.
14456         (__inv): Likewise.
14458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14459         mp_no value for 1.0 and 2.0.
14460         (norm): Use RADIXI instead of radixi.d.
14461         (denorm): Likewise.
14462         (__mul): Use 0.0 instead of zero.d.
14463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14464         mp_no value for 1.0 and 2.0.
14465         (norm): Use RADIXI instead of radixi.d.
14466         (denorm): Likewise.
14467         (__mul): Use 0.0 instead of zero.d.
14469 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14471         [BZ #14994]
14472         * math/s_casinh.c (__casinh): Reduce finite argument to first
14473         quadrant then set signs of results at the end.
14474         * math/s_casinhf.c (__casinhf): Likewise.
14475         * math/s_casinhl.c (__casinhl): Likewise.
14476         * math/libm-test.inc (casin_test): Add more tests.
14477         (casinh_test): Likewise.
14478         * sysdeps/i386/fpu/libm-test-ulps: Update.
14479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14481 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14483         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14485         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14487         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14488         declarations.
14489         (denorm): Likewise.
14490         (__mp_dbl): Likewise.
14491         (__inv): Likewise.
14493         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14494         and adjust the header comment.
14496         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14497         variable name from declaration.
14499 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14502         Initialize COMMON_CPUID_INDEX_7 element.
14503         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14504         (CPUID_RTM): Likewise.
14505         (HAS_RTM): Likewise.
14506         (COMMON_CPUID_INDEX_7): New enum.
14508 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14510         [BZ #14981]
14511         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14512         size is zero, record memory as freed.
14514 2013-01-03  Andreas Jaeger  <aj@suse.de>
14516         * po/ia.po: Add new Interlingua translation.
14518 2012-01-03  Allan McRae  <allan@archlinux.org>
14520         * locale/programs/localedef.c: Fix description of '--posix' flag.
14522 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14524         * NEWS: Update dates in second copyright notice.
14525         * README: Update copyright dates in example.
14526         * manual/libc.texinfo: Update copyright dates.
14527         * scripts/test-installation.pl: Update copyright date in --version
14528         output.
14530         * hurd/ctty-input.c: Fix copyright notice formatting.
14531         * hurd/ctty-output.c: Likewise.
14532         * hurd/dtable.c: Likewise.
14533         * hurd/hurd-raise.c: Likewise.
14534         * hurd/hurdprio.c: Likewise.
14535         * hurd/msgportdemux.c: Likewise.
14536         * misc/sys/file.h: Likewise.
14537         * misc/sys/ioctl.h: Likewise.
14538         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14539         * sysdeps/mach/hurd/chdir.c: Likewise.
14540         * sysdeps/mach/hurd/fchdir.c: Likewise.
14541         * sysdeps/mach/hurd/rename.c: Likewise.
14542         * sysdeps/mach/hurd/rmdir.c: Likewise.
14543         * sysdeps/mach/hurd/seekdir.c: Likewise.
14544         * sysdeps/mach/hurd/setsid.c: Likewise.
14545         * sysdeps/posix/wait3.c: Likewise.
14547         * All files with FSF copyright notices: Update copyright dates
14548         using scripts/update-copyrights.
14549         * intl/plural.c: Regenerated.
14550         * locale/programs/charmap-kw.h: Likewise.
14551         * locale/programs/locfile-kw.h: Likewise.
14553 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14555         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14556         four values.
14558         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14559         calculation loop and add branch prediction.
14561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14562         check access beyond bounds of m1np.
14564         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14565         MPTWO.
14566         (__inv): Remove local variable MPTWO to use the global
14567         constant.
14568         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14570         variable MPTWO.
14571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14572         MP3HALFS static const.
14574 2013-01-01  David S. Miller  <davem@davemloft.net>
14576         * po/ca.po: Update from translation team.
14578 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14580         * scripts/update-copyrights: New file.
14581         * Makeconfig: Reformat copyright notice.
14582         * ctype/ctype.h: Likewise.
14583         * debug/swprintf_chk.c: Likewise.
14584         * elf/dl-cache.c: Likewise.
14585         * elf/dl-debug.c: Likewise.
14586         * elf/dl-object.c: Likewise.
14587         * grp/initgroups.c: Likewise.
14588         * hurd/Makefile: Likewise.
14589         * hurd/hurd/signal.h: Likewise.
14590         * hurd/hurdfault.c: Likewise.
14591         * hurd/hurdioctl.c: Likewise.
14592         * hurd/hurdlookup.c: Likewise.
14593         * hurd/intr-msg.c: Likewise.
14594         * iconv/gconv_open.c: Likewise.
14595         * libio/swprintf.c: Likewise.
14596         * locale/lc-ctype.c: Likewise.
14597         * locale/nl_langinfo.c: Likewise.
14598         * mach/Machrules: Likewise.
14599         * mach/Makefile: Likewise.
14600         * malloc/obstack.h: Likewise.
14601         * manual/Makefile: Likewise.
14602         * manual/tsort.awk: Likewise.
14603         * misc/bits/stab.def: Likewise.
14604         * nis/nis_print_group_entry.c: Likewise.
14605         * nis/nis_table.c: Likewise.
14606         * nis/nss_compat/compat-pwd.c: Likewise.
14607         * nis/nss_compat/compat-spwd.c: Likewise.
14608         * po/Makefile: Likewise.
14609         * posix/fnmatch.c: Likewise.
14610         * posix/regex.h: Likewise.
14611         * resolv/Makefile: Likewise.
14612         * resolv/nss_dns/dns-network.c: Likewise.
14613         * resolv/res_hconf.c: Likewise.
14614         * scripts/gen-sorted.awk: Likewise.
14615         * soft-fp/soft-fp.h: Likewise.
14616         * stdio-common/printf.h: Likewise.
14617         * stdlib/monetary.h: Likewise.
14618         * stdlib/random.c: Likewise.
14619         * stdlib/random_r.c: Likewise.
14620         * sysdeps/generic/Makefile: Likewise.
14621         * sysdeps/gnu/Makefile: Likewise.
14622         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14626         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14627         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14629         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14632         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14633         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14634         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14635         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14636         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14637         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14638         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14639         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14641         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14645         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14646         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14647         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14649         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14650         * sysdeps/mach/hurd/errnos.awk: Likewise.
14651         * sysdeps/mach/hurd/fork.c: Likewise.
14652         * sysdeps/mach/hurd/getcwd.c: Likewise.
14653         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14654         * sysdeps/mach/hurd/mmap.c: Likewise.
14655         * sysdeps/mach/hurd/utimes.c: Likewise.
14656         * sysdeps/mach/hurd/xmknod.c: Likewise.
14657         * sysdeps/posix/profil.c: Likewise.
14658         * sysdeps/posix/readdir_r.c: Likewise.
14659         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14660         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14661         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14662         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14664         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14665         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14666         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14668         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14669         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14670         * sysdeps/pthread/lio_listio.c: Likewise.
14671         * sysdeps/sparc/dl-procinfo.h: Likewise.
14672         * sysdeps/unix/i386/sysdep.S: Likewise.
14673         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14674         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14675         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14676         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14678         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14679         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14680         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14681         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14682         * sysdeps/wordsize-32/divdi3.c: Likewise.
14683         * time/sys/time.h: Likewise.
14684         * wcsmbs/Makefile: Likewise.
14686 2013-01-01  David S. Miller  <davem@davemloft.net>
14688         * po/fr.po: Update from translation team.
14690         * catgets/gencat.c: Update copyright year.
14691         * csu/version.c: Likewise.
14692         * debug/catchsegv.sh: Likewise.
14693         * debug/pcprofiledump.c: Likewise.
14694         * debug/xtrace.sh: Likewise.
14695         * elf/ldconfig.c: Likewise.
14696         * elf/ldd.bash.in: Likewise.
14697         * elf/pldd.c: Likewise.
14698         * elf/sotruss.ksh: Likewise.
14699         * elf/sprof.c: Likewise.
14700         * iconv/iconv_prog.c: Likewise.
14701         * iconv/iconvconfig.c: Likewise.
14702         * locale/programs/locale.c: Likewise.
14703         * locale/programs/localedef.c: Likewise.
14704         * login/programs/pt_chown.c: Likewise.
14705         * malloc/memusage.sh: Likewise.
14706         * malloc/memusagestat.c: Likewise.
14707         * malloc/mtrace.pl: Likewise.
14708         * nscd/nscd.c: Likewise.
14709         * nss/getent.c: Likewise.
14710         * nss/makedb.c: Likewise.
14711         * posix/getconf.c: Likewise.
14713 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14715         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14716         numbers.
14718 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14720         * math/bits/mathcalls.h (modf): Use __nonnull.
14722 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14724         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14725         (split): Use macro CN instead of the bare value.
14726         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14727         could be used.
14728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14729         instead of the bare value.
14730         (power1): Likewise.
14732 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14735         __ATAN_TWOM.
14736         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14738         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14739         their values.
14740         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14741         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14742         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14743         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14745 2012-12-28  Andreas Jaeger  <aj@suse.de>
14747         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14748         values are from Linux 3.7.
14750         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14751         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14753 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14755         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14756         TRUE case.
14758         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14759         (norm): Likewise.
14760         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14761         variables with preprocessor constants.
14762         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14763         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14764         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14766 2012-12-27  Bruno Haible  <bruno@clisp.org>
14768         [BZ #14317]
14769         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14770         only if needed.
14772 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14775         and use variable directly.
14776         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14778         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14779         MPONE.
14780         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14782         variable MPONE.
14783         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14785         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14786         include directive.  Remove local variable MPONE.
14787         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14788         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14789         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14791 2012-12-25  David S. Miller  <davem@davemloft.net>
14793         * version.h (RELEASE): Set to "development".
14794         (VERSION): Set to "2.17.90".
14795         * NEWS: Add 2.18 section.
14797 2012-12-21  David S. Miller  <davem@davemloft.net>
14799         * po/hr.po: Update from translation team.
14801 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14803         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14805 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14807         * NEWS:  Mention new memcpy for MIPS.
14809 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14811         * manual/contrib.texi (Contributors): Spelling correction.
14813 2012-12-15  David S. Miller  <davem@davemloft.net>
14815         * po/ru.po: Update from translation team.
14817 2012-12-13  David S. Miller  <davem@davemloft.net>
14819         * NEWS: Mention IFUNC testsuite enhancements.
14821         * po/pl.po: Update from translation team.
14822         * po/bg.po: Likewise.
14824         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14825         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14827 2012-12-11  David S. Miller  <davem@davemloft.net>
14829         * po/sv.po: Update from translation team.
14831         * po/vi.po: Update from translation team.
14833         * po/cs.po: Update from translation team.
14835         * po/de.po: Update from translation team.
14836         * po/eo.po: Likewise.
14837         * po/nl.po: Likewise.
14839 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14841         [BZ #14246]
14842         * manual/argp.texi (Argp Helper Functions): Move node to follow
14843         Argp Parsing State.
14845         [BZ #14872]
14846         * manual/conf.texi (Limits on File System Capacity): Mention if
14847         terminating null is included in the max size.
14849 2012-12-10  Andreas Jaeger  <aj@suse.de>
14851         * po/cs.po: Update from translation team.
14853 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14855         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14856         void pointer and cast to uintptr_t.
14857         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14858         path.
14859         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14860         * sysdeps/s390/s390-64/memset.S: Likewise.
14862 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14864         [BZ #14833]
14865         * menual/message.texi (Message Translation): Fix typos.
14866         (Helper programs for gettext): Likewise.
14868 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14870         [BZ #14898]
14871         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14872         Change to -1.
14874 2012-12-07  David S. Miller  <davem@davemloft.net>
14876         * po/libc.pot: Update.
14878 2012-12-07  Richard Henderson  <rth@redhat.com>
14880         [BZ #10114]
14881         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14882         normal/normal case to before the switch.
14883         (_FP_DIV): Likewise.
14885 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14886             Mike Frysinger  <vapier@gentoo.org>
14888         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14889         check for __NR_fadvise64_64.
14891 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14893         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14894         0, not just to plain "0" as a statement.
14895         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14896         with cw.
14898 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14900         * NEWS: Use sourceware.org in Bugzilla URL.
14902 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14905         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14907         * stdio-common/tst-put-error.c (do_test): Add newline to the
14908         padded test to ensure flush.
14910 2012-12-05  Jeff Law  <law@redhat.com>
14912         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14914 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14916         * README: Don't refer to ports add-on as distributed separately.
14917         Mention AArch64 in list of systems supported in the ports add-on.
14919         * LICENSES: Add more non-FSF copyright and license notices.
14921         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14922         ((unused)).
14924         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14926         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14927         10000 as width of padded output.
14929 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14931         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14933         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14934         variable LX with __attribute__ ((unused)).
14935         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14936         Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14939         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14940         with __attribute__ ((unused)).
14942 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14944         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14946 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14948         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14949         (CFLAGS-nldbl-acos.c): New variable.
14950         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14951         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14952         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14953         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14954         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14955         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14956         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14957         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14958         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14959         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14960         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14961         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14962         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14963         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14964         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14965         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14966         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14967         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15003         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15008         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15009         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15010         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15011         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15012         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15013         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15014         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15015         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15016         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15017         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15018         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15019         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15020         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15021         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15022         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15023         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15024         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15025         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15026         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15027         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15028         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15029         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15030         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15031         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15032         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15033         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15034         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15035         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15036         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15037         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15038         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15039         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15040         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15041         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15042         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15043         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15044         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15045         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15046         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15049         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15051         [BZ #14914]
15052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15053         whole low double instead of just low 47 bits when splitting values
15054         into two parts.
15056 2012-12-03  Allan McRae  <allan@archlinux.org>
15058         * manual/stdio.texi (Predefined Printf Handlers): Remove
15059         @hsep and @vsep usage.
15061 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15063         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15064         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15066 2012-12-03  Jeff Law  <law@redhat.com>
15068         * time/sys/time.h (settimeofday): Do not mark TV argument
15069         as __nonnull.
15071 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15073         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15074         when currently writing and seek to current position when not.
15075         * libio/Makefile (tests): Remove bug-fclose1.
15076         * libio/bug-fclose1.c: Delete.
15078 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15080         * manual/arith.texi (feenableexcept): Fix typo.
15081         (fedisableexcept): Likewise.
15083 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15085         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15086         second, differently-typed declaration, rather than a cast.
15088 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15090         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15091         * include/rpc/svc.h: ... here.
15093 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15095         [BZ #13013]
15096         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15097         depending n and resplen2 to catch cases where answer
15098         equals answerp2.
15100 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15102         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15103         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15105 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15109 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15111         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15113 2012-11-28  Jeff Law  <law@redhat.com>
15115         [BZ #13761]
15116         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15117         dataset_temporary.  Track alloca usage into alloca_used.
15118         If dataset is large allocate and release it via malloc/free.
15120 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15122         [BZ #14197]
15123         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15125 2012-11-28  David S. Miller  <davem@davemloft.net>
15127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15129 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15131         [BZ #14803]
15132         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15133         of pi/2 rounded to nearest to 64 bits.
15134         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15135         nearest to 64 bits.
15136         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15137         bits.
15139 2012-11-28  Jeff Law <law@redhat.com>
15140             Martin Osvald <mosvald@redhat.com>
15142         [BZ #14889]
15143         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15144         * sunrpc/svc.c: Include time.h.
15145         (__svc_accept_failed): New function.
15146         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15147         any reason other than EINTR, call __svc_accept_failed.
15148         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15149         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15151 2012-11-28  Andreas Schwab  <schwab@suse.de>
15153         * scripts/abilist.awk: Also handle indirect functions in .opd
15154         section.
15156 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15158         [BZ #13881]
15159         * sysdeps/x86/fpu/powl_helper.c: New file.
15160         * sysdeps/x86/fpu/Makefile: Likewise.
15161         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15162         (p3): New object.
15163         (__ieee754_powl): Use __powl_helper for finite arguments except
15164         integer exponents below 8.
15165         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15166         (p3): New object.
15167         (__ieee754_powl): Use __powl_helper for finite arguments except
15168         integer exponents below 8.
15169         * math/libm-test.inc (pow_test): Add more tests and enable some
15170         previously disabled tests.
15171         * sysdeps/i386/fpu/libm-test-ulps: Update.
15172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15174 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15175             Carlos O'Donell  <carlos_odonell@mentor.com>
15177         * nss/makedb.c (is_prime): Assert that input is odd and greater
15178         than 4.  Note that fact in a comment too.
15179         (next_prime): Add 4 to input.
15181 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15183         [BZ #11741]
15184         * libio/Makefile (tests): Add test case tst-fwrite-error.
15185         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15186         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15187         * libio/tst-fwrite-error.c: New test case.
15189 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15191         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15192         before casting to void *.
15193         * include/libc-internal.h (__pointer_type): New macro.
15194         (__integer_if_pointer_type_sub): Likewise.
15195         (__integer_if_pointer_type): Likewise.
15196         (cast_to_integer): Likewise.
15197         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15198         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15199         before casting to atomic64_t.
15200         (atomic_exchange_acq): Likewise.
15201         (__arch_exchange_and_add_body): Likewise.
15202         (__arch_add_body): Likewise.
15203         (atomic_add_negative): Likewise.
15204         (atomic_add_zero): Likewise.
15206 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15208         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15209         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15210         (add_fdes): Likewise.
15211         (linear_search_fdes): Likewise.
15212         (binary_search_unencoded_fdes): Likewise.
15214 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15216         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15218 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15220         * configure.in: Autodetect C++ header directories.
15221         * configure: Regenerated.
15223 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15225         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15227 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15231 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15233         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15234         LDBL_MANT_DIG == 106]: Disable some tests.
15235         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15236         Likewise.
15237         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15238         Likewise.
15240         [BZ #14871]
15241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15242         input for small inputs.  Return +/- pi/2 for large inputs.
15243         * math/libm-test.inc (atan_test): Add more tests.
15245         * sysdeps/generic/unwind-dw2-fde-glibc.c
15246         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15247         __attribute__ ((unused)).
15249         [BZ #14645]
15250         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15251         x * y if x and y are nonzero and z is zero.
15253         [BZ #14811]
15254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15255         nonzero exponents with absolute value below 0x1p-117 to +/-
15256         0x1p-117.
15258         [BZ #14869]
15259         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15260         up arguments below 2**-450, not just those below 2**-500.
15261         * math/libm-test.inc (hypot_test): Add another test.
15263         [BZ #14868]
15264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15265         Return a+b for ratio over 2**120, not 2**60.
15266         * math/libm-test.inc (hypot_test): Add another test.
15268         * math/libm-test.inc (clog_test): Use
15269         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15270         (clog10_test): Likewise.
15272         [BZ #6778]
15273         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15275 2012-11-22  Andreas Schwab  <schwab@suse.de>
15277         * sysdeps/i386/fpu/libm-test-ulps: Update.
15279 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15281         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15282         printf output with newline.
15284 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15286         [BZ #14865]
15287         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15288         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15289         -z nodlopen, -z initfirst and -z execstack support.
15290         * configure: Regenerated.
15292         * elf/elf.h (DF_1_NODIRECT): New macro.
15293         (DF_1_IGNMULDEF): Likewise.
15294         (DF_1_NOKSYMS): Likewise.
15295         (DF_1_NOHDR): Likewise.
15296         (DF_1_EDITED): Likewise.
15297         (DF_1_NORELOC): Likewise.
15298         (DF_1_SYMINTPOSE): Likewise.
15299         (DF_1_GLOBAUDIT): Likewise.
15300         (DF_1_SINGLETON): Likewise.
15301         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15302         DT_1_SUPPORTED_MASK bits.
15303         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15305 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15307         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15309 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15311         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15312         macro.
15314         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15315         (sendmmsg): Move declarations...
15316         * socket/sys/socket.h: ... here.
15317         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15318         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15319         include it from...
15320         * socket/recvmmsg.c: ... this new file.
15321         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15322         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15323         definition of __sendmmsg hidden.
15324         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15325         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15326         Move ENOSYS stub into and include it from...
15327         * socket/sendmmsg.c: ... this new file.
15328         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15329         (sysdep_routines): Move recvmmsg and sendmmsg...
15330         * socket/Makefile (routines): ... here.
15331         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15332         (GLIBC_PRIVATE): Add __sendmmsg.
15333         * include/sys/socket.h (__sendmmsg): Add declarations.
15334         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15335         sendmmsg.
15337 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15339         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15340         variable I1 with __attribute__ ((unused)).
15341         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15343 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15345         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15346         DUMMY variables with __attribute__ ((unused)).
15348         * bits/byteswap.h: Include <bits/types.h>.
15349         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15351 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15353         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15354         string_t.  Do not manually set errno.
15355         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15356         length with __strnlen.  Make sure to both set errno and return it on
15357         failure.
15359 2012-11-19  David S. Miller  <davem@davemloft.net>
15361         With help from Joseph Myers.
15362         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15363         very large arguments properly.
15364         * math/libm-test.inc (atan_test): New tests.
15365         (atan2_test): New tests.
15366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15369 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15371         [BZ #14856]
15372         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15373         Define to 3.
15375         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15376         [POSIX] (EADDRNOTAVAIL): Likewise.
15377         [POSIX] (EAFNOSUPPORT): Likewise.
15378         [POSIX] (EALREADY): Likewise.
15379         [POSIX] (ECONNABORTED): Likewise.
15380         [POSIX] (ECONNREFUSED): Likewise.
15381         [POSIX] (ECONNRESET): Likewise.
15382         [POSIX] (EDESTADDRREQ): Likewise.
15383         [POSIX] (EDQUOT): Likewise.
15384         [POSIX] (EHOSTUNREACH): Likewise.
15385         [POSIX] (EIDRM): Likewise.
15386         [POSIX] (EISCONN): Likewise.
15387         [POSIX] (ELOOP): Likewise.
15388         [POSIX] (EMULTIHOP): Likewise.
15389         [POSIX] (ENETDOWN): Likewise.
15390         [POSIX] (ENETUNREACH): Likewise.
15391         [POSIX] (ENOBUFS): Likewise.
15392         [POSIX] (ENODATA): Likewise.
15393         [POSIX] (ENOLINK): Likewise.
15394         [POSIX] (ENOMSG): Likewise.
15395         [POSIX] (ENOPROTOOPT): Likewise.
15396         [POSIX] (ENOSR): Likewise.
15397         [POSIX] (ENOSTR): Likewise.
15398         [POSIX] (ENOTCONN): Likewise.
15399         [POSIX] (ENOTSOCK): Likewise.
15400         [POSIX] (EOPNOTSUPP): Likewise.
15401         [POSIX] (EOVERFLOW): Likewise.
15402         [POSIX] (EPROTO): Likewise.
15403         [POSIX] (EPROTONOSUPPORT): Likewise.
15404         [POSIX] (EPROTOTYPE): Likewise.
15405         [POSIX] (ESTALE): Likewise.
15406         [POSIX] (ETIME): Likewise.
15407         [POSIX] (ETXTBSY): Likewise.
15408         [POSIX] (EWOULDBLOCK): Likewise.
15409         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15410         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15411         [POSIX] (SEEK_CUR): Likewise.
15412         [POSIX] (SEEK_END): Likewise.
15413         [POSIX || UNIX98] (mode_t): Do not require.
15414         [POSIX] (off_t): Likewise.
15415         [POSIX] (pid_t): Likewise.
15416         [POSIX] (sys/stat.h): Do not allow header.
15417         [POSIX] (unistd.h): Likewise.
15418         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15419         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15420         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15421         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15422         require.
15423         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15424         sigevent): Specify elements.
15425         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15426         entry.
15427         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15428         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15430         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15431         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15432         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15433         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15434         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15435         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15436         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15437         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15438         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15439         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15440         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15441         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15442         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15443         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15444         Likewise.
15445         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15446         Likewise.
15447         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15448         Likewise.
15449         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15450         Likewise.
15451         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15452         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15453         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15454         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15456         Specify lower bound on value.
15457         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15462         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15463         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15464         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15465         value.
15466         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15467         as optional.
15468         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15469         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15470         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15471         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15473         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15474         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15475         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15476         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15479         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15480         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15481         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15482         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15483         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15484         entry.
15485         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15486         optional.
15487         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15488         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15489         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15490         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15492         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15493         Likewise.
15494         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15496         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15497         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15498         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15499         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15500         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15501         as optional.
15502         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15504         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15505         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15506         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15507         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15508         specify as optional.
15509         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15510         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15511         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15512         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15513         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15514         [XPG3] (NL_LANGMAX): Likewise.
15515         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15516         [POSIX || XPG3] (NL_NMAX): Likewise.
15517         [POSIX || XPG3] (NL_SETMAX): Likewise.
15518         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15519         [XPG3] (NZERO): Likewise.
15520         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15521         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15522         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15523         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15524         (REG_ERANGE): Expect.
15525         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15526         optional-constant.
15527         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15528         Use (void) in prototype.
15529         [POSIX] (*_t): Allow.
15530         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15531         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15532         (WRDE_BADVAL): Expect.
15534         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15535         expect.
15536         [XPG3 || XPG4] (O_RSYNC): Likewise.
15537         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15538         Likewise.
15539         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15540         [XPG3 || XPG4] (sigqueue): Likewise.
15541         [XPG3 || XPG4] (sigtimedwait): Likewise.
15542         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15543         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15544         [XPG3 || XPG4] (vsnprintf): Likewise.
15545         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15546         Likewise.
15547         [XPG3 || XPG4] (blksize_t): Likewise.
15548         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15549         Likewise.
15550         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15551         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15552         [XPG3 || XPG4] (struct itimerspec): Likewise.
15553         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15554         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15555         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15556         [XPG3 || XPG4] (clockid_t): Likewise.
15557         [XPG3 || XPG4] (timer_t): Likewise.
15558         [XPG3 || XPG4] (clock_getres): Likewise.
15559         [XPG3 || XPG4] (clock_gettime): Likewise.
15560         [XPG3 || XPG4] (clock_settime): Likewise.
15561         [XPG3 || XPG4] (nanosleep): Likewise.
15562         [XPG3 || XPG4] (timer_create): Likewise.
15563         [XPG3 || XPG4] (timer_delete): Likewise.
15564         [XPG3 || XPG4] (timer_gettime): Likewise.
15565         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15566         [XPG3 || XPG4] (timer_settime): Likewise.
15567         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15568         [XPG3 || XPG4] (getlogin_r): Likewise.
15569         [XPG3 || XPG4] (pread): Likewise.
15570         [XPG3 || XPG4] (pthread_atfork): Likewise.
15571         [XPG3 || XPG4] (pwrite): Likewise.
15573         [BZ #14835]
15574         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15575         <bits/siginfo.h>.
15577 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15579         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15580         finalizing MALLSTREAM.
15582         * sysdeps/mach/hurd/syncfs.c: New file.
15584 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15586         [BZ #14719]
15587         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15588         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15590         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15591         (_nss_dns_gethostbyname4_r): Likewise.
15592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15593         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15595 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15597         [BZ #13763]
15598         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15600 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15602         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15603         * elf/cache.c (print_entry): Print ",AArch64" for
15604         FLAG_AARCH64_LIB64
15606         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15607         * elf/cache.c (print_entry): Print ",hard-float" for
15608         FLAG_ARM_LIBHF.
15610 2012-11-18  David S. Miller  <davem@davemloft.net>
15612         With help from Joseph Myers.
15613         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15614         cutoff to 2**-13.
15615         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15616         cutoff to 2**-25.
15617         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15618         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15619         small.
15620         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15621         * math/libm-test.inc (y0_test): New tests.
15622         (y1_test): New tests.
15623         * sysdeps/i386/fpu/libm-test-ulps: Update.
15624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15627 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15629         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15630         64-bit targets.
15631         * configure: Regenerated.
15633 2012-11-17  David S. Miller  <davem@davemloft.net>
15635         [BZ #14811]
15636         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15637         nonzero exponents with absolute value below 0x1p-128 to +/-
15638         0x1p-128.
15640 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15642         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15644         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15646         * posix/getconf-speclist.c: New file.
15647         * posix/posix-envs.def: Likewise.
15648         * posix/confstr.c (START_ENV_GROUP): New macro.
15649         (END_ENV_GROUP): Likewise.
15650         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15651         (KNOWN_PRESENT_ENV_STRING): Likewise.
15652         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15653         (UNKNOWN_ENVIRONMENT): Likewise.
15654         (confstr): Include posix-envs.def instead of handling
15655         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15656         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15657         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15658         (END_ENV_GROUP): Likewise.
15659         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15660         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15661         (UNKNOWN_ENVIRONMENT): Likewise.
15662         (__sysconf): Include posix-envs.def instead of handling associated
15663         cases directly here.
15664         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15665         preprocessing getconf-speclist.c rather than running getconf or
15666         generating empty file.
15668 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15670         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15672 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15674         [BZ #14672]
15675         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15677 2012-11-16  David S. Miller  <davem@davemloft.net>
15679         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15680         smaller than LDBL_EPSILON/2.0L, just return xm1.
15682 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15684         * elf/tst-array1.c (init): Set constructor priority to 1000.
15685         (fini): Set destructor priority to 1000.
15686         * elf/tst-array2dep.c: Likewise.
15688 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15690         [BZ #11741]
15691         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15692         (_IO_new_file_xsputn): Also return EOF if none of the input
15693         data was written when overflow failed.
15694         * libio/iopadn.c (_IO_padn): Likewise.
15695         * libio/iowpadn.c (_IO_wpadn): Likewise.
15696         * stdio-common/tst-put-error.c: Add copyright notice.
15697         (do_test): Add case for printing padded string.
15698         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15699         _IO_padn returned error.
15700         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15701         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15702         return EOF.
15704 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15706         * libio/libioP.h: Add comment note that the references to C++
15707         bits are now obsolete.
15709 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15711         * math/libm-test.inc (check_complex): Use asprintf.
15713 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15715         * debug/pcprofiledump.c (print_version): Update copyright year.
15716         * malloc/memusagestat.c (print_version): Likewise.
15718 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15720         [BZ #14831]
15721         * elf/Makefile (tests): Add tst-audit8.
15722         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15723         ($(objpfx)tst-audit8.out): New target.
15724         (tst-audit8-ENV): New variable.
15725         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15726         audit if l_reloc_result is NULL.
15727         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15728         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15729         * elf/tst-audit8.c: New file.
15731 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15733         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15734         * misc/Makefile (CFLAGS-select.c): Define.
15735         * posix/Makefile (CFLAGS-pause.c): Define.
15737 2012-11-13  David S. Miller  <davem@davemloft.net>
15739         * crypt/Makefile: Move test targets after toplevel Rules
15740         inclusion.  Grab any necessary sysdep routines when linking.
15741         * crypt/md5.c (md5_process_block): Remove define, we will always
15742         name it __md5_process_block.
15743         (md5_finish_ctx): Update md5_process_block call.
15744         (md5_stream): Likewise.
15745         (md5_process_bytes): Likewise.
15746         (md5_process_block): Rename to __md5_process_block and move to ...
15747         * crypt/md5-block.c: ... here.
15748         * crypt/sha256.c (sha256_process_block): Move to ...
15749         * crypt/sha256-block.c: ... here.
15750         * crypt/sha512.c (sha512_process_block): Move to ...
15751         * crypt/sha512-block.c: ... here.
15752         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15753         path.
15754         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15755         * sysdeps/sparc/sparc64/multiarch/Makefile
15756         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15757         crypt subdir.
15758         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15759         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15760         multiarch changes.
15761         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15762         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15763         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15764         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15765         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15766         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15767         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15768         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15770         file.
15771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15773         file.
15774         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15776 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15778         * timezone/tzselect.ksh: Update from tzcode git revision
15779         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15780         * timezone/zdump.c: Likewise.
15781         * timezone/zic.c: Likewise.
15782         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15783         in TZVERSION setting, not $(PKGVERSION).
15784         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15785         REPORT_BUGS_TO settings.
15787         [BZ #14838]
15788         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15789         macro.
15791 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15793         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15794         detection to immediately after _FP_ROUND().
15795         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15796         bits are 0.
15798 2012-11-11  David S. Miller  <davem@davemloft.net>
15800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15801         inttypes.h
15802         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15803         __close rather than their public counterparts.
15805 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15807         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15808         file.
15809         [UNIX98] (sem_timedwait): Do not expect.
15810         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15811         [XPG4 || UNIX98] (sockatmark): Do not expect.
15812         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15813         (clock_getcpuclockid): Do not expect.
15814         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15815         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15816         Do not expect.
15817         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15818         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15819         [UNIX98] (vwscanf): Likewise.
15820         [UNIX98] (vswscanf): Likewise.
15822 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15824         * timezone/version.h: Remove file.
15825         * timezone/README: Do not refer to version.h.
15826         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15827         $(objpfx)version.h.
15828         ($(objpfx)zdump.o): Likewise.
15829         ($(objpfx)version.h): New target.
15831         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15832         2012i.
15833         * timezone/README: Don't mention modification to tzselect.ksh.
15834         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15835         work on unmodified tzselect.ksh.  Substitute version numbers in
15836         tzselect.ksh.
15838         * Makefile (format-me): Remove.
15839         (INSTALL): Adjust indentation.  Use commands directly instead of
15840         using $(format-me).
15842         * aclocal.m4 (ACX_PKGVERSION): New macro.
15843         (ACX_BUGURL): Likewise.
15844         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15845         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15846         (REPORT_BUGS_TO): Likewise.
15847         * configure: Regenerated.
15848         * config.h.in (PKGVERSION): New macro.
15849         (REPORT_BUGS_TO): Likewise.
15850         * config.make.in (PKGVERSION): New variable.
15851         (PKGVERSION_TEXI): Likewise.
15852         (REPORT_BUGS_TO): Likewise.
15853         (REPORT_BUGS_TEXI): Likewise.
15854         * Makefile (format-me): Use -I$(common-objpfx)manual.
15855         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15856         ($(common-objpfx)manual/%): New target.
15857         (manual/%): Remove target.
15858         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15859         (print_version): Use PKGVERSION.
15860         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15861         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15862         and REPORT_BUGS_TO.
15863         ($(objpfx)xtrace): Likewise.
15864         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15865         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15866         (print_version): Use PKGVERSION.
15867         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15868         (do_version): Use PKGVERSION.
15869         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15870         REPORT_BUGS_TO.
15871         (common-ldd-rewrite): Likewise.
15872         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15873         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15874         (print_version): Use PKGVERSION.
15875         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15876         * elf/pldd.c (argp_program_bug_address): Remove variable.
15877         (more_help): New function.
15878         (argp): Use more_help.
15879         (print_version): Use PKGVERSION.
15880         * elf/sln.c (main): Use PKGVERSION.
15881         (usage): Use REPORT_BUGS_TO.
15882         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15883         (top level): Use PKGVERSION.
15884         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15885         (print_version): Use PKGVERSION.
15886         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15887         (print_version): Use PKGVERSION.
15888         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15889         (print_version): Use PKGVERSION.
15890         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15891         (print_version): Use PKGVERSION.
15892         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15893         (print_version): Use PKGVERSION.
15894         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15895         (print_version): Use PKGVERSION.
15896         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15897         and BUGURL.
15898         ($(objpfx)memusage): Likewise.
15899         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15900         (do_version): Use PKGVERSION.
15901         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15902         (print_version): Use PKGVERSION.
15903         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15904         ($PKGVERSION): New variable.
15905         ($REPORT_BUGS_TO): Likewise.
15906         (usage): Use $REPORT_BUGS_TO.
15907         (top level): Use $PKGVERSION.
15908         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15909         ($(objpfx)pkgvers.texi): New rule.
15910         ($(objpfx)stamp-pkgvers): Likewise.
15911         * manual/install.texi: Include pkgvers.texi.
15912         (--with-pkgversion): Document new configure option.
15913         (--with-bugurl): Likewise.
15914         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15915         than necessarily for this particular distribution.  Use
15916         REPORT_BUGS_TO for where to report bugs.
15917         * INSTALL: Regenerated.
15918         * manual/libc.texinfo: Include pkgvers.texi.
15919         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15920         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15921         (print_version): Use PKGVERSION.
15922         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15923         (print_version): Use PKGVERSION.
15924         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15925         (print_version): Use PKGVERSION.
15926         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15927         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15928         macro.
15929         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15930         (print_version): Use PKGVERSION.
15931         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15932         (print_version): Use PKGVERSION.
15933         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15934         and PKGVERSION.
15936         * timezone/checktab.awk: Update from tzcode 2012i.
15937         * timezone/ialloc.c: Likewise.
15938         * timezone/private.h: Likewise.
15939         * timezone/scheck.c: Likewise.
15940         * timezone/tzfile.h: Likewise.
15941         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15942         (TZVERSION): Hardcode tzcode version number.
15943         * timezone/zdump.c: Update from tzcode 2012i.
15944         * timezone/zic.c: Likewise.
15945         * timezone/version.h: New file.
15946         * timezone/README: Describe version.h.  Update upstream location.
15948         [BZ #14824]
15949         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15950         (mktemp): Enable declaration.
15951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15955         Likewise.
15956         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15957         Likewise.
15958         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15959         Likewise.
15960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15961         Likewise.
15962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15963         Likewise.
15964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15965         Likewise.
15967         [BZ #14821]
15968         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15969         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15970         for copies of such integer values.
15971         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15972         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15974 2012-11-09  Andreas Jaeger  <aj@suse.de>
15976         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15977         definitions and declarations that are provided by
15978         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15980 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15982         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15983         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15984         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15985         definition.
15987 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15989         * elf/elf.h: Update comment before AArch64 relocations.
15991 2012-11-07  David S. Miller  <davem@davemloft.net>
15993         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15994         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15995         (__start_context): Declare.
15996         (__makecontext_ret): Delete.
15997         (__makecontext): Hook up __start_context instead of
15998         __makecontext_ret.
15999         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16000         (sysdep_routines): Add __start_context when in stdlib.
16002 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16004         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16005         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16006         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16007         hardcoded "nm".
16008         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16009         (READELF): New variable.  Use it instead of hardcoded "readelf".
16011 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16013         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16014         * sysdeps/x86/Makefile: Here.
16015         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16016         * sysdeps/x86/tst-xmmymm.sh: This.
16018 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16020         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16021         expectations.
16022         [UNIX98] (pthread_barrier_t): Do not expect.
16023         [UNIX98] (pthread_barrierattr_t): Likewise.
16024         [UNIX98] (pthread_spinlock_t): Likewise.
16025         [UNIX98] (pthread_barrier_destroy): Likewise.
16026         [UNIX98] (pthread_barrier_init): Likewise.
16027         [UNIX98] (pthread_barrier_wait): Likewise.
16028         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16029         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16030         [UNIX98] (pthread_barrierattr_init): Likewise.
16031         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16032         [UNIX98] (pthread_getcpuclockid): Likewise.
16033         [UNIX98] (pthread_mutex_timedlock): Likewise.
16034         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16035         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16036         [UNIX98] (pthread_sigmask): Likewise.
16037         [UNIX98] (pthread_spin_destroy): Likewise.
16038         [UNIX98] (pthread_spin_init): Likewise.
16039         [UNIX98] (pthread_spin_lock): Likewise.
16040         [UNIX98] (pthread_spin_trylock): Likewise.
16041         [UNIX98] (pthread_spin_unlock): Likewise.
16042         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16043         Do not expect.
16044         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16045         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16046         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16047         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16048         [XPG3 || XPG4] (pthread_key_t): Likewise.
16049         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16050         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16051         [XPG3 || XPG4] (pthread_once_t): Likewise.
16052         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16053         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16054         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16055         [XPG3 || XPG4] (pthread_t): Likewise.
16057         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16058         not expect.
16059         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16061         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16062         Change function return type to int.
16064         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16065         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16066         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16067         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16068         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16069         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16070         [!POSIX] (posix_madvise): Likewise.
16071         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16072         && !UNIX98].
16073         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16074         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16075         (mode_t): Likewise.
16076         (posix_mem_offset): Likewise.
16077         (posix_typed_mem_get_info): Likewise.
16078         (posix_typed_mem_open): Likewise.
16080         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16081         Change condition to [XOPEN2K8].
16083         * conform/conformtest.pl: Preprocess allow-header data with -x c
16084         instead of from stdin.
16085         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16086         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16087         [C99-based standards] (cerfc): Likewise.
16088         [C99-based standards] (cexp2): Likewise.
16089         [C99-based standards] (cexpm1): Likewise.
16090         [C99-based standards] (clog10): Likewise.
16091         [C99-based standards] (clog1p): Likewise.
16092         [C99-based standards] (clog2): Likewise.
16093         [C99-based standards] (clgamma): Likewise.
16094         [C99-based standards] (ctgamma): Likewise.
16095         [C99-based standards] (cerff): Likewise.
16096         [C99-based standards] (cerfcf): Likewise.
16097         [C99-based standards] (cexp2f): Likewise.
16098         [C99-based standards] (cexpm1f): Likewise.
16099         [C99-based standards] (clog10f): Likewise.
16100         [C99-based standards] (clog1pf): Likewise.
16101         [C99-based standards] (clog2f): Likewise.
16102         [C99-based standards] (clgammaf): Likewise.
16103         [C99-based standards] (ctgammaf): Likewise.
16104         [C99-based standards] (cerfl): Likewise.
16105         [C99-based standards] (cerfcl): Likewise.
16106         [C99-based standards] (cexp2l): Likewise.
16107         [C99-based standards] (cexpm1l): Likewise.
16108         [C99-based standards] (clog10l): Likewise.
16109         [C99-based standards] (clog1pl): Likewise.
16110         [C99-based standards] (clog2l): Likewise.
16111         [C99-based standards] (clgammal): Likewise.
16112         [C99-based standards] (ctgammal): Likewise.
16113         * conform/data/inttypes.h-data [C99-based standards]: Include
16114         stdint.h-data.  Remove all expectations for stdint.h contents.
16115         [C99-based standards] (PRI*): Do not allow.
16116         [C99-based standards] (SCN*): Likewise.
16117         [C99-based standards] (*_t): Likewise.
16118         [C99-based-standards] (PRId8): Expect macro.
16119         [C99-based-standards] (PRIi8): Likewise.
16120         [C99-based-standards] (PRIo8): Likewise.
16121         [C99-based-standards] (PRIu8): Likewise.
16122         [C99-based-standards] (PRIx8): Likewise.
16123         [C99-based-standards] (PRIX8): Likewise.
16124         [C99-based-standards] (SCNd8): Likewise.
16125         [C99-based-standards] (SCNi8): Likewise.
16126         [C99-based-standards] (SCNo8): Likewise.
16127         [C99-based-standards] (SCNu8): Likewise.
16128         [C99-based-standards] (SCNx8): Likewise.
16129         [C99-based-standards] (PRIdLEAST8): Likewise.
16130         [C99-based-standards] (PRIiLEAST8): Likewise.
16131         [C99-based-standards] (PRIoLEAST8): Likewise.
16132         [C99-based-standards] (PRIuLEAST8): Likewise.
16133         [C99-based-standards] (PRIxLEAST8): Likewise.
16134         [C99-based-standards] (PRIXLEAST8): Likewise.
16135         [C99-based-standards] (SCNdLEAST8): Likewise.
16136         [C99-based-standards] (SCNiLEAST8): Likewise.
16137         [C99-based-standards] (SCNoLEAST8): Likewise.
16138         [C99-based-standards] (SCNuLEAST8): Likewise.
16139         [C99-based-standards] (SCNxLEAST8): Likewise.
16140         [C99-based-standards] (PRIdFAST8): Likewise.
16141         [C99-based-standards] (PRIiFAST8): Likewise.
16142         [C99-based-standards] (PRIoFAST8): Likewise.
16143         [C99-based-standards] (PRIuFAST8): Likewise.
16144         [C99-based-standards] (PRIxFAST8): Likewise.
16145         [C99-based-standards] (PRIXFAST8): Likewise.
16146         [C99-based-standards] (SCNdFAST8): Likewise.
16147         [C99-based-standards] (SCNiFAST8): Likewise.
16148         [C99-based-standards] (SCNoFAST8): Likewise.
16149         [C99-based-standards] (SCNuFAST8): Likewise.
16150         [C99-based-standards] (SCNxFAST8): Likewise.
16151         [C99-based-standards] (PRId16): Likewise.
16152         [C99-based-standards] (PRIi16): Likewise.
16153         [C99-based-standards] (PRIo16): Likewise.
16154         [C99-based-standards] (PRIu16): Likewise.
16155         [C99-based-standards] (PRIx16): Likewise.
16156         [C99-based-standards] (PRIX16): Likewise.
16157         [C99-based-standards] (SCNd16): Likewise.
16158         [C99-based-standards] (SCNi16): Likewise.
16159         [C99-based-standards] (SCNo16): Likewise.
16160         [C99-based-standards] (SCNu16): Likewise.
16161         [C99-based-standards] (SCNx16): Likewise.
16162         [C99-based-standards] (PRIdLEAST16): Likewise.
16163         [C99-based-standards] (PRIiLEAST16): Likewise.
16164         [C99-based-standards] (PRIoLEAST16): Likewise.
16165         [C99-based-standards] (PRIuLEAST16): Likewise.
16166         [C99-based-standards] (PRIxLEAST16): Likewise.
16167         [C99-based-standards] (PRIXLEAST16): Likewise.
16168         [C99-based-standards] (SCNdLEAST16): Likewise.
16169         [C99-based-standards] (SCNiLEAST16): Likewise.
16170         [C99-based-standards] (SCNoLEAST16): Likewise.
16171         [C99-based-standards] (SCNuLEAST16): Likewise.
16172         [C99-based-standards] (SCNxLEAST16): Likewise.
16173         [C99-based-standards] (PRIdFAST16): Likewise.
16174         [C99-based-standards] (PRIiFAST16): Likewise.
16175         [C99-based-standards] (PRIoFAST16): Likewise.
16176         [C99-based-standards] (PRIuFAST16): Likewise.
16177         [C99-based-standards] (PRIxFAST16): Likewise.
16178         [C99-based-standards] (PRIXFAST16): Likewise.
16179         [C99-based-standards] (SCNdFAST16): Likewise.
16180         [C99-based-standards] (SCNiFAST16): Likewise.
16181         [C99-based-standards] (SCNoFAST16): Likewise.
16182         [C99-based-standards] (SCNuFAST16): Likewise.
16183         [C99-based-standards] (SCNxFAST16): Likewise.
16184         [C99-based-standards] (PRId32): Likewise.
16185         [C99-based-standards] (PRIi32): Likewise.
16186         [C99-based-standards] (PRIo32): Likewise.
16187         [C99-based-standards] (PRIu32): Likewise.
16188         [C99-based-standards] (PRIx32): Likewise.
16189         [C99-based-standards] (PRIX32): Likewise.
16190         [C99-based-standards] (SCNd32): Likewise.
16191         [C99-based-standards] (SCNi32): Likewise.
16192         [C99-based-standards] (SCNo32): Likewise.
16193         [C99-based-standards] (SCNu32): Likewise.
16194         [C99-based-standards] (SCNx32): Likewise.
16195         [C99-based-standards] (PRIdLEAST32): Likewise.
16196         [C99-based-standards] (PRIiLEAST32): Likewise.
16197         [C99-based-standards] (PRIoLEAST32): Likewise.
16198         [C99-based-standards] (PRIuLEAST32): Likewise.
16199         [C99-based-standards] (PRIxLEAST32): Likewise.
16200         [C99-based-standards] (PRIXLEAST32): Likewise.
16201         [C99-based-standards] (SCNdLEAST32): Likewise.
16202         [C99-based-standards] (SCNiLEAST32): Likewise.
16203         [C99-based-standards] (SCNoLEAST32): Likewise.
16204         [C99-based-standards] (SCNuLEAST32): Likewise.
16205         [C99-based-standards] (SCNxLEAST32): Likewise.
16206         [C99-based-standards] (PRIdFAST32): Likewise.
16207         [C99-based-standards] (PRIiFAST32): Likewise.
16208         [C99-based-standards] (PRIoFAST32): Likewise.
16209         [C99-based-standards] (PRIuFAST32): Likewise.
16210         [C99-based-standards] (PRIxFAST32): Likewise.
16211         [C99-based-standards] (PRIXFAST32): Likewise.
16212         [C99-based-standards] (SCNdFAST32): Likewise.
16213         [C99-based-standards] (SCNiFAST32): Likewise.
16214         [C99-based-standards] (SCNoFAST32): Likewise.
16215         [C99-based-standards] (SCNuFAST32): Likewise.
16216         [C99-based-standards] (SCNxFAST32): Likewise.
16217         [C99-based-standards] (PRId64): Likewise.
16218         [C99-based-standards] (PRIi64): Likewise.
16219         [C99-based-standards] (PRIo64): Likewise.
16220         [C99-based-standards] (PRIu64): Likewise.
16221         [C99-based-standards] (PRIx64): Likewise.
16222         [C99-based-standards] (PRIX64): Likewise.
16223         [C99-based-standards] (SCNd64): Likewise.
16224         [C99-based-standards] (SCNi64): Likewise.
16225         [C99-based-standards] (SCNo64): Likewise.
16226         [C99-based-standards] (SCNu64): Likewise.
16227         [C99-based-standards] (SCNx64): Likewise.
16228         [C99-based-standards] (PRIdLEAST64): Likewise.
16229         [C99-based-standards] (PRIiLEAST64): Likewise.
16230         [C99-based-standards] (PRIoLEAST64): Likewise.
16231         [C99-based-standards] (PRIuLEAST64): Likewise.
16232         [C99-based-standards] (PRIxLEAST64): Likewise.
16233         [C99-based-standards] (PRIXLEAST64): Likewise.
16234         [C99-based-standards] (SCNdLEAST64): Likewise.
16235         [C99-based-standards] (SCNiLEAST64): Likewise.
16236         [C99-based-standards] (SCNoLEAST64): Likewise.
16237         [C99-based-standards] (SCNuLEAST64): Likewise.
16238         [C99-based-standards] (SCNxLEAST64): Likewise.
16239         [C99-based-standards] (PRIdFAST64): Likewise.
16240         [C99-based-standards] (PRIiFAST64): Likewise.
16241         [C99-based-standards] (PRIoFAST64): Likewise.
16242         [C99-based-standards] (PRIuFAST64): Likewise.
16243         [C99-based-standards] (PRIxFAST64): Likewise.
16244         [C99-based-standards] (PRIXFAST64): Likewise.
16245         [C99-based-standards] (SCNdFAST64): Likewise.
16246         [C99-based-standards] (SCNiFAST64): Likewise.
16247         [C99-based-standards] (SCNoFAST64): Likewise.
16248         [C99-based-standards] (SCNuFAST64): Likewise.
16249         [C99-based-standards] (SCNxFAST64): Likewise.
16250         [C99-based-standards] (PRIdMAX): Likewise.
16251         [C99-based-standards] (PRIiMAX): Likewise.
16252         [C99-based-standards] (PRIoMAX): Likewise.
16253         [C99-based-standards] (PRIuMAX): Likewise.
16254         [C99-based-standards] (PRIxMAX): Likewise.
16255         [C99-based-standards] (PRIXMAX): Likewise.
16256         [C99-based-standards] (SCNdMAX): Likewise.
16257         [C99-based-standards] (SCNiMAX): Likewise.
16258         [C99-based-standards] (SCNoMAX): Likewise.
16259         [C99-based-standards] (SCNuMAX): Likewise.
16260         [C99-based-standards] (SCNxMAX): Likewise.
16261         [C99-based-standards] (PRIdPTR): Likewise.
16262         [C99-based-standards] (PRIiPTR): Likewise.
16263         [C99-based-standards] (PRIoPTR): Likewise.
16264         [C99-based-standards] (PRIuPTR): Likewise.
16265         [C99-based-standards] (PRIxPTR): Likewise.
16266         [C99-based-standards] (PRIXPTR): Likewise.
16267         [C99-based-standards] (SCNdPTR): Likewise.
16268         [C99-based-standards] (SCNiPTR): Likewise.
16269         [C99-based-standards] (SCNoPTR): Likewise.
16270         [C99-based-standards] (SCNuPTR): Likewise.
16271         [C99-based-standards] (SCNxPTR): Likewise.
16272         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16273         allow.
16274         * conform/data/stdint.h-data: Update comments to clarify
16275         requirements.
16276         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16277         type.
16278         [C99-based standards] (INT8_MAX): Likewise.
16279         [C99-based standards] (INT16_MIN): Likewise.
16280         [C99-based standards] (INT16_MAX): Likewise.
16281         [C99-based standards] (INT32_MIN): Likewise.
16282         [C99-based standards] (INT32_MAX): Likewise.
16283         [C99-based standards] (INT64_MIN): Likewise.
16284         [C99-based standards] (INT64_MAX): Likewise.
16285         [C99-based standards] (UINT8_MAX): Likewise.
16286         [C99-based standards] (UINT16_MAX): Likewise.
16287         [C99-based standards] (UINT32_MAX): Likewise.
16288         [C99-based standards] (UINT64_MAX): Likewise.
16289         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16290         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16291         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16292         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16293         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16294         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16295         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16296         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16297         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16298         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16299         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16300         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16301         [C99-based standards] (INT_FAST8_MIN): Likewise.
16302         [C99-based standards] (INT_FAST8_MAX): Likewise.
16303         [C99-based standards] (INT_FAST16_MIN): Likewise.
16304         [C99-based standards] (INT_FAST16_MAX): Likewise.
16305         [C99-based standards] (INT_FAST32_MIN): Likewise.
16306         [C99-based standards] (INT_FAST32_MAX): Likewise.
16307         [C99-based standards] (INT_FAST64_MIN): Likewise.
16308         [C99-based standards] (INT_FAST64_MAX): Likewise.
16309         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16310         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16311         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16312         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16313         [C99-based standards] (INTPTR_MIN): Likewise.
16314         [C99-based standards] (INTPTR_MAX): Likewise.
16315         [C99-based standards] (UINTPTR_MAX): Likewise.
16316         [C99-based standards] (INTMAX_MIN): Likewise.
16317         [C99-based standards] (INTMAX_MAX): Likewise.
16318         [C99-based standards] (UINTMAX_MAX): Likewise.
16319         [C99-based standards] (PTRDIFF_MIN): Likewise.
16320         [C99-based standards] (PTRDIFF_MAX): Likewise.
16321         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16322         [C99-based standards] (SIZE_MAX): Likewise.
16323         [C99-based standards] (WCHAR_MAX): Likewise.
16324         [C99-based standards] (WINT_MAX): Likewise.
16325         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16326         constraint on value.
16327         [C99-based standards] (WCHAR_MIN): Likewise.
16328         [C99-based standards] (WINT_MIN): Likewise.
16329         [C99-based standards] (*_t): Allow.
16330         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16331         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16332         Include math.h-data and complex.h-data.  Remove all expectations
16333         of math.h and complex.h contents.
16334         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16335         at end of line.
16336         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16337         (struct tm): Expect tag.
16338         [C99-based-standards] (wcstof): Expect function.
16339         [C99-based-standards] (wcstold): Likewise.
16340         [C99-based-standards] (wcstoll): Likewise.
16341         [C99-based-standards] (wcstoull): Likewise.
16342         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16343         macro-int-constant.  Specify type.
16344         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16345         constraint on value.
16346         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16347         Specify type.
16348         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16349         Specify value.
16350         [ISO C standards]: Do not allow headers.
16351         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16352         wcs[abcdefghijklmnopqrstuvwxyz]*.
16353         [ISO C standards] (*_t): Do not allow.
16354         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16355         Expect function.
16356         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16357         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16358         Specify type.
16359         [ISO C standards]: Do not allow headers.
16360         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16361         is[abcdefghijklmnopqrstuvwxyz]*.
16362         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16363         to[abcdefghijklmnopqrstuvwxyz]*.
16364         [ISO C standards] (*_t): Do not allow.
16365         * conform/data/stdalign.h-data: New file.
16366         * conform/data/stdbool.h-data: Likewise.
16367         * conform/data/stdnoreturn.h-data: Likewise.
16369 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16371         [BZ #14815]
16372         * manual/filesys.texi (Directory Entries): Typo fix.
16373         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16375 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16377         * elf/elf.h (EM_AARCH64): New macro.
16378         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16379         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16380         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16381         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16382         (R_AARCH64_TLSDESC): Likewise.
16383         (NT_ARM_TLS): Likewise.
16384         (NT_ARM_HW_BREAK): Likewise.
16385         (NT_ARM_HW_WATCH): Likewise.
16387 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16389         [BZ #14811]
16390         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16391         (__ieee754_powl): Saturate nonzero exponents with absolute value
16392         below 0x1p-79 to +/- 0x1p-79.
16393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16394         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16395         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16396         nonzero exponents with absolute value below 0x1p-32 to +/-
16397         0x1p-32.
16398         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16399         (__ieee754_powl): Saturate nonzero exponents with absolute value
16400         below 0x1p-79 to +/- 0x1p-79.
16401         * math/libm-test.inc (pow_test): Add more tests.
16403 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16405         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16406         _dl_s390_cap_flags with kernel. Increase string length.
16407         (_dl_s390_platforms): Add z196 and zEC12.
16409 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16411         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16412         Change XOPEN21K to XOPEN2K.
16414 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16416         * string/memmove.c: Use memcpy when possible.
16418 2012-11-06  Andreas Jaeger  <aj@suse.de>
16420         * po/eo.po: Update from translation team.
16422 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16424         [BZ #14793]
16425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16426         exponent and small x and y exponents, scale x or y up.  Increase
16427         by 2 the exponent used in scaling up.
16428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16430         * math/libm-test.inc (fma_test): Add more tests.
16431         (fma_test_towardzero): Likewise.
16432         (fma_test_downward): Likewise.
16433         (fma_test_upward): Likewise.
16435 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16437         [BZ #14805]
16438         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16439         fenv_t *.
16441         [BZ #14801]
16442         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16443         namespace for names of struct fields.
16444         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16445         fenv_t fields.
16446         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16447         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16449 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16451         [BZ #3665]
16452         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16454 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16456         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16457         PTR_DEMANGLE.
16459         [BZ #5246]
16460         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16461         PTR_DEMANGLE.
16463 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16465         [BZ #14797]
16466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16467         definitely overflow as x * y not x * y + z.
16468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16470         * math/libm-test.inc (fma_test): Add more tests.
16471         (fma_test_towardzero): Likewise.
16472         (fma_test_downward): Likewise.
16473         (fma_test_upward): Likewise.
16475 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16477         [BZ #157]
16479         * include/stub-tag.h: Remove file.
16480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16481         '#include' of it.
16482         * manual/maint.texi (Porting): Don't reference it.
16483         * Makerules ($(objpfx)stubs): Likewise.
16484         * dirent/closedir.c: Don't include <stub-tag.h>.
16485         * dirent/dirfd.c: Likewise.
16486         * dirent/fdopendir.c: Likewise.
16487         * dirent/getdents.c: Likewise.
16488         * dirent/getdents64.c: Likewise.
16489         * dirent/opendir.c: Likewise.
16490         * dirent/readdir.c: Likewise.
16491         * dirent/readdir64.c: Likewise.
16492         * dirent/readdir64_r.c: Likewise.
16493         * dirent/readdir_r.c: Likewise.
16494         * dirent/rewinddir.c: Likewise.
16495         * dirent/seekdir.c: Likewise.
16496         * dirent/telldir.c: Likewise.
16497         * gmon/profil.c: Likewise.
16498         * grp/setgroups.c: Likewise.
16499         * inet/if_index.c: Likewise.
16500         * io/access.c: Likewise.
16501         * io/chdir.c: Likewise.
16502         * io/chmod.c: Likewise.
16503         * io/chown.c: Likewise.
16504         * io/close.c: Likewise.
16505         * io/dup.c: Likewise.
16506         * io/dup2.c: Likewise.
16507         * io/dup3.c: Likewise.
16508         * io/euidaccess.c: Likewise.
16509         * io/faccessat.c: Likewise.
16510         * io/fchdir.c: Likewise.
16511         * io/fchmod.c: Likewise.
16512         * io/fchmodat.c: Likewise.
16513         * io/fchown.c: Likewise.
16514         * io/fchownat.c: Likewise.
16515         * io/fcntl.c: Likewise.
16516         * io/flock.c: Likewise.
16517         * io/fstatfs.c: Likewise.
16518         * io/fstatfs64.c: Likewise.
16519         * io/fstatvfs.c: Likewise.
16520         * io/fstatvfs64.c: Likewise.
16521         * io/futimens.c: Likewise.
16522         * io/fxstat.c: Likewise.
16523         * io/fxstat64.c: Likewise.
16524         * io/fxstatat.c: Likewise.
16525         * io/fxstatat64.c: Likewise.
16526         * io/getcwd.c: Likewise.
16527         * io/isatty.c: Likewise.
16528         * io/lchmod.c: Likewise.
16529         * io/lchown.c: Likewise.
16530         * io/link.c: Likewise.
16531         * io/linkat.c: Likewise.
16532         * io/lseek.c: Likewise.
16533         * io/lseek64.c: Likewise.
16534         * io/lxstat64.c: Likewise.
16535         * io/mkdir.c: Likewise.
16536         * io/mkdirat.c: Likewise.
16537         * io/mkfifo.c: Likewise.
16538         * io/mkfifoat.c: Likewise.
16539         * io/open.c: Likewise.
16540         * io/open64.c: Likewise.
16541         * io/openat.c: Likewise.
16542         * io/openat64.c: Likewise.
16543         * io/pipe.c: Likewise.
16544         * io/pipe2.c: Likewise.
16545         * io/poll.c: Likewise.
16546         * io/posix_fadvise.c: Likewise.
16547         * io/posix_fadvise64.c: Likewise.
16548         * io/posix_fallocate.c: Likewise.
16549         * io/posix_fallocate64.c: Likewise.
16550         * io/read.c: Likewise.
16551         * io/readlink.c: Likewise.
16552         * io/readlinkat.c: Likewise.
16553         * io/rmdir.c: Likewise.
16554         * io/sendfile.c: Likewise.
16555         * io/sendfile64.c: Likewise.
16556         * io/statfs.c: Likewise.
16557         * io/statfs64.c: Likewise.
16558         * io/statvfs.c: Likewise.
16559         * io/statvfs64.c: Likewise.
16560         * io/symlink.c: Likewise.
16561         * io/symlinkat.c: Likewise.
16562         * io/ttyname.c: Likewise.
16563         * io/ttyname_r.c: Likewise.
16564         * io/umask.c: Likewise.
16565         * io/unlink.c: Likewise.
16566         * io/unlinkat.c: Likewise.
16567         * io/utime.c: Likewise.
16568         * io/utimensat.c: Likewise.
16569         * io/write.c: Likewise.
16570         * io/xmknod.c: Likewise.
16571         * io/xmknodat.c: Likewise.
16572         * io/xstat.c: Likewise.
16573         * io/xstat64.c: Likewise.
16574         * login/getpt.c: Likewise.
16575         * login/grantpt.c: Likewise.
16576         * login/unlockpt.c: Likewise.
16577         * math/e_acoshl.c: Likewise.
16578         * math/e_acosl.c: Likewise.
16579         * math/e_asinl.c: Likewise.
16580         * math/e_atan2l.c: Likewise.
16581         * math/e_atanhl.c: Likewise.
16582         * math/e_coshl.c: Likewise.
16583         * math/e_expl.c: Likewise.
16584         * math/e_fmodl.c: Likewise.
16585         * math/e_gammal_r.c: Likewise.
16586         * math/e_hypotl.c: Likewise.
16587         * math/e_j0l.c: Likewise.
16588         * math/e_j1l.c: Likewise.
16589         * math/e_jnl.c: Likewise.
16590         * math/e_lgammal_r.c: Likewise.
16591         * math/e_log10l.c: Likewise.
16592         * math/e_log2l.c: Likewise.
16593         * math/e_logl.c: Likewise.
16594         * math/e_powl.c: Likewise.
16595         * math/e_rem_pio2l.c: Likewise.
16596         * math/e_sinhl.c: Likewise.
16597         * math/e_sqrtl.c: Likewise.
16598         * math/fclrexcpt.c: Likewise.
16599         * math/fedisblxcpt.c: Likewise.
16600         * math/feenablxcpt.c: Likewise.
16601         * math/fegetenv.c: Likewise.
16602         * math/fegetexcept.c: Likewise.
16603         * math/fegetround.c: Likewise.
16604         * math/feholdexcpt.c: Likewise.
16605         * math/fesetenv.c: Likewise.
16606         * math/fesetround.c: Likewise.
16607         * math/feupdateenv.c: Likewise.
16608         * math/fgetexcptflg.c: Likewise.
16609         * math/fraiseexcpt.c: Likewise.
16610         * math/fsetexcptflg.c: Likewise.
16611         * math/ftestexcept.c: Likewise.
16612         * math/k_cosl.c: Likewise.
16613         * math/k_rem_pio2l.c: Likewise.
16614         * math/k_sinl.c: Likewise.
16615         * math/k_tanl.c: Likewise.
16616         * math/s_asinhl.c: Likewise.
16617         * math/s_atanl.c: Likewise.
16618         * math/s_cbrtl.c: Likewise.
16619         * math/s_erfl.c: Likewise.
16620         * math/s_expm1l.c: Likewise.
16621         * math/s_log1pl.c: Likewise.
16622         * math/s_tanhl.c: Likewise.
16623         * misc/acct.c: Likewise.
16624         * misc/brk.c: Likewise.
16625         * misc/chflags.c: Likewise.
16626         * misc/chroot.c: Likewise.
16627         * misc/fchflags.c: Likewise.
16628         * misc/fgetxattr.c: Likewise.
16629         * misc/flistxattr.c: Likewise.
16630         * misc/fremovexattr.c: Likewise.
16631         * misc/fsetxattr.c: Likewise.
16632         * misc/fsync.c: Likewise.
16633         * misc/ftruncate.c: Likewise.
16634         * misc/futimes.c: Likewise.
16635         * misc/futimesat.c: Likewise.
16636         * misc/getdomain.c: Likewise.
16637         * misc/getdtsz.c: Likewise.
16638         * misc/gethostid.c: Likewise.
16639         * misc/gethostname.c: Likewise.
16640         * misc/getloadavg.c: Likewise.
16641         * misc/getpagesize.c: Likewise.
16642         * misc/getsysstats.c: Likewise.
16643         * misc/getxattr.c: Likewise.
16644         * misc/gtty.c: Likewise.
16645         * misc/ioctl.c: Likewise.
16646         * misc/lgetxattr.c: Likewise.
16647         * misc/listxattr.c: Likewise.
16648         * misc/llistxattr.c: Likewise.
16649         * misc/lremovexattr.c: Likewise.
16650         * misc/lsetxattr.c: Likewise.
16651         * misc/lutimes.c: Likewise.
16652         * misc/madvise.c: Likewise.
16653         * misc/mincore.c: Likewise.
16654         * misc/mlock.c: Likewise.
16655         * misc/mlockall.c: Likewise.
16656         * misc/mmap.c: Likewise.
16657         * misc/mprotect.c: Likewise.
16658         * misc/msync.c: Likewise.
16659         * misc/munlock.c: Likewise.
16660         * misc/munlockall.c: Likewise.
16661         * misc/munmap.c: Likewise.
16662         * misc/preadv.c: Likewise.
16663         * misc/preadv64.c: Likewise.
16664         * misc/ptrace.c: Likewise.
16665         * misc/pwritev.c: Likewise.
16666         * misc/pwritev64.c: Likewise.
16667         * misc/readv.c: Likewise.
16668         * misc/reboot.c: Likewise.
16669         * misc/remap_file_pages.c: Likewise.
16670         * misc/removexattr.c: Likewise.
16671         * misc/revoke.c: Likewise.
16672         * misc/select.c: Likewise.
16673         * misc/setdomain.c: Likewise.
16674         * misc/setegid.c: Likewise.
16675         * misc/seteuid.c: Likewise.
16676         * misc/sethostid.c: Likewise.
16677         * misc/sethostname.c: Likewise.
16678         * misc/setregid.c: Likewise.
16679         * misc/setreuid.c: Likewise.
16680         * misc/setxattr.c: Likewise.
16681         * misc/sstk.c: Likewise.
16682         * misc/stty.c: Likewise.
16683         * misc/swapoff.c: Likewise.
16684         * misc/swapon.c: Likewise.
16685         * misc/sync.c: Likewise.
16686         * misc/syncfs.c: Likewise.
16687         * misc/syscall.c: Likewise.
16688         * misc/truncate.c: Likewise.
16689         * misc/ualarm.c: Likewise.
16690         * misc/usleep.c: Likewise.
16691         * misc/ustat.c: Likewise.
16692         * misc/utimes.c: Likewise.
16693         * misc/vhangup.c: Likewise.
16694         * misc/writev.c: Likewise.
16695         * posix/_exit.c: Likewise.
16696         * posix/alarm.c: Likewise.
16697         * posix/execve.c: Likewise.
16698         * posix/fexecve.c: Likewise.
16699         * posix/fork.c: Likewise.
16700         * posix/fpathconf.c: Likewise.
16701         * posix/getaddrinfo.c: Likewise.
16702         * posix/getegid.c: Likewise.
16703         * posix/geteuid.c: Likewise.
16704         * posix/getgid.c: Likewise.
16705         * posix/getgroups.c: Likewise.
16706         * posix/getlogin.c: Likewise.
16707         * posix/getlogin_r.c: Likewise.
16708         * posix/getpgid.c: Likewise.
16709         * posix/getpid.c: Likewise.
16710         * posix/getppid.c: Likewise.
16711         * posix/getresgid.c: Likewise.
16712         * posix/getresuid.c: Likewise.
16713         * posix/getsid.c: Likewise.
16714         * posix/getuid.c: Likewise.
16715         * posix/glob64.c: Likewise.
16716         * posix/nanosleep.c: Likewise.
16717         * posix/pathconf.c: Likewise.
16718         * posix/pause.c: Likewise.
16719         * posix/posix_madvise.c: Likewise.
16720         * posix/pread.c: Likewise.
16721         * posix/pread64.c: Likewise.
16722         * posix/pwrite.c: Likewise.
16723         * posix/pwrite64.c: Likewise.
16724         * posix/sched_getaffinity.c: Likewise.
16725         * posix/sched_getp.c: Likewise.
16726         * posix/sched_gets.c: Likewise.
16727         * posix/sched_primax.c: Likewise.
16728         * posix/sched_primin.c: Likewise.
16729         * posix/sched_rr_gi.c: Likewise.
16730         * posix/sched_setaffinity.c: Likewise.
16731         * posix/sched_setp.c: Likewise.
16732         * posix/sched_sets.c: Likewise.
16733         * posix/sched_yield.c: Likewise.
16734         * posix/setgid.c: Likewise.
16735         * posix/setlogin.c: Likewise.
16736         * posix/setpgid.c: Likewise.
16737         * posix/setresgid.c: Likewise.
16738         * posix/setresuid.c: Likewise.
16739         * posix/setsid.c: Likewise.
16740         * posix/setuid.c: Likewise.
16741         * posix/sleep.c: Likewise.
16742         * posix/spawni.c: Likewise.
16743         * posix/sysconf.c: Likewise.
16744         * posix/times.c: Likewise.
16745         * posix/wait.c: Likewise.
16746         * posix/wait3.c: Likewise.
16747         * posix/wait4.c: Likewise.
16748         * posix/waitpid.c: Likewise.
16749         * resolv/gai_sigqueue.c: Likewise.
16750         * resource/getpriority.c: Likewise.
16751         * resource/getrlimit.c: Likewise.
16752         * resource/getrusage.c: Likewise.
16753         * resource/nice.c: Likewise.
16754         * resource/setpriority.c: Likewise.
16755         * resource/setrlimit.c: Likewise.
16756         * resource/ulimit.c: Likewise.
16757         * rt/aio_cancel.c: Likewise.
16758         * rt/aio_fsync.c: Likewise.
16759         * rt/aio_read.c: Likewise.
16760         * rt/aio_sigqueue.c: Likewise.
16761         * rt/aio_suspend.c: Likewise.
16762         * rt/aio_write.c: Likewise.
16763         * rt/clock_getres.c: Likewise.
16764         * rt/clock_gettime.c: Likewise.
16765         * rt/clock_nanosleep.c: Likewise.
16766         * rt/clock_settime.c: Likewise.
16767         * rt/lio_listio.c: Likewise.
16768         * rt/mq_close.c: Likewise.
16769         * rt/mq_getattr.c: Likewise.
16770         * rt/mq_notify.c: Likewise.
16771         * rt/mq_open.c: Likewise.
16772         * rt/mq_receive.c: Likewise.
16773         * rt/mq_send.c: Likewise.
16774         * rt/mq_setattr.c: Likewise.
16775         * rt/mq_timedreceive.c: Likewise.
16776         * rt/mq_timedsend.c: Likewise.
16777         * rt/mq_unlink.c: Likewise.
16778         * rt/shm_open.c: Likewise.
16779         * rt/shm_unlink.c: Likewise.
16780         * rt/timer_create.c: Likewise.
16781         * rt/timer_delete.c: Likewise.
16782         * rt/timer_getoverr.c: Likewise.
16783         * rt/timer_gettime.c: Likewise.
16784         * rt/timer_settime.c: Likewise.
16785         * setjmp/__longjmp.c: Likewise.
16786         * setjmp/setjmp.c: Likewise.
16787         * signal/kill.c: Likewise.
16788         * signal/killpg.c: Likewise.
16789         * signal/raise.c: Likewise.
16790         * signal/sigaction.c: Likewise.
16791         * signal/sigaltstack.c: Likewise.
16792         * signal/sigblock.c: Likewise.
16793         * signal/sigignore.c: Likewise.
16794         * signal/sigintr.c: Likewise.
16795         * signal/signal.c: Likewise.
16796         * signal/sigpause.c: Likewise.
16797         * signal/sigpending.c: Likewise.
16798         * signal/sigqueue.c: Likewise.
16799         * signal/sigreturn.c: Likewise.
16800         * signal/sigset.c: Likewise.
16801         * signal/sigsetmask.c: Likewise.
16802         * signal/sigstack.c: Likewise.
16803         * signal/sigsuspend.c: Likewise.
16804         * signal/sigtimedwait.c: Likewise.
16805         * signal/sigvec.c: Likewise.
16806         * signal/sigwait.c: Likewise.
16807         * signal/sigwaitinfo.c: Likewise.
16808         * signal/sysv_signal.c: Likewise.
16809         * socket/accept.c: Likewise.
16810         * socket/accept4.c: Likewise.
16811         * socket/bind.c: Likewise.
16812         * socket/connect.c: Likewise.
16813         * socket/getpeername.c: Likewise.
16814         * socket/getsockname.c: Likewise.
16815         * socket/getsockopt.c: Likewise.
16816         * socket/isfdtype.c: Likewise.
16817         * socket/listen.c: Likewise.
16818         * socket/recv.c: Likewise.
16819         * socket/recvfrom.c: Likewise.
16820         * socket/recvmsg.c: Likewise.
16821         * socket/send.c: Likewise.
16822         * socket/sendmsg.c: Likewise.
16823         * socket/sendto.c: Likewise.
16824         * socket/setsockopt.c: Likewise.
16825         * socket/shutdown.c: Likewise.
16826         * socket/sockatmark.c: Likewise.
16827         * socket/socket.c: Likewise.
16828         * socket/socketpair.c: Likewise.
16829         * stdio-common/ctermid.c: Likewise.
16830         * stdio-common/cuserid.c: Likewise.
16831         * stdio-common/remove.c: Likewise.
16832         * stdio-common/rename.c: Likewise.
16833         * stdio-common/renameat.c: Likewise.
16834         * stdio-common/tempname.c: Likewise.
16835         * stdlib/getcontext.c: Likewise.
16836         * stdlib/makecontext.c: Likewise.
16837         * stdlib/setcontext.c: Likewise.
16838         * stdlib/swapcontext.c: Likewise.
16839         * stdlib/system.c: Likewise.
16840         * streams/fattach.c: Likewise.
16841         * streams/fdetach.c: Likewise.
16842         * streams/getmsg.c: Likewise.
16843         * streams/getpmsg.c: Likewise.
16844         * streams/putmsg.c: Likewise.
16845         * streams/putpmsg.c: Likewise.
16846         * sysdeps/unix/bsd/getpt.c: Likewise.
16847         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16848         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16849         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16851         Likewise.
16852         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16853         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16854         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16855         * sysvipc/msgctl.c: Likewise.
16856         * sysvipc/msgget.c: Likewise.
16857         * sysvipc/msgrcv.c: Likewise.
16858         * sysvipc/msgsnd.c: Likewise.
16859         * sysvipc/semctl.c: Likewise.
16860         * sysvipc/semget.c: Likewise.
16861         * sysvipc/semop.c: Likewise.
16862         * sysvipc/semtimedop.c: Likewise.
16863         * sysvipc/shmat.c: Likewise.
16864         * sysvipc/shmctl.c: Likewise.
16865         * sysvipc/shmdt.c: Likewise.
16866         * sysvipc/shmget.c: Likewise.
16867         * termios/tcdrain.c: Likewise.
16868         * termios/tcflow.c: Likewise.
16869         * termios/tcflush.c: Likewise.
16870         * termios/tcgetattr.c: Likewise.
16871         * termios/tcgetpgrp.c: Likewise.
16872         * termios/tcsendbrk.c: Likewise.
16873         * termios/tcsetattr.c: Likewise.
16874         * termios/tcsetpgrp.c: Likewise.
16875         * time/adjtime.c: Likewise.
16876         * time/clock.c: Likewise.
16877         * time/getitimer.c: Likewise.
16878         * time/gettimeofday.c: Likewise.
16879         * time/setitimer.c: Likewise.
16880         * time/settimeofday.c: Likewise.
16881         * time/stime.c: Likewise.
16882         * time/time.c: Likewise.
16884 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16886         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16887         /usr/old/bin.
16889         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16890         instead of spaces.
16891         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16893 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16895         [BZ #14796]
16896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16897         FE_TONEAREST before applying Dekker multiplication and Knuth
16898         addition.  Clear inexact exceptions and check for exact zero
16899         results afterwards.
16900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16903         * math/libm-test.inc (fma_test): Add more tests.
16904         (fma_test_towardzero): Likewise.
16905         (fma_test_downward): Likewise.
16906         (fma_test_upward): Likewise.
16907         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16908         function.
16909         (libc_fesetround): New macro.
16910         (libc_fesetroundf): Likewise.
16911         (libc_fesetroundl): Likewise.
16912         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16913         function.
16914         (libc_fesetround_387): Likewise.
16915         (libc_fesetroundf): New macro.
16916         (libc_fesetround): Likewise.
16917         (libc_fesetroundl): Likewise.
16918         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16919         function.
16920         (libc_fesetroundf): New macro.
16921         (libc_fesetround): Likewise.
16922         (libc_fesetroundl): Likewise.
16923         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16924         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16925         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16926         libm_hidden_ver.
16927         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16928         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16929         libm_hidden_def.
16930         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16931         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16932         libm_hidden_ver.
16933         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16934         libm_hidden_def.
16936         [BZ #3439]
16937         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16938         integer constant usable in #if and use that to give value to enum
16939         constant.
16940         (FE_DIVBYZERO): Likewise.
16941         (FE_UNDERFLOW): Likewise.
16942         (FE_OVERFLOW): Likewise.
16943         (FE_INVALID): Likewise.
16944         (FE_INVALID_SNAN): Likewise.
16945         (FE_INVALID_ISI): Likewise.
16946         (FE_INVALID_IDI): Likewise.
16947         (FE_INVALID_ZDZ): Likewise.
16948         (FE_INVALID_IMZ): Likewise.
16949         (FE_INVALID_COMPARE): Likewise.
16950         (FE_INVALID_SOFTWARE): Likewise.
16951         (FE_INVALID_SQRT): Likewise.
16952         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16953         (FE_TONEAREST): Likewise.
16954         (FE_TOWARDZERO): Likewise.
16955         (FE_UPWARD): Likewise.
16956         (FE_DOWNWARD): Likewise.
16957         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16958         (FE_DIVBYZERO): Likewise.
16959         (FE_OVERFLOW): Likewise.
16960         (FE_UNDERFLOW): Likewise.
16961         (FE_INEXACT): Likewise.
16962         (FE_TONEAREST): Likewise.
16963         (FE_DOWNWARD): Likewise.
16964         (FE_UPWARD): Likewise.
16965         (FE_TOWARDZERO): Likewise.
16966         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16967         (FE_UNDERFLOW): Likewise.
16968         (FE_OVERFLOW): Likewise.
16969         (FE_DIVBYZERO): Likewise.
16970         (FE_INVALID): Likewise.
16971         (FE_TONEAREST): Likewise.
16972         (FE_TOWARDZERO): Likewise.
16973         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16974         (FE_OVERFLOW): Likewise.
16975         (FE_UNDERFLOW): Likewise.
16976         (FE_DIVBYZERO): Likewise.
16977         (FE_INEXACT): Likewise.
16978         (FE_TONEAREST): Likewise.
16979         (FE_TOWARDZERO): Likewise.
16980         (FE_UPWARD): Likewise.
16981         (FE_DOWNWARD): Likewise.
16982         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16983         (FE_DIVBYZERO): Likewise.
16984         (FE_OVERFLOW): Likewise.
16985         (FE_UNDERFLOW): Likewise.
16986         (FE_INEXACT): Likewise.
16987         (FE_TONEAREST): Likewise.
16988         (FE_DOWNWARD): Likewise.
16989         (FE_UPWARD): Likewise.
16990         (FE_TOWARDZERO): Likewise.
16992 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16994         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16996 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16998         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16999         commands.  Quote $PWD.
17000         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17001         -x" by "export".
17002         (remove_newlines): Remove.
17004 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17006         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17007         * stdlib/stdlib.h (atof): Moved to ...
17008         * include/bits/stdlib-float.h: Here.  New file.
17009         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17010         * stdlib/bits/stdlib-float.h: New file.
17011         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17012         -mno-sse -mno-mmx.
17013         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17014         <xmmintrin.h>.
17016 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17018         * conform/conformtest.pl (@headers): Add fenv.h.
17019         * conform/data/fenv.h-data: New file.
17020         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17021         include of <math/fenv.h>.
17023         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17024         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17025         && !UNIX98].  Enables tests for XOPEN2K8.
17026         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17027         POSIX2008]: Likewise.
17029         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17030         (struct rusage): Do not expect type or its members.
17032         [BZ #3439]
17033         * math/math.h (FP_NAN): Define macro to integer constant usable in
17034         #if and use that to give value to enum constant.
17035         (FP_INFINITE): Likewise.
17036         (FP_ZERO): Likewise.
17037         (FP_SUBNORMAL): Likewise.
17038         (FP_NORMAL): Likewise.
17040 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17042         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17043         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17044         arguments.
17046 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17048         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17049         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17050         autoconf-time if not.
17051         * configure.in: Remove AC_PREREQ.
17053 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17055         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17056         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17057         of the internal implementation.
17059 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17061         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17062         except include of <misc/sys/syslog.h>.
17064 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17067         function returns with a NULL context exit with zero.
17069 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17071         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17073 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17075         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17076         (run_program_cmd): This.
17077         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17078         (tst_langinfo): New variable.  Use it.
17080 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17082         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17083         floating point opcodes.
17085 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17087         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17088         variable.
17090         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17092         * sysdeps/mach/hurd/powerpc: Remove directory.
17093         * sysdeps/mach/powerpc: Likewise.
17095 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17097         * scripts/check-local-headers.sh: Ignore c++ headers.
17099 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17101         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17102         __libc_cleanup_region_start argument.
17104 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17106         [BZ #14784]
17107         [BZ #14785]
17108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17109         x * y using scaling, not as x * y + z.
17110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17112         * math/libm-test.inc (fma_test): Add more tests.
17113         (fma_test_towardzero): Likewise.
17114         (fma_test_downward): Likewise.
17115         (fma_test_upward): Likewise.
17117 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17119         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17121 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17123         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17124         New variable.
17126 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17128         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17130 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17133         Fix sort order.
17134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17135         Likewise.
17137 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17140         Fix the order of the list for glibc 2.17.
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17142         Likewise.
17144 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17148 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #14610]
17151         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17152         for low part of x being zero before using __atanl (y).
17153         * math/libm-test.inc (atan2_test): Add another test.
17155         * manual/install.texi (Configuring and compiling): Document
17156         general use of test-wrapper and test-wrapper-env.
17157         * INSTALL: Regenerated.
17159         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17160         (__fma): Do not extract and scale down low bits on after-rounding
17161         systems when result rounded to normal precision would have normal
17162         exponent.
17163         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17164         (__fmal): Do not extract and scale down low bits on after-rounding
17165         systems when result rounded to normal precision would have normal
17166         exponent.
17167         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17168         (__fmal): Do not extract and scale down low bits on after-rounding
17169         systems when result rounded to normal precision would have normal
17170         exponent.
17171         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17172         macro.
17173         (fma_test): Add more tests.
17174         (fma_test_towardzero): Likewise.
17175         (fma_test_downward): Likewise.
17176         (fma_test_upward): Likewise.
17178 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17180         * sysdeps/i386/tininess.h: Renamed to ...
17181         * sysdeps/x86/tininess.h: This.
17182         * sysdeps/x86_64/tininess.h: Removed.
17184 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17186         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17187         input.  Use $(build-program-cmd).
17188         ($(objpfx)tst-array1-static.out): Likewise.
17189         ($(objpfx)tst-array2.out): Likewise.
17190         ($(objpfx)tst-array3.out): Likewise.
17191         ($(objpfx)tst-array4.out): Likewise.
17192         ($(objpfx)tst-array5.out): Likewise.
17193         ($(objpfx)tst-array5-static.out): Likewise.
17195 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17197         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17198         if defined.
17200         * nss/nsswitch.h (nss_interface_function): Provide new
17201         macro for use with NSS functions.
17202         * grp/initgroups.c: Use new macro.
17203         * nss/getXXbyYY.c: Likewise.
17204         * nss/getXXbyYY_r.c: Likewise.
17205         * nss/getXXent.c: Likewise.
17206         * nss/getXXent_r.c: Likewise.
17207         * sysdeps/posix/getaddrinfo.c: Likewise.
17209 2012-10-30  Andreas Jaeger  <aj@suse.de>
17211         * po/ru.po: Update Russion translation from translation project.
17213 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17215         [BZ #14152]
17216         [BZ #14783]
17217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17218         result and shift together with sticky bit instead of replicating
17219         round-to-nearest rounding.
17220         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17222         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17223         missing underflow exceptions.
17224         (fma_test_towardzero): Add more tests.
17225         (fma_test_downward): Likewise.
17226         (fma_test_upward): Likewise.
17228         [BZ #14047]
17229         * sysdeps/generic/tininess.h: New file.
17230         * sysdeps/i386/tininess.h: Likewise.
17231         * sysdeps/sh/tininess.h: Likewise.
17232         * sysdeps/x86_64/tininess.h: Likewise.
17233         * stdlib/tst-strtod-underflow.c: Likewise.
17234         * stdlib/tst-tininess.c: Likewise.
17235         * stdlib/strtod_l.c: Include <tininess.h>.
17236         (round_and_return): Do not set errno for exact underflow cases.
17237         Force an underflow exception when setting errno for underflow.
17238         Determine underflow based on rounding to normal precision if
17239         TININESS_AFTER_ROUNDING.
17240         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17241         ERANGE for exact underflow cases.
17242         * stdlib/Makefile (tests): Add tst-tininess and
17243         tst-strtod-underflow.
17244         ($(objpfx)tst-tininess): Use $(link-libm).
17245         ($(objpfx)tst-strtod-underflow): Likewise.
17247 2012-10-30  Andreas Jaeger  <aj@suse.de>
17249         [BZ#14767]
17250         * elf/Makefile (tests): Remove conditional for have-initfini-array
17251         since this is now always required and the variable does not exist
17252         anymore.
17253         (tests-static): Likewise.
17254         (modules-names): Likewise.
17256         * po/eo.po: Add Esperanto translation from translation project.
17258         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17259         merged with constructor/destructor.
17260         (init_array): Likewise.
17261         * elf/tst-array2dep.c (fini_array): Likewise.
17262         (init_array): Likewise.
17264 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17266         * manual/message.texi: Delete @cartouche tags.
17268 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17270         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17271         EOPNOTSUPP.
17272         * sysdeps/mach/hurd/fsync.c: Likewise.
17274         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17275         [_POSIX_REALTIME_SIGNALS]: Change condition to
17276         [_POSIX_REALTIME_SIGNALS > 0].
17278 2012-10-27  Andreas Jaeger  <aj@suse.de>
17280         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17281         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17283         [__WORDSIZE != 64]: Likewise.
17285 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17287         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17288         *  iconvdata/tst-tables.sh: Likewise.
17290 2012-10-25  David S. Miller  <davem@davemloft.net>
17292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17293         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17294         of strtoull.
17296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17297         ifunc-impl-list.c
17298         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17299         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17300         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17301         file.
17303 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17306         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17307         __getdirentries.
17309 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17310             Jim Blandy  <jimb@codesourcery.com>
17312         * scripts/cross-test-ssh.sh: New file.
17313         * manual/install.texi (Configuring and compiling): Document use of
17314         cross-test-ssh.sh.
17315         * INSTALL: Regenerated.
17317 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17319         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17320         EOPNOTSUPP.
17322 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17324         * Makeconfig (run-program-prefix): Fix comment.
17326 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17327             Jim Blandy  <jimb@codesourcery.com>
17329         * Makeconfig (test-wrapper): New variable,
17330         (test-wrapper-env): Likewise.
17331         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17332         (run-built-tests): Define to yes.
17333         (run-program-prefix): Use $(test-wrapper).
17334         (built-program-cmd): Likewise.
17335         * Rules (make-test-out): Use $(test-wrapper-env) and
17336         $(host-built-program-cmd).
17337         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17338         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17339         tst-pathopt.sh.
17340         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17341         $(test-wrapper-env) to tst-rtld-load-self.sh.
17342         ($(objpfx)order2.out): Use $(test-wrapper).
17343         ($(objpfx)tst-initorder.out): Likewise.
17344         ($(objpfx)tst-initorder2.out): Likewise.
17345         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17346         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17347         (test_wrapper_env): New variable.  Use it to run ld.so.
17348         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17349         Use it to run ld.so.
17350         (test_wrapper_env): Likewise.
17351         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17352         $(test-wrapper) to run-iconv-test.sh.
17353         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17354         (ICONV): Use $test_wrapper.
17355         * posix/Makefile ($(objpfx)globtest.out): Pass
17356         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17357         globtest.sh, not $(run-program-prefix).
17358         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17359         (test_wrapper): Likewise.
17360         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17361         set together with run_via_rtld_prefix.
17362         (run_program_prefix): Define in terms of test_wrapper and
17363         run_via_rtld_prefix.
17365 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17367         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17368         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17369         Targets removed.
17371         [BZ #14743]
17372         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17373         Declare __clock_getres, __clock_gettime, __clock_settime,
17374         __clock_nanosleep, and __clock_getcpuclockid.
17375         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17376         Remove librt_hidden_def (clock_gettime).
17377         * sysdeps/unix/clock_gettime.c: Likewise.
17378         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17379         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17380         * rt/clock_getres.c: Define __clock_getres as an alias.
17381         * sysdeps/posix/clock_getres.c: Likewise.
17382         * rt/clock_settime.c: Define __clock_settime as an alias.
17383         * sysdeps/unix/clock_settime.c: Likewise.
17384         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17385         * sysdeps/unix/clock_nanosleep.c: Likewise.
17386         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17387         * rt/clock-compat.c: New file.
17388         * rt/Makefile (librt-routines): Add clock-compat and move
17389         $(clock-routines) to ...
17390         (routines): ... here, new variable.
17391         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17392         Don't add get_clockfreq here.
17393         * rt/Versions (libc: GLIBC_2.17): New version set.
17394         Add clock_* symbols here.
17395         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17397         (GLIBC_2.17): Add clock_* symbols.
17398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17402         Likewise.
17403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17404         Likewise.
17405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17409         * NEWS: Mention the move.
17411         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17412         Use __open, __read, __close rather than their public counterparts.
17413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17414         (__get_clockfreq_via_cpuinfo): Likewise.
17415         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17416         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17418         * config.h.in (HAVE_IFUNC): New #undef.
17419         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17420         was successful.
17421         * configure: Regenerated.
17423 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17425         * configure.in: Move READELF check to start of file.
17426         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17427         libc_cv_asm_gnu_indirect_function in the process.
17428         * configure: Regenerated.
17430 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17432         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17433         send the output to /dev/null.
17434         (libc_cv_cc_with_libunwind): Likewise.
17435         (libc_cv_as_noexecstack): Likewise.
17436         * configure: Regenerate.
17438 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17440         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17442         * posix/globtest.sh (TMPDIR): Do not set.
17443         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17444         (testout): Likewise.
17446 2012-10-24  Andreas Jaeger  <aj@suse.de>
17448         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17449         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17450         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17451         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17452         posix_fadvise64, posix_fallocate64.
17454         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17455         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17456         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17457         Likewise.
17458         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17459         Likewise.
17460         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17463         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17464         <bits/fcntl-linux.h>.
17465         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17467         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17468         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17469         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17470         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17471         [__WORDSIZE != 64]: Likewise.
17473 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17475         * Makeconfig (run-built-tests): New variable.
17476         * Rules [$(cross-compiling) = yes]: Change condition to
17477         [$(run-built-tests) = no].
17478         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17479         to [$(run-built-tests) = yes].
17480         * elf/Makefile [$(cross-compiling) = no]: Likewise
17481         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17482         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17483         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17484         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17485         * io/Makefile [$(cross-compiling) = no]: Likewise.
17486         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17487         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17488         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17489         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17490         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17491         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17492         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17493         * string/Makefile [$(cross-compiling) = no]: Likewise.
17495         * posix/Makefile ($(objpfx)globtest.out): Pass
17496         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17497         $(rtld-installed-name).
17498         * posix/globtest.sh (elf_objpfx): Remove variable.
17499         (rtld_installed_name): Likewise.
17500         (library_path): Likewise.
17501         (run_program_prefix): New variable.  Use for running globtest
17502         binary.
17504 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17505             Joseph Myers  <joseph@codesourcery.com>
17507         * Makeconfig (host-built-program-cmd): New variable.
17508         * elf/Makefile (tst-stackguard1-ARGS): Use
17509         $(host-built-program-cmd).
17510         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17511         (tst-spawn-ARGS): Likewise.
17512         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17514 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17515             Jim Blandy  <jimb@codesourcery.com>
17517         * Makeconfig (run-via-rtld-prefix): New variable.
17518         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17519         (built-program-cmd): Likewise.
17521 2012-10-22  Andreas Jaeger  <aj@suse.de>
17523         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17524         __O_RSYNC if it exists, otherwise to O_SYNC.
17526 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17527             Joseph Myers  <joseph@codesourcery.com>
17529         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17530         /dev/null.
17531         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17532         from /dev/null
17533         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17534         /dev/null.
17536 2012-10-22  Andreas Jaeger  <aj@suse.de>
17538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17539         Define always.
17540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17543         bits/fcntl-linux.h.
17545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17546         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17548         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17549         to __O_LARGEFILE.
17550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17551         to __O_LARGEFILE.
17553 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17554             Joseph Myers  <joseph@codesourcery.com>
17556         * config.make.in (NM): New variable.
17558 2012-10-21  Andreas Jaeger  <aj@suse.de>
17560         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17561         definitions and declarations that are provided by
17562         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17564 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17566         [BZ #14683]
17567         * elf/Makefile (tests-static): Add tst-leaks1-static.
17568         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17569         ($(objpfx)tst-leaks1-static): New rule.
17570         ($(objpfx)tst-leaks1-static-mem): Likewise.
17571         (tst-leaks1-static-ENV): New macro.
17572         * elf/dl-open.c (dl_open_worker): Check the main application
17573         only if SHARED is defined.
17574         * elf/tst-leaks1-static.c: New file.
17576 2012-10-20  Andreas Jaeger  <aj@suse.de>
17578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17579         generic values for Linux.
17580         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17581         and declarations that are provided by <bits/fcntl-linux.h> and
17582         include <bits/fcntl-linux.h>.
17583         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17586 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17588         * io/fcntl.h: Move include of <bits/types.h> to the top and
17589         include it unconditionally.
17591 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17593         * wcsmbs/Makefile (tests-ifunc): New variable.
17594         (tests): Add $(tests-ifunc).
17595         * wcsmbs/test-wcschr-ifunc.c: New file.
17596         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17597         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17598         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17599         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17600         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17602         * string/Makefile (tests-ifunc): New variable.
17603         (tests): Add $(tests-ifunc).
17604         * string/test-memccpy.c (TEST_NAME): New macro.
17605         * string/test-memchr.c (TEST_NAME): Likewise.
17606         * string/test-memcmp.c (TEST_NAME): Likewise.
17607         * string/test-memcpy.c (TEST_NAME): Likewise.
17608         * string/test-memmem.c (TEST_NAME): Likewise.
17609         * string/test-memmove.c (TEST_NAME): Likewise.
17610         * string/test-memset.c (TEST_NAME): Likewise.
17611         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17612         * string/test-stpcpy.c (TEST_NAME): Likewise.
17613         * string/test-stpncpy.c (TEST_NAME): Likewise.
17614         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17615         * string/test-strcasestr.c (TEST_NAME): Likewise.
17616         * string/test-strcat.c (TEST_NAME): Likewise.
17617         * string/test-strchr.c (TEST_NAME): Likewise.
17618         * string/test-strcmp.c(TEST_NAME): Likewise.
17619         * string/test-strcpy.c (TEST_NAME): Likewise.
17620         * string/test-strcspn.c (TEST_NAME): Likewise.
17621         * string/test-strlen.c (TEST_NAME): Likewise.
17622         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17623         * string/test-strncmp.c (TEST_NAME): Likewise.
17624         * string/test-strncpy.c (TEST_NAME): Likewise.
17625         * string/test-strnlen.c (TEST_NAME): Likewise.
17626         * string/test-strpbrk.c (TEST_NAME): Likewise.
17627         * string/test-strrchr.c (TEST_NAME): Likewise.
17628         * string/test-strspn.c (TEST_NAME): Likewise.
17629         * string/test-strstr.c (TEST_NAME): Likewise.
17630         * string/test-bcopy-ifunc.c: New file.
17631         * string/test-bzero-ifunc.c: Likewise.
17632         * string/test-memccpy-ifunc.c: Likewise.
17633         * string/test-memchr-ifunc.c: Likewise.
17634         * string/test-memcmp-ifunc.c: Likewise.
17635         * string/test-memcpy-ifunc.c: Likewise.
17636         * string/test-memmem-ifunc.c: Likewise.
17637         * string/test-memmove-ifunc.c: Likewise.
17638         * string/test-mempcpy-ifunc.c: Likewise.
17639         * string/test-memset-ifunc.c: Likewise.
17640         * string/test-rawmemchr-ifunc.c: Likewise.
17641         * string/test-stpcpy-ifunc.c: Likewise.
17642         * string/test-stpncpy-ifunc.c: Likewise.
17643         * string/test-strcasecmp-ifunc.c: Likewise.
17644         * string/test-strcasestr-ifunc.c: Likewise.
17645         * string/test-strcat-ifunc.c: Likewise.
17646         * string/test-strchr-ifunc.c: Likewise.
17647         * string/test-strchrnul-ifunc.c: Likewise.
17648         * string/test-strcmp-ifunc.c: Likewise.
17649         * string/test-strcpy-ifunc.c: Likewise.
17650         * string/test-strcspn-ifunc.c: Likewise.
17651         * string/test-strlen-ifunc.c: Likewise.
17652         * string/test-strncasecmp-ifunc.c: Likewise.
17653         * string/test-strncat-ifunc.c: Likewise.
17654         * string/test-strncmp-ifunc.c: Likewise.
17655         * string/test-strncpy-ifunc.c: Likewise.
17656         * string/test-strnlen-ifunc.c: Likewise.
17657         * string/test-strpbrk-ifunc.c: Likewise.
17658         * string/test-strrchr-ifunc.c: Likewise.
17659         * string/test-strspn-ifunc.c: Likewise.
17660         * string/test-strstr-ifunc.c: Likewise.
17662         * debug/Makefile (tests-ifunc): New variable.
17663         (tests): Add $(tests-ifunc).
17664         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17665         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17666         * debug/test-stpcpy_chk-ifunc.c: New file.
17667         * debug/test-strcpy_chk-ifunc.c: Likewise.
17669 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671         [BZ #13601]
17672         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17673         header is not read in.
17675 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17677         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17678         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17679         directly.  Pass built executable to script as
17680         $(built-program-cmd).
17681         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17682         $testprogram without using LD_LIBRARY_PATH and $ldso.
17684         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17685         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17686         $(rtld-installed-name).
17687         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17688         (rtld_installed_name): Likewise.
17689         (library_path): Likewise.
17690         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17691         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17692         $(run-program-prefix) to tst-tables.sh.
17693         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17694         it to run tst-table-from and tst-table-to.
17695         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17696         Pass it to tst-table.sh.
17697         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17698         $(run-program-prefix) to tst-gettext.sh.
17699         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17700         tst-translit.sh.
17701         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17702         tst-gettext2.sh.
17703         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17704         to run tst-gettext.
17705         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17706         to run tst-gettext2.
17707         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17708         to run tst-translit.
17709         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17710         $(run-program-prefix) to tst-mtrace.sh.
17711         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17712         to run tst-mtrace.
17713         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17714         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17715         $(rtld-installed-name).
17716         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17717         (rtld_installed_name): Likewise.
17718         (run_program_prefix): New variable.  Use it to run wordexp-test.
17720         * Makeconfig (ARCH): Remove all definitions.
17721         (machine): Likewise.
17722         [ARCH]: Remove conditional code.
17723         [!objdir]: Give error.
17724         [!objdir] (objpfx): Remove.
17725         [!objdir] (common-objpfx): Likewise.
17726         [!objdir] (common-objdir): Likewise.
17727         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17728         AC_CONFIG_FILES call.
17729         * configure: Regenerated.
17731         [BZ #13888]
17732         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17733         or TMPDIR.
17734         (testout): Likewise.
17736         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17737         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17738         $(rtld-installed-name).
17739         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17740         (rtld_installed_name): Likwise.
17741         (runit): Remove function.
17742         (run_getconf): New variable,  Use it for running getconf binary.
17744 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17746         [BZ #14716]
17747         * string/test-memmem.c (check_result): New function.
17748         (do_one_test): Use it.
17749         (check1): New function.
17750         (test_main): Use it.
17752 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17754         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17756 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17758         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17759         (_G_LSEEK64): Likewise.
17760         (_G_MMAP64): Likewise.
17761         (_G_FSTAT64): Likewise.
17762         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17763         (_G_LSEEK64): Likewise.
17764         (_G_MMAP64): Likewise.
17765         (_G_FSTAT64): Likewise.
17766         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17767         unconditional.  Call __mmap64 directly.
17768         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17769         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17770         __lseek64 directly.
17771         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17772         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17773         __mmap64 directly.
17774         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17775         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17776         __lseek64 directly.
17777         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17778         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17779         __lseek64 directly.
17780         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17781         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17782         __lseek64 directly.
17783         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17784         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17785         __fxstat64 directly.
17786         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17787         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17788         unconditional.
17789         (freopen64) [!_G_OPEN64]: Remove conditional code.
17790         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17791         unconditional.
17792         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17793         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17794         unconditional.
17795         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17796         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17797         unconditional.
17798         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17799         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17800         unconditional.
17801         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17802         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17803         unconditional.
17804         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17805         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17806         unconditional.
17807         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17808         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17809         unconditional.
17810         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17812 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17814         [BZ #12140]
17815         * manual/memory.texi (Malloc Tunable Parameters): Add note
17816         about free list pointers overwriting some perturb bytes.
17817         Wording suggested by Roland McGrath.
17819 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17821         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17822         (lgamma_test): Likewise.
17823         (tgamma_test): Likewise.
17825 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17827         [BZ #14700]
17828         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17829         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17831 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17833         * NEWS: Mention BZ #14716.
17834         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17835         when removing AVAILABLE1_USES_J macro.
17837 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17839         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17840         (__bswap_64): __uint64_t for unsigned 64-bit int.
17842 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17844         * include/string.h (memmem): Declare libc hidden alias.
17845         * string/memmem.c (memmem): Define libc hidden alias.
17846         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17847         __read, __close instead of open, read, close.
17849 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17852         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17853         global and hidden.
17854         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17855         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17856         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17857         Likewise.
17858         (__rawmemchr_sse2): Likewise.
17859         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17860         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17861         (__strchr_sse2): Likewise.
17862         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17863         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17864         (__strcasecmp_sse2): Likewise.
17865         (__strncasecmp_sse2): Likewise.
17866         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17867         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17868         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17869         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17870         (__strrchr_sse2): Likewise.
17871         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17872         ifunc-impl-list.c.
17873         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17874         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17875         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17876         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17877         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17878         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17879         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17880         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17881         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17882         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17883         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17884         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17885         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17886         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17887         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17888         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17889         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17890         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17891         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17892         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17893         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17894         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17895         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17896         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17897         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17898         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17899         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17900         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17901         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17902         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17904         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17905         global and hidden.
17906         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17907         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17908         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17909         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17910         Likewise.
17911         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17912         Likewise.
17913         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17914         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17915         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17916         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17917         ifunc-impl-list.c.
17918         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17919         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17920         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17922         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17923         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17924         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17930         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17931         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17932         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17933         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17934         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17935         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17936         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17938         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17939         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17940         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17941         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17942         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17943         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17944         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17945         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17946         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17947         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17948         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17949         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17950         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17951         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17952         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17953         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17954         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17955         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17956         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17957         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17958         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17960         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17961         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17962         * include/ifunc-impl-list.h: New file.
17963         * misc/ifunc-impl-list.c: Likewise.
17964         * misc/Makefile (routines): Add ifunc-impl-list.
17965         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17966         * string/test-string.h: Include <ifunc-impl-list.h>.
17967         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17968         impl_array): New variables.
17969         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17970         are defined.
17971         (test_init): Call __libc_ifunc_impl_list to initialize
17972         func_list if TEST_IFUNC and TEST_NAME are defined.
17974         * string/Makefile (strop-tests): Add bcopy and bzero.
17975         * string/test-bcopy.c: New file.
17976         * string/test-bzero.c: Likewise.
17977         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17978         defined.
17979         * string/test-memset.c: Support bzero test if TEST_BZERO is
17980         defined.
17981         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17982         __libc_memmove.
17983         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17984         __libc_memset.
17985         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17986         of memset.
17988 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17990         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17991         * configure: Regenerated.
17993         * Makeconfig (+link-static-before-libc): Don't include
17994         $(link-static-libc).
17996         * libio/libio.h (_IO_pos_t): Remove.
17998 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18000         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18001         McGrath.
18003 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18005         * crypt/crypt-entry.c: Include fips-private.h.
18006         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18007         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18008         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18009         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18011 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18013         * crypt/crypt-private.h: Include stdbool.h.
18014         (_ufc_setup_salt_r): Return bool.
18015         * crypt/crypt-entry.c: Include errno.h.
18016         (__crypt_r): Return NULL with EINVAL for bad salt.
18017         * crypt/crypt_util.c (bad_for_salt): New.
18018         (_ufc_setup_salt_r): Check that salt is long enough and within
18019         the specified alphabet.
18020         * crypt/badsalttest.c: New file.
18021         * crypt/Makefile (tests): Add it.
18022         ($(objpfx)badsalttest): New.
18024 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18026         * NEWS: Add entry for BZ #14602.
18028 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18030         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18031         type-generic.
18032         * math/libm-test.inc: Update comment listing what functions and
18033         macros are tested.
18034         (isgreater_test): New function.
18035         (isgreaterequal_test): Likewise.
18036         (isless_test): Likewise.
18037         (islessequal_test): Likewise.
18038         (islessgreater_test): Likewise.
18039         (isunordered_test): Likewise.
18040         (main): Call the new functions.
18042 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18044         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18045         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18046         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18047         * sysdeps/i386/configure: Regenerated.
18048         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18049         * sysdeps/mach/configure: Regenerated.
18050         * sysdeps/mach/hurd/configure: Regenerated.
18051         * sysdeps/powerpc/configure: Regenerated.
18052         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18053         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18054         * sysdeps/s390/s390-32/configure: Regenerated.
18055         * sysdeps/s390/s390-64/configure: Regenerated.
18056         * sysdeps/sh/configure: Regenerated.
18057         * sysdeps/sparc/configure: Regenerated.
18058         * sysdeps/unix/sysv/linux/configure: Regenerated.
18059         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18060         * sysdeps/x86_64/configure: Regenerated.
18062         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18063         defined.  Don't check if MAP is NULL.
18065 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18067         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18068         (_G_stat64): Likewise.
18069         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18070         (_G_stat64): Likewise.
18071         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18072         instead of struct _G_stat64.
18073         * libio/fileops.c (mmap_remap_check): Likewise.
18074         (decide_maybe_mmap): Likewise.
18075         (_IO_new_file_seekoff): Likewise.
18076         (_IO_file_stat): Likewise.
18077         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18078         _G_off64_t.
18079         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18080         instead of struct _G_stat64.
18081         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18083 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18085         [BZ #14602]
18086         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18087         Replace with ...
18088         (CHECK_EOL): New macro.
18089         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18090         CHECK_EOL.
18091         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18092         Replace with CHECK_EOL.
18093         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18094         Replace with CHECK_EOL.
18096 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18098         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18099         type-generic.
18100         * math/libm-test.inc: Update comment listing what functions and
18101         macros are tested.
18102         (finite_test): New function.
18103         (isinf_test): Likewise.
18104         (isnan_test): Likewise.
18105         (fpclassify_test): Test subnormal input.
18106         (isfinite_test): Likewise.
18107         (isnormal_test): Likewise.
18108         (main): Call the new functions.
18110 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18112         [BZ #14660]
18113         * Makerules (%.dynsym): Force C locale when running
18114         $(OBJDUMP) --dynamic-syms.
18116 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18118         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18119         <stdint.h>.
18121 2012-10-06  David S. Miller  <davem@davemloft.net>
18123         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18124         upper 32-bits of the length value in %o2 since we use branch-on-register
18125         tests which consider the entire 64-bit register.
18127 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18129         * string/test-strstr.c (check2): Add a test for page boundary.
18131 2012-10-05  David S. Miller  <davem@davemloft.net>
18133         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18134         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18135         file.
18136         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18137         sysdep_routines.
18138         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18139         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18140         and bzero when HWCAP_SPARC_CRYPTO is present.
18142 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18144         [BZ #14602]
18145         * string/test-strstr.c (check2): New function.
18146         (test_main): Call check2.
18148         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18149         and bug-strchr1.
18150         * string/bug-strcasestr1.c (do_test): Moved to ...
18151         * string/test-strcasestr.c (check1): Here.  New function.
18152         (do_one_test): Break out result checking code into ...
18153         (check_result): This.  New function.
18154         (do_one_test): Call check_result.
18155         (test_main): Call check1.
18156         * string/bug-strchr1.c (do_test): Moved to ...
18157         * string/test-strchr.c (check1): Here.  New function.
18158         (do_one_test): Break out result checking code into ...
18159         (check_result): This.  New function.
18160         (do_one_test): Call check_result.
18161         (test_main): Call check1.
18162         * string/bug-strstr1.c (main): Moved to ...
18163         * string/test-strstr.c (check1): Here.  New function.
18164         (do_one_test): Break out result checking code into ...
18165         (check_result): This.  New function.
18166         (do_one_test): Call check_result.
18167         (test_main): Call check1.
18168         * string/bug-strcasestr1.c: Removed.
18169         * string/bug-strchr1.c: Likewise.
18170         * string/bug-strstr1.c: Likewise.
18172         * elf/Makefile (dl-routines): Add hwcaps.
18173         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18174         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18175         (_dl_important_hwcaps): Moved to ...
18176         * elf/dl-hwcaps.c: Here.  New file.
18177         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18179         [BZ #14557]
18180         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18181         if IS_IN_rtld isn't defined.
18183         * elf/dl-support.c (_dl_sysinfo_map): New.
18184         Include "get-dynamic-info.h" and "setup-vdso.h".
18185         (_dl_non_dynamic_init): Call setup_vdso.
18186         * elf/dynamic-link.h: Don't include <assert.h>.
18187         (elf_get_dynamic_info): Moved to ...
18188         * elf/get-dynamic-info.h: Here.  New file.
18189         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18190         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18191         * elf/setup-vdso.h: Here.  New file.
18192         * elf/rtld.c: Include "setup-vdso.h".
18193         (dl_main): Call setup_vdso.
18195 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18197         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18198         creal in comment listing functions tested.  List finite, isinf,
18199         isnan, isless, islessequal, isgreater, isgreaterequal,
18200         islessgreater, isunordered, lgamma_r and pow10 as functions and
18201         macros not tested.  Mention which functions not tested are aliases
18202         for other functions.  Fix typo.  Note that signs of NaNs are not
18203         tested.
18205         * scripts/config.guess: Update from config.git.
18206         * scripts/config.sub: Likewise.
18208 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18210         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18211         * misc/madvise.c (madvise): Renamed to __madvise.
18212         Make madvise a weak alias.
18213         * include/sys/mman.h: Declare __madvise.
18214         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18215         * sysdeps/unix/syscalls.list
18216         (madvise): Make __madvise the strong name, and madvise a weak alias.
18217         * sysdeps/unix/sysv/linux/syscalls.list
18218         (madvise, mmap): Remove redundant entries.
18219         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18220         * malloc/malloc.c (mtrim): Likewise.
18221         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18223 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18225         * sysdeps/mach/hurd/dl-cache.c: File removed.
18226         * config.h.in (USE_LDCONFIG): New #undef.
18227         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18228         * configure: Regenerated.
18229         * elf/Makefile (dl-routines): Add dl-cache only under
18230         [$(use-ldconfig) = yes].
18231         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18232         cache on [USE_LDCONFIG].
18233         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18234         [USE_LDCONFIG].
18235         * elf/rtld.c (dl_main): Likewise.
18237 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18239         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18240         _SC_LEVEL4_CACHE_LINESIZE.
18242 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18244         * sysdeps/unix/bsd/confstr.h: File removed.
18246 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18248         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18249         sys/sdt-config.h.
18251 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18253         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18254         Make 'mapoff' field ElfW(Off) rather than off_t.
18256 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18258         * nscd/Makefile: Remove nscd-cflags and all its users.
18259         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18260         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18262         [BZ #10631]
18263         * malloc.c (malloc_printerr): Clarify error message.
18265 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18267         [BZ #14648]
18268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18269         Set bit_FMA_Usable if FMA is supported.
18270         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18271         macro.
18272         (bit_FMA4_Usable): Updated.
18273         (index_FMA_Usable): New macro.
18274         (CPUID_FMA): Likewise
18275         (HAS_FMA): Defined with bit_FMA_Usable.
18277 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18279         * bits/types.h (__swblk_t): Type removed.
18280         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18281         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18283         (__SWBLK_T_TYPE): Likewise.
18284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18285         (__SWBLK_T_TYPE): Likewise.
18286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18287         (__SWBLK_T_TYPE): Likewise.
18288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18289         (__SWBLK_T_TYPE): Likewise.
18291 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18292             Honza Horak <hhorak@redhat.com>
18294         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18295         (xdr_mapname): Use YPMAXMAP as maxsize.
18296         (xdr_peername): Use YPMAXPEER as maxsize.
18297         (xdr_keydat): Use YPAXRECORD as maxsize.
18298         (xdr_valdat): Use YPMAXRECORD as maxsize.
18300 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18302         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18304         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18305         * csu/init-first.c: ... here.
18306         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18307         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18308         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18309         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18310         * sysdeps/i386/init-first.c: File removed.
18311         * sysdeps/sh/init-first.c: File removed.
18313 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18315         [BZ #14645]
18316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18317         if x * y might underflow to zero and z is zero.
18318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18320         * math/libm-test.inc (min_subnorm_value): New variable.
18321         (fma_test): Add more tests.
18322         (fma_test_towardzero): Likewise.
18323         (fma_test_downward): Likewise
18324         (fma_test_upward): Likewise.
18325         (initialize): Set min_subnorm_value.
18327 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18329         [BZ #14638]
18330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18331         0 + 0.
18332         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18333         mode for addition resulting in exact zero.
18334         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18336         exact 0 + 0.
18337         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18339         * math/libm-test.inc (fma_test): Add more tests.
18340         (fma_test_towardzero): New function.
18341         (fma_test_downward): Likewise.
18342         (fma_test_upward): Likewise.
18343         (main): Call the new functions.
18345 2012-09-28  David S. Miller  <davem@davemloft.net>
18347         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18349 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18351         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18352         instead of SIGALRM.
18354         * sysdeps/gnu/_G_config.h: Moved to ...
18355         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18356         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18357         * sysdeps/generic/_G_config.h: ... here.
18359         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18361         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18363         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18364         Conditionalize target on [libnss_test1.so-version].
18366         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18368         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18369         (elfobjdir): Move out of conditionals.
18371         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18372         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18373         (__nss_lookup_function): Conditionalize label remove_from_tree on
18374         [!DO_STATIC_NSS || SHARED], matching its only use.
18376 2012-09-28  David S. Miller  <davem@davemloft.net>
18378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18379         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18380         file.
18381         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18382         sysdep_routines.
18383         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18385         when HWCAP_SPARC_CRYPTO is present.
18387 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18389         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18391 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18393         [BZ #6530]
18394         * stdio-common/vfprintf.c (process_string_arg): Revert
18395         2000-07-22 change.
18397 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18399         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18400         for testcase.
18401         * stdio-common/tst-sprintf.c: Include <locale.h>
18402         (main): Test sprintf's handling of incomplete multibyte
18403         characters.
18405 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18407         * elf/dl-runtime.c (VERSYMIDX): Removed.
18408         * elf/dl-version.c (VERSYMIDX): Likewise.
18409         * elf/do-rel.h (VERSYMIDX): Likewise.
18410         (VALIDX): Likewise.
18411         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18412         * elf/rtld.c (VALIDX): Likewise.
18413         (ADDRIDX): Likewise.
18414         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18415         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18416         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18417         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18418         (VALIDX): Likewise.
18419         (ADDRIDX): Likewise.
18421 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18423         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18425 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18427         [BZ #11438]
18428         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18429         to global scope.
18430         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18431         addresses are in the same scope as 192.0.2/24.
18432         * posix/gai.conf: Document new scope table defaults.
18434 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18436         [BZ #5298]
18437         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18438         for ftell.  Compute offsets from write pointers instead.
18439         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18441 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18443         [BZ #14543]
18444         * libio/Makefile (tests): New test case tst-fseek.
18445         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18446         combination works in wide mode.
18447         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18448         state when the external buffer state changes.
18450 2012-09-27  David S. Miller  <davem@davemloft.net>
18452         [BZ #14376]
18453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18454         pass reloc->r_addend in as the 'high' argument to
18455         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18459 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18461         * rt/tst-aio2.c: Include <pthread.h>.
18462         * rt/tst-aio3.c: Likewise.
18464 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18466         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18468 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18470         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18471         contents on [SHARED].
18473 2012-09-26  Marek Polacek  <polacek@redhat.com>
18475         [BZ #14530]
18476         [BZ #13741]
18477         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18478         for C++ and GCC <4.3 as well as for non GCC compilers.
18480 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18484 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18486         * Makefile.in (all, install): Declare with .PHONY.
18487         Reported by Michael Hope <michael.hope@linaro.org>.
18489 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18491         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18492         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18493         system header.
18494         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18495         Likewise.
18496         (sydep_routines): Add the new and the internal functions.
18497         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18498         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18500         (GLIBC_2.17): Add the new function.
18501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18502         (GLIBC_2.17): Likewise.
18503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18504         (GLIBC_2.17): Likewise.
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18506         (GLIBC_2.17): Likewise.
18507         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18509 2012-09-25  Alan Modra  <amodra@gmail.com>
18511         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18512         Add release barrier before setting once_control to say
18513         initialisation is done.  Add hints on lwarx.  Use macro in
18514         place of isync.
18515         (clear_once_control): Add release barrier.
18517 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18519         [BZ #13629]
18520         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18521         specially.
18522         * math/s_clog10.c (__clog10): Likewise.
18523         * math/s_clog10f.c (__clog10f): Likewise.
18524         * math/s_clog10l.c (__clog10l): Likewise.
18525         * math/s_clogf.c (__clogf): Likewise.
18526         * math/s_clogl.c (__clogl): Likewise.
18527         * math/Makefile (libm-calls): Add x2y2m1.
18528         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18529         (__x2y2m1): Likewise.
18530         (__x2y2m1l): Likewise.
18531         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18532         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18533         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18534         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18535         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18536         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18537         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18538         * sysdeps/i386/fpu/libm-test-ulps: Update.
18539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18541         [BZ #14621]
18542         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18543         int as type of variable DEPTH.
18544         (glob): Use size_t instead of int as type of variables NEWCOUNT
18545         and OLD_PATHC.
18547 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18549         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18550         Add s_sincosf-sse2.
18551         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18552         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18553         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18554         macros for using routine as __sincosf_ia32.
18555         Use macro for function declaration and weak_alias.
18556         * sysdeps/i386/fpu/libm-test-ulps: Update.
18558         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18561         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18562         subnormal argument.
18563         * math/s_cexpf.c (__cexpf): Likewise.
18564         * math/s_csinf.c (__csinf): Likewise.
18565         * math/s_csinhf.c (__csinhf): Likewise.
18566         * math/s_ctanf.c (__ctanf): Likewise.
18567         * math/s_ctanhf.c (__ctanhf): Likewise.
18568         * math/s_ccosh.c (__ccoshf): Likewise.
18569         * math/s_cexp.c (__cexpl): Likewise.
18570         * math/s_csin.c (__csin): Likewise.
18571         * math/s_csinh.c (__csinh): Likewise.
18572         * math/s_ctan.c (__ctan): Likewise.
18573         * math/s_ctanh.c (ctanh): Likewise.
18574         * math/s_ccoshl.c (__ccoshl): Likewise.
18575         * math/s_cexpl.c (__cexpl): Likewise.
18576         * math/s_csinl.c (__csinl): Likewise.
18577         * math/s_csinhl.c (__csinhl): Likewise.
18578         * math/s_ctanl.c (__ctanl): Likewise.
18579         * math/s_ctanhl.c (__ctanhl): Likewise.
18581 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18583         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18584         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18585         (_IO_off_t): Define to __off_t, not _G_off_t.
18586         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18587         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18588         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18589         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18590         type of __dummy and __dummy2 fields.
18591         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18592         (_G_ssize_t): Likewise.
18593         (_G_off_t): Likewise.
18594         (_G_pid_t): Likewise.
18595         (_G_uid_t): Likewise.
18596         (_G_wchar_t): Likewise.
18597         (_G_wint_t): Likewise.
18598         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18599         (_G_ssize_t): Likewise.
18600         (_G_off_t): Likewise.
18601         (_G_pid_t): Likewise.
18602         (_G_uid_t): Likewise.
18603         (_G_wchar_t): Likewise.
18604         (_G_wint_t): Likewise.
18605         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18606         (_G_ssize_t): Likewise.
18607         (_G_off_t): Likewise.
18608         (_G_pid_t): Likewise.
18609         (_G_uid_t): Likewise.
18610         (_G_wchar_t): Likewise.
18611         (_G_wint_t): Likewise.
18613 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18615         * malloc/arena.c: Include malloc-sysdep.h.
18616         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18617         is sufficient to shrink the heap or an unmap is needed.
18618         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18619         new function check_may_shrink_heap.
18620         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18621         new function check_may_shrink_heap.
18623 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18626         comments.
18628 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18630         * catgets/test-gencat.sh: Add "set -e".
18631         * elf/tst-pathopt.sh: Likewise.
18632         * grp/tst_fgetgrent.sh: Likewise.
18633         * iconvdata/run-iconv-test.sh: Likewise.
18634         * intl/tst-gettext.sh: Likewise.
18635         * intl/tst-gettext2.sh: Likewise.
18636         * intl/tst-gettext4.sh: Likewise.
18637         * intl/tst-gettext6.sh: Likewise.
18638         * intl/tst-translit.sh: Likewise.
18639         * io/ftwtest-sh: Likewise.
18640         * libio/test-freopen.sh: Likewise.
18641         * malloc/tst-mtrace.sh: Likewise.
18642         * posix/globtest.sh: Likewise.
18643         * posix/tst-getconf.sh: Likewise.
18644         * posix/wordexp-tst.sh: Likewise.
18645         * stdio-common/tst-printf.sh: Likewise.
18646         * stdio-common/tst-unbputc.sh: Likewise.
18647         * stdlib/tst-fmtmsg.sh: Likewise.
18648         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18649         * catgets/Makefile: Do not specify -e option when running
18650         testsuite shell scripts.
18651         * elf/Makefile: Likewise.
18652         * grp/Makefile: Likewise.
18653         * iconvdata/Makefile: Likewise.
18654         * intl/Makefile: Likewise.
18655         * io/Makefile: Likewise.
18656         * libio/Makefile: Likewise.
18657         * malloc/Makefile: Likewise.
18658         * posix/Makefile: Likewise.
18659         * stdio-common/Makefile: Likewise.
18660         * stdlib/Makefile: Likewise.
18661         * sysdeps/x86_64/Makefile: Likewise.
18663         * io/ftwtest-sh: Add copyright header.
18664         * posix/globtest.sh: Likewise.
18665         * posix/tst-getconf.sh: Likewise.
18666         * posix/wordexp-tst.sh: Likewise.
18667         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18669 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18671         [BZ #13679]
18672         * Makeconfig (+link): Defined as $(+link-static) if
18673         $(build-shared) isn't yes.
18674         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18675         isn't yes.
18676         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18678         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18680         [BZ #14562]
18681         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18682         new chunk size with MALLOC_ALIGN_MASK.
18684 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18686         [BZ #5044]
18687         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18688         <rounding-mode.h>.
18689         (__printf_fphex): Determine rounding using get_rounding_mode and
18690         round_away.
18691         * stdio-common/tst-printf-round.c (struct hex_test): New
18692         structure.
18693         (hex_tests): New variable.
18694         (test_hex_in_one_mode): New function.
18695         (do_test): Also run tests for hex float output.
18697 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18699         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18700         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18701         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18702         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18703         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18704         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18705         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18706         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18708 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18710         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18711         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18712         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18713         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18715 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18717         [BZ #14579]
18718         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18719         mode only.
18720         * elf/tst-rtld-load-self.sh: New test.
18721         * elf/Makefile: Run it.
18723 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18725         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18726         (tst-writev-ENV): Remove.
18727         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18729 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18731         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18733 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18735         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18736         unconditional.
18737         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18738         Likewise.
18739         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18740         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18741         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18742         Likewise.
18744 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18746         [BZ #14587]
18747         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18748         * config.make.in (have-cpp-asm-debuginfo): Removed.
18749         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18750         * configure: Regenerated.
18752 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18754         [BZ #5044]
18755         * stdio-common/printf_fp.c: Include <stdbool.h> and
18756         <rounding-mode.h>.
18757         (___printf_fp): Determine rounding using get_rounding_mode and
18758         round_away.
18759         * stdio-common/tst-printf-round.c: New file.
18760         * stdio-common/Makefile (tests): Add tst-printf-round.
18761         (link-libm): New variable.
18762         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18764 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18766         [BZ #14576]
18767         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18768         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18769         Likewise.
18770         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18771         Likewise.
18773 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18775         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18776         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18777         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18778         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18780 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18782         [BZ #14518]
18783         * include/rounding-mode.h: New file.
18784         * sysdeps/generic/get-rounding-mode.h: Likewise.
18785         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18786         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18787         (MAX_VALUE): New macro.
18788         (MIN_VALUE): Likewise.
18789         (overflow_value): New function.
18790         (underflow_value): Likewise.
18791         (round_and_return): Use overflow_value and underflow_value to
18792         determine return values in overflow and underflow cases.  Use
18793         round_away to determine rounding depending on rounding mode.
18794         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18795         determine return values in overflow and underflow cases.
18796         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18797         (struct test_results): New structure.
18798         (struct test): Use struct test_results to store expected results
18799         for all rounding modes.
18800         (TEST): Include expected results for all rounding modes.
18801         (test_in_one_mode): New function.
18802         (do_test): Use test_in_one_mode to compute and check results.
18803         Check results for all rounding modes.
18804         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18805         $(link-libm).
18807 2012-12-09  Allan McRae  <allan@archlinux.org>
18809         * sysdeps/i386/fpu/libm-test-ulps: Update
18811 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18813         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18814         (_G_int32_t): Likewise.
18815         (_G_uint16_t): Likewise.
18816         (_G_uint32_t): Likewise.
18817         (_G_HAVE_BOOL): Likewise.
18818         (_G_HAVE_ATEXIT): Likewise.
18819         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18820         (_G_HAVE_IO_FILE_OPEN): Likewise.
18821         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18822         (_G_int32_t): Likewise.
18823         (_G_uint16_t): Likewise.
18824         (_G_uint32_t): Likewise.
18825         (_G_HAVE_BOOL): Likewise.
18826         (_G_HAVE_ATEXIT): Likewise.
18827         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18828         (_G_HAVE_IO_FILE_OPEN): Likewise.
18829         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18830         (_G_int32_t): Likewise.
18831         (_G_uint16_t): Likewise.
18832         (_G_uint32_t): Likewise.
18833         (_G_HAVE_BOOL): Likewise.
18834         (_G_HAVE_ATEXIT): Likewise.
18835         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18836         (_G_HAVE_IO_FILE_OPEN): Likewise.
18838 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18840         * csu/libc-tls.c: Update copyright years.
18842 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18844         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18845         [!_G_USING_THUNKS]: Remove conditional code.
18846         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18847         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18849         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18850         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18851         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18852         (_G_VTABLE_LABEL_PREFIX): Likewise.
18853         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18854         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18855         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18856         (_G_VTABLE_LABEL_PREFIX): Likewise.
18857         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18858         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18859         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18860         (_G_VTABLE_LABEL_PREFIX): Likewise.
18861         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18863 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18865         * libio/Makefile: Include ../Makeconfig before tests.
18866         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18867         only if $(build-shared) is yes.
18869         * iconv/gconv_db.c: Update copyright years.
18871 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18873         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18874         unwind info if defined PIC. Fix special cases description.
18875         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18877         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18878         DP_HI_MASK entry.
18879         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18881 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18883         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18885         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18886         is NULL.
18888         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18889         (LDLIBS-tst-chk4): This.
18890         (LDFLAGS-tst-chk5): Renamed to ...
18891         (LDLIBS-tst-chk5): This.
18892         (LDFLAGS-tst-chk6): Renamed to ...
18893         (LDLIBS-tst-chk6): This.
18894         (LDFLAGS-tst-lfschk4): Renamed to ...
18895         (LDLIBS-tst-lfschk4): This.
18896         (LDFLAGS-tst-lfschk5): Renamed to ...
18897         (LDLIBS-tst-lfschk5): This.
18898         (LDFLAGS-tst-lfschk6): Renamed to ...
18899         (LDLIBS-tst-lfschk6): This.
18901         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18902         on $(common-objpfx)soversions.mk.
18904 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18906         [BZ #10014]
18907         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18908         example host name.
18910 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18912         * malloc/arena.c (arena_get_retry): New function that gets
18913         another arena for the caller to try its request on.
18914         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18915         current arena cannot fulfill the request.
18916         (__libc_memalign): Likewise.
18917         (__libc_memalign): Likewise.
18918         (__libc_pvalloc): Likewise.
18919         (__libc_calloc): Likewise.
18921 2012-09-05  John Tobey  <john.tobey@gmail.com>
18923         [BZ #13542]
18924         * manual/arith.texi (Operations on Complex): Fix description
18925         of carg branch cut.
18927 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18929         [BZ #10014]
18930         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18931         host name.
18933         [BZ #10038]
18934         * manual/memory.texi (Memory): Make order of menu items match
18935         order of sections.
18937 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18939         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18940         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18941         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18943 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18945         * csu/libc-tls.c (static_dtv): Renamed to ...
18946         (_dl_static_dtv): This.  Make it global.
18947         (_dl_initial_dtv): Removed.
18948         (__libc_setup_tls): Updated.
18949         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18950         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18951         DL_INITIAL_DTV.
18953 2012-09-06  Petr Machata  <pmachata@redhat.com>
18955         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18956         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18957         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18958         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18962         [BZ #14545]
18963         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18964         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18965         freeing dtv[-1].
18967 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18969         [BZ #14544]
18970         * Makeconfig (link-static-before-libc): Replace $(+prector)
18971         with $(+prectorT).
18972         (link-static-after-libc): Replace $(+postctor) with
18973         $(+postctorT).
18974         (link-bounded): Replace $(+prector)/$(+postctor) with
18975         $(+prectorT)/$(+postctorT).
18976         (+prectorT): New macro.
18977         (+postctorT): Likewise.
18979 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18981         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18982         (round_str): Handle values above the maximum for IBM long double
18983         as inexact.
18984         * stdlib/tst-strtod-round.c (tests): Regenerated.
18986 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18988         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18989         assembler flag.
18990         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18991         zarch_nohighgprs around the zarch optimized routines.
18992         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18993         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18994         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18995         for zarch.
18997 2012-09-05  David S. Miller  <davem@davemloft.net>
18999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19001         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19002         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19003         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19004         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19005         entries.
19007 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19009         * malloc/arena.c: Fold copyright years.
19010         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19012 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19014         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19016 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19018         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19020 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19022         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19023         change internal state upon failure.
19025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19027         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19028         * malloc/memusage.c (mmap): Likewise.
19029         (mmap64, mremap): Likewise.  Adjust name in comment.
19031 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19033         * libio/fileops.c: Fix typos in comments.
19034         * libio/oldfileops.c: Likewise.
19035         * libio/wfileops.c: Likewise.
19037 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19039         [BZ #1349]
19040         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19041         (tst-malloc-usable-ENV): Set environment for test case.
19042         * malloc/hooks.c (malloc_check_get_size): New function to get
19043         requested size.
19044         * malloc/malloc.c (musable): Use malloc_check_get_size.
19045         * malloc/tst-malloc-usable.c: New test case.
19047 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19049         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19051 2012-09-05  Allan McRae  <allan@archlinux.org>
19053         [BZ #13966]
19054         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19055         determine header location.
19056         * configure: Regenerated.
19058 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19060         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19061         float format.
19062         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19063         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19064         format.
19065         (test): Regenerate.
19067 2012-09-04  David S. Miller  <davem@davemloft.net>
19069         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19070         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19071         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19073 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19075         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19076         failures.
19078         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19080 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19082         [BZ #9914]
19083         * libio/iogetdelim.c: Include <limits.h>.
19084         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19085         + len + 1 would overflow.
19087 2012-09-03  Andreas Jaeger  <aj@suse.de>
19089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19090         * sysdeps/i386/fpu/libm-test-ulps: Update.
19092 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19094         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19095         Add s_sinf-sse2, s_conf-sse2.
19097         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19098         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19099         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19100         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19102         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19103         for using routine as __sinf_ia32.
19104         Use macro for function declaration and weak_alias.
19105         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19106         for using routine as __cosf_ia32.
19107         Use macro for function declaration and weak_alias.
19109         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19110         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19112         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19113         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19116         * math/libm-test.inc (cos_test): Add more test cases.
19117         (sin_test): Likewise.
19118         (sincos_test): Likewise.
19120 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19122         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19123         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19124         hidden.
19125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19127 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19129         [BZ #14538]
19130         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19131         first element of the GOT.
19132         (elf_machine_load_address): Return the difference between
19133         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19135 2012-09-01  Allan McRae  <allan@archlinux.org>
19137         [BZ #13412]
19138         * configure.in (AWK): Require gawk version 3.0 or later.
19139         * configure: Regenerated.
19141 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19143         * sysdeps/unix/sysv/linux/kernel-features.h
19144         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19146         [__NR_clock_getres]: Make code unconditional.
19147         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19148         (clock_getcpuclockid): Remove code left unreachable by removal of
19149         conditionals.
19150         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19151         code unconditional.
19152         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19153         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19154         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19155         Make code unconditional.
19156         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19157         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19158         * sysdeps/unix/sysv/linux/clock_settime.c
19159         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19160         conditional code.
19161         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19164 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19166         [BZ #14476]
19167         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19168         scripts/test-installation.pl.
19170         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19171         and $ld_so_version if it is set.
19173 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19175         [BZ #14516]
19176         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19177         failure if reading from procfs failed.
19178         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19180 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19182         * sysdeps/unix/sysv/linux/kernel-features.h
19183         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19184         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19185         Remove conditional code.
19186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19187         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19188         Remove conditional code.
19189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19190         * sysdeps/unix/sysv/linux/i386/fxstat.c
19191         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19193         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19196         * sysdeps/unix/sysv/linux/i386/lxstat.c
19197         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19199         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19200         Remove conditional code.
19201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19202         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19203         Remove conditional code.
19204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19205         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19206         <kernel-features.h>.
19207         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19208         Remove.
19209         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19210         Remove conditional code.
19211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19212         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19213         Remove conditional.
19215 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19217         [BZ #5400]
19218         * NEWS: Add fixed bug number.
19220 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19222         [BZ #14519]
19223         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19224         underflowing exponent in case of negative sign.
19225         * stdlib/tst-strtod-round-data: Add more tests.
19226         * stdlib/tst-strtod-round.c (tests): Regenerated.
19228         [BZ #3479]
19229         * stdlib/strtod_l.c (NDIG): Remove.
19230         (HEXNDIG): Likewise.
19231         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19232         smallest representable value.
19233         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19234         lie within an exact representation of 1/2 ulp of the result.
19235         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19236         unconditionally.
19237         (TENS_P9_IDX): Define unconditionally.
19238         (TENS_P9_SIZE): Likewise.
19239         (TENS_P10_IDX): Likewise.
19240         (TENS_P10_SIZE): Likewise.
19241         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19242         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19243         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19244         entries for 10^2^13 and 10^2^14.
19245         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19246         (TENS_P13_IDX): Define.
19247         (TENS_P13_SIZE): Likewise.
19248         (TENS_P14_IDX): Likewise.
19249         (TENS_P14_SIZE): Likewise.
19250         (_fpioconst_pow10): Change array size to
19251         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19252         unconditional.
19253         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19254         1024]: Add entries for 10^2^13 and 10^2^14.
19255         [LAST_POW10 > _LAST_POW10]: Remove #error.
19256         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19257         (_fpioconst_pow10): Change array size to
19258         FPIOCONST_POW10_ARRAY_SIZE.
19259         * stdlib/gen-fpioconst.c: New file.
19260         * stdlib/gen-tst-strtod-round.c: Likewise.
19261         * stdlib/tst-strtod-round-data: Likewise.
19262         * stdlib/tst-strtod-round.c: Likewise.
19263         * stdlib/Makefile (tests): Add tst-strtod-round.
19265         [BZ #14459]
19266         * stdlib/strtod_l.c: Include <stdint.h>.
19267         (NDEBUG): Do not define.
19268         (round_and_return): Change EXPONENT parameter to type intmax_t.
19269         Rearrange calculations to avoid internal overflow possibilities.
19270         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19271         Rearrange calculations to avoid internal overflow possibilities.
19272         Assert that number fits inside MPNSIZE limbs.
19273         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19274         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19275         calculations and add assertions to avoid internal overflow
19276         possibilities.  Add casts to avoid signed/unsigned operations.
19277         * stdlib/tst-strtod-overflow.c: New file.
19278         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19280 2012-08-25  Marek Polacek  <polacek@redhat.com>
19282         * time/time.h: Fix some typos in comments.
19284 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19286         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19287         * posix/tst-rfc3484-2.c: Likewise.
19288         * posix/tst-rfc3484-3.c: Likewise.
19290 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19292         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19293         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19295 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19297         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19298         #include of fxstatat64.c.
19300 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19302         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19303         * shadow/getspent_r.c: Likewise.
19304         * shadow/getspnam.c: Likewise.
19305         * shadow/getspnam_r.c: Likewise.
19306         * gshadow/getsgent.c: Likewise.
19307         * gshadow/getsgent_r.c: Likewise.
19308         * gshadow/getsgnam.c: Likewise.
19309         * gshadow/getsgnam_r.c: Likewise.
19310         * inet/getnetbyad.c: Likewise.
19311         * inet/getnetbyad_r.c: Likewise.
19312         * inet/getnetbynm.c: Likewise.
19313         * inet/getnetbynm_r.c: Likewise.
19314         * inet/getnetent.c: Likewise.
19315         * inet/getnetent_r.c: Likewise.
19316         * inet/getproto.c: Likewise.
19317         * inet/getproto_r.c: Likewise.
19318         * inet/getprtent.c: Likewise.
19319         * inet/getprtent_r.c: Likewise.
19320         * inet/getprtname.c: Likewise.
19321         * inet/getprtname_r.c: Likewise.
19322         * inet/getrpcbyname.c: Likewise.
19323         * inet/getrpcbyname_r.c: Likewise.
19324         * inet/getrpcbynumber.c: Likewise.
19325         * inet/getrpcbynumber_r.c: Likewise.
19326         * inet/getrpcent.c: Likewise.
19327         * inet/getrpcent_r.c: Likewise.
19328         * inet/getaliasent.c: Likewise.
19329         * inet/getaliasent_r.c: Likewise.
19330         * inet/getaliasname.c: Likewise.
19331         * inet/getaliasname_r.c: Likewise.
19332         * nscd/getgrgid_r.c: Likewise.
19333         * nscd/getgrnam_r.c: Likewise.
19334         * nscd/gethstbyad_r.c: Likewise.
19335         * nscd/gethstbynm3_r.c: Likewise.
19336         * nscd/getpwnam_r.c: Likewise.
19337         * nscd/getpwuid_r.c: Likewise.
19338         * nscd/getsrvbynm_r.c: Likewise.
19339         * nscd/getsrvbypt_r.c: Likewise.
19340         * nscd/gai.c: Likewise.
19342         * configure.in (build_nscd): New substituted variable, set
19343         by --disable-build-nscd and defaults to $use_nscd.
19344         * configure: Regenerated.
19345         * config.make.in (build-nscd): New substituted variable.
19346         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19347         Change conditional to require [$(build-nscd) = yes] as well.
19348         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19350         [BZ# 13696]
19351         * configure.in (use_nscd): New substituted variable, set by
19352         --disable-nscd.  If enabled, define USE_NSCD.
19353         * configure: Regenerated.
19354         * config.h.in: Add USE_NSCD.
19355         * config.make.in (use-nscd): New substituted variable.
19356         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19357         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19358         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19359         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19360         (CFLAGS-getgrnam_r.c): Likewise.
19361         (CFLAGS-initgroups.c): Likewise.
19362         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19363         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19364         Variables removed.
19365         * inet/getnetgrent_r.c
19366         (nscd_setnetgrent): New function, broken out of ...
19367         (setnetgrent): ... here.  Call it.
19368         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19369         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19370         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19371         * nscd/Makefile (routines, aux): Move definitions after include of
19372         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19373         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19374         Conditionalize on [USE_NSCD].
19375         (is_nscd, nscd_init_cb): Likewise.
19376         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19377         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19378         * nss/nss_db/db-init.c: Likewise.
19379         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19380         [USE_NSCD].
19381         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19382         (make_request): Use it.
19383         (cache_valid_p): New function.
19384         (__check_pf): Use it.
19385         * NEWS: Add item for --disable-nscd.
19387 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19389         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19390         to support sed >= 4.2.1-20-ga9bf076.
19391         * configure: Regenerated.
19393 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19395         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19396         Conditionalize whole body on [IREL].
19398 2012-08-22  Jeff Law <law@redhat.com>
19400         [BZ #14505]
19401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19402         if the family is PF_UNSPEC.
19404 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19406         * Makerules (lib-version): Rename from V.
19407         (install-lib-nosubdir): Change V to lib-version.
19409 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19411         [BZ #14252]
19412         * powerpc32/power6/wcschr.c: New file.
19413         * powerpc32/power6/wcscpy.c: New file.
19414         * powerpc32/power6/wcsrchr.c: New file.
19415         * powerpc64/power6/wcschr.c: New file.
19416         * powerpc64/power6/wcscpy.c: New file.
19417         * powerpc64/power6/wcsrchr.c: New file.
19419 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19421         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19422         (two_way_short_needle): Use it.
19423         * string/strstr.c (AVAILABLE1_USES_J): Define.
19424         * string/strcasestr.c: Likewise.
19426         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19427         array references.
19428         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19430         [BZ #11607]
19431         * NEWS: Add an entry.
19432         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19433         define their defaults.
19434         (two_way_short_needle): Detect end-of-string on-the-fly.
19435         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19436         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19437         * string/bug-strcasestr1.c: New test.
19438         * string/Makefile: Run it.
19440 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19442         [BZ #11607]
19443         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19444         the first character.
19446 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19448         * csu/elf-init.c (__libc_csu_irel): Function removed.
19449         * csu/libc-start.c (apply_irel): New function.
19450         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19452 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19454         * sysdeps/unix/sysv/linux/kernel-features.h
19455         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19456         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19457         <kernel-features.h>.
19458         [__NR_fadvise64_64]: Make code unconditional.
19459         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19460         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19461         !__NR_fadvise64_64)]: Likewise.
19462         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19463         !__NR_fadvise64_64))]: Likewise.
19464         [__NR_fadvise64]: Make code unconditional.
19465         [!__NR_fadvise64]: Remove conditional code.
19466         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19467         <kernel-features.h>.
19468         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19469         unconditional.
19470         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19471         conditional code.
19472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19473         not include <kernel-features.h>.
19474         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19475         unconditional.
19476         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19477         conditional code.
19478         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19479         include <kernel-features.h>.
19480         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19481         unconditional.
19482         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19483         conditional code.
19485 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19487         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19488         slight instruction rearrangements per scrollpipe analysis.
19489         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19491 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19493         * manual/syslog.texi (syslog; vsyslog, closelog):
19494         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19495         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19497         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19498         DSOCAPS to match condition on defining it.
19500 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19502         * sysdeps/unix/sysv/linux/kernel-features.h
19503         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19505         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19506         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19511         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19512         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19514         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19515         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19517         * sysdeps/unix/sysv/linux/kernel-features.h
19518         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19519         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19520         unconditional.
19521         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19522         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19523         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19524         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19525         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19526         Make code unconditional.
19527         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19528         (__mmap64) [!__NR_mmap2]: Likewise.
19529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19530         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19531         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19533         [__NR_mmap2]: Make code unconditional.
19534         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19535         (__mmap64) [!__NR_mmap2]: Likewise.
19537 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19539         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19541 2012-08-18  Andreas Jaeger  <aj@suse.de>
19543         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19545 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19547         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19548         * include/unistd.h (__have_sock_cloexec): Likewise.
19549         (__have_pipe2): Likewise.
19550         (__have_dup3): Likewise.
19552 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19554         [BZ #9685]
19555         * include/unistd.h (__have_pipe2): Change define into an extern int.
19556         (__have_dup3): Likewise.
19557         * socket/have_sock_cloexec.c: Include fcntl.h.
19558         (__have_pipe2): New variable.
19559         (__have_dup3): Likewise.
19561 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19563         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19565 2012-08-17  Marek Polacek  <polacek@redhat.com>
19567         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19568         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19570 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19572         * configure.in: Add AC_SUBST for sysheaders.
19573         * configure: Regenerated.
19574         * config.make.in (sysheaders): New substituted variable.
19576         * sysdeps/unix/mkfifo.c: Moved ...
19577         * sysdeps/posix/mkfifo.c: ... here.
19578         * sysdeps/unix/mkfifoat.c: Moved ...
19579         * sysdeps/posix/mkfifoat.c: ... here.
19581         * sysdeps/unix/utime.c: Moved ...
19582         * sysdeps/posix/utime.c: ... here.
19584         * sysdeps/unix/time.c: Moved ...
19585         * sysdeps/posix/time.c: ... here.
19586         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19587         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19589         * sysdeps/unix/nice.c: Moved ...
19590         * sysdeps/posix/nice.c: ... here.
19592         * sysdeps/unix/alarm.c: Moved ...
19593         * sysdeps/posix/alarm.c: ... here.
19595         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19597 2012-08-17  Jeff Law <law@redhat.com>
19599         * intl/Makefile (codeset_mo): New variable.
19600         ($(codeset_mo)): New target.
19601         (tst-codeset.out): Depend on that.  Remove explicit rule.
19602         (tst-gettext3.out, tst-gettext5.out): Likewise.
19603         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19604         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19605         * intl/tst-codeset.sh: Remove.
19606         * intl/tst-gettext3.sh: Likewise.
19607         * intl/tst-gettext5.sh: Likewise.
19609 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19611         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19612         * sysdeps/unix/syscalls.list: ... here.
19614         * sysdeps/posix/getaddrinfo.c
19615         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19616         (gaiconf_init, gaiconf_reload): Use them.
19617         [!_STATBUF_ST_NSEC]
19618         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19619         Define using time_t rather than struct timespec.
19621         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19622         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19623         Macros removed.
19624         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19625         [!NO_THREADS].
19626         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19627         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19628         Likewise.
19630         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19631         __libc_cleanup_push argument.
19633         * bits/param.h: New file.
19634         * misc/sys/param.h: New file.
19635         * include/sys/param.h: New file.
19636         * misc/Makefile (headers): Add bits/param.h.
19637         * sysdeps/generic/sys/param.h: File removed.
19638         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19639         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19640         * sysdeps/mach/hurd/bits/param.h: New file.
19641         * sysdeps/mach/hurd/sys/param.h: File removed.
19643         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19644         last change.
19646         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19647         [_IO_MTSAFE_IO].
19648         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19649         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19650         New macros.
19652         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19653         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19654         rather than -D_IO_MTSAFE_IO conditionally.
19655         * stdio-common/Makefile (CPPFLAGS): Likewise.
19656         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19657         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19658         Use $(libio-mtsafe).
19659         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19660         of -D_IO_MTSAFE_IO.
19661         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19662         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19663         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19664         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19665         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19666         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19667         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19668         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19669         (CFLAGS-fread_u_chk.c): Likewise.
19670         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19671         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19672         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19673         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19674         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19675         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19676         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19677         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19678         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19680         * libio/Makefile: Test [$(libc-reentrant) = yes]
19681         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19683         * Makeconfig
19684         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19685         * sysdeps/pthread/configure: File removed.
19686         * sysdeps/pthread/Makeconfig: New file.
19687         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19688         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19690 2012-08-16  Gary Benson  <gbenson@redhat.com>
19692         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19693         unmapping the first object in a namespace.
19695 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19697         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19698         (__internal_setnetgrent): ... this.  Add internal_function to
19699         definition.  Add libc_hidden_def.
19700         (setnetgrent): Update caller.
19701         (internal_endnetgrent): Renamed to ...
19702         (__internal_endnetgrent): ... this.  Add internal_function to
19703         definition.  Add libc_hidden_def.
19704         (endnetgrent): Update caller.
19705         (internal_getnetgrent_r): Renamed to ...
19706         (__internal_getnetgrent_r): ... this.  Add internal_function to
19707         definition.  Add libc_hidden_def.
19708         (__getnetgrent_r): Update caller.
19709         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19711 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19713         * stdlib/longlong.h: Update from GCC.
19715 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19717         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19718         on _QL, which is set by umul_ppmm but never used.
19719         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19720         variables, which are set by GMP macros but never used.
19721         * stdio-common/_itowa.c (_itowa): Likewise.
19722         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19723         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19725 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19727         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19728         struct La_sh_regs is not constant.
19729         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19730         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19731         and struct La_sparc64_regs are not constant.
19733 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19735         * sysdeps/unix/sysv/linux/kernel-features.h
19736         (__ASSUME_POSIX_TIMERS): Remove.
19737         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19739         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19740         Make code unconditional.
19741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19742         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19743         Make code unconditional.
19744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19745         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19746         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19748         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19749         Make code unconditional.
19750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19751         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19752         (__libc_missing_posix_timers): Remove.
19754 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19756         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19757         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19759         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19761         * elf/dl-sym.c: Include <stdlib.h>.
19763         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19764         constants, which avoids warnings in 32-bit builds.
19766         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19767         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19769         * misc/lseek.c: File moved to ...
19770         * io/lseek.c: ... here.
19772         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19774         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19775         shifting LEN more than 31 bits at once.
19777 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19779         [BZ #14195]
19780         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19781         segmentation fault for a case of two empty input strings.
19782         * string/test-strncasecmp.c (check1): Renamed to...
19783         (bz12205): ...this.
19784         (bz14195): Add new testcase for two empty input strings and N > 0.
19785         (test_main): Call new testcase, adapt for renamed function.
19787 2012-08-15  Andreas Jaeger  <aj@suse.de>
19789         [BZ #14090]
19790         * crypt/md5test2.c: New test, based on test supplied by Serge
19791         Belyshev <belyshev@depni.sinp.msu.ru>.
19792         * crypt/Makefile (xtests): Add md5test-giant..
19793         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19795 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19797         [BZ #14090]
19798         * crypt/md5.c (md5_process_block): Don't assume the buffer
19799         length is less than 2**32.
19800         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19801         length is less than 2**64.
19803 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19805         * string/str-two-way.h: Include <sys/param.h>.
19806         (MAX): Macro removed.
19808         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19809         Move #define and #undef of memmove to just before and after
19810         including <string.h>.
19812         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19813         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19814         and after including <string.h>.  Move declarations of
19815         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19816         to before #include "string/memmove.c".
19818         * include/dirent.h: Declare __getdirentries.
19820         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19821         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19823 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19825         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19826         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19827         * sysdeps/i386/configure: Regenerated.
19828         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19829         STABS_CURRENT_FILE, and STABS_FUN.
19830         (END): Remove call to STABS_FUN_END.
19831         (STABS_CURRENT_FILE1): Delete.
19832         (STABS_CURRENT_FILE): Likewise.
19833         (STABS_FUN): Likewise.
19834         (STABS_FUN_END): Likewise.
19835         (STABS_FUN2): Likewise.
19836         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19837         * sysdeps/x86_64/configure: Regenerated.
19839 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19841         * elf/dl-open.c: Include <atomic.h>.
19842         * elf/dl-lookup.c: Likewise.
19844 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19846         * sysdeps/unix/sysv/linux/kernel-features.h
19847         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19848         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19849         unconditionally.
19850         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19851         unconditionally.
19852         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19853         condition on __ASSUME_CLONE_THREAD_FLAGS.
19855 2012-08-14  Andreas Jaeger  <aj@suse.de>
19857         * sysdeps/i386/fpu/libm-test-ulps: Update.
19859 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19861         * include/atomic.h (atomic_exchange_and_add): Split into ...
19862         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19863         New atomic macros.
19865 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19869 2012-08-13  Jeff Law <law@redhat.com>
19871         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19872         null byte in the output string.
19874 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19876         * sysdeps/unix/sysv/linux/kernel-features.h
19877         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19878         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19879         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19880         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19881         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19882         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19883         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19885 2012-08-09  Jeff Law <law@redhat.com>
19887         [BZ #13939]
19888         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19889         When avoid_arena is set, don't retry in the that arena.  Pick the
19890         next one, whatever it might be.
19891         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19892         (arena_lock): Pass in new parameter to arena_get2.
19893         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19894         arena_get2.
19895         (__libc_malloc): Unify retrying after main arena failure with
19896         __libc_memalign version.
19897         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19899 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19901         [BZ #14166]
19902         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19903         to __redirect_strstr.
19904         (__strstr_sse42): Use typeof __redirect_strstr.
19905         (__strstr_ia32): Likewise.
19906         (__libc_strstr): New prototype.
19907         (strstr): Renamed to ...
19908         (__libc_strstr): This.
19909         (strstr): New strong alias of __libc_strstr.
19910         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19911         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19912         __redirect_time.
19913         Include <time.h>.
19914         (__libc_time): New prototype.
19915         (time_ifunc): Replace time with __libc_time.
19916         (time): New strong alias and hidden definition of __libc_time.
19917         (__GI_time): Remove strong alias.
19918         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19919         Include <stddef.h>.
19920         (memmove): Redefined to __redirect_memmove.
19921         (__memmove_sse2): Use typeof __redirect_memmove.
19922         (__memmove_ssse3): Likewise.
19923         (__memmove_ssse3_back): Likewise.
19924         (__libc_memmove): New prototype.
19925         (memmove): Renamed to ...
19926         (__libc_memmove): This.
19927         (memmove): New strong alias of __libc_memmove.
19929 2012-08-08  Mark Salter  <msalter@redhat.com>
19931         * elf/elf.h
19932         (R_MN10300_TLS_GD): Define.
19933         (R_MN10300_TLS_LD): Likewise.
19934         (R_MN10300_TLS_LDO): Likewise.
19935         (R_MN10300_TLS_GOTIE): Likewise.
19936         (R_MN10300_TLS_IE): Likewise.
19937         (R_MN10300_TLS_LE): Likewise.
19938         (R_MN10300_TLS_DTPMOD): Likewise.
19939         (R_MN10300_TLS_DTPOFF): Likewise.
19940         (R_MN10300_TLS_TPOFF): Likewise.
19941         (R_MN10300_SYM_DIFF): Likewise.
19942         (R_MN10300_ALIGN): Likewise.
19943         (R_MN10300_NUM): Update.
19945 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19947         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19948         Remove.
19950 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19952         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19954         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19955         sysdeps/unix -> sysdeps/posix move.
19956         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19958 2012-08-07      Allan McRae     <allan@archlinux.org>
19960         [BZ #14303]
19961         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19962         (SUNOS_CPP): Likewise.
19963         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19964         not found.
19965         (open_input): Call CPP using execvp.
19967 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19969         * sysdeps/unix/sysv/linux/kernel-features.h
19970         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19971         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19972         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19973         (__ASSUME_WAITID_SYSCALL): Likewise.
19974         * sysdeps/unix/sysv/linux/dl-execstack.c
19975         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19976         code unconditional.
19977         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19978         conditional code.
19979         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19980         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19981         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19982         code.
19983         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19984         unconditional.
19985         [__ASSUME_WAITID_SYSCALL]: Likewise.
19986         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19988 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19990         * sysdeps/unix/closedir.c: Renamed to ...
19991         * sysdeps/posix/closedir.c: ... here.
19992         * sysdeps/unix/dirfd.c: Renamed to ...
19993         * sysdeps/posix/dirfd.c: ... here.
19994         * sysdeps/unix/dirstream.h: Renamed to ...
19995         * sysdeps/posix/dirstream.h: ... here.
19996         * sysdeps/unix/fdopendir.c: Renamed to ...
19997         * sysdeps/posix/fdopendir.c: ... here.
19998         * sysdeps/unix/opendir.c: Renamed to ...
19999         * sysdeps/posix/opendir.c: ... here.
20000         * sysdeps/unix/readdir.c: Renamed to ...
20001         * sysdeps/posix/readdir.c: ... here.
20002         * sysdeps/unix/readdir_r.c: Renamed to ...
20003         * sysdeps/posix/readdir_r.c: ... here.
20004         * sysdeps/unix/rewinddir.c: Renamed to ...
20005         * sysdeps/posix/rewinddir.c: ... here.
20006         * sysdeps/unix/seekdir.c: Renamed to ...
20007         * sysdeps/posix/seekdir.c: ... here.
20008         * sysdeps/unix/telldir.c: Renamed to ...
20009         * sysdeps/posix/telldir.c: ... here.
20010         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20011         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20012         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20013         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20015         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20016         * bits/fcntl.h: ... here.
20018         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20019         not 0.
20020         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20021         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20022         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20023         (struct flock): Move l_start, l_len to the beginning.
20024         Use __pid_t for l_pid.
20025         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20026         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20027         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20028         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20029         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20030         [__USE_LARGEFILE64] (struct flock64): New type.
20031         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20033         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20034         * bits/dirent.h: ... here.
20036         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20037         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20039 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20041         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20042         Change from 2.6.0 to 2.6.16.
20043         * sysdeps/unix/sysv/linux/configure: Regenerated.
20044         * sysdeps/unix/sysv/linux/kernel-features.h
20045         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20046         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20047         version.
20048         (__ASSUME_UTIMES): Likewise.
20049         (__ASSUME_CLONE_STOPPED): Remove.
20050         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20051         architectures, not kernel version.
20052         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20053         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20054         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20055         (__ASSUME_WAITID_SYSCALL): Likewise.
20056         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20057         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20058         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20059         refer to older versions.
20061 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20063         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20064         Define alphasort64 as an alias.
20065         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20066         Define versionsort64 as an alias.
20067         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20068         Define scandir64 as an alias.
20069         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20070         Define scandirat64 as an alias.
20071         * dirent/alphasort64.c (alphasort64):
20072         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20073         * dirent/versionsort64.c: Likewise.
20074         * dirent/scandir64.c: Likewise.
20075         * dirent/scandirat64.c: Likewise.
20076         * sysdeps/wordsize-64/alphasort.c: File removed.
20077         * sysdeps/wordsize-64/alphasort64.c: File removed.
20078         * sysdeps/wordsize-64/scandir.c: File removed.
20079         * sysdeps/wordsize-64/scandir64.c: File removed.
20080         * sysdeps/wordsize-64/scandirat.c: File removed.
20081         * sysdeps/wordsize-64/scandirat64.c: File removed.
20082         * sysdeps/wordsize-64/versionsort.c: File removed.
20083         * sysdeps/wordsize-64/versionsort64.c: File removed.
20084         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20085         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20087         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20089         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20093         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20095         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20097         [defined __arch64__ || defined __sparcv9]
20098         (__INO_T_MATCHES_INO64_T): New macro.
20099         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20100         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20101         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20102         * sysdeps/unix/sysv/linux/bits/dirent.h
20103         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20104         (_DIRENT_MATCHES_DIRENT64): New macro.
20106         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20107         Define lockf64 as an alias.
20108         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20109         Define fseeko64 as an alias.
20110         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20111         Define ftello64 as an alias.
20112         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20113         Define _IO_fgetpos64 and fgetpos64 as aliases.
20114         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20115         Define _IO_fsetpos64 and fsetpos64 as aliases.
20116         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20117         Conditionalize body on this.
20118         * libio/fseeko64.c: Likewise.
20119         * libio/ftello64.c: Likewise.
20120         * libio/iofgetpos64.c: Likewise.
20121         * libio/iofsetpos64.c: Likewise.
20122         * sysdeps/wordsize-64/lockf.c: File removed.
20123         * sysdeps/wordsize-64/lockf64.c: File removed.
20124         * sysdeps/wordsize-64/fseeko.c: File removed.
20125         * sysdeps/wordsize-64/fseeko64.c: File removed.
20126         * sysdeps/wordsize-64/ftello.c: File removed.
20127         * sysdeps/wordsize-64/ftello64.c: File removed.
20128         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20129         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20130         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20131         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20132         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20134         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20136         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20138         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20139         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20140         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20141         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20143         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20145         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20147         [defined __arch64__ || defined __sparcv9]
20148         (__OFF_T_MATCHES_OFF64_T): New macro.
20149         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20150         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20151         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20152         (__OFF_T_MATCHES_OFF64_T): New macro.
20154 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20156         * stdlib/secure-getenv.c (__secure_getenv): Replace
20157         GLIBC_2_16 with GLIBC_2_17.
20159 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20161         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20162         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20164 2012-08-03  David S. Miller  <davem@davemloft.net>
20166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20168 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20170         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20171         Remove.
20172         (__ASSUME_CORRECT_SI_PID): Likewise.
20173         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20174         (__ASSUME_TMPFS_NAME): Likewise.
20175         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20176         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20177         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20178         (HAVE_AUX_SECURE): Make definition unconditional.
20179         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20180         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20182 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20184         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20185         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20186         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20187         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20188         __eloop_threshold instead of SYMLOOP_MAX.
20190         * sysdeps/generic/eloop-threshold.h: New file.
20191         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20192         of MAXSYMLINKS.
20193         * elf/chroot_canon.c (chroot_canon): Likewise.
20195 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20197         [BZ #13717]
20198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20199         Change to 2.6.0 everywhere.
20200         * sysdeps/unix/sysv/linux/configure: Regenerated.
20201         * sysdeps/unix/sysv/linux/kernel-features.h
20202         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20203         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20204         kernel versions.
20205         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20206         (__ASSUME_FUTEX_REQUEUE): Remove.
20207         (__ASSUME_STATFS64): Define unconditionally.
20208         (__ASSUME_AT_SECURE): Likewise.
20209         (__ASSUME_CORRECT_SI_PID): Likewise.
20210         (__ASSUME_TGKILL): Define without depending on kernel version for
20211         i386.
20212         (__ASSUME_UTIMES): Likewise.
20213         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20214         kernel version.
20215         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20216         (__ASSUME_TMPFS_NAME): Likewise.
20217         * README: Update reference to Linux kernel versions.
20219 2012-08-02  Marek Polacek  <polacek@redhat.com>
20221         [BZ# 14150]
20222         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20223         libc_cv_asm_type_prefix with %.
20224         * configure: Regenerated.
20225         * include/libc-symbols.h: Remove comment about
20226         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20227         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20228         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20229         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20230         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20231         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20232         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20233         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20234         * elf/tst-unique2mod1.c: Likewise.
20235         * elf/tst-unique1mod2.c: Likewise.
20236         * elf/tst-unique1mod1.c: Likewise.
20237         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20238         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20239         Replace ASM_TYPE_DIRECTIVE with .type.
20240         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20241         * sysdeps/i386/sysdep.h: Likewise.
20242         * sysdeps/x86_64/sysdep.h: Likewise.
20243         * sysdeps/sh/sysdep.h: Likewise.
20244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20245         Do not define ASM_TYPE_DIRECTIVE.
20246         * sysdeps/powerpc/sysdep.h: Likewise.
20247         * sysdeps/powerpc/powerpc32/sysdep.h:
20248         Replace ASM_TYPE_DIRECTIVE with .type.
20249         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20250         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20251         * sysdeps/i386/fpu/e_powf.S: Likewise.
20252         * sysdeps/i386/fpu/e_expl.S: Likewise.
20253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20254         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20255         * sysdeps/i386/fpu/e_pow.S: Likewise.
20256         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20257         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20258         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20259         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20260         * sysdeps/i386/fpu/e_log2.S: Likewise.
20261         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20262         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20263         * sysdeps/i386/fpu/e_powl.S: Likewise.
20264         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20265         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20266         * sysdeps/i386/fpu/e_logl.S: Likewise.
20267         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20268         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20269         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20270         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20271         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20272         * sysdeps/i386/fpu/e_log.S: Likewise.
20273         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20274         * sysdeps/i386/fpu/e_logf.S: Likewise.
20275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20276         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20277         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20278         * sysdeps/i386/fpu/e_log10.S: Likewise.
20279         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20280         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20281         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20282         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20283         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20284         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20285         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20286         * sysdeps/i386/i686/strtok.S: Likewise.
20287         * sysdeps/i386/i386-mcount.S: Likewise.
20288         * sysdeps/i386/strtok.S: Likewise.
20289         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20290         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20292         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20293         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20294         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20295         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20296         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20297         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20298         * sysdeps/x86_64/_mcount.S: Likewise.
20299         * sysdeps/x86_64/strtok.S: Likewise.
20300         * sysdeps/sh/_mcount.S: Likewise.
20302 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20304         * libio/iofopen.c: Include <fcntl.h>.
20305         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20306         (_IO_fopen64, fopen64): Define as aliases.
20307         * libio/iofopen64.c: Include <fcntl.h>.
20308         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20309         Conditionalize body on this.
20310         * sysdeps/wordsize-64/iofopen.c: File removed.
20311         * sysdeps/wordsize-64/iofopen64.c: File removed.
20313 2012-08-01  Marek Polacek  <polacek@redhat.com>
20315         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20316         Use dlfcn directly instead of a variable.
20317         (binfmt-subdir): Do not define.
20318         (dlfcn): Likewise.
20320 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20323         Remove all definitions.
20324         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20325         <kernel-features.h>.
20326         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20327         (miss_F_GETOWN_EX): Remove all definitions.
20328         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20329         macro definition.
20330         [!__ASSUME_FCNTL64]: Remove conditional code.
20331         [__ASSUME_FCNTL64]: Make code unconditional.
20332         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20333         <kernel-features.h>.
20334         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20335         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20336         (lockf64) [__NR_fcntl64]: Make code unconditional.
20337         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20339         * sysdeps/unix/sysv/linux/kernel-features.h
20340         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20341         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20342         Make code unconditional.
20343         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20344         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20346         [__NR_vfork]: Make code unconditional.
20347         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20348         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20350         [__NR_vfork]: Make code unconditional.
20351         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20352         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20354 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20356         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20357         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20359         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20360         Define mkstemp64 as an alias.
20361         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20362         Define mkstemps64 as an alias.
20363         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20364         Define mkostemp64 as an alias.
20365         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20366         Define mkostemps64 as an alias.
20367         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20368         Conditionalize body on this.
20369         * misc/mkostemp64.c: Likewise.
20370         * misc/mkostemps64.c: Likewise.
20371         * misc/mkstemps64.c: Likewise.
20372         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20373         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20374         * sysdeps/wordsize-64/mkostemp.c: File removed.
20375         * sysdeps/wordsize-64/mkstemp.c: File removed.
20376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20377         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20378         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20379         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20381         [BZ #14138]
20382         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20383         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20384         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20385         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20387         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20388         compat_symbol macros from <shlib-compat.h> rather than the underlying
20389         default_symbol_version and symbol_version macros, so that DEFAULT
20390         lines in shlib-versions are respected.
20391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20393 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20395         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20396         Declare with warn_unused_result.
20397         (setgid, setregid, setegid, setresgid): Likewise.
20398         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20399         Likewise.
20400         * WUR-REPORT: Remove set*id functions.
20402 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20404         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20406 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20408         [BZ #10191]
20409         * include/sys/socket.h (__libc_accept, __libc_accept4):
20410         Add attribute_hidden.
20411         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20413         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20414         use of PTR_MANGLE.
20415         * inet/getnetgrent_r.c (setup): Likewise.
20417         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20419 2012-07-31  David S. Miller  <davem@davemloft.net>
20421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20423 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20425         [BZ #13629]
20426         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20427         value between 1.0 and 2.0 and smaller part has absolute value less
20428         than 1.0.
20429         * math/s_clog10.c (__clog10): Likewise.
20430         * math/s_clog10f.c (__clog10f): Likewise.
20431         * math/s_clog10l.c (__clog10l): Likewise.
20432         * math/s_clogf.c (__clogf): Likewise.
20433         * math/s_clogl.c (__clogl): Likewise.
20434         * math/libm-test.inc (clog_test): Add more tests.
20435         (clog10_test): Likewise.
20436         * sysdeps/i386/fpu/libm-test-ulps: Update.
20437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20439 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20441         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20442         Exit with zero in case no suitable GID is found, and write a
20443         message to standard error.
20445 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20447         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20448         rather than to 1.
20449         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20450         (MAXPATHLEN): Removed.
20451         (NOGROUP, NODEV): New macros.
20452         (setbit, clrbit, isset, isclr): New macros.
20453         (howmany, roundup, powerof2): New macros.
20454         (DEV_BSIZE): New macro.
20456         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20457         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20459         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20460         definition on [!__NO_LONG_DOUBLE_MATH].
20462         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20463         PTR_MANGLE and PTR_DEMANGLE.
20465         * socket/accept4.c (accept4): Rename to __libc_accept4.
20466         Define accept4 as a weak alias.
20468         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20469         on [_DIRENT_HAVE_D_TYPE].
20470         * io/ftw.c (ftw_dir): Likewise.
20472         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20474         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20476         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20477         Use the BSD numbers rather than the arbitrary ones we had.
20478         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20479         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20480         (SIGXCPU, SIGXFSZ): New macros.
20481         (_NSIG): Now 32.
20483         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20484         initializer on [_LIBC_REENTRANT].
20486         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20487         definitions inside [_POSIX_MAPPED_FILES].
20489         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20491         * dirent/opendir.c: Include <fcntl.h>.
20493         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20494         (__libc_getspecific): Likewise.
20495         (__libc_key_create): Likewise.
20497         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20498         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20499         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20500         (tmpfile64): Define as alias.
20501         * sysdeps/wordsize-64/tmpfile.c: File removed.
20502         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20503         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20504         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20506         * stdio-common/vfscanf.c: Include <stdbool.h>.
20507         * nss/makedb.c: Likewise.
20508         * stdio-common/_i18n_number.h: Likewise.
20509         * argp/argp-help.c: Likewise.
20510         * posix/wordexp.c: Likewise.
20511         * sysdeps/posix/spawni.c: Likewise.
20512         * nss/nss_files/files-initgroups.c: Likewise.
20513         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20514         * nss/nss_files/files-initgroups.c: Likewise.
20515         * nss/nss_db/db-netgrp.c: Likewise.
20516         * nss/nss_db/db-initgroups.c: Likewise.
20517         * io/fchmodat.c: Include <sys/stat.h>.
20519         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20520         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20522         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20523         [HAVE_MMAP].
20525         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20526         Add multiple inclusion protection.
20528 2012-07-27  David S. Miller  <davem@davemloft.net>
20530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20532 2012-07-27  Gary Benson  <gbenson@redhat.com>
20534         [BZ #14298]
20535         * elf/rtld.c: Include <stap-probe.h>.
20536         (dl_main): Added static probes "init_start" and "init_complete".
20537         * elf/dl-load.c: Include <stap-probe.h>.
20538         (lose): Take new parameter "nsid".
20539         Added static probe "map_failed".
20540         (_dl_map_object_from_fd): Pass namespace id to lose.
20541         Added static probe "map_start".
20542         (open_verify): Pass namespace id to lose.
20543         * elf/dl-open.c: Include <stap-probe.h>.
20544         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20545         and "reloc_complete".
20546         * elf/dl-close.c: Include <stap-probe.h>.
20547         (_dl_close_worker): Added static probes "unmap_start" and
20548         "unmap_complete".
20549         * elf/rtld-debugger-interface.txt: New file documenting the above.
20551 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20553         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20554         rather than a string variable.
20555         * sunrpc/rpc_main.c (h_output): Likewise.
20556         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20558 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20560         * inet/check_native.c: New file.
20562 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20564         [BZ #13629]
20565         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20566         if larger part has absolute value 1.0.
20567         * math/s_clog10.c (__clog10): Likewise.
20568         * math/s_clog10f.c (__clog10f): Likewise.
20569         * math/s_clog10l.c (__clog10l): Likewise.
20570         * math/s_clogf.c (__clogf): Likewise.
20571         * math/s_clogl.c (__clogl): Likewise.
20572         * math/libm-test.inc (clog_test): Add more tests.
20573         (clog10_test): Likewise.
20574         * sysdeps/i386/fpu/libm-test-ulps: Update.
20575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20577         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20578         (pltexit): Likewise.
20579         (La_regs): Likewise.
20580         (La_retval): Likewise.
20581         (int_retval): Likewise.
20582         Update #error for removed macros to refer only to definitions in
20583         tst-audit.h.
20584         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20585         macro.
20586         (pltexit): Likewise.
20587         (La_regs): Likewise.
20588         (La_retval): Likewise.
20589         (int_retval): Likewise.
20590         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20591         macro.
20592         (pltexit): Likewise.
20593         (La_regs): Likewise.
20594         (La_retval): Likewise.
20595         (int_retval): Likewise.
20596         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20597         macro.
20598         (pltexit): Likewise.
20599         (La_regs): Likewise.
20600         (La_retval): Likewise.
20601         (int_retval): Likewise.
20602         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20603         macro.
20604         (pltexit): Likewise.
20605         (La_regs): Likewise.
20606         (La_retval): Likewise.
20607         (int_retval): Likewise.
20608         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20609         macro.
20610         (pltexit): Likewise.
20611         (La_regs): Likewise.
20612         (La_retval): Likewise.
20613         (int_retval): Likewise.
20614         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20615         macro.
20616         (pltexit): Likewise.
20617         (La_regs): Likewise.
20618         (La_retval): Likewise.
20619         (int_retval): Likewise.
20620         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20621         macro definitions in tst-audit.h.
20622         * sysdeps/i386/tst-audit.h: New file.
20623         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20624         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20625         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20626         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20627         * sysdeps/sh/tst-audit.h: Likewise.
20628         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20629         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20630         * sysdeps/x86_64/tst-audit.h: Likewise.
20632 2012-07-26  Andreas Jaeger  <aj@suse.de>
20634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20635         ptrace.
20637         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20638         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20639         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20640         PTRACE_O_MASK.
20641         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20642         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20643         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20645         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20646         value.
20648         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20649         _sigsys.
20650         (si_call_addr, si_syscall, si_arch): Define new macro.
20651         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20652         _sigsys.
20653         (si_call_addr, si_syscall, si_arch): Define new marcro.
20654         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20655         _sigsys.
20656         (si_call_addr, si_syscall, si_arch): Define new macro.
20657         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20658         _sigsys.
20659         (si_call_addr, si_syscall, si_arch): Define new macro.
20661 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20663         [BZ #13717]
20664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20665         Change to 2.4.21 where previously 2.4.1.
20666         * sysdeps/unix/sysv/linux/configure: Regenerated.
20667         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20668         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20669         Linux kernel version.
20670         (__ASSUME_STD_AUXV): Remove.
20671         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20672         kernel version.
20673         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20674         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20675         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20676         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20677         (__ASSUME_NETLINK_SUPPORT): Likewise.
20678         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20679         (__no_netlink_support): Remove conditional definition.
20680         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20681         Remove.
20682         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20683         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20684         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20685         (if_nameindex_ioctl): Remove.
20686         (if_nameindex_netlink): Do not handle __no_netlink_support.
20687         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20688         code.
20689         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20690         Remove conditional code.
20691         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20692         code.
20693         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20694         unconditional.
20695         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20696         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20697         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20698         Remove.
20699         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20700         [!__ASSUME_STD_AUXV]: Remove conditional code.
20701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20702         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20703         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20705         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20706         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20707         code.
20708         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20710         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20711         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20712         conditional code.
20713         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20715         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20716         code.
20717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20718         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20719         conditional code.
20720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20721         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20722         code unconditional.
20723         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20724         conditional code.
20725         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20726         unconditional.
20727         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20728         conditional code.
20729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20730         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20731         unconditional.
20732         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20733         conditional code.
20734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20735         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20736         code unconditional.
20737         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20738         conditional code.
20739         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20740         unconditional.
20741         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20742         conditional code.
20743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20744         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20745         code unconditional.
20746         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20747         conditional code.
20748         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20749         unconditional.
20750         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20751         conditional code.
20753 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20755         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20756         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20757         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20758         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20759         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20760         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20761         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20762         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20763         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20764         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20765         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20766         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20767         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20768         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20769         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20770         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20771         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20772         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20773         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20775         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20776         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20777         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20779 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20781         * Versions.def: Add GLIBC_2.17.
20782         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20783         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20784         Introduce __libc_secure_getenv.
20785         * stdlib/Versions (2.17): Add secure_getenv
20786         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20787         * stdlib/secure-getenv.c: Rename __secure_getenv to
20788         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20789         symbol __secure_getenv for GLIBC_2.0.
20790         * stdlib/tst-secure-getenv.c: New.
20791         * stdlib/Makefile (tests): Add testcase.
20792         * manual/startup.texi (Environment Access): Document
20793         secure_getenv.
20794         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20795         __libc_secure_getenv.
20796         * inet/ruserpass.c (ruserpass): Likewise.
20797         * malloc/mtrace.c (mtrace): Likewise.
20798         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20799         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20800         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20801         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20802         HAVE_SECURE_GETENV.
20803         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20804         __secure_getenv to __libc_secure_getenv.
20805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20807         Likewise.
20808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20809         Likewise.
20810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20812         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20818 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20820         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20821         (struct La_i86_retval): Likewise.
20822         (struct La_x86_64_regs): Likewise.
20823         (struct La_x86_64_retval): Likewise.
20824         (struct La_x32_regs): Likewise.
20825         (struct La_x32_retval): Likewise.
20826         (struct La_ppc32_regs): Likewise.
20827         (struct La_ppc32_retval): Likewise.
20828         (struct La_ppc64_regs): Likewise.
20829         (struct La_ppc64_retval): Likewise.
20830         (struct La_sh_regs): Likewise.
20831         (struct La_sh_retval): Likewise.
20832         (struct La_s390_32_regs): Likewise.
20833         (struct La_s390_32_retval): Likewise.
20834         (struct La_s390_64_regs): Likewise.
20835         (struct La_s390_64_retval): Likewise.
20836         (struct La_sparc32_regs): Likewise.
20837         (struct La_sparc32_retval): Likewise.
20838         (struct La_sparc64_regs): Likewise.
20839         (struct La_sparc64_retval): Likewise.
20840         (struct audit_ifaces): Remove architecture-specific pltenter and
20841         pltexit members.
20842         * sysdeps/i386/ldsodefs.h: New file.
20843         * sysdeps/powerpc/ldsodefs.h: Likewise.
20844         * sysdeps/s390/ldsodefs.h: Likewise.
20845         * sysdeps/sh/ldsodefs.h: Likewise.
20846         * sysdeps/sparc/ldsodefs.h: Likewise.
20847         * sysdeps/x86_64/ldsodefs.h: Likewise.
20849 2012-07-25  Marek Polacek  <polacek@redhat.com>
20851         [BZ #6808]
20852         * math/libm-test.inc (yn_test): Add another test.
20853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20854         to ERANGE when the result is +-Inf.
20855         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20856         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20857         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20858         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20860 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20862         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20863         equal to 0.
20864         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20865         clock_t.
20866         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20868 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20870         * configure.in <sysdeps resolving>: Correct printing
20871         Implies_before.
20872         * configure: Regenerate.
20874 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20876         * math/w_ilogb.c: Include <limits.h>.
20877         * math/w_ilogbl.c: Likewise.
20879 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20881         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20882         va_copy.  Document allowing for unavailable va_copy only as
20883         pre-C99 compatibility.
20884         * manual/string.texi (Copying and Concatenation): Use va_copy
20885         instead of __va_copy in concat example.
20887 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20889         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20890         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20891         it if not null.
20893         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20894         with O_NOLINK passed to __file_name_lookup.
20896         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20897         with O_NOLINK passed to __file_name_lookup.
20899         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20900         negative N or less than NGIDS.
20902         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20903         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20904         enough.  Use memcpy instead of strncpy.
20906 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20908         * elf/Makefile (check-data): Remove.
20909         (localplt.data): New vpath directive.
20910         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20911         instead of $(check-data).
20912         * scripts/data/localplt-generic.data: Move to ...
20913         * sysdeps/generic/localplt.data: ... here.
20914         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20915         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20916         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20918         ... here.
20919         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20921         ... here.
20922         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20924         ... here.
20925         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20927         ... here.
20928         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20930         ... here.
20931         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20933         ... here.
20935 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20937         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20938         PPC32 and PPC64 files.
20939         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20940         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20942 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20944         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20945         __makecontext_ret to ...
20946         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20947         ... here and call exit if uc_link is NULL.  New file.
20948         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20949         __makecontext_ret.S.
20950         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20951         __makecontext_ret to ...
20952         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20953         ... here and call exit if uc_link is NULL.  New file.
20954         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20955         __makecontext_ret.S.
20957 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20959         * elf/elf.h (R_390_IRELATIVE): New definition.
20960         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20961         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20962         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20963         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20964         (elf_machine_lazy_rel): Likewise.
20965         * sysdeps/s390/dl-irel.h: New file.
20966         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20967         * sysdeps/s390/s390-64/memset.S: New asm code.
20968         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20969         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20971         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20972         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20973         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20974         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20975         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20976         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20977         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20978         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20979         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20980         * sysdeps/s390/s390-32/memset.S: New asm code.
20981         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20983 2012-07-17  Marek Polacek  <polacek@redhat.com>
20985         [BZ #14349]
20986         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20987         * sysdeps/s390/s390-64/configure.in: Likewise.
20988         * sysdeps/sparc/configure.in: Likewise.
20989         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20990         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20991         * sysdeps/i386/configure.in: Likewise.
20992         * sysdeps/x86_64/configure.in: Likewise.
20993         * sysdeps/sh/configure.in: Likewise.
20994         * sysdeps/s390/s390-32/configure: Regenerated.
20995         * sysdeps/s390/s390-64/configure: Likewise.
20996         * sysdeps/x86_64/configure: Likewise.
20997         * sysdeps/sh/configure: Likewise.
20998         * sysdeps/powerpc/powerpc64/configure: Likewise.
20999         * sysdeps/powerpc/powerpc32/configure: Likewise.
21000         * sysdeps/sparc/configure: Likwise.
21001         * sysdeps/i386/configure: Likewise.
21003         * elf/dl-open.c: Comment fixes.
21005 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21007         * Makefile [CXX] (check-data): Remove.
21008         [CXX] (c++-types.data): New vpath directive.
21009         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21010         vpath.  Do not allow for C++ type data being missing.
21011         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21012         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21013         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21014         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21015         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21016         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21017         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21019         ... here.
21020         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21022         ... here.
21023         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21025         ... here.
21026         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21028         ... here.
21029         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21031         ... here.
21032         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21034         ... here.
21035         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21037         ... here.
21038         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21041         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21042         definitions to architecture-specific files.
21043         (TLS_IE): Likewise.
21044         (TLS_LD): Likewise.
21045         (TLS_GD): Likewise.
21046         * sysdeps/i386/tls-macros.h: New file.
21047         * sysdeps/powerpc/tls-macros.h: Likewise.
21048         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21049         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21050         * sysdeps/sh/tls-macros.h: Likewise.
21051         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21052         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21053         * sysdeps/x86_64/tls-macros.h: Likewise.
21055 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21057         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21058         zero value for regular exit case.
21060         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21061         (__start_context): Preserve zero value for regular exit case.
21063 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21064             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21066         * manual/setjmp.texi (setcontext): Clarify normal process
21067         termination when uc_link is the null pointer.
21068         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21069         exit call.
21071 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21073         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21074         preprocessor.  Test for each exception mask separately.
21076 2012-07-16  Andreas Jaeger  <aj@suse.de>
21078         * po/ru.po: Update from translation team.
21080 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21082         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21083         equal to 0.
21084         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21085         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21086         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21087         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21090 2012-07-13  Andreas Jaeger  <aj@suse.de>
21092         * po/fr.po: Update from translation team.
21094 2012-07-12  Marek Polacek  <polacek@redhat.com>
21096         [BZ #14173]
21097         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21098         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21099         loop condition.
21101 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21103         [BZ #13717]
21104         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21105         Change to 2.4.1 where previously 2.4.0.
21106         * sysdeps/unix/sysv/linux/configure: Regenerated.
21107         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21108         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21109         version.
21110         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21111         (__ASSUME_AT_CLKTCK): Remove.
21112         (__ASSUME_AT_PAGESIZE): Likewise.
21113         (__ASSUME_AT_XID): Likewise.
21114         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21115         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21116         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21117         unconditionally.
21118         (HAVE_AUX_PAGESIZE): Likewise.
21119         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21120         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21121         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21123 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21125         [BZ #14307]
21126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21127         the temporary buffer used to invoke __gethostbyname2_r,
21128         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21129         host_data / struct gaih_addrtuple.
21130         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21131         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21132         header file nss/nsswitch.h.
21133         * nss/nsswitch.h (global scope): Add definition of implementation
21134         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21135         resolv/nss_dns/dns-host.c).
21137 2012-07-11  Andreas Jaeger  <aj@suse.de>
21139         * po/fr.po: Update from translation team.
21141         * po/sv.po: Update from translation team
21142         * po/fr.po: Another update from translation team.
21144 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21146         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21147         for subnormals or multiply small sinh result by itself.
21148         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21151 2012-07-11  David S. Miller  <davem@davemloft.net>
21153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21155 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21157         [BZ #14347]
21158         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21159         (INTERNAL_MARK): Shift it here.
21161 2012-07-10  Marek Polacek  <polacek@redhat.com>
21163         [BZ #14151]
21164         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21165         libc_cv_asm_global_directive with .globl.
21166         * configure: Regenerated.
21167         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21168         with .globl.
21169         * sysdeps/i386/configure: Regenerated.
21170         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21171         with .globl.
21172         * sysdeps/x86_64/configure: Regenerated.
21173         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21174         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21175         * elf/tst-unique2mod2.c: Likewise.
21176         * elf/tst-unique2mod1.c: Likewise.
21177         * elf/tst-unique1mod2.c: Likewise.
21178         * elf/tst-unique1mod1.c: Likewise.
21179         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21180         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21181         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21182         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21183         * sysdeps/mach/sysdep.h: Likewise.
21184         * sysdeps/i386/sysdep.h: Likewise.
21185         * sysdeps/i386/i386-mcount.S: Likewise.
21186         * sysdeps/x86_64/_mcount.S: Likewise.
21187         * sysdeps/x86_64/sysdep.h: Likewise.
21188         * sysdeps/sh/_mcount.S: Likewise.
21189         * sysdeps/sh/sysdep.h: Likewise.
21190         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21191         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21192         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21193         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21194         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21195         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21196         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21197         * locale/localeinfo.h: Likewise.
21198         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21199         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21201 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21203         [BZ #14336]
21204         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21205         system".
21206         * manual/message.texi (The Uniforum approach): Likewise.
21207         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21208         (glibc iconv Implementation): Likewise.
21210 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21212         [BZ #14337]
21213         * math/s_clog.c (__clog): Avoid scaling a value down where that
21214         could result in underflow.
21215         * math/s_clog10.c (__clog10): Likewise.
21216         * math/s_clog10f.c (__clog10f): Likewise.
21217         * math/s_clog10l.c (__clog10l): Likewise.
21218         * math/s_clogf.c (__clogf): Likewise.
21219         * math/s_clogl.c (__clogl): Likewise.
21220         * math/libm-test.inc (clog_test): Add more tests.
21221         (clog10_test): Likewise.
21222         * sysdeps/i386/fpu/libm-test-ulps: Update.
21223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21225 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21227         [BZ #14283]
21228         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21229         by 7 not 8 to examine high bit of fractional part.
21231         [BZ #14042]
21232         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21233         for call to __mcount_internal.
21234         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21235         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21236         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21238 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21240         [BZ #14154]
21241         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21242         approximation for values within 0x1p-13f of an odd multiple of
21243         pi/4.
21244         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21245         exception.  Add more tests.
21246         * sysdeps/i386/fpu/libm-test-ulps: Update.
21248         [BZ #6778]
21249         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21250         inputs and return -1 for them.  Do not check for +Inf in case not
21251         reachable for +Inf.
21252         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21253         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21254         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21255         and return -1 for them.  Do not check for +Inf in case not
21256         reachable for +Inf.
21257         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21258         define.
21259         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21260         and return -1 for them.  Do not check for +Inf in case not
21261         reachable for +Inf.
21262         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21263         spurious underflow.
21264         * sysdeps/i386/fpu/libm-test-ulps: Update.
21265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21267 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21269         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21271 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21273         [BZ #14157]
21274         [BZ #14331]
21275         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21276         could result in spurious underflow.  Scale down values above
21277         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21278         * math/s_csqrtf.c (__csqrtf): Likewise.
21279         * math/s_csqrtl.c (__csqrtl): Likewise.
21280         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21281         spurious underflow.
21282         * sysdeps/i386/fpu/libm-test-ulps: Update.
21283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21285 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21287         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21288         xopen-msg.sed.
21289         * catgets/xopen-msg.awk: New file.
21290         * catgets/xopen-msg.sed: Removed.
21292         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21293         po2text.sed.
21294         * intl/po2test.awk: New file.
21295         * intl/po2test.sed: Removed.
21297 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21299         [BZ #14328]
21300         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21301         or multiply small sinh result by itself.
21302         * math/s_ctanf.c (__ctanf): Likewise.
21303         * math/s_ctanh.c (__ctanh): Likewise.
21304         * math/s_ctanhf.c (__ctanhf): Likewise.
21305         * math/s_ctanhl.c (__ctanhl): Likewise.
21306         * math/s_ctanl.c (__ctanl): Likewise.
21307         * math/libm-test.inc (ctan_test_tonearest): New function.
21308         (ctan_test_towardzero): Likewise.
21309         (ctan_test_downward): Likewise.
21310         (ctan_test_upward): Likewise.
21311         (ctanh_test_tonearest): Likewise.
21312         (ctanh_test_towardzero): Likewise.
21313         (ctanh_test_downward): Likewise.
21314         (ctanh_test_upward): Likewise.
21315         (main): Call these new functions.
21316         * sysdeps/i386/fpu/libm-test-ulps: Update.
21317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21319 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21321         * .gitignore: Delete /ports entry.
21323 2012-07-03  Andreas Jaeger  <aj@suse.de>
21325         * po/bg.po: Update from translation team.
21326         * po/cs.po: Likewise.
21327         * po/de.po: Likewise.
21328         * po/hr.po: Likewise.
21329         * po/nl.pl: Likewise.
21330         * po/pl.po: Likewise.
21331         * po/vi.po: Likewise.
21333 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21335         * Makeconfig [!+link] (+link-before-libc): New variable.
21336         [!+link] (+link-after-libc): Likewise.
21337         [!+link] (+link-tests): Likewise.
21338         [!+link] (+link): Define in terms of $(+link-before-libc) and
21339         $(+link-after-libc).
21340         [!+link-static] (+link-static-before-libc): New variable.
21341         [!+link-static] (+link-static-after-libc): Likewise.
21342         [!+link-static] (+link-static-tests): Likewise.
21343         [!+link-static] (+link-static): Define in terms of
21344         $(+link-static-before-libc) and $(+link-static-after-libc).
21345         [build-shared] (link-libc-before-gnulib): New variable.
21346         [build-shared] (link-libc-tests): Likewise.
21347         [build-shared] (link-libc): Define in terms of
21348         $(link-libc-before-gnulib).
21349         [!build-shared] (link-libc-tests): New variable.
21350         (link-libc-static-tests): New variable.
21351         [!gnulib] (gnulib-arch): New variable.
21352         [!gnulib] (gnulib-tests): Likewise.
21353         [!gnulib] (static-gnulib-arch): Likewise.
21354         [!gnulib] (static-gnulib-tests): Likewise.
21355         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21356         Define with "=" instead of ":=".
21357         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21358         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21359         * Rules (binaries-all-notests): New variable.
21360         (binaries-all-tests): Likewise.
21361         (binaries-static-notests): Likewise.
21362         (binaries-static-tests): Likewise.
21363         (binaries-all): Define using $(binaries-all-notests) and
21364         $(binaries-all-tests).
21365         (binaries-static): Define using $(binaries-static-notests) and
21366         $(binaries-static-tests).
21367         (binaries-shared-tests): New variable.
21368         (binaries-shared-notests): Likewise.
21369         (binaries-shared): Remove variable.
21370         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21371         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21372         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21373         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21374         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21375         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21376         * elf/Makefile (sln-modules): New variable.
21377         (extra-objs): Add $(sln-modules:=.o).
21378         (ldconfig-modules): Add static-stubs.
21379         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21380         * elf/static-stubs.c: New file.
21382         [BZ #14283]
21383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21384         by 7 not 8 to examine high bit of fractional part.  Use volatile
21385         variables when splitting into final array of floats if
21386         __FLT_EVAL_METHOD__ != 0.
21387         * math/libm-test.inc (cos_test): Add another test.
21388         (sin_test): Likewise.
21389         * sysdeps/i386/fpu/libm-test-ulps: Update.
21391         [BZ #14273]
21392         * math/libm-test.inc (cosh_test): Add more tests.
21394         * version.h (RELEASE): Set to "development".
21395         (VERSION): Set to "2.16.90".
21397 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21399         * NEWS: Update copyright. Remove last-updated date.
21400         Mention math library bug fixes and timezone data changes.
21401         * README: Mention GNU/Hurd, x32, and HPPA support status.
21403 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21405         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21407 2012-06-27  Andreas Jaeger  <aj@suse.de>
21409         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21411 2012-06-25  Andreas Jaeger  <aj@suse.de>
21413         * sysdeps/s390/fpu/libm-test-ulps: Update.
21415 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21416             Thomas Schwinge  <thomas@codesourcery.com>
21418         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21419         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21421         fanotify_mark.
21423 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21425         * sysdeps/mach/start.c: Remove file.
21426         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21427         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21428         * sysdeps/sh/init-first.c: Likewise.
21430         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21431         registers for frame unwinding purposes, add CFI directives.
21432         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21434         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21435         Likewise.
21437         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21438         __fortify_fail returning.
21439         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21441         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21442         sysdeps/sh/____longjmp_chk.S.
21443         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21444         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21445         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21446         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21448         * sysdeps/sh/abort-instr.h: New file.
21449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21450         process in case exit returns.
21452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21453         initialize the GOT register before use.
21455         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21456         calculation of ARGC > 4.
21458         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21459         meaningful names to some local labels.
21461 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21462             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21464         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21465         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21466         (__arch_compare_and_exchange_val_16_acq): Likewise.
21467         (__arch_compare_and_exchange_val_32_acq): Likewise.
21468         (atomic_exchange_and_add): Fix gUSA sequence.
21469         (atomic_add): Likewise.
21470         (atomic_add_negative): Likewise.
21471         (atomic_add_zero): Likewise.
21472         (atomic_bit_test_set): Likewise.
21474 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21476         [BZ #13579]
21477         * include/link.h (struct link_map): Add l_free_initfini.
21478         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21479         l_initfini.
21480         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21481         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21482         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21483         set.
21485 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21487         * configure.in: Use AC_LANG_SOURCE.
21488         * configure: Regenerate.
21490 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21492         * configure.in (libc_cv_localstatedir): New substituted variable.
21493         * configure: Regenerated.
21494         * config.make.in (localstatedir): New variable, substituted from
21495         libc_cv_localstatedir.
21496         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21497         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21498         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21499         * sysdeps/gnu/configure: Regenerated.
21501 2012-06-21  Jeff Law  <law@redhat.com>
21503         [BZ #14277]
21504         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21505         free.  Simplify list management for _LIBC case.
21507 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21509         [BZ #14273]
21510         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21511         Clear sign bit of 64-bit integer value before comparing against
21512         overflow value.
21514         * sysdeps/mach/configure: Regenerated.
21516 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21518         [BZ #14278]
21519         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21521 2012-06-21  Jeff Law  <law@redhat.com>
21523         [BZ #13882]
21524         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21525         uint16_t for elements in the "seen" array to avoid char overflows.
21526         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21527         * elf/dl-open.c (dl_open_worker): Likewise.
21529 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21531         * scripts/list-sources.sh: Scan PORTS for translations.
21532         * po/libc.pot: Regenerated.
21534 2012-06-21  Andreas Jaeger  <aj@suse.de>
21536         [BZ #12194]
21537         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21538         warning.
21539         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21540         * bits/byteswap-16.h (__bswap_16): Likewise.
21541         * bits/byteswap.h (__bswap_constant_16): Likewise.
21543 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21545         [BZ #14117]
21546         * sysdeps/i386/fpu_control.h: Removed.
21547         * sysdeps/x86_64/fpu_control.h: Moved to ...
21548         * sysdeps/x86/fpu_control.h: Here.
21550         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21551         (_FPU_SETCW): Likewise.
21553 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21555         [BZ #14117]
21556         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21557         * sysdeps/x86/fpu/bits/mathinline.h: This.
21558         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21560         [BZ #14050]
21561         [BZ #14117]
21562         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21563         functions if __x86_64__ is defined.
21565 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21567         * string/endian.h: Add !__ASSEMBLER__ condition for including
21568         conversion interfaces.
21570 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21572         [BZ #14241]
21573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21574         of ABS(x) in calculating zero to negative powers other than odd
21575         integers.
21576         * math/libm-test.inc (pow_test): Add more tests.
21578 2012-06-15  Andreas Jaeger  <aj@suse.de>
21580         * manual/contrib.texi (Contributors): Update entry of Liubov
21581         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21582         Machado Filho.
21584 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21586         * string/string.h: Add __wur to GNU version of strerror_r.
21588 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21590         [BZ #14229]
21591         * string/Makefile (tests): Add tst-strtok_r.
21592         * string/tst-strtok_r.c: New file.
21593         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21594         RAX_LP/RDX_LP on SAVE_PTR.
21596 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21598         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21600 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21602         * libm_test.inc (csqrt_test): Allow more spurious underflow
21603         exceptions.
21604         (j0_test): Likewise.
21605         (j1_test): Likewise.
21606         (y0_test): Likewise.
21607         (y1_test): Likewise.
21609 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21611         * po/Makefile (libc.pot): Use UTF-8 charset.
21613 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21615         [BZ #14210]
21616         Suppress sign-conversion warning from FD_SET.
21617         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21618         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21619         not unsigned long int.
21620         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21622 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21624         [BZ #14050]
21625         [BZ #14117]
21626         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21627         __extern_always_inline instead of __extern_inline.
21628         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21629         (__signbit): Likewise.
21630         (__signbitl): Support C++ namespace.
21631         (lrintf): New inline function.
21632         (lrint): Likewise.
21633         (llrintf): Likewise.
21634         (llrint): Likewise.
21635         (fmaxf): Likewise.
21636         (fmax): Likewise.
21637         (fminf): Likewise.
21638         (fmin): Likewise.
21639         (rint): Likewise.
21640         (rintf): Likewise.
21641         (ceil): Likewise.
21642         (ceilf): Likewise.
21643         (floor): Likewise.
21644         (floorf): Likewise.
21645         (nearbyint): Likewise.
21646         (nearbyintf): Likewise.
21648 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21651         non-default versions.
21653 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21655         [BZ #14218]
21656         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21658 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21660         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21661         (FE_UPWARD, FE_DOWNWARD): Don't define.
21662         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21663         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21666         reading it.
21667         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21668         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21670 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21674         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21675         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21677 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21679         [BZ #14117]
21680         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21681         * sysdeps/i386/fpu/Implies: New file.
21682         * sysdeps/x86_64/fpu/Implies: Likewise.
21683         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21684         * sysdeps/x86/fpu/bits/fenv.h: This.
21686         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21687         __SSE_MATH__.
21689 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21691         [BZ #14134]
21692         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21693         character 0xffff that matches the last element of the
21694         conversion table.
21696 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21698         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21699         fmodl commit.
21701 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21704         values higher than 25.6283.
21706 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21709         subnormal exponent extraction and add some __builtin_expect.
21710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21711         Fix for subnormal mantissa calculation.
21713 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21715         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21716         cpu2 is -1 and errno is not ENOSYS.
21718 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21720         [BZ #14117]
21721         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21722         * sysdeps/x86/bits/string.h: This.
21723         * sysdeps/x86_64/bits/string.h: Removed.
21725         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21726         if not compiling for x86-64, but compiling for >= i486.
21728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21729         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21732         New macro from Linux kernel 3.4.0.
21733         (FP_XSTATE_MAGIC2): Likewise.
21734         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21735         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21736         (struct _fpx_sw_bytes): New struct.
21737         (struct _xsave_hdr): Likewise.
21738         (struct _ymmh_state): Likewise.
21739         (struct _xstate): Likewise.
21741         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21742         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21743         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21744         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21745         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21746         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21748         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21749         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21750         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21751         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21752         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21753         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21755 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21757         [BZ #13743]
21758         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21759         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21760         (sysdep_headers): Include sys/platform/ppc.h.
21761         * sysdeps/powerpc/test-gettimebase.c: Test for
21762         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21763         * manual/Makefile (appendices): Include platform.texi.
21764         * manual/contrib.texi (Contributors): Update @node pointers.
21765         * manual/maint.texi (Maintenance): Likewise.
21766         (Platform): New node.
21767         * manual/platform.texi: New file.  Document the new features.
21769 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21770             Jakub Jelinek  <jakub@redhat.com>
21772         [BZ #14188]
21773         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21774         where __builtin_expect is unavailable.
21776 2012-06-03  David S. Miller  <davem@davemloft.net>
21778         * stdlib/longlong.h: Updated from GCC.
21780 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21782         [BZ #14042]
21783         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21784         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21785         __mcount_internal.
21786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21787         (GLIBC_2.16): Likewise.
21789 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21791         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21793 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21796         (default-abi): New variable.
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21798         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21799         variable.
21800         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21801         Likewise.
21802         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21803         Likewise.
21804         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21805         Likewise.
21807         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21808         definition.  Document in comment.
21810 2012-06-01  David S. Miller  <davem@davemloft.net>
21812         * stdlib/longlong.h: Updated from GCC.
21814 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21816         [BZ #14117]
21817         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21818         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21819         sys/debugreg.h sys/io.h here.
21820         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21821         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21822         sys/io.h.
21823         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21824         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21825         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21826         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21827         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21828         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21830         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21831         Define only if __x86_64__ is defined.
21833 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21835         [BZ #14048]
21836         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21837         Use int64_t for variable i.
21838         * math/libm-test.inc (fmod_test): Add more tests.
21840         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21841         z computation is not scheduled after fetestexcept.
21842         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21843         Use math_force_eval instead of asm to ensure calculation scheduled
21844         before exception test.
21845         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21846         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21848 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21851         computation is not scheduled after fetestexcept.
21853 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21855         [BZ #14117]
21856         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21857         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21859 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21861         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21862         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21864 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21866         [BZ #14117]
21867         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21868         <bits/wordsize.h>.
21869         (__WCHAR_MIN): Support __WORDSIZE == 64.
21870         (__WCHAR_MAX): Likewise.
21872         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21873         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21875         [BZ #14183]
21876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21877         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21879         [BZ #14117]
21880         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21884         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21887         Defined to 1 if __x86_64__ isn't defined.
21888         (_STAT_VER_LINUX_OLD): New.
21889         (st_atime): Remove duplicate.
21890         (st_mtime): Likewise.
21891         (st_ctime): Likewise.
21893 2012-05-31  David S. Miller  <davem@davemloft.net>
21895         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21896         entries.
21898 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21900         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21901         gen-libm-test.pl.
21903         [BZ #14132]
21904         * elf/dl-reloc.c: Include <_itoa.h>.
21905         (_dl_reloc_bad_type): Remove use of INTUSE.
21906         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21907         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21908         * stdio-common/psiginfo.c (psiginfo): Likewise.
21909         * stdio-common/psignal.c (psignal): Likewise.
21910         * string/strsignal.c (strsignal): Likewise.
21911         * include/signal.h (_sys_siglist): Declare hidden proto.
21912         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21913         INTVARDEF with libc_hidden_data_def.
21914         * stdio-common/itoa-udigits.c: Likewise.
21915         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21916         (_itoa_lower_digits_internal): Remove declaration.
21917         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21918         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21919         (_sys_sigabbrev_internal): Remove aliases.
21920         (_sys_siglist): Define hidden alias.
21922 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21925         bits/sysctl.h.
21927 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21929         [BZ #14117]
21930         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21931         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21933         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21934         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21935         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21936         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21937         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21938         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21940         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21941         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21942         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21944         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21945         with __addr.
21946         (insw): Likewise.
21947         (insl): Likewise.
21948         (outsb): Likewise.
21949         (outsw): Likewise.
21950         (outsl): Likewise.
21952         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21953         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21954         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21956         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21957         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21958         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21959         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21960         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21961         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21963         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21964         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21966         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21967         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21971         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21973         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21974         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21975         to ...
21976         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21978         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21979         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21980         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21982         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21983         for x86-64.
21984         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21986 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21988         * math/math.h (M_El): Use two more decimal places.
21989         (M_LOG2El): Likewise.
21990         (M_LOG10El): Likewise.
21991         (M_LN2l): Likewise.
21992         (M_LN10l): Likewise.
21993         (M_PIl): Likewise.
21994         (M_PI_2l): Likewise.
21995         (M_PI_4l): Likewise.
21996         (M_1_PIl): Likewise.
21997         (M_2_PIl): Likewise.
21998         (M_2_SQRTPIl): Likewise.
21999         (M_SQRT2l): Likewise.
22000         (M_SQRT1_2l): Likewise.
22002 2012-05-31  David S. Miller  <davem@davemloft.net>
22004         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22005         values between float registers.
22006         * sysdeps/sparc/sparc64/memset.S: Likewise.
22007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22009 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22011         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22012         -D_FORTIFY_SOURCE=1.
22013         (CPPFLAGS-tst-longjmp_chk.c): Define.
22014         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22015         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22016         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22017         CFLAGS-tst-wchar-h.c.
22019 2012-05-31  Marek Polacek  <polacek@redhat.com>
22021         [BZ #14132]
22022         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22023         __endmntent_internal): Remove declaration.
22024         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22025         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22026         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22028 2012-05-30  David S. Miller  <davem@davemloft.net>
22030         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22031         (___Q_simulate_exceptions): Use real FP ops rather than writing
22032         into the %fsr.
22033         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22034         Likewise.
22036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22038         [BZ #14117]
22039         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22040         * sysdeps/x86/bits/xtitypes.h: This.
22042         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22043         * sysdeps/x86/bits/wordsize.h: This.
22045         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22046         * sysdeps/x86/bits/huge_vall.h: This.
22048         * sysdeps/i386/bits/select.h: Removed.
22049         * sysdeps/x86_64/bits/select.h: Renamed to ...
22050         * sysdeps/x86/bits/select.h: This.
22052         * sysdeps/i386/bits/setjmp.h: Removed.
22053         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22054         * sysdeps/x86/bits/setjmp.h: This.
22056         * sysdeps/i386/bits/mathdef.h: Removed.
22057         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22058         * sysdeps/x86/bits/mathdef.h: This.
22060 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22062         [BZ #14132]
22063         * include/sys/socket.h (__connect_internal)
22064         (__libc_sa_len_internal): Remove declaration.
22065         (__connect, __libc_sa_len): Declare hidden_proto.
22066         (SA_LEN): Remove use of INTUSE.
22067         * socket/connect.c: Add libc_hidden_def.
22068         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22069         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22070         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22071         alias.
22072         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22073         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22074         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22075         of adding _internal alias.
22077 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22079         [BZ #14117]
22080         * sysdeps/i386/bits/link.h: Removed.
22081         * sysdeps/i386/bits/linkmap.h: Likewise.
22082         * sysdeps/x86_64/bits/link.h: Renamed to ...
22083         * sysdeps/x86/bits/link.h: This.
22084         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22085         * sysdeps/x86/bits/linkmap.h: This.
22087         * sysdeps/i386/bits/endian.h: Removed.
22088         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22089         * sysdeps/x86/bits/endian.h: This.
22091         * sysdeps/i386/bits/byteswap.h: Removed.
22092         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22093         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22094         * sysdeps/x86/bits/byteswap.h: This.
22095         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22096         * sysdeps/x86/bits/byteswap-16.h: This.
22097         * sysdeps/i386/Implies: Add x86.
22098         * sysdeps/x86_64/Implies: Likewise.
22100 2012-05-30  David S. Miller  <davem@davemloft.net>
22102         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22103         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22104         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22105         (FP_TRAPPING_EXCEPTIONS): Define.
22106         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22107         (FP_TRAPPING_EXCEPTIONS): Define.
22108         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22109         subnormals only when inexact has been signalled or underflow
22110         exceptions are enabled.
22111         (_FP_PACK_CANONICAL): Likewise.
22113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22115         [BZ #14183]
22116         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22117         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22119 2012-05-30  Richard Henderson  <rth@twiddle.net>
22121         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22122         with #ifndef NOT_IN_libc.
22124         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22125         marked to avoid plt entry.
22127 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22129         [BZ #14112]
22130         * Makeconfig (default-abi): New macro.
22131         (abi-includes): Likewise.
22132         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22133         $(abi-$(default-abi)-lib-soname) for soname if defined.
22134         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22135         abi-variants.
22136         * Makefile (installed-stubs): Likewise.
22137         * include/stubs-biarch.h: Removed.
22138         * scripts/lib-names.awk: Only handle one library at a time.
22139         * scripts/soversions.awk: Remove WORDSIZE support.
22140         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22141         entries.
22142         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22143         Removed.
22144         (syscall-list-default-condition): Likewise.
22145         (syscall-list-default-condition): Likewise.
22146         (syscall-list-includes): Likewise.
22147         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22148         syscall-list-* with abi-*.  Handle undefined abi-variants.
22149         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22150         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22151         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22152         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22153         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22154         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22155         Removed.
22156         (syscall-list-32-options): Likewise.
22157         (syscall-list-32-condition): Likewise.
22158         (syscall-list-64-options): Likewise.
22159         (syscall-list-64-condition): Likewise.
22160         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22161         macro.
22162         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22163         Renamed to ...
22164         (abi-*): This.
22165         (abi-64-ld-soname): New macro.
22166         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22167         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22168         Renamed to ...
22169         (abi-*): This.
22170         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22171         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22173 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22175         * sysdeps/unix/sysv/linux/kernel-features.h
22176         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22177         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22178         include <kernel-features.h>.
22179         [!__NR_ftruncate64]: Remove conditional code.
22180         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22181         [__NR_ftruncate64]: Make code unconditional.
22182         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22183         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22184         include <kernel-features.h>.
22185         [!__NR_ftruncate64]: Remove conditional code.
22186         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22187         [__NR_ftruncate64]: Make code unconditional.
22188         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22190         include <kernel-features.h>.
22191         [!__NR_ftruncate64]: Remove conditional code.
22192         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22193         [__NR_ftruncate64]: Make code unconditional.
22194         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22196         include <kernel-features.h>.
22197         [!__NR_ftruncate64]: Remove conditional code.
22198         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22199         [__NR_ftruncate64]: Make code unconditional.
22200         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22202         * configure.in (libc_cv_fpie): Weaken to a compile test using
22203         LIBC_TRY_CC_OPTION.
22204         * configure: Regenerated.
22206 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22212         Refreshed.
22213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22219         Refreshed.
22221 2012-05-27  David S. Miller  <davem@davemloft.net>
22223         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22224         (___Q_zero): New.
22225         (__Q_simulate_exceptions): Return void.  Change to simulate
22226         exceptions by writing into the %fsr.
22227         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22228         (__Qp_handle_exceptions): Likewise.
22229         (numbers): Delete.
22230         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22231         __Qp_handle_exceptions.
22232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22233         __Qp_handle_exceptions.
22234         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22235         as unused and give dummy FP_RND_NEAREST initializer.
22236         (FP_INHIBIT_RESULTS): Define.
22237         (___Q_simulate_exceptions): Update declaration.
22238         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22239         formatting.
22240         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22241         as unused and give dummy FP_RND_NEAREST initializer.
22242         (__Qp_handle_exceptions): Update declaration.
22243         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22244         formatting.
22246 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22248         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22249         the temporary FPU control word.
22250         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22251         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22252         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22253         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22254         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22255         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22256         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22257         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22258         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22259         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22260         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22262 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22264         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22265         fields.
22267 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22269         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22270         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22271         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22272         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22273         Likewise.
22274         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22275         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22276         Likewise.
22278 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22280         * po/h.po: Update from translation team.
22282 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22284         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22286         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22287         handling of denormals.
22288         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22289         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22290         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22291         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22293         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22295         Likewise.
22297 2012-05-26  Marek Polacek  <polacek@redhat.com>
22299         [BZ #14152]
22300         * math/libm-test.inc (fma_test): Don't always expect underflow
22301         exception.
22303 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22305         [BZ #12416]
22306         * elf/tst-execstack.c: Include stackinfo.h.
22307         (do_test): Adjust test case to ensure that pthread_getattr_np
22308         behaviour remains the same after marking stack executable.
22310 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22312         * sysdeps/unix/sysv/linux/kernel-features.h
22313         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22314         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22315         kernel-features.h.
22316         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22317         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22318         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22319         kernel-features.h.
22320         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22321         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22323 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22325         * configure.in: Define the default includes to being none.
22326         * configure: Regenerated.
22328 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22330         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22331         * sysdeps/x86_64/setjmp.S: Likewise.
22332         * sysdeps/i386/bsd-setjmp.S: Likewise.
22333         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22334         * sysdeps/i386/setjmp.S: Likewise.
22335         * sysdeps/i386/__longjmp.S: Likewise.
22336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22337         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22339         * include/stap-probe.h: New file.
22340         * configure.in: Handle --enable-systemtap.
22341         * configure: Regenerated.
22342         * config.h.in (USE_STAP_PROBE): New #undef.
22343         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22344         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22345         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22347 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22349         [BZ #13717]
22350         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22351         to 2.4.0 where earlier.
22352         * sysdeps/unix/sysv/linux/configure: Regenerated.
22353         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22354         <kernel-features.h>.
22355         [__ASSUME_32BITUIDS]: Make code unconditional.
22356         [!__ASSUME_32BITUIDS]: Remove conditional code.
22357         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22358         <kernel-features.h>.
22359         [__ASSUME_32BITUIDS]: Make code unconditional.
22360         [!__ASSUME_32BITUIDS]: Remove conditional code.
22361         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22362         [__ASSUME_32BITUIDS]: Make code unconditional.
22363         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22364         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22365         <kernel-features.h>.
22366         [__ASSUME_32BITUIDS]: Make code unconditional.
22367         [!__ASSUME_32BITUIDS]: Remove conditional code.
22368         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22369         <kernel-features.h>.
22370         [__ASSUME_32BITUIDS]: Make code unconditional.
22371         [!__ASSUME_32BITUIDS]: Remove conditional code.
22372         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22373         <kernel-features.h>.
22374         [__ASSUME_32BITUIDS]: Make code unconditional.
22375         [!__ASSUME_32BITUIDS]: Remove conditional code.
22376         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22377         <kernel-features.h>.
22378         [__ASSUME_32BITUIDS]: Make code unconditional.
22379         [!__ASSUME_32BITUIDS]: Remove conditional code.
22380         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22381         <kernel-features.h>.
22382         [__ASSUME_32BITUIDS]: Make code unconditional.
22383         [!__ASSUME_32BITUIDS]: Remove conditional code.
22384         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22385         <kernel-features.h>.
22386         [__ASSUME_32BITUIDS]: Make code unconditional.
22387         [!__ASSUME_32BITUIDS]: Remove conditional code.
22388         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22389         <kernel-features.h>.
22390         [__ASSUME_32BITUIDS]: Make code unconditional.
22391         [!__ASSUME_32BITUIDS]: Remove conditional code.
22392         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22393         <kernel-features.h>.
22394         [__ASSUME_32BITUIDS]: Make code unconditional.
22395         [!__ASSUME_32BITUIDS]: Remove conditional code.
22396         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22397         <kernel-features.h>.
22398         [__ASSUME_32BITUIDS]: Make code unconditional.
22399         [!__ASSUME_32BITUIDS]: Remove conditional code.
22400         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22401         <kernel-features.h>.
22402         [__ASSUME_32BITUIDS]: Make code unconditional.
22403         [!__ASSUME_32BITUIDS]: Remove conditional code.
22404         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22405         <kernel-features.h>.
22406         [__NR_setresgid] (__setresgid): Do not declare.
22407         [__ASSUME_32BITUIDS]: Make code unconditional.
22408         [!__ASSUME_32BITUIDS]: Remove conditional code.
22409         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22410         <kernel-features.h>.
22411         [__NR_setresuid] (__setresuid): Do not declare.
22412         [__ASSUME_32BITUIDS]: Make code unconditional.
22413         [!__ASSUME_32BITUIDS]: Remove conditional code.
22414         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22415         <kernel-features.h>.
22416         [__ASSUME_32BITUIDS]: Make code unconditional.
22417         [!__ASSUME_32BITUIDS]: Remove conditional code.
22418         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22419         <kernel-features.h>.
22420         [__ASSUME_32BITUIDS]: Make code unconditional.
22421         [!__ASSUME_32BITUIDS]: Remove conditional code.
22422         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22423         <kernel-features.h>.
22424         [__ASSUME_32BITUIDS]: Make code unconditional.
22425         [!__ASSUME_32BITUIDS]: Remove conditional code.
22426         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22427         <kernel-features.h>.
22428         [__ASSUME_32BITUIDS]: Make code unconditional.
22429         [!__ASSUME_32BITUIDS]: Remove conditional code.
22430         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22431         <kernel-features.h>.
22432         [__ASSUME_32BITUIDS]: Make code unconditional.
22433         [!__ASSUME_32BITUIDS]: Remove conditional code.
22434         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22435         <kernel-features.h>.
22436         [__ASSUME_32BITUIDS]: Make code unconditional.
22437         [!__ASSUME_32BITUIDS]: Remove conditional code.
22438         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22439         <kernel-features.h>.
22440         [__ASSUME_32BITUIDS]: Make code unconditional.
22441         [!__ASSUME_32BITUIDS]: Remove conditional code.
22442         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22443         <kernel-features.h>.
22444         [__ASSUME_32BITUIDS]: Make code unconditional.
22445         [!__ASSUME_32BITUIDS]: Remove conditional code.
22446         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22447         <kernel-features.h>.
22448         [__ASSUME_32BITUIDS]: Make code unconditional.
22449         [!__ASSUME_32BITUIDS]: Remove conditional code.
22450         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22451         <kernel-features.h>.
22452         [__ASSUME_32BITUIDS]: Make code unconditional.
22453         [!__ASSUME_32BITUIDS]: Remove conditional code.
22454         * sysdeps/unix/sysv/linux/kernel-features.h
22455         (__ASSUME_SETRESUID_SYSCALL): Remove.
22456         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22457         (__ASSUME_32BITUIDS): Likewise.
22458         (__ASSUME_LDT_WORKS): Likewise.
22459         (__ASSUME_O_DIRECTORY): Likewise.
22460         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22461         architecture but not kernel version.
22462         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22463         (__ASSUME_MMAP2_SYSCALL): Likewise.
22464         (__ASSUME_STAT64_SYSCALL): Likewise.
22465         (__ASSUME_IPC64): Likewise.
22466         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22467         <kernel-features.h>.
22468         [__ASSUME_32BITUIDS]: Make code unconditional.
22469         [!__ASSUME_32BITUIDS]: Remove conditional code.
22470         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22471         <kernel-features.h>.
22472         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22473         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22474         132096]: Remove conditional code.
22475         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22476         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22477         <kernel-features.h>.
22478         [__ASSUME_32BITUIDS]: Make code unconditional.
22479         [!__ASSUME_32BITUIDS]: Remove conditional code.
22480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22481         <kernel-features.h>.
22482         [__ASSUME_32BITUIDS]: Make code unconditional.
22483         [!__ASSUME_32BITUIDS]: Remove conditional code.
22484         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22485         <kernel-features.h>.
22486         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22487         unconditional.
22488         (__setresgid): Do not declare.
22489         [__ASSUME_32BITUIDS]: Make code unconditional.
22490         [!__ASSUME_32BITUIDS]: Remove conditional code.
22491         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22492         <kernel-features.h>.
22493         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22494         unconditional.
22495         (__setresuid): Do not declare.
22496         [__ASSUME_32BITUIDS]: Make code unconditional.
22497         [!__ASSUME_32BITUIDS]: Remove conditional code.
22498         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22499         <kernel-features.h>.
22500         [__ASSUME_32BITUIDS]: Make code unconditional.
22501         [!__ASSUME_32BITUIDS]: Remove conditional code.
22502         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22503         <kernel-features.h>.
22504         [__ASSUME_32BITUIDS]: Make code unconditional.
22505         [!__ASSUME_32BITUIDS]: Remove conditional code.
22507 2012-05-25  Richard Henderson  <rth@twiddle.net>
22509         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22510         dl_hwcap to ifunc resolver.
22511         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22512         elf_ifunc_invoke.
22513         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22514         dl_hwcap to ifunc resolver.
22515         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22517 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22519         [BZ #14153]
22520         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22521         for |x| <= 2**-26, not 2**-57.
22522         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22523         exception.
22525 2012-05-24  Jeff Law  <law@redhat.com>
22527         * stdio-common/Makefile (tests): Add bug25.
22528         * stdio-common/bug25.c: New test.
22530 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22532         [BZ #13576]
22533         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22534         multiple of MALLOC_ALIGNMENT in size.
22535         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22537 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22539         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22540         Require >= 256.
22541         (FILENAME_MAX): Use macro-int-constant.
22542         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22543         (_IOFBF): Use macro-int-constant.
22544         (_IOLBF): Likewise.
22545         (_IONBF): Likewise.
22546         (SEEK_CUR): Likewise.
22547         (SEEK_END): Likewise.
22548         (SEEK_SET): Likewise.
22549         (TMP_MAX): Likewise.
22550         (EOF): Use macro-int-constant.  Require < 0.
22551         (NULL): Use macro-constant.  Require == 0.
22552         (stdin): Require type to be FILE *.
22553         (stdout): Likewise.
22554         (stderr): Likewise.
22555         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22556         macro-int-constant.
22557         (EXIT_SUCCESS): Likewise.
22558         (NULL): Use macro-constant.  Require == 0.
22559         (RAND_MAX): Use macro-int-constant.
22560         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22561         [C99-based standards] (strtof): Require function.
22562         [C99-based standards] (strtold): Likewise.
22563         [C99-based standards] (strtoll): Likewise.
22564         [C99-based standards] (strtoull): Likewise.
22565         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22566         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22567         [ISO || ISO99 || ISO11] (math.h): Likewise.
22568         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22569         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22572 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22574         [BZ #14132]
22575         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22576         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22577         * intl/dgettext.c (DCGETTEXT): Likewise.
22578         * intl/gettext.c (DCGETTEXT): Likewise.
22579         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22580         * posix/regex_internal.h (gettext): Likewise.
22581         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22582         Remove declaration.
22583         * include/argz.h (__argz_count_internal)
22584         (__argz_stringify_internal): Remove declaration.
22585         (__argz_count, __argz_stringify): Declare hidden proto.
22586         * intl/dcgettext.c: Remove use of INTDEF.
22587         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22588         * string/argz-stringify.c: Likewise.
22589         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22590         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22591         Declare hidden proto.
22592         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22593         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22594         Declare hidden proto.
22595         * include/stdio.h (__asprintf_internal): Don't declare.
22596         (__asprintf): Don't define as macro.  Declare hidden proto.
22597         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22598         (__fsetlocking): Declare hidden proto.
22599         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22600         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22601         hidden proto.
22602         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22603         (_IO_setlinebuf): Remove use of INTUSE.
22604         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22605         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22606         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22607         Remove declaration.
22608         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22609         (_IO_do_flush): Remove use of INTUSE.
22610         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22611         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22612         (_IO_adjust_column, _IO_least_wmarker)
22613         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22614         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22615         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22616         (_IO_default_doallocate, _IO_wdefault_doallocate)
22617         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22618         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22619         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22620         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22621         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22622         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22623         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22624         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22625         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22626         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22627         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22628         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22629         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22630         proto.
22631         (_IO_flush_all_internal, _IO_adjust_column_internal)
22632         (_IO_default_uflow_internal, _IO_default_finish_internal)
22633         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22634         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22635         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22636         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22637         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22638         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22639         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22640         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22641         (_IO_file_close_internal, _IO_file_close_it_internal)
22642         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22643         (_IO_file_init_internal, _IO_file_attach_internal)
22644         (_IO_file_fopen_internal, _IO_file_read_internal)
22645         (_IO_file_sync_internal, _IO_file_seek_internal)
22646         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22647         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22648         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22649         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22650         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22651         (_IO_list_all_internal, _IO_link_in_internal)
22652         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22653         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22654         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22655         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22656         (_IO_do_write_internal, _IO_padn_internal)
22657         (_IO_getline_info_internal, _IO_getline_internal)
22658         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22659         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22660         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22661         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22662         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22663         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22664         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22665         with libc_hidden_ver, remove use of INTUSE.
22666         * libio/genops.c: Likewise.
22667         * libio/freopen.c: Likewise.
22668         * libio/freopen64.c: Likewise.
22669         * libio/iofclose.c: Likewise.
22670         * libio/iofdopen.c: Likewise.
22671         * libio/iofflush.c: Likewise.
22672         * libio/iofflush_u.c: Likewise.
22673         * libio/iofgets.c: Likewise.
22674         * libio/iofgets_u.c: Likewise.
22675         * libio/iofopen.c: Likewise.
22676         * libio/iofopncook.c: Likewise.
22677         * libio/iofread.c: Likewise.
22678         * libio/iofread_u.c: Likewise.
22679         * libio/ioftell.c: Likewise.
22680         * libio/iofwrite.c: Likewise.
22681         * libio/iogetline.c: Likewise.
22682         * libio/iogets.c: Likewise.
22683         * libio/iogetwline.c: Likewise.
22684         * libio/iopadn.c: Likewise.
22685         * libio/iopopen.c: Likewise.
22686         * libio/ioseekoff.c: Likewise.
22687         * libio/ioseekpos.c: Likewise.
22688         * libio/iosetbuffer.c: Likewise.
22689         * libio/iosetvbuf.c: Likewise.
22690         * libio/ioungetc.c: Likewise.
22691         * libio/ioungetwc.c: Likewise.
22692         * libio/iovdprintf.c: Likewise.
22693         * libio/iovsprintf.c: Likewise.
22694         * libio/iovsscanf.c: Likewise.
22695         * libio/memstream.c: Likewise.
22696         * libio/obprintf.c: Likewise.
22697         * libio/oldfileops.c: Likewise.
22698         * libio/oldiofclose.c: Likewise.
22699         * libio/oldiofdopen.c: Likewise.
22700         * libio/oldiofopen.c: Likewise.
22701         * libio/oldiopopen.c: Likewise.
22702         * libio/oldstdfiles.c: Likewise.
22703         * libio/putc.c: Likewise.
22704         * libio/setbuf.c: Likewise.
22705         * libio/setlinebuf.c: Likewise.
22706         * libio/stdfiles.c: Likewise.
22707         * libio/strops.c: Likewise.
22708         * libio/vasprintf.c: Likewise.
22709         * libio/vscanf.c: Likewise.
22710         * libio/vsnprintf.c: Likewise.
22711         * libio/vswprintf.c: Likewise.
22712         * libio/wfiledoalloc.c: Likewise.
22713         * libio/wfileops.c: Likewise.
22714         * libio/wgenops.c: Likewise.
22715         * libio/wmemstream.c: Likewise.
22716         * libio/wstrops.c: Likewise.
22717         * libio/__fpurge.c: Likewise.
22718         * libio/__fsetlocking.c: Likewise.
22719         * assert/assert.c: Likewise.
22720         * debug/fgets_chk.c: Likewise.
22721         * debug/fgets_u_chk.c: Likewise.
22722         * debug/fread_chk.c: Likewise.
22723         * debug/fread_u_chk.c: Likewise.
22724         * debug/gets_chk.c: Likewise.
22725         * debug/obprintf_chk.c: Likewise.
22726         * debug/vasprintf_chk.c: Likewise.
22727         * debug/vdprintf_chk.c: Likewise.
22728         * debug/vsnprintf_chk.c: Likewise.
22729         * debug/vsprintf_chk.c: Likewise.
22730         * malloc/mtrace.c: Likewise.
22731         * misc/error.c: Likewise.
22732         * misc/syslog.c: Likewise.
22733         * stdio-common/asprintf.c: Likewise.
22734         * stdio-common/fxprintf.c: Likewise.
22735         * stdio-common/getw.c: Likewise.
22736         * stdio-common/isoc99_fscanf.c: Likewise.
22737         * stdio-common/isoc99_scanf.c: Likewise.
22738         * stdio-common/isoc99_vfscanf.c: Likewise.
22739         * stdio-common/isoc99_vscanf.c: Likewise.
22740         * stdio-common/isoc99_vsscanf.c: Likewise.
22741         * stdio-common/printf-prs.c: Likewise.
22742         * stdio-common/printf_fp.c: Likewise.
22743         * stdio-common/printf_fphex.c: Likewise.
22744         * stdio-common/printf_size.c: Likewise.
22745         * stdio-common/putw.c: Likewise.
22746         * stdio-common/scanf.c: Likewise.
22747         * stdio-common/sprintf.c: Likewise.
22748         * stdio-common/tmpfile.c: Likewise.
22749         * stdio-common/vfprintf.c: Likewise.
22750         * stdio-common/vfscanf.c: Likewise.
22751         * stdlib/strfmon_l.c: Likewise.
22752         * sunrpc/openchild.c: Likewise.
22753         * sunrpc/xdr_stdio.c: Likewise.
22754         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22755         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22757 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22759         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22761         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22762         in the third column, to generate for the shared library an IFUNC
22763         that uses _dl_vdso_vsym.
22764         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22765         * Makeconfig (object-suffixes-noshared): New variable.
22767         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22768         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22769         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22770         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22772         [BZ #14132]
22773         * include/sys/time.h (__gettimeofday): Remove macro.
22774         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22775         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22776         Remove INTDEF.
22777         (__gettimeofday): Add libc_hidden_def.
22778         (gettimeofday): Add libc_hidden_weak.
22779         * sysdeps/mach/gettimeofday.c: Likewise.
22780         * sysdeps/posix/gettimeofday.c: Likewise.
22781         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22782         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22783         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22784         (__gettimeofday_internal): Remove strong_alias.
22785         (__gettimeofday): Add libc_hidden_def.
22786         (gettimeofday): Add libc_hidden_weak.
22787         * sysdeps/unix/syscalls.list (gettimeofday):
22788         Remove __gettimeofday_internal alias.
22790 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22791             H.J. Lu  <hongjiu.lu@intel.com>
22793         [BZ #12495]
22794         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22795         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22796         (largebin_index_32_big): New.
22797         (largebin_index): Use it for 16-byte alignment.
22798         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22799         correction with front_misalign.
22801 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22805         Likewise.
22806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22807         Likewise.
22808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22809         Likewise.
22810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22811         Likewise.
22812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22813         Likewise.
22814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22815         Likewise.
22816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22817         Likewise.
22818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22819         Likewise.
22820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22821         Likewise.
22822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22823         Likewise.
22824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22825         Likewise.
22826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22827         Likewise.
22829         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22830         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22832 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22834         [BZ #10846]
22835         [BZ #14036]
22836         * math/libm-test.inc (exp_test): Add test from bug 14036.
22837         (pow_test): Add test from bug 10846.
22839         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22840         and other flags.
22841         (special_function): Do not include flags in test name.
22842         (parse_args): Likewise.
22843         * sysdeps/i386/fpu/libm-test-ulps: Update.
22844         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22845         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22846         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22849         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22850         exceptions.
22851         * math/libm-test.inc ("Philosophy"): Update comment about
22852         exception testing.
22853         (UNDERFLOW_EXCEPTION): New macro.
22854         (UNDERFLOW_EXCEPTION_OK): Likewise.
22855         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22856         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22857         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22858         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22859         (INVALID_EXCEPTION_OK): Update value.
22860         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22861         (OVERFLOW_EXCEPTION_OK): Likewise.
22862         (IGNORE_ZERO_INF_SIGN): Likewise.
22863         (test_exceptions): Handle underflow exceptions.
22864         (acos_test): Update for underflow exception expectations.
22865         (cexp_test): Likewise.
22866         (clog_test): Likewise.
22867         (clog10_test): Likewise.
22868         (csqrt_test): Likewise.
22869         (ctan_test): Likewise.
22870         (ctanh_test): Likewise.
22871         (exp_test): Likewise.
22872         (exp10_test): Likewise.
22873         (exp2_test): Likewise.
22874         (expm1_test): Likewise.
22875         (fma_test): Likewise.
22876         (j0_test): Likewise.
22877         (jn_test): Likewise.
22878         (nexttoward_test): Likewise.
22879         (pow_test): Likewise.
22880         (scalbn_test): Likewise.
22881         (scalbln_test): Likewise.
22882         (tan_test): Likewise.
22883         (y1_test): Likewise.
22884         * sysdeps/i386/fpu/libm-test-ulps: Update.
22885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887 2012-05-23  David S. Miller  <davem@davemloft.net>
22889         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22890         (__libc_sigaction): Remove unused local variables.
22892 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22894         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22896 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22898         mktime: avoid signed integer overflow
22899         * time/mktime.c (__mktime_internal): Do not mishandle the case
22900         where diff == INT_MIN.
22902         mktime: simplify computation of average
22903         * time/mktime.c (ranged_convert): Use new time_t_avg function
22904         instead of rolling our own (probably-slower) code.
22906         mktime: do not assume signed right shift propagates sign bit
22907         * time/mktime.c (isdst_differ): New static function.
22908         (__mktime_internal): No need to normalize tm_isdst now.
22909         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22910         tm_isdst values.
22912         mktime: merge another wrapv change from gnulib
22913         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22914         from some compilers.
22916         mktime: remove incorrect attempt at unusual arithmetics
22917         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22918         The code didn't really work on such machines anyway.
22919         (TYPE_MINIMUM): Assume two's complement.
22920         (twos_complement_arithmetic): Verify that long_int and time_t
22921         are two's complement (or unsigned, in the latter case).
22923         mktime: check signed shifts on long_int and time_t, too
22924         * time/mktime.c (SHR): Check that shifts work as desired
22925         on the types long_int and time_t too, as SHR is used on
22926         such types.
22928         mktime: do not assume 'long' is wide enough
22929         * time/mktime.c (verify): Move decl up.
22930         (long_int): New type.
22931         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22932         to remove assumption in the code that 'long' is wide enough to
22933         store year values.  This assumption is not true on x32 and on
22934         some non-glibc platforms.
22936         mktime: merge wrapv change from gnulib
22937         * time/mktime.c (WRAPV): New macro.
22938         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22939         (guess_time_tm, __mktime_internal): Do not assume that signed
22940         integer overflow wraps around; modern compilers generate code
22941         where this assumption is no longer valid.
22943 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22945         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22946         Replace "jmp L(pseudo_end)" with "ret".
22947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22948         Likewise.
22950 2012-05-23  Andreas Jaeger  <aj@suse.de>
22952         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22953         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22955 2012-05-23  Andreas Jaeger  <aj@suse.de>
22956             Maximilian Attems  <max@stro.at>
22958         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22959         New macros.
22961 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22963         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22964         code so that pseudo_end is just ret and the stack pointer is
22965         correct also for static library in error case.
22967 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22969         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22970         move to syscalls.list.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22976         * manual/install.texi (Running make install): Do not mention Linux
22977         kernel version for which pt_chown is not needed.
22978         (Linux): Do not mention problems with nscd with 2.0 kernels.
22979         * INSTALL: Regenerated.
22981 2012-05-23  Andreas Jaeger  <aj@suse.de>
22983         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22984         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22985         macro.
22986         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22987         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22988         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22989         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22990         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22991         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22992         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22993         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22994         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22995         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22996         * sysdeps/unix/sysv/linux/bits/in.h
22997         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22999 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23001         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23002         (PREPARE_VERSION): Just use assert instead, it will be elided
23003         under [NDEBUG] anyway.
23005 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23007         * sysdeps/unix/sysv/linux/Makefile: Include
23008         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23009         (sysdep_routines): Remove sysctl.
23010         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23011         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23012         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23013         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23014         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23016 2012-05-22  Andreas Jaeger  <aj@suse.de>
23018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23019         that pseudo_end is just ret and the stack pointer is correct also
23020         for static library in error case.
23022 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23024         [BZ #14122]
23025         * nss/nsswitch.c (defconfig_entries): New variable.
23026         (__nss_database_lookup): Don't leak defconfig entries.
23027         (nss_parse_service_list): Don't leak on error paths.
23028         (free_database_entries): New function.
23029         (free_defconfig): New function.
23030         (free_mem): Move common code to free_database_entries.
23032 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23034         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23035         Add arch_prctl.
23036         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23039         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23041         New macro.
23042         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23043         (INTERNAL_SYSCALL_TYPES): Likewise.
23044         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23045         (LOAD_REGS_TYPES_[1-6]): Likewise.
23046         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23047         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23049 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23051         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23052         copysignl for GLIBC_2_0.
23053         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23054         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23056         logbl for GLIBC_2_0.
23057         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23058         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23063         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23065         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23066         Use "neg %eax".
23068         * time/mktime.c: Update copyright years.
23070 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23072         mktime: merge comment-quoting-style change from gnulib
23073         * time/mktime.c: Quote 'like this' in comments.
23074         The GNU coding standards suggest that we no longer quote `like this',
23075         as "`" and "'" are typically rendered asymmetrically nowadays.
23076         The typical gnulib style is to quote 'like this' when quoting
23077         code, and "like this" when quoting English.
23079         * time/mktime.c (compile-command): Add "-I.".
23081         mktime: merge mktime-internal.h change from gnulib
23082         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23084         mktime: merge time_r change from gnulib
23085         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23087         mktime: merge DEBUG change from gnulib
23088         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23089         case system <time.h> has a #define.
23091         mktime: merge <sys/types.h> change from gnulib
23092         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23093         since <time.t> is now guaranteed to define time_t.
23095         mktime: merge HAVE_CONFIG_H change from gnulib
23096         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23101         Use "neg %eax".
23103         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23104         __rlim_t cast.
23105         (struct rusage): Use anonymous union to pad each field to
23106         __syscall_slong_t.
23108 2012-05-21  David S. Miller  <davem@davemloft.net>
23110         * Makefules (o-iterator): Remove .s cases.
23111         (compile-command.s): Delete.
23112         (COMPILE.s): Delete.
23113         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23115 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23117         * configure.in (libc_cv_predef_stack_protector): Only consider
23118         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23119         * configure: Regenerated.
23121 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23124         New macro.  Use R*LP on int and pointer.
23125         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23126         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23127         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23128         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23130         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23131         [__WORDSIZE_TIME64_COMPAT32] instead of
23132         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23133         (struct utmp): Likewise.
23134         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23135         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23136         Renamed to ...
23137         (__WORDSIZE_TIME64_COMPAT32): This.
23138         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23139         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23140         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23141         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23142         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23143         (__WORDSIZE_TIME64_COMPAT32): New macro.
23145 2012-05-21  Andreas Jaeger  <aj@suse.de>
23147         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23148         only if [SHARED]. Add prototype for __wcschr_ia32.
23150 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23152         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23153         of %rbp unmolested in the jmp_buf while mangling the low bits.
23154         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23155         unmolested high bits of %rbp while demangling the low bits.
23156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23158 2012-05-21  Andreas Jaeger  <aj@suse.de>
23160         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23161         * sunrpc/svc_simple.c: Use it for registerrpc.
23162         * sunrpc/xcrypt.c: Use it for passwd2des.
23164         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23168         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23169         Don't define if [__SYSCALL_WORDSIZE != 32].
23170         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23171         New macro.
23173 2012-05-21  Bruno Haible  <bruno@clisp.org>
23174             Andreas Jaeger  <aj@suse.de>
23176         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23177         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23178         inptr and inend for must_buffer_ch.
23179         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23180         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23181         * stdio-common/Makefile (tests): Remove bug15.
23182         (bug15-ENV): Remove macro.
23183         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23184         anymore.
23186 2012-05-19  Andreas Jaeger  <aj@suse.de>
23187             Roland McGrath  <roland@hack.frob.com>
23189         * manual/contrib.texi: Completely rewritten. It contains now an
23190         alphabetical list of contributors and their contributions.
23192 2012-05-21  Richard Henderson  <rth@twiddle.net>
23194         * misc/getauxval.c (__getauxval): Use unsigned long int.
23195         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23196         (getauxval): Use unsigned long int.
23198 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23200         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23202 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23204         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23205         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23206         __alignof__ (long double).
23208 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23212 2012-05-20  Richard Henderson  <rth@twiddle.net>
23214         * misc/getauxval.c: New file.
23215         * misc/sys/auxv.h: New file.
23216         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23217         (routines): Add getauxval.
23218         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23219         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23220         * elf/dl-sysdep.c (_dl_auxv): Remove.
23221         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23222         * elf/dl-support.c (_dl_auxv): New variable.
23223         (_dl_aux_init): Initialize it.
23224         * manual/startup.texi (Auxiliary Vector): New node.
23225         * sysdeps/generic/bits/hwcap.h: New file.
23226         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23227         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23228         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23229         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23230         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23233         Update.
23234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23243 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23247 2012-05-19  David S. Miller  <davem@davemloft.net>
23249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23251 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #14123]
23254         * math/s_ccosh.c: Include <float.h>
23255         (__ccosh): Avoid internal overflow calculating sinh and cosh
23256         values before multiplying by sin and cos values.
23257         * math/s_ccoshf.c: Likewise.
23258         * math/s_ccoshl.c: Likewise.
23259         * math/s_csin.c: Likewise.
23260         * math/s_csinf.c: Likewise.
23261         * math/s_csinl.c: Likewise.
23262         * math/s_csinh.c: Likewise.
23263         * math/s_csinhf.c: Likewise.
23264         * math/s_csinhl.c: Likewise.
23265         * math/libm-test.inc (ccos_test): Add more tests.
23266         (ccosh_test): Likewise.
23267         (csin_test): Likewise.
23268         (csinh_test): Likewise.
23269         * sysdeps/i386/fpu/libm-test-ulps: Update.
23270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23272 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23274         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23275         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23277         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23279 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23281         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23282         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23283         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23284         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23285         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23286         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23287         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23288         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23289         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23290         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23291         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23292         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23293         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23294         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23295         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23296         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23297         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23298         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23299         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23300         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23301         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23302         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23303         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23304         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23305         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23306         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23307         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23308         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23309         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23310         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23311         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23313 2012-05-18  Andreas Jaeger  <aj@suse.de>
23315         * csu/.gitignore: Delete.
23317 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23319         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23320         (timex): Use __syscall_slong_t.
23322 2012-05-18  Andreas Jaeger  <aj@suse.de>
23323             Carlos O'Donell  <carlos_odonell@mentor.com>
23325         * manual/install.texi (Configuring and compiling): Update
23326         description about files modified in the source directory.
23327         * INSTALL: Regenerated.
23329 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23331         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23332         value.  Use "or" to set return value to -1.
23333         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23334         negate return value.
23336 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23338         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23339         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23340         failure if the compiler has Graphite support disabled.
23341         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23342         Likewise.
23343         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23344         CFLAGS-memmove.c): Likewise.
23345         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23346         Likewise.
23348 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23350         * sysdeps/x86_64/x32/_itoa.h: New file.
23352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23353         getdents system call only if kernel and user dirents have the
23354         same d_ino and d_off.
23356         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23357         LLONG_MAX != LONG_MAX.
23358         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23359         (_fitoa_word): Likewise.
23361         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23362         years.
23363         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23364         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23365         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23367         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23368         include <bits/wordsize.h>.  Check __x86_64__ instead of
23369         __WORDSIZE.
23370         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23371         if __x86_64__ is defined.  Use anonymous union on fpstate.
23373         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23374         anonymous union.
23376 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23378         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23379         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23380         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23381         Refer to _rtld_local_ro instead of _rtld_global_ro.
23382         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23383         Likewise.
23384         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23385         Likewise.
23386         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23387         Likewise.
23388         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23389         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23390         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23392         * sysdeps/powerpc/powerpc32/dl-machine.c
23393         (__elf_machine_runtime_setup) [PROF]: Don't reference
23394         _dl_prof_resolve.
23396 2012-05-18  Andreas Jaeger  <aj@suse.de>
23398         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23399         function only available for GCCs before 3.4 since GCC 3.4
23400         introduced a builtin.
23401         (lrint): Likewise.
23402         (llrintf): Likewise.
23403         (llrint): Likewise.
23404         (fmaxf): Likewise.
23405         (fmax): Likewise.
23406         (fminf): Likewise.
23407         (fmin): Likewise.
23408         (rint): Likewise.
23409         (rintf): Likewise.
23410         (nearbyint): Likewise.
23411         (nearbyintf): Likewise.
23412         (ceil): Likewise.
23413         (ceilf): Likewise.
23414         (floor): Likewise.
23415         (floorf): Likewise.
23417 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23419         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23420         on both fields and cast pointer to __syscall_ulong_t.
23422         * bits/types.h (__fsword_t): New type.
23423         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23424         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23426         (__FSWORD_T_TYPE): Likewise.
23427         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23428         (__FSWORD_T_TYPE): Likewise.
23429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23430         (__FSWORD_T_TYPE): Likewise.
23431         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23432         (__FSWORD_T_TYPE): Likewise.
23433         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23434         __SWORD_TYPE with __fsword_t.
23435         (statfs64): Likewise.
23437 2012-05-17  David S. Miller  <davem@davemloft.net>
23439         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23441 2012-05-17  Andreas Jaeger  <aj@suse.de>
23443         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23444         warning.
23446 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23448         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23450 2012-05-17  Andreas Jaeger  <aj@suse.de>
23452         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23453         when it is used.
23455 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23457         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23459 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23461         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23462         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23464 2012-05-17  Andreas Jaeger  <aj@suse.de>
23465             Carlos O'Donell  <carlos_odonell@mentor.com>
23467         [BZ #14059]
23468         * sysdeps/x86_64/multiarch/init-arch.h
23469         (bit_YMM_Usable): Rename to...
23470         (bit_AVX_Usable): ... this.
23471         (bit_FMA4_Usable): New macro.
23472         (bit_XMM_state): New macro.
23473         (bit_YMM_state): New macro.
23474         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23475         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23476         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23477         (CPUID_OSXSAVE): New macro.
23478         (CPUID_AVX): New macro.
23479         (CPUID_FMA4): New macro.
23480         (index_YMM_Usable): Rename to...
23481         (index_AVX_Usable): ... this.
23482         (HAS_AVX): Use HAS_ARCH_FEATURE.
23483         (HAS_FMA4): Likewise.
23484         (HAS_YMM_USABLE): Remove.
23485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23486         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23487         are present.
23488         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23489         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23490         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23491         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23492         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23494 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23496         * math/libm-test.c: Support platforms without multiple rounding modes.
23497         * math/bug-nextafter.c: Support platforms without FP exceptions.
23498         * math/bug-nexttoward.c: Likewise.
23499         * math/test-fenv.c: Likewise.
23500         * math/test-misc.c: Likewise.
23501         * stdlib/bug-getcontext.c: Likewise.
23503 2012-05-17  Andreas Jaeger  <aj@suse.de>
23505         * manual/examples/search.c (critter_cmp): Change signature to
23506         avoid warnings.
23507         * manual/string.texi (Collation Functions): Likewise.
23509 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23511         * bits/types.h: Fold copyright years.
23512         * bits/typesizes.h: Likewise.
23513         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23515         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23517         * time/time.h: Likewise.
23519 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23521         [BZ #208]
23522         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23523         in instead of returning them.  Return void.
23524         (__libc_mallinfo): Accumulate over all arenas.
23525         (__malloc_stats): Adjust for change in int_mallinfo interface.
23527 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23529         [BZ #10375]
23530         * configure.in (NM): Add AC_CHECK_TOOL for it.
23531         (libc_extra_cflags): New substituted variable.
23532         Check for -fstack-protector being used implicitly.
23533         * configure: Regenerated.
23534         * config.make.in (config-extra-cflags): New variable,
23535         gets @libc_extra_cflags@.
23536         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23538         [BZ #10375]
23539         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23540         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23541         * configure: Regenerated.
23542         * config.make.in (CPPUNDEFS): New substituted variable.
23543         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23544         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23545         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23549         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23550         (mq_attr): Use __syscall_slong_t.
23552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23554         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23555         Check __x86_64__ instead of __WORDSIZE.
23556         (_STAT_VER_LINUX): Likewise.
23557         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23558         __syscall_ulong_t and __syscall_slong_t.
23559         (stat64): Likewise.
23561 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23563         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23565 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23567         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23571         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23572         __syscall_ulong_t.
23574         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23575         include <bits/wordsize.h>.  Check __x86_64__ instead of
23576         __WORDSIZE.
23577         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23578         defined.
23579         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23581         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23582         include <bits/wordsize.h>.  Check __x86_64__ instead of
23583         __WORDSIZE.
23584         (user_regs_struct): Use "__extension__ unsigned long long"
23585         instead of "unsigned long" if __x86_64__ is defined.
23586         (user): Likewise.  Pad after pointer field if __ILP32__ is
23587         defined.
23589 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23591         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23592         versions 5 to 9.
23593         * configure: Regenerated.
23594         * manual/install.texi (texinfo): Increase version requirement to
23595         4.5 or later.
23596         * INSTALL: Regenerated.
23598         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23600 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23602         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23604         * sysdeps/x86_64/x32/ffs.c: New file.
23606         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23607         __syscall_ulong_t.
23608         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23609         defined.  Use __syscall_ulong_t.
23610         (shminfo): Use __syscall_ulong_t.
23611         (shm_info): Likewise.
23613         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23614         __syscall_ulong_t.
23616         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23617         <bits/wordsize.h>.
23618         (msgqnum_t): Use __syscall_ulong_t.
23619         (msglen_t): Likewise.
23620         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23621         __syscall_ulong_t.
23623         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23624         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23626         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23628         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23629         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23631         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23632         __syscall_slong_t.
23634         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23635         include <bits/wordsize.h>.  Check __x86_64__ instead of
23636         __WORDSIZE.
23638         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23639         "unsigned long long int" if __x86_64__ is defined.
23640         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23642         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23643         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23644         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23646         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23647         <stdint.h>.
23648         (GET_PC): Cast to uintptr_t first.
23649         (GET_FRAME): Likewise.
23650         (GET_STACK): Likewise.
23652         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23653         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23654         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23656         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23658         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23659         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23660         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23661         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23662         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23663         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23664         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23665         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23669         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23671         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23673         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23674         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23675         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23676         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23677         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23678         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23679         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23682 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23684         * Makerules (+depfiles): Also collect depfiles from .oS in
23685         $(extra-objs).
23686         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23687         .oS, $(libnldbl-routines)).
23689         * Makerules (native-compile-mkdep-flags): Define.
23690         * sunrpc/Makefile (extra-objs): Add $(addprefix
23691         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23692         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23693         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23694         calling $(make-target-directory).
23696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23698         * bits/types.h (__snseconds_t): Removed.
23699         * time/time.h (struct timespec): Replace __snseconds_t with
23700         __syscall_slong_t.
23701         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23702         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23703         Likewise.
23704         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23705         (__SNSECONDS_T_TYPE): Likewise.
23706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23707         (__SNSECONDS_T_TYPE): Likewise.
23708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23709         (__SNSECONDS_T_TYPE): Likewise.
23711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23713         * sysdeps/mach/hurd/bits/typesizes.h
23714         (__SYSCALL_SLONG_TYPE): New macro.
23715         (__SYSCALL_ULONG_TYPE): Likewise.
23717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23719         * bits/types.h (__syscall_slong_t): New type.
23720         (__syscall_ulong_t): Likewise.
23722         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23723         (__SYSCALL_ULONG_TYPE): Likewise.
23724         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23725         (__SYSCALL_SLONG_TYPE): Likewise.
23726         (__SYSCALL_ULONG_TYPE): Likewise.
23727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23728         (__SYSCALL_SLONG_TYPE): Likewise.
23729         (__SYSCALL_ULONG_TYPE): Likewise.
23730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23731         (__SYSCALL_SLONG_TYPE): Likewise.
23732         (__SYSCALL_ULONG_TYPE): Likewise.
23734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23736         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23737         Add sigaltstack-offsets.sym.
23738         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23739         <sigaltstack-offsets.h>.
23740         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23741         longjmp_msg pointer.
23742         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23743         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23744         signal stack.
23745         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23747 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23749         * elf/stackguard-macros.h: Remove file.
23750         * sysdeps/generic/stackguard-macros.h: New file.
23751         * sysdeps/i386/stackguard-macros.h: Likewise.
23752         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23753         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23754         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23755         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23756         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23757         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23758         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23759         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23760         <elf/stackguard-macros.h>.
23762         [BZ #14109]
23763         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23764         __aligned__ in attribute.
23765         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23766         (gregset_t): Likewise.
23768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23770         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23771         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23772         * sysdeps/x86_64/x32/Implies-after: New file.
23774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23776         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23777         and access return value for _dl_profile_fixup.  Use R10_LP to
23778         load frame size.
23780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23782         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23786         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23787         * sysdeps/x86_64/x32/sysdep.h: New file.
23789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23791         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23792         * sysdeps/x86_64/setjmp.S: Likewise.
23794 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23796         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23797         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23798         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23799         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23800         remove unused global constant.
23802 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23804         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23805         include of <not-cancel.h>.
23807 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23809         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23811 2012-05-15  Jeff Law  <law@redhat.com>
23812             Andreas Jaeger  <aj@suse.de>
23814         [BZ #13594]
23815         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23816         out from...
23817         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23818         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23819         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23820         code changing __hst_map_handle.map.
23822 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23824         * configure.in (sysnames): Look for Implies-before and Implies-after
23825         files.
23826         * configure: Regenerated.
23828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23830         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23831         8-byte data alignment with LP_SIZE alignment.
23833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23835         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23836         into R10_LP.
23838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23840         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23844         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23845         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23847         Likewise.
23848         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23852         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23853         (stackinfo_sub_sp): Likewise.
23855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23858         RAX_LP.
23860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23862         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23863         into R*_LP.
23865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23867         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23868         sizes into R*_LP.
23870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23872         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23876         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23877         into R11_LP and load __x86_64_shared_cache_size_half into
23878         R8_LP.
23880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23883         R8_LP.
23885 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23887         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23888         logb for POWER7.
23889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23890         logbf for POWER7.
23891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23892         logbl for POWER7.
23893         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23894         powerpc32/power7/fpu/s_logb.c via #include.
23895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23896         powerpc32/power7/fpu/s_logbf.c via #include.
23897         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23898         powerpc32/power7/fpu/s_logbl.c via #include.
23900 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23902         * README.libm: Remove file.
23904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23906         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23907         count for x32.  Use R*_LP and omit operand-size suffix.
23909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23911         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23912         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23913         * sysdeps/x86_64/x32/shlib-versions: New file.
23915 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23917         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23918         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23919         Use _dl_fatal_printf instead.
23921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23923         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23924         set if not set by the user.  Do not allow for being unset.
23925         * sysdeps/unix/sysv/linux/configure: Regenerated.
23927 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23929         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23930         the `q' suffix from lea and replace .quad with ASM_ADDR.
23932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23935         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23936         instead of $17.
23937         (PTR_DEMANGLE): Likewise.
23939 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23941         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23942         (LP_OP): Likewise.
23943         (ASM_ADDR): Likewise.
23944         (RAX_LP): Likewise.
23945         (RBP_LP): Likewise.
23946         (RBX_LP): Likewise.
23947         (RCX_LP): Likewise.
23948         (RDI_LP): Likewise.
23949         (RSI_LP): Likewise.
23950         (RSP_LP): Likewise.
23951         (R8_LP): Likewise.
23952         (R9_LP): Likewise.
23953         (R10_LP): Likewise.
23954         (R10_LP): Likewise.
23955         (R11_LP): Likewise.
23956         (R12_LP): Likewise.
23957         (R13_LP): Likewise.
23958         (R14_LP): Likewise.
23959         (R15_LP): Likewise.
23961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23963         * sysdeps/x86_64/x32/dl-machine.h: New file.
23965 2012-05-14  Andreas Jaeger  <aj@suse.de>
23967         * manual/Makefile (subdir): Remove export of subdir.
23968         (all): Remove target.
23969         (.PHONY): Remove all from list.
23970         (mkinstalldirs): Remove.
23971         (.PHONY): Remove installdirs from list.
23972         ($(inst_infodir)/libc.info): Use make-target-directory.
23973         (installdirs): Remove.
23974         (subdir_%): Remove.
23975         (glibc-targets): Remove.
23976         (lib): Remove.
23977         (stubs): Remove.
23978         ($(objpfx)stubs ../po/manual.pot): Remove.
23979         ($(objpfx)stamp%): Remove.
23980         (make-target-directory): Remove.
23981         (subdir_install): Remove.
23982         (routines): Remove.
23983         (aux): Remove.
23984         (sources): Remove.
23985         (objects): Remove.
23986         (headers): Remove.
23988         [BZ #13750]
23989         * manual/.gitignore: Remove, it's not needed anymore.
23990         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23991         all files in it.
23992         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23993         directory.
23994         (texis): Renamed to $(objpfx)texis.
23995         (texis-path): New, contains path to generated files.
23996         (chapters.%): Use texis-path for complete path, add extra argument
23997         libc-texinfo.sh.
23998         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23999         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24000         (summary,texi, stamp-summary): Use complete path of
24001         files. Generate files in build dir.
24002         (dir-add.texi): Build in build dir.
24003         (libm-err.texi,stamp-libm-err): Likewise.
24004         (version.texi, stamp-version): Likewise.
24005         (.%c.texi): Likewise.
24006         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24007         (mostlyclean): Remove target.
24008         (realclean): Remove target.
24009         (generated): Add new variable with contents from mostlyclean and
24010         realclean, remove entries duplicated in common-mostlyclean, add
24011         stamp-libm-err and stamp-version.
24012         (generated-dirs): Add libc directory.
24013         ($(inst_infodir)/libc.info): Install files from build dir.
24015         * manual/install.texi (Configuring and compiling): Adjust since
24016         the info files are not part of the tar ball anymore.
24018 2012-05-14  Andreas Jaeger  <aj@suse.de>
24020         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24021         variable.
24023 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24025         [BZ #13717]
24026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24027         to 2.2.0 where earlier.
24028         * sysdeps/unix/sysv/linux/configure: Regenerated.
24029         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24030         Remove conditional code.
24031         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24032         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24033         Remove conditional code.
24034         [!__NR_lchown]: Likewise.
24035         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24036         [__NR_lchown]: Likewise.
24037         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24038         comment referencing __ASSUME_LCHOWN_SYSCALL.
24039         * sysdeps/unix/sysv/linux/i386/sigaction.c
24040         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24041         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24042         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24043         Remove conditional code.
24044         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24045         (__protocol_available): Remove #if 0 code.
24046         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24047         conditional code.
24048         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24049         * sysdeps/unix/sysv/linux/kernel-features.h
24050         (__ASSUME_GETCWD_SYSCALL): Don't define.
24051         (__ASSUME_REALTIME_SIGNALS): Likewise.
24052         (__ASSUME_PREAD_SYSCALL): Likewise.
24053         (__ASSUME_PWRITE_SYSCALL): Likewise.
24054         (__ASSUME_POLL_SYSCALL): Likewise.
24055         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24056         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24057         non-SPARC.
24058         (__ASSUME_SIOCGIFNAME): Don't define.
24059         (__ASSUME_MSG_NOSIGNAL): Likewise.
24060         (__ASSUME_SENDFILE): Define unconditionally.
24061         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24062         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24063         conditional code.
24064         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24065         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24066         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24067         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24068         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24069         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24070         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24072         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24075         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24078         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24081         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24082         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24084         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24085         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24087         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24088         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24090         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24091         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24093         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24095         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24096         Remove conditional code.
24097         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24098         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24099         Remove conditional code.
24100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24101         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24102         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24103         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24104         Remove conditional code.
24105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24106         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24107         Remove conditional code.
24108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24109         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24110         Remove conditional code.
24111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24112         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24113         Remove conditional code.
24114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24115         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24116         Remove conditional code.
24117         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24118         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24119         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24121         * sysdeps/unix/sysv/linux/sigaction.c
24122         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24123         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24124         * sysdeps/unix/sysv/linux/sigpending.c
24125         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24126         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24127         * sysdeps/unix/sysv/linux/sigprocmask.c
24128         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24129         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24130         * sysdeps/unix/sysv/linux/sigsuspend.c
24131         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24132         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24134         (__libc_missing_rt_sigs): Remove.
24135         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24136         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24137         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24138         Remove conditional code.
24139         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24140         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24141         return 1.
24142         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24143         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24144         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24145         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24147 2012-05-14  Andreas Jaeger  <aj@suse.de>
24149         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24150         it's not used in glibc.
24151         (__coshm1): Likewise.
24152         (__acosh1p): Likewise.
24153         (__sgn): Likewise.
24155         * manual/string.texi (Copying and Concatenation): Add missing
24156         variable in concat example.
24157         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24161         [BZ #14103]
24162         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24163         __builtin_clzl with __builtin_clzll.
24165 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24167         [BZ #14104]
24168         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24169         libc_freeres_ptr.
24171 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24173         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24174         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24175         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24176         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24178 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24180         * NEWS: Update ia64 info.
24182 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24184         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24185         used as bcopy.
24187 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24189         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24190         * sysdeps/unix/syscalls.list (dup3): Likewise.
24191         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24192         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24194 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24196         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24197         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24199 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24201         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24202         thread pointer.
24203         (TLS_IE): Use mov/add instead of movq/addq to load thread
24204         pointer.
24205         (TLS_GD_PREFIX): New.
24206         (TLS_GD): Use it.
24208 2012-05-11  David S. Miller  <davem@davemloft.net>
24210         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24211         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24212         (_FPU_SETCW): Likewise.
24214 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24216         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24217         is 32-byte aligned.
24219 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24221         [BZ #11837]
24222         * iconvdata/gb18030.c: Update tables.
24223         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24224         characters specially.
24225         (BODY for TO_LOOP): Add encoding of missing ranges.
24227 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24229         [BZ #13673]
24230         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24231         * sysdeps/mach/hurd/dup3.c: Likewise.
24232         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24233         * sysdeps/powerpc/memmove.c:: Likewise.
24235 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24238         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24240 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24242         * elf/elf.h (R_X86_64_RELATIVE64): New.
24243         (R_X86_64_NUM): Updated.
24244         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24245         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24246         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24247         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24248         tst-quad1pie tst-quad2pie
24249         (modules-names): Add tst-quadmod1 tst-quadmod2.
24250         ($(objpfx)tst-quad1): New dependency.
24251         ($(objpfx)tst-quad2): Likewise.
24252         ($(objpfx)tst-quad1pie): Likewise.
24253         ($(objpfx)tst-quad2pie): Likewise.
24254         * sysdeps/x86_64/tst-quad1.c: New file.
24255         * sysdeps/x86_64/tst-quad1pie.c: New file.
24256         * sysdeps/x86_64/tst-quad2.c: Likewise.
24257         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24258         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24259         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24260         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24261         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24265         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24266         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24267         * streams/stropts.h (t_scalar_t): Define type.
24269         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24270         (_PATH_PRESERVE): Set to "/var/lib".
24271         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24273         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24274         instead of int.
24276         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24277         if __dir_mkfile succeeded.
24279         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24280         checking for _hurd_dtablesize.  Unlock it right after having
24281         finished _hurd_dtable allocation.
24283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24285         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24286         * sysdeps/mach/hurd/configure: Regenerated.
24287         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24288         special-casing to...
24289         * sysdeps/gnu/configure.in: ... this new file.
24290         * sysdeps/unix/sysv/linux/configure: Regenerated.
24291         * sysdeps/gnu/configure: New generated file.
24293         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24294         for Linux: use nsec instead of usec, as well as:
24295         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24296         members of type struct timespec.
24297         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24298         New macros.
24299         (struct stat64): Likewise.
24300         (_STATBUF_ST_NSEC): New macro.
24301         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24303         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24304         __strtoul_internal rather than strtoul.
24306 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24308         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24309         and reject them.
24311 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24313         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24314         which preserves existing values.
24315         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24317 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24319         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24320         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24321         greater than FD_SETSIZE.
24323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24325         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24326         allocated, call __vm_protect to finish enabling the existing space, and
24327         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24328         allocate the remainder.
24330 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24332         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24333         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24335 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24337         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24338         sysdeps/mach/hurd/readlink.c.
24340         * posix/tst-sysconf.c (posix_options): Only use
24341         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24342         _POSIX_SYNCHRONIZED_IO when they are defined
24343         * sysdeps/mach/hurd/bits/posix_opt.h:
24344         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24345         (_XOPEN_REALTIME): Undefine macro.
24346         (_XOPEN_REALTIME_THREADS): Undefine macro.
24347         (_XOPEN_SHM): Undefine macro.
24348         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24349         macro to -1.
24350         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24351         macro to -1.
24352         (_POSIX_ASYNC_IO): Undefine macro.
24353         (_POSIX_PRIORITIZED_IO): Undefine macro.
24354         (_POSIX_SPIN_LOCKS): Define macro to -1.
24356         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24357         SA_NODEFER, SA_RESETHAND.
24358         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24359         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24360         F_DUPFD_CLOEXEC.
24362 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24364         * elf/Makefile (pldd-modules): Define unconditionally.
24366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24368         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24370 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24372         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24373         Return ENOENT when name is empty.
24374         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24378         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24380         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24384         Fix mlock in all cases except non-readable pages.
24385         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24386         instead of VM_PROT_ALL as parameter to __vm_wire function.
24388         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24389         (__mkdir): When path is `/', just fail with EEXIST.
24390         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24394         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24395         <sys/uio.h> (for writev).
24396         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24397         and <sys/param.h> (for MIN).
24399 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24401         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24402         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24403         if interrupted.
24405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24407         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24408         Depend on against $(link-rpcuserlibs).
24410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24412         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24413         (__libc_stack_end): Do not use attribute_relro.
24414         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24415         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24416         to libthread-provided value.
24417         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24418         attribute_relro.
24420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24422         [BZ #3748]
24423         * bits/libc-lock.h (__libc_once_get): New macro.
24424         * sysdeps/mach/bits/libc-lock.h: Likewise.
24425         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24426         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24427         instead of using implementation details.
24429         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24430         * libio/freopen.c: Likewise.
24431         * libio/freopen64.c: Likewise.
24432         * misc/syslog.c: Likewise.
24433         * nscd/connections.c: Likewise.
24434         * nscd/netgroupcache.c: Likewise.
24435         * sysdeps/posix/getcwd.c: Likewise.
24437 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24439         * math/w_ilogbf.c: Add #include <limits.h>.
24441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24443         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24444         path instead of returning without unlocking.
24446         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24447         immediate-write ioctls.
24448         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24450 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24452         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24453         __builtin_frame_address instead of making assumptions about the
24454         location of the return address relative to DATA.  Force early load of
24455         the return address.
24456         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24457         __builtin_frame_address.
24459         dup3 for GNU Hurd.
24460         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24461         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24462         implement dup3 and do some further code clean-ups.
24463         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24464         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24468         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24470         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24471         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24472         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24473         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24474         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24475         d->port.lock.
24477         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24478         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24479         when handler == SIG_ERR, not when handler != SIG_ERR.
24481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24483         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24484         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24485         definitions.
24487         accept4 for GNU Hurd.
24488         * include/sys/socket.h (__libc_accept4): New prototype.
24489         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24490         to implement __libc_accept4.
24491         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24492         __libc_accept4.
24493         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24495         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24496         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24497         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24498         signal-defines.sym.
24500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24502         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24506         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24507         assertion on O_CLOEXEC flag.
24508         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24509         * hurd/intern-fd.c: Likewise.
24510         * hurd/port2fd.c: Likewise.
24512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24514         [BZ #3906]
24515         * bits/in.h (IPV6_PKTINFO): Define new macro.
24516         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24518 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24520         [BZ #13954]
24521         [BZ #13955]
24522         [BZ #13956]
24523         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24524         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24525         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24526         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24528         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24529         * math/libm-test.inc (logb_test) : Additional logb tests.
24531 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24532             Andreas Jaeger  <aj@suse.de>
24534         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24535         * configure: Regenerated.
24536         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24537         * config.make.in (link-obsolete-rpc): New substituted variable.
24538         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24539         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24540         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24541         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24542         so that libc.a contains the symbols.
24543         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24544         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24545         * sunrpc/auth_none.c: Likewise.
24546         * sunrpc/auth_unix.c: Likewise.
24547         * sunrpc/authdes_prot.c: Likewise.
24548         * sunrpc/authuxprot.c: Likewise.
24549         * sunrpc/clnt_gen.c: Likewise.
24550         * sunrpc/clnt_perr.c: Likewise.
24551         * sunrpc/clnt_raw.c: Likewise.
24552         * sunrpc/clnt_simp.c: Likewise.
24553         * sunrpc/clnt_tcp.c: Likewise.
24554         * sunrpc/clnt_udp.c: Likewise.
24555         * sunrpc/clnt_unix.c: Likewise.
24556         * sunrpc/des_crypt.c: Likewise.
24557         * sunrpc/des_soft.c: Likewise.
24558         * sunrpc/get_myaddr.c: Likewise.
24559         * sunrpc/key_call.c: Likewise.
24560         * sunrpc/key_prot.c: Likewise.
24561         * sunrpc/netname.c: Likewise.
24562         * sunrpc/pm_getmaps.c: Likewise.
24563         * sunrpc/pm_getport.c: Likewise.
24564         * sunrpc/pmap_clnt.c: Likewise.
24565         * sunrpc/pmap_prot.c: Likewise.
24566         * sunrpc/pmap_prot2.c: Likewise.
24567         * sunrpc/pmap_rmt.c: Likewise.
24568         * sunrpc/publickey.c: Likewise.
24569         * sunrpc/rpc_cmsg.c: Likewise.
24570         * sunrpc/rpc_common.c: Likewise.
24571         * sunrpc/rpc_dtable.c: Likewise.
24572         * sunrpc/rpc_prot.c: Likewise.
24573         * sunrpc/rpc_thread.c: Likewise.
24574         * sunrpc/rtime.c: Likewise.
24575         * sunrpc/svc.c: Likewise.
24576         * sunrpc/svc_auth.c: Likewise.
24577         * sunrpc/svc_raw.c: Likewise.
24578         * sunrpc/svc_run.c: Likewise.
24579         * sunrpc/svc_tcp.c: Likewise.
24580         * sunrpc/svc_udp.c: Likewise.
24581         * sunrpc/svc_unix.c: Likewise.
24582         * sunrpc/svcauth_des.c: Likewise.
24583         * sunrpc/xcrypt.c: Likewise.
24584         * sunrpc/xdr.c: Likewise.
24585         * sunrpc/xdr_array.c: Likewise.
24586         * sunrpc/xdr_float.c: Likewise.
24587         * sunrpc/xdr_intXX_t.c: Likewise.
24588         * sunrpc/xdr_mem.c: Likewise.
24589         * sunrpc/xdr_rec.c: Likewise.
24590         * sunrpc/xdr_ref.c: Likewise.
24591         * sunrpc/xdr_sizeof.c: Likewise.
24592         * sunrpc/xdr_stdio.c: Likewise.
24594 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24597         change.  Update copyright years.
24599 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24601         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24603 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24604             Joseph Myers  <joseph@codesourcery.com>
24605             Paul Pluzhnikov  <ppluzhnikov@google.com>
24607         [BZ #14012]
24608         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24609         requiring rpcgen.
24610         [cross-compiling] (extra-libs): Likewise.
24611         [cross-compiling] (extra-libs-others): Likewise.
24612         [cross-compiling] (librpcsvc-routines): Likewise.
24613         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24614         [cross-compiling] (omit-deps): Likewise.
24615         (sunrpc-CPPFLAGS): New variable.
24616         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24617         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24618         (cross-rpcgen-objs): New variable.
24619         (extra-objs): Append $(cross-rpcgen-objs).
24620         ($(cross-rpcgen-objs)): New rule.
24621         ($(objpfx)cross-rpcgen): Likewise.
24622         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24623         comment.
24624         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24625         ($(objpfx)x%.stmp): Likewise.
24626         * sunrpc/proto.h [IS_IN_build] (_): Define.
24627         [IS_IN_build] (_libc_intl_domainname): Likewise.
24629 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24631         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24632         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24633         and R_X86_64_TPOFF64.
24635 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24637         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24638         sysdeps/unix/sysv/syscalls.list.
24639         (stime): Likewise.
24640         (utime): Likewise.
24641         * sysdeps/unix/sysv/syscalls.list: Remove file.
24643 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24645         [BZ #3440]
24646         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24647         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24648         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24649         (__LC_IDENTIFICATION): Make these macros useful in #if
24650         expressions, as required by C99.
24652 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24654         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24655         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24656         after this.
24658 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24660         * stdlib/longlong.h: Updated from GCC.
24662 2012-05-09  Andreas Jaeger  <aj@suse.de>
24664         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24665         default is first entry.
24666         (run_mode): Set type.
24667         (main): Remove informal message about syslog.
24668         (options): Fix typo.
24670         [BZ #14053]
24671         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24672         to asm.
24673         (lrint): Likewise.
24674         (llrintf): Likewise.
24675         (llrint): Likewise.
24676         (rint): Likewise.
24677         (rintf): Likewise.
24678         (nearbyint): Likewise.
24679         (nearbyintf): Likewise.
24681 2012-05-09  Andreas Jaeger  <aj@suse.de>
24682             Pedro Alves  <palves@redhat.com>
24684         * nscd/nscd.c (run_mode): Use enum.
24685         (main): Cleanup coding style issue.
24687 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24688             Andreas Jaeger  <aj@suse.de>
24690         * nscd/nscd.c (go_background): Replaced with...
24691         (run_mode): ... this.
24692         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24693         (options): Add -F --foreground.
24694         (main): Implement it.
24695         (parse_opt): Parse it.
24697 2012-05-09  Andreas Jaeger  <aj@suse.de>
24699         [BZ #14083]
24700         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24701         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24702         -Wconversion warning.
24703         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24704         Likewise.
24706 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24708         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24709         == 0.
24710         (LC_ALL): Use macro-int-constant.
24711         (LC_COLLATE): Likewise.
24712         (LC_CTYPE): Likewise.
24713         (LC_MESSAGES): Likewise.
24714         (LC_MONETARY): Likewise.
24715         (LC_NUMERIC): Likewise.
24716         (LC_TIME): Likewise.
24717         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24718         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24719         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24720         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24721         Specify type.
24722         [C99-based standards] (float_t): Expect type.
24723         [C99-based standards] (double_t): Expect type.
24724         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24725         type.
24726         [C99-based standards] (HUGE_VALL): Likewise.
24727         [C99-based standards] (INFINITY): Likewise.
24728         [C99-based standards] (NAN): Likewise.
24729         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24730         [C99-based standards] (FP_NAN): Likewise.
24731         [C99-based standards] (FP_NORMAL): Likewise.
24732         [C99-based standards] (FP_SUBNORMAL): Likewise.
24733         [C99-based standards] (FP_ZERO): Likewise.
24734         [C99-based standards] (FP_FAST_FMA): Use
24735         optional-macro-int-constant.  Specify type.  Require == 1.
24736         [C99-based standards] (FP_FAST_FMAF): Likewise.
24737         [C99-based standards] (FP_FAST_FMAL): Likewise.
24738         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24739         [C99-based standards] (FP_ILOGBNAN): Likewise.
24740         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24741         Specify type.
24742         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24743         [C99-based standards] (math_errhandling): Specify type.
24744         [ISO99 || ISO11] (signgam): Do not allow.
24745         [non-C99-based standards] (copysignf): Do not allow.
24746         [non-C99-based standards] (exp2f): Likewise.
24747         [non-C99-based standards] (log2f): Likewise.
24748         [non-C99-based standards] (modff): Allow.
24749         [non-C99-based standards] (erff): Do not allow.
24750         [non-C99-based standards] (erfcf): Likewise.
24751         [non-C99-based standards] (gammaf): Likewise.
24752         [non-C99-based standards] (hypotf): Likewise.
24753         [non-C99-based standards] (j0f): Likewise.
24754         [non-C99-based standards] (j1f): Likewise.
24755         [non-C99-based standards] (jnf): Likewise.
24756         [non-C99-based standards] (lgammaf): Likewise.
24757         [non-C99-based standards] (tgammaf): Likewise.
24758         [non-C99-based standards] (y0f): Likewise.
24759         [non-C99-based standards] (y1f): Likewise.
24760         [non-C99-based standards] (ynf): Likewise.
24761         [non-C99-based standards] (isnanf): Likewise.
24762         [non-C99-based standards] (acoshf): Likewise.
24763         [non-C99-based standards] (asinhf): Likewise.
24764         [non-C99-based standards] (atanhf): Likewise.
24765         [non-C99-based standards] (cbrtf): Likewise.
24766         [non-C99-based standards] (expm1f): Likewise.
24767         [non-C99-based standards] (ilogbf): Likewise.
24768         [non-C99-based standards] (log1pf): Likewise.
24769         [non-C99-based standards] (logbf): Likewise.
24770         [non-C99-based standards] (nextafterf): Likewise.
24771         [non-C99-based standards] (remainderf): Likewise.
24772         [non-C99-based standards] (rintf): Likewise.
24773         [non-C99-based standards] (scalbf): Likewise.
24774         [non-C99-based standards] (copysignl): Likewise.
24775         [non-C99-based standards] (exp2l): Likewise.
24776         [non-C99-based standards] (log2l): Likewise.
24777         [non-C99-based standards] (modfl): Allow.
24778         [non-C99-based standards] (erfl): Do not allow.
24779         [non-C99-based standards] (erfcl): Likewise.
24780         [non-C99-based standards] (gammal): Likewise.
24781         [non-C99-based standards] (hypotl): Likewise.
24782         [non-C99-based standards] (j0l): Likewise.
24783         [non-C99-based standards] (j1l): Likewise.
24784         [non-C99-based standards] (jnl): Likewise.
24785         [non-C99-based standards] (lgammal): Likewise.
24786         [non-C99-based standards] (tgammal): Likewise.
24787         [non-C99-based standards] (y0l): Likewise.
24788         [non-C99-based standards] (y1l): Likewise.
24789         [non-C99-based standards] (ynl): Likewise.
24790         [non-C99-based standards] (isnanl): Likewise.
24791         [non-C99-based standards] (acoshl): Likewise.
24792         [non-C99-based standards] (asinhl): Likewise.
24793         [non-C99-based standards] (atanhl): Likewise.
24794         [non-C99-based standards] (cbrtl): Likewise.
24795         [non-C99-based standards] (expm1l): Likewise.
24796         [non-C99-based standards] (ilogbl): Likewise.
24797         [non-C99-based standards] (log1pl): Likewise.
24798         [non-C99-based standards] (logbl): Likewise.
24799         [non-C99-based standards] (nextafterl): Likewise.
24800         [non-C99-based standards] (remainderl): Likewise.
24801         [non-C99-based standards] (rintl): Likewise.
24802         [non-C99-based standards] (scalbl): Likewise.
24803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24804         [non-C99-based standards] (FP_*): Do not allow.
24805         [C99-based standards] (FP_*): Change to
24806         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24807         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24808         allow.
24809         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24810         (SIG_ERR): Likewise.
24811         [X/Open-based standards] (SIG_HOLD): Likewise.
24812         (SIG_IGN): Likewise.
24813         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24814         positive value.
24815         (SIGFPE): Likewise.
24816         (SIGILL): Likewise.
24817         (SIGINT): Likewise.
24818         (SIGSEGV): Likewise.
24819         (SIGTER): Likewise.
24820         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24821         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24822         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24824         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24825         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24826         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24827         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24828         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24829         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24830         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24831         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24832         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24833         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24834         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24835         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24836         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24837         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24838         [X/Open-based standards] (SIGTRAP): Likewise.
24839         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24840         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24841         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24842         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24843         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24844         allow.
24846 2012-05-08  Ian Wienand  <ianw@vmware.com>
24848         [BZ #14080]
24849         * time/tzset.c (__tzset_parse_tz): Update default rules for
24850         daylight time changes in the Energy Policy Act of 2005.
24852 2012-05-09  Andreas Jaeger  <aj@suse.de>
24854         [BZ #13983]
24855         * elf/ldconfig.c (parse_conf): Change string to make clear that
24856         ldconfig only issued a warning if ld.so.conf does not exist.
24858 2012-05-08  David S. Miller  <davem@davemloft.net>
24860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24861         movxtod instead of popping the value on the stack.
24863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24865 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24867         * config.h.in: Add HAVE_ARM_PCS_VFP.
24869 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24871         [BZ #13979]
24872         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24873         checking but the checks are disabled for any reason.
24875 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24877         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24878         and ELF64_R_TYPE with ELFW(R_TYPE).
24880 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24882         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24883         (ulimit): Likewise.
24885         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24886         (settimeofday): Likewise.
24888 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24890         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24891         a struct th_u2 inside the union, and move tu_block/tu_code into
24892         a new th_u3 union of tu_block/tu_code inside of that.  Move
24893         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24894         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24895         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24896         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24897         (th_stuff): Change to th_u1.tu_stuff.
24898         (th_data): Define.
24899         (th_msg): Change to th_u1.th_u2.tu_data.
24901 2012-05-07  David S. Miller  <davem@davemloft.net>
24903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24905         [BZ #14074]
24906         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24907         (SETUP_PIC_REG): Use it.
24908         (SETUP_PIC_REG_LEAF): Use it.
24910 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24912         [BZ #13885]
24913         [BZ #13923]
24914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24915         USE_AS_EXPM1L.
24916         (EXPL_FINITE): Likewise.
24917         (FLDLOG): Likewise.
24918         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24919         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24920         e_expl.S.
24921         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24922         USE_AS_EXPM1L.
24923         (EXPL_FINITE): Likewise.
24924         (FLDLOG): Likewise.
24925         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24926         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24927         e_expl.S.
24928         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24929         test of -max_value argument for long double.
24930         * sysdeps/i386/fpu/libm-test-ulps: Update.
24931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24933 2012-05-06  David S. Miller  <davem@davemloft.net>
24935         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24936         quad soft-float symbols whose references which are compiler
24937         generated.
24938         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24940 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24942         [BZ #13884]
24943         [BZ #13914]
24944         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24945         USE_AS_EXP10L.
24946         (EXPL_FINITE): Likewise.
24947         (FLDLOG): Likewise.
24948         (c0): Likewise.
24949         (c1): Likewise.
24950         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24951         Adjust comments for base varying.
24952         (__expl_finite): Change alias to EXPL_FINITE.
24953         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24954         e_expl.S.
24955         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24956         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24957         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24958         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24959         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24960         USE_AS_EXP10L.
24961         (EXPL_FINITE): Likewise.
24962         (FLDLOG): Likewise.
24963         (c0): Likewise.
24964         (c1): Likewise.
24965         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24966         Adjust comments for base varying.
24967         (__expl_finite): Change alias to EXPL_FINITE.
24968         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24969         tests for bugs.
24970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24972         [BZ #14064]
24973         * math/libm-test.inc (check_float_internal): Correct ulp
24974         calculation for subnormal expected results.
24976 2012-05-06  Andreas Jaeger  <aj@suse.de>
24978         * Makeconfig (+math-flags): New, set to -frounding-math.
24979         (+cflags): Add +math-flags so that all of glibc gets compiled with
24980         it.
24982         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24984 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24986         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24987         Disable one test.
24989         [BZ #13787]
24990         [BZ #13922]
24991         [BZ #14036]
24992         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24993         (__ieee754_expl): Allow for and saturate large arguments.
24994         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24995         (u_threshold): Likewise.
24996         (__exp): Call __ieee754_exp before checking for overflow and
24997         underflow.
24998         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24999         (u_threshold): Likewise.
25000         (__expf): Call __ieee754_expf before checking for overflow and
25001         underflow.
25002         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25003         (u_threshold): Likewise.
25004         (__expl): Call __ieee754_expl before checking for overflow and
25005         underflow.
25006         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25007         (__ieee754_expl): Allow for and saturate large arguments.
25008         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25009         missing overflow exception on overflow.
25010         (expm1_test): Do not allow missing overflow exception on overflow.
25012         * sysdeps/i386/fpu/e_expl.c: Move to ...
25013         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25014         rather than using inline asm.
25015         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25016         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25017         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25019         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25020         (nice): Likewise.
25021         (poll): Likewise.
25022         (signal): Likewise.
25023         (time): Likewise.
25024         (times): Likewise.
25026 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25028         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25029         sysdeps/unix/common/syscalls.list.
25030         (fchmod): Likewise.
25031         (fchown): Likewise.
25032         (ftruncate): Likewise.
25033         (getrusage): Likewise.
25034         (gettimeofday): Likewise.
25035         (setpgid): Likewise.
25036         (setregid): Likewise.
25037         (setreuid): Likewise.
25038         (sigaction): Likewise.
25039         (truncate): Likewise.
25040         (vhangup): Likewise.
25041         * sysdeps/unix/common/syscalls.list: Remove file.
25042         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25043         * sysdeps/unix/sysv/linux/Implies: Likewise.
25045 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25047         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25049         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25050         Moved to ...
25051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25052         Here.
25053         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25054         to ...
25055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25056         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25057         to ...
25058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25059         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25060         to ...
25061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25062         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25063         to ...
25064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25065         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25066         to ...
25067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25068         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25069         to ...
25070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25071         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25072         to ...
25073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25074         Here.
25075         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25076         to ...
25077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25078         Here.
25079         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25080         to ...
25081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25082         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25083         Moved to ...
25084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25085         Here.
25086         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25087         to ...
25088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25090 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25092         * sysdeps/unix/common/bits/dirent.h: Remove file.
25093         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25095         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25096         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25097         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25098         * sysdeps/unix/bsd/isatty.c: Likewise.
25099         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25100         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25101         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25103 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25105         [BZ #13563]
25106         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25107         long double comparison inaccuracies.
25108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25111 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25113         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25114         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25116 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25118         [BZ #14049]
25119         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25120         nonzero digits before rounding a hex value.
25121         * stdlib/tst-strtod.c (tests): Add another test.
25123 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25125         * sysdeps/s390/fpu/libm-test-ulps: Update.
25127 2012-05-03  Andreas Jaeger  <aj@suse.de>
25129         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25130         does not get optimized out.
25131         (malloc_opt_barrier): New.
25133 2012-05-03  Andreas Jaeger  <aj@suse.de>
25134             Roland McGrath  <roland@hack.frob.com>
25136         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25137         intermediate file deletion.
25138         (generated): Add .symlist files.
25140 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25142         [BZ #13775]
25143         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25144         Redirect under this condition.
25145         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25146         [__USE_GNU] (__dprintf_chk): Not under this condition.
25147         [__USE_GNU] (__vdprintf_chk): Likewise.
25148         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25149         under this condition.
25150         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25151         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25152         [__USE_XOPEN2K8] (vdprintf): Likewise.
25153         [__USE_GNU] (__dprintf_chk): Not under this condition.
25154         [__USE_GNU] (__vdprintf_chk): Likewise.
25155         [__USE_GNU] (dprintf): Likewise.
25156         [__USE_GNU] (vdprintf): Likewise.
25158 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25160         * elf/Makefile (common-generated): Set this instead of generated for
25161         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25162         $(all-built-dso)-derived lists.
25164 2012-05-03  Andreas Jaeger  <aj@suse.de>
25166         * sysdeps/i386/fpu/libm-test-ulps: Update.
25168         * FAQ: Removed.
25169         * FAQ.in: Likewise.
25170         * scripts/gen-FAQ.pl: Likewise.
25171         * manual/install.texi (Installation): Point to online location of
25172         FAQ.
25173         * Makefile (files-for-dist): Remove FAQ.
25174         (FAQ): Remove.
25176 2012-05-02  Allan McRae  <allan@archlinux.org>
25178         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25179         (LDFLAGS-reldepmod5.so): Likewise.
25180         (LDFLAGS-reldep6mod1.so): Likewise.
25181         (LDFLAGS-reldep6mod4.so): Likewise.
25182         (LDFLAGS-reldep8mod3.so): Likewise.
25183         (LDFLAGS-unload4mod1.so): Likewise.
25184         (LDFLAGS-unload4mod2.so): Likewise.
25185         (LDFLAGS-tst-initorder): Likewise.
25186         (LDFLAGS-tst-initordera2.so): Likewise.
25187         (LDFLAGS-tst-initordera3.so): Likewise.
25188         (LDFLAGS-tst-initordera4.so): Likewise.
25189         (LDFLAGS-tst-initorderb2.so): Likewise.
25190         (LDFLAGS-noload): Likewise.
25191         (LDFLAGS-next): Likewise.
25192         (LDFLAGS-order2mod1.so): Likewise.
25193         (LDFLAGS-order2mod2.so): Likewise.
25194         (LDFLAGS-tst-initorder2): Likewise.
25195         (LDFLAGS-tst-initorder2a.so): Likewise.
25196         (LDFLAGS-tst-initorder2b.so): Likewise.
25197         (LDFLAGS-tst-initorder2c.so): Likewise.
25198         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25200 2012-05-02  David S. Miller  <davem@davemloft.net>
25202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25204 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25206         [BZ #14055]
25207         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25209 2012-05-02  Andreas Jaeger  <aj@suse.de>
25211         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25212         since we manipulate rounding mode.
25213         (CPPFLAGS-test-idouble.c): Likewise.
25214         (CPPFLAGS-test-ifloat.c): Likewise.
25215         (CFLAGS-test-ldouble.c): Likewise.
25216         (CFLAGS-test-double.c): Likewise.
25217         (CFLAGS-test-float.c): Likewise.
25218         (CFLAGS-test-misc.c): Likewise.
25219         (CFLAGS-test-test-fenv.c): Likewise.
25221 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25223         [BZ #2550]
25224         [BZ #2570]
25225         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25226         comparisons to determine direction to adjust input.
25228 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25230         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25231         output to the target.
25233         * scripts/localplt.awk: New file.
25234         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25235         (check-localplt-CFLAGS): Variable removed.
25236         ($(all-built-dso:=.jmprel)): New static pattern rule.
25237         (generated): Add those targets.
25238         (localplt-built-dso): New variable.
25239         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25241         * elf/check-localplt.c: File removed.
25243         * scripts/check-execstack.awk: New file.
25244         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25245         (check-execstack-CFLAGS): Variable removed.
25246         ($(objpfx)check-execstack.h): Target removed.
25247         ($(objpfx)execstack-default): New target.
25248         (generated): Add that instead of check-execstack.h.
25249         ($(all-built-dso:=.phdr)): New static pattern rule.
25250         (generated): Add those targets.
25251         * elf/check-execstack.c: File removed.
25253         * scripts/check-textrel.awk: New file.
25254         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25255         (check-textrel-CFLAGS): Variable removed.
25256         (all-built-dso): Use := to define.o
25257         ($(all-built-dso:=.dyn)): New static pattern rule.
25258         (generated): Add those targets.
25259         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25260         * config.make.in (READELF): New substituted variable.
25261         * elf/check-textrel.c: File removed.
25263 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25265         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25266         allow.
25267         * conform/data/ctype.h-data [C99-based standards] (isblank):
25268         Expect function.
25269         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25270         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25271         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25272         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25273         Specify type.  Require positive value.
25274         (EILSEQ): Likewise.
25275         (ERANGE): Likewise.
25276         [ISO || POSIX] (EILSEQ): Do not expect.
25277         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25278         Specify type.  Require positive value.
25279         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25280         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25281         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25282         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25283         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25284         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25285         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25286         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25287         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25288         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25290         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25292         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25293         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25294         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25295         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25296         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25314         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25321         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25326         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25327         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25328         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25329         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25330         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25331         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25332         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25334         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25335         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25336         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25337         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25338         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25339         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25340         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25341         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25342         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25343         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25344         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25345         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25346         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25347         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25348         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25349         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25350         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25351         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25352         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25353         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25354         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25355         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25356         Require >= 2.
25357         (FLT_ROUNDS): Expect as macro, not constant.
25358         (FLT_MANT_DIG): Use macro-int-constant.
25359         (DBL_MANT_DIG): Likewise.
25360         (LDBL_MANT_DIG): Likewise.
25361         (FLT_DIG): Likewise.
25362         (DBL_DIG): Likewise.
25363         (LDBL_DIG): Likewise.
25364         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25365         (DBL_MIN_EXP): Likewise.
25366         (LDBL_MIN_EXP): Likewise.
25367         (FLT_MAX_EXP): Use macro-int-constant.
25368         (DBL_MAX_EXP): Likewise.
25369         (LDBL_MAX_EXP): Likewise.
25370         (FLT_MAX_10_EXP): Likewise.
25371         (DBL_MAX_10_EXP): Likewise.
25372         (LDBL_MAX_10_EXP): Likewise.
25373         (FLT_MAX): Use macro-constant.
25374         (DBL_MAX): Likewise.
25375         (LDBL_MAX): Likewise.
25376         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25377         (DBL_EPSILON): Likewise.
25378         (LDBL_EPSILON): Likewise.
25379         (FLT_MIN): Likewise.
25380         (DBL_MIN): Likewise.
25381         (LDBL_MIN): Likewise.
25382         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25383         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25384         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25385         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25386         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25387         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25388         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25389         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25390         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25391         [ISO11] (FLT_TRUE_MIN): Likewise.
25392         [ISO11] (LDBL_TRUE_MIN): Likewise.
25393         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25394         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25395         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25396         (SCHAR_MAX): Likewise.
25397         (UCHAR_MAX): Likewise.
25398         (CHAR_MIN): Likewise.
25399         (CHAR_MAX): Likewise.
25400         (MB_LEN_MAX): Use macro-int-constant.
25401         (SHRT_MIN): Use macro-int-constant.  Specify type.
25402         (SHRT_MAX): Likewise.
25403         (USHRT_MAX): Likewise.
25404         (INT_MAX): Likewise.
25405         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25406         bound negative.
25407         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25408         bound with "U".
25409         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25410         bound with "L".
25411         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25412         bound negative.  Suffix upper bound with "L".
25413         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25414         bound with "UL".
25415         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25416         Specify type.
25417         [C99-based standards] (LLONG_MAX): Likewise.
25418         [C99-based standards] (ULLONG_MAX): Likewise.
25419         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25420         == 0.
25421         [ISO11] (max_align_t): Require type.
25422         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25424         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25425         from $CFLAGS, without defining away __attribute__ calls.
25426         (checknamespace): Use $CFLAGS_namespace.
25428         * conform/conformtest.pl (@keywords): Only include C99 keywords
25429         for standards based on C99 or C11.
25431         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25432         Disable tests.
25433         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25434         UNIX98]: Likewise.
25436         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25437         usability of symbols in #if.
25439         * conform/conformtest.pl: If macro or constant types start
25440         "promoted:", expect the symbol to be of the following type
25441         promoted by the integer promotions.
25443         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25444         in one place.  Also handle "macro-constant".
25446         * conform/conformtest.pl: Only accept expected macro values with
25447         "==".  Parse all "macro" lines in one place.
25448         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25450         * conform/conformtest.pl: Handle braced types on "constant" lines
25451         instead of handling "typed-constant".
25452         * conform/data/signal.h-data: Use "constant" instead of
25453         "typed-constant".
25455         * conform/conformtest.pl: Handle "optional-" at start of lines in
25456         one place rather than duplicating several cases.  Handle each
25457         format of "macro" line with initial "optional-".
25459         * conform/conformtest.pl: Only accept expected constant or
25460         optional-constant values with "==".  Parse all "constant" lines in
25461         one place.  Parse all "optional-constant" lines in one place.
25462         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25463         * conform/data/fmtmsg.h-data: Likewise.
25464         * conform/data/netinet/in.h-data: Likewise.
25465         * conform/data/tar.h-data: Likewise.
25466         * conform/data/limits.h-data: Use "==" form on "constant" and
25467         "optional-constant" lines.
25469         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25470         Use -std=c99 for XOPEN2K.
25471         (@knownproblems): Remove.
25472         (newtoken): Don't check %isknown.
25474         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25475         Do not expect macro.
25476         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25477         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25478         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25479         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25480         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25481         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25482         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25483         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25484         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25485         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25486         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25487         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25488         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25489         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25490         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25491         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25492         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25493         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25494         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25495         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25498         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25499         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25505         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25506         [XPG3] (acosh): Likewise.
25507         [XPG3] (asinh): Likewise.
25508         [XPG3] (atanh): Likewise.
25509         [XPG3] (cbrt): Likewise.
25510         [XPG3] (expm1): Likewise.
25511         [XPG3] (ilogb): Likewise.
25512         [XPG3] (log1p): Likewise.
25513         [XPG3] (logb): Likewise.
25514         [XPG3] (nextafter): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25517         [XPG3] (remainder): Likewise.
25518         [XPG3] (rint): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25523         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25524         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25525         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25526         [UNIX98 || XOPEN2K] (scalb): Expect.
25527         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25528         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25529         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25530         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25531         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25534         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25535         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25543         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25544         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25545         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25620         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25621         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25622         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25623         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25624         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25625         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25626         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25627         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25628         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25629         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25630         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25631         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25632         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25633         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25634         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25635         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25636         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25637         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25638         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25639         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25640         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25641         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25642         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25643         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25644         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25645         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25646         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25647         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25648         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25649         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25650         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25651         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25652         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25653         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25654         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25655         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25656         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25657         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25658         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25659         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25660         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25661         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25662         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25663         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25665         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25666         _XOPEN_SOURCE_EXTENDED for XPG4.
25668         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25670         * Makeconfig (localtime): Remove variable.
25671         (inst_localtime-file): Likewise.
25673 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25676         Update.
25677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25678         Update.
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25680         Update.
25681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25682         Update.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25684         Update.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25686         Update.
25687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25688         Update.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25690         Update.
25691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25692         Update.
25694 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25696         [BZ #2550]
25697         [BZ #2570]
25698         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25699         comparisons to determine direction to adjust input.
25700         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25701         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25702         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25703         Likewise.
25704         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25705         Likewise.
25706         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25707         Likewise.
25708         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25709         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25710         Likewise.
25711         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25712         Likewise.
25713         * math/libm-test.inc (nexttoward_test): Add more tests.
25715 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25717         [BZ #14040]
25718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25719         in version GLIBC_2.1, not GLIBC_2.0.
25720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25721         Likewise.
25723 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25725         [BZ #13942]
25726         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25727         (1 - x) * (1 + x).
25728         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25729         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25730         * math/libm-test.inc (acos_test): Add more tests.
25731         (asin_test): Likewise.
25732         * sysdeps/i386/fpu/libm-test-ulps: Update.
25733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25735         [BZ #14034]
25736         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25737         of square root.
25738         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25739         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25740         * math/libm-test.inc (acos_test_tonearest): New function.
25741         (acos_test_towardzero): Likewise.
25742         (acos_test_downward): Likewise.
25743         (acos_test_upward): Likewise.
25744         (asin_test_tonearest): Likewise.
25745         (asin_test_towardzero): Likewise.
25746         (asin_test_downward): Likewise.
25747         (asin_test_upward): Likewise.
25748         (main): Call the new functions.
25749         * sysdeps/i386/fpu/libm-test-ulps: Update.
25750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25752         [BZ #13884]
25753         [BZ #13924]
25754         * math/e_exp10.c: Include <float.h>.
25755         (__ieee754_exp10): Handle underflow here rather than multiplying
25756         large negative argument by M_LN10.
25757         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25758         of __ieee754_expf.
25759         * math/e_exp10l.c: Include <float.h>.
25760         (__ieee754_exp10l): Handle underflow here rather than multiplying
25761         large negative argument by M_LN10l.
25762         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25763         spurious overflow exception on underflow.
25765 2012-04-29  Marek Polacek  <polacek@redhat.com>
25767         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25768         (__fortify_function): New macro.
25769         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25770         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25771         __extern_always_inline.
25772         * libio/bits/stdio2.h: Likewise.
25773         * libio/bits/stdio.h: Likewise.
25774         * string/string.h: Likewise.
25775         * string/bits/string3.h: Likewise.
25776         * include/stdio.h: Likewise.
25777         * stdlib/bits/stdlib.h: Likewise.
25778         * stdlib/stdlib.h: Likewise.
25779         * rt/bits/mqueue2.h: Likewise.
25780         * rt/mqueue.h: Likewise.
25781         * posix/bits/unistd.h: Likewise.
25782         * posix/unistd.h: Likewise.
25783         * io/bits/poll2.h: Likewise.
25784         * io/bits/fcntl2.h: Likewise.
25785         * io/fcntl.h: Likewise.
25786         * io/sys/poll.h: Likewise.
25787         * misc/bits/syslog.h: Likewise.
25788         * misc/bits/syslog-ldbl.h: Likewise.
25789         * misc/sys/syslog.h: Likewise.
25790         * socket/bits/socket2.h: Likewise.
25791         * socket/sys/socket.h: Likewise.
25792         * debug/tst-chk1.c: Likewise.
25793         * wcsmbs/bits/wchar2.h: Likewise.
25794         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25795         * wcsmbs/wchar.h: Likewise.
25797 2012-04-29  Andreas Jaeger  <aj@suse.de>
25799         * Makerules (tests): Remove enable-check-abi protection.
25800         (check-abi-warn): Remove.
25801         (check-abi-%): Remove check-abi-warn usage.
25803         * configure.in: Remove check-abi configure option.
25804         * configure: Regenerated.
25805         * config.make.in (enable-check-abi): Remove.
25807 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25809         [BZ #14033]
25810         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25811         double functions to double *_finite functions.
25813         [BZ #13941]
25814         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25815         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25816         LDBL_MIN_EXP.
25817         * stdio-common/Makefile (tests): Add tst-sprintf3.
25818         * stdio-common/tst-sprintf3.c: New file.
25820         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25821         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25823 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25825         * conform/conformtest.pl: Remove duplicate typed-constant
25826         handling.
25828 2012-04-28  David S. Miller  <davem@davemloft.net>
25830         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25831         (check-abi-%): Remove AWK script prerequisite and explicit
25832         abilist directory.
25833         (check-abi): Rewrite to just diff the symlist with the abilist.
25834         (config-tls, config-abi-config): Delete, no longer used.
25835         (update-abi-%): Remove AWK script and explicit abilist directory.
25836         (update-abi): Rewrite to simply compare and conditionally copy the
25837         symlist and the sysdep abilist file.  Remove update-abi-config
25838         checks.
25839         * abilist/ld.abilist: Remove.
25840         * abilist/libBrokenLocale.abilist: Remove.
25841         * abilist/libanl.abilist: Remove.
25842         * abilist/libcrypt.abilist: Remove.
25843         * abilist/libdl.abilist: Remove.
25844         * abilist/librt.abilist: Remove.
25845         * abilist/libthread_db.abilist: Remove.
25846         * abilist/libutil.abilist: Remove.
25847         * scripts/extract-abilist.awk: Remove.
25848         * scripts/merge-abilist.awk: Remove.
25849         * sysdeps/generic/libcidn.abilist: New file.
25850         * sysdeps/generic/libnss_compat.abilist: New file.
25851         * sysdeps/generic/libnss_db.abilist: New file.
25852         * sysdeps/generic/libnss_dns.abilist: New file.
25853         * sysdeps/generic/libnss_files.abilist: New file.
25854         * sysdeps/generic/libnss_hesiod.abilist: New file.
25855         * sysdeps/generic/libnss_nis.abilist: New file.
25856         * sysdeps/generic/libnss_nisplus.abilist: New file.
25857         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25858         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25859         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25860         file.
25861         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25862         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25863         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25864         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25865         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25866         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25867         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25868         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25869         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25870         file.
25871         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25872         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25873         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25874         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25875         file.
25876         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25877         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25878         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25879         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25880         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25881         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25882         file.
25883         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25884         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25885         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25886         file.
25887         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25889         New file.
25890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25891         New file.
25892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25893         New file.
25894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25895         New file.
25896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25897         New file.
25898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25899         New file.
25900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25901         New file.
25902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25903         New file.
25904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25905         New file.
25906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25907         New file.
25908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25909         New file.
25910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25911         New file.
25912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25913         New file.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25915         file.
25916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25917         New file.
25918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25919         New file.
25920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25921         file.
25922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25923         New file.
25924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25925         New file.
25926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25927         file.
25928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25929         New file.
25930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25931         New file.
25932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25933         New file.
25934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25935         New file.
25936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25937         New file.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25939         New file.
25940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25942         file.
25943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25944         New file.
25945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25946         file.
25947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25948         file.
25949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25950         file.
25951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25952         file.
25953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25954         file.
25955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25956         New file.
25957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25958         file.
25959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25960         file.
25961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25962         New file.
25963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25964         file.
25965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25967         file.
25968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25969         New file.
25970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25971         file.
25972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25973         file.
25974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25975         file.
25976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25977         file.
25978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25979         file.
25980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25981         New file.
25982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25983         file.
25984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25985         file.
25986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25987         New file.
25988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25989         file.
25990         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25991         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25992         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25993         file.
25994         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25995         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25996         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25997         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25998         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25999         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26000         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26001         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26002         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26003         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26006         file.
26007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26008         New file.
26009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26010         file.
26011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26012         file.
26013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26014         file.
26015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26016         file.
26017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26018         file.
26019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26020         New file.
26021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26022         New file.
26023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26024         file.
26025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26026         New file.
26027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26028         file.
26029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26031         file.
26032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26033         New file.
26034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26035         file.
26036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26037         file.
26038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26039         file.
26040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26041         file.
26042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26043         file.
26044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26045         New file.
26046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26047         New file.
26048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26049         file.
26050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26051         New file.
26052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26053         file.
26055 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26057         * conform/conformtest.pl: Fix typo in handling typed-constant from
26058         allow-header.
26060 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26062         * README: Cut down references to pre-2.6 Linux kernels and
26063         Linuxthreads.  Update lists of configurations in libc and ports
26064         and sort alphabetically.  Say "or newer" with Linux kernel version
26065         requirements.
26067         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26069 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26071         [BZ #887]
26072         * math/libm-test.inc (logb_test_downward): New test to expose
26073         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26074         rounding mode.
26076 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26078         [BZ #14027]
26079         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26080         to be done.
26081         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26082         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26084 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26086         * sysdeps/unix/i386/brk.S: Remove file.
26087         * sysdeps/unix/i386/dl-brk.S: Likewise.
26088         * sysdeps/unix/i386/pipe.S: Likewise.
26089         * sysdeps/unix/i386/sigreturn.S: Likewise.
26090         * sysdeps/unix/i386/syscall.S: Likewise.
26091         * sysdeps/unix/i386/vfork.S: Likewise.
26092         * sysdeps/unix/i386/wait.S: Likewise.
26094         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26095         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26097         * configure.in (arm*-none*): Do not allow without
26098         --enable-hacker-mode.
26099         (netbsd*): Remove case setting base_os.
26100         (386bsd*): Likewise.
26101         (freebsd*): Likewise.
26102         (bsdi*): Likewise.
26103         (osf*): Likewise.
26104         (sunos*): Likewise.
26105         (ultrix*): Likewise.
26106         (newsos*): Likewise.
26107         (dynix*): Likewise.
26108         (*bsd*): Likewise.
26109         (sysv*): Likewise.
26110         (isc*): Likewise.
26111         (esix*): Likewise.
26112         (sco*): Likewise.
26113         (minix*): Likewise.
26114         (irix4*): Likewise.
26115         (irix6*): Likewise.
26116         (solaris[2-9]*): Likewise.
26117         (none): Likewise.
26118         * configure: Regenerated.
26120 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26122         [BZ #11521]
26123         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26124         overflow or cancellation in calculating denominator.
26125         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26126         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26127         down expression to avoid unexpected rounding in newer GCCs.
26128         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26130 2012-04-26  David S. Miller  <davem@davemloft.net>
26132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26133         long-double compat symbols.
26134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26148 2012-04-25  David S. Miller  <davem@davemloft.net>
26150         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26151         HWCAP_* values only after the memory barriers have been defined.
26152         (atomic_full_barrier): Define.
26153         (atomic_read_barrier): Define.
26154         (atomic_write_barrier): Define.
26156 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26158         * shlib-versions: Add libgcc_s version information.
26159         * sysdeps/generic/libgcc_s.h: Remove.
26160         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26161         libgcc_s.h.
26162         * sysdeps/gnu/unwind-resume.c: Likewise.
26163         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26165 2012-04-25  David S. Miller  <davem@davemloft.net>
26167         * sysdeps/unix/sparc/brk.S: Delete.
26168         * sysdeps/unix/sparc/dl-brk.S: Delete.
26169         * sysdeps/unix/sparc/pipe.S: Delete.
26170         * sysdeps/unix/sparc/sysdep.S: Delete.
26171         * sysdeps/unix/sparc/sysdep.h: Delete.
26172         * sysdeps/unix/sparc/vfork.S: Delete.
26173         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26174         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26175         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26176         ret_ERRVAL, r0, r1, MOVE): Define.
26177         (JUMPTARGET): Remove.
26178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26179         sysdeps/unix/sparc/sysdep.h
26180         (ENTRY, END): Remove.
26181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26183 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26185         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26186         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26187         -DIS_IN_build.
26189         * timezone/README: Update upstream location and email address for
26190         tzcode and tzdata.
26191         * timezone/zdump.c: Update from tzcode 2012b.
26192         * timezone/zic.c: Likewise.
26194         * configure.in (libc_cv_as_needed): Remove test.
26195         * configure: Regenerated.
26196         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26197         conditional definition.
26198         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26199         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26200         * config.make.in (have-as-needed): Remove variable.
26202 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26203             Paul Pluzhnikov  <ppluzhnikov@google.com>
26205         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26206         strings correctly.
26208 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26210         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26211         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26212         * sysdeps/sh/strlen.S: Likewise.
26214 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26216         * sysdeps/unix/fork.S: Remove file.
26217         * sysdeps/unix/i386/fork.S: Likewise.
26218         * sysdeps/unix/sparc/fork.S: Likewise.
26220         * sysdeps/unix/system.c: Remove file.
26221         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26223         * sysdeps/unix/getegid.S: Remove file.
26224         * sysdeps/unix/geteuid.S: Likewise.
26226 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26228         * scripts/check-localplt.awk: New file.
26229         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26230         of diff.
26231         * scripts/data/localplt-generic.data: Add a comment.
26233         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26234         NODE when __dir_mkfile failed.
26235         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26236         Reported by Ludovic Courtès <ludo@gnu.org>.
26238 2012-04-24  Andreas Jaeger  <aj@suse.de>
26240         * Makerules (common-clean): Also remove gen-as-const-headers
26241         files.
26243 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26245         * Makerules (native-compile): Do not change working directory for
26246         build.  Use $(OUTPUT_OPTION) in command.
26247         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26249 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26251         [BZ #13886]
26252         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26253         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26254         * math/libm-test.inc (floor_test): Add more tests.
26255         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26257 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26259         * sysdeps/unix/getdents.c: Remove file.
26260         * sysdeps/unix/sysv/getdents.c: Likewise.
26261         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26263         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26264         sysdeps/unix/mman/syscalls.list.
26265         (mmap): Likewise.
26266         (mprotect): Likewise.
26267         (msync): Likewise.
26268         (munmap): Likewise.
26269         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26270         * sysdeps/unix/mman/syscalls.list: Remove.
26271         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26273         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26274         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26275         * configure: Regenerated.
26276         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26277         $(libgcc_s_suffix).
26278         * config.make.in (libgcc_s_suffix): Remove variable.
26280 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26282         * sysdeps/unix/sysv/gethostname.c: Move to ...
26283         * sysdeps/posix/gethostname.c: ... here.
26285         * sysdeps/unix/execve.S: Remove file.
26287         * sysdeps/unix/_exit.S: Remove file.
26289 2012-04-23  Andreas Jaeger  <aj@suse.de>
26291         [BZ #13739]
26292         * manual/Makefile: Remove make dist support, there's no
26293         need for a stand-alone documentation tar ball.
26294         (TEXI2DVI): Define always, it's not in Makeconfig.
26295         (dist): Removed.
26296         (tar-it): Removed.
26297         (edition): Removed.
26298         (glibc-doc-$(edition).tar): Removed
26299         (%.Z): Removed.
26300         (%.gz): Removed.
26301         (%.uu): Removed.
26302         (ETAGS): Remove, it's in Makeconfig.
26303         (move-if-change): Remove, it's in Makeconfig.
26305 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26307         [BZ #13970]
26308         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26309         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26310         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26311         (strtod_l, strtof_l, strtold_l): Remove __wur.
26312         It is not necessarily an error to ignore strtol's return value.
26313         One can reliably look at the stored endptr to decide whether
26314         the number had valid syntax.
26316 2012-04-21  Andreas Jaeger  <aj@suse.de>
26318         [BZ #13739]
26319         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26321 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26323         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26324         * sysdeps/unix/sysv/Versions: Remove file.
26326 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26328         [BZ #13927]
26329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26331 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26333         [BZ #7064]
26334         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26335         version from __vm86.
26337 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26339         * sysdeps/unix/common/lxstat.c: Remove file.
26340         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26342         * sysdeps/unix/sysv/Makefile: Remove file.
26344         * sysdeps/unix/sysv/direct.h: Remove file.
26346         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26347         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26348         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26349         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26350         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26351         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26352         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26354         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26356         * sysdeps/unix/xmknod.c: Remove file.
26357         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26359         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26361         * sysdeps/unix/sysv/i386/time.S: Remove file.
26363         * sysdeps/unix/fxstat.c: Remove file.
26364         * sysdeps/unix/xstat.c: Likewise.
26365         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26367         * sysdeps/unix/sysv/sigaction.c: Remove file.
26369         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26370         (sysdep_headers): Remove variable.
26371         [termio.h not in sysdep_headers] (generated): Likewise.
26372         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26373         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26374         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26375         * sysdeps/unix/sysv/tcflow.c: Likewise.
26376         * sysdeps/unix/sysv/tcflush.c: Likewise.
26377         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26378         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26379         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26380         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26381         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26383         * sysdeps/unix/siglist.c: Remove file.
26385         * sysdeps/unix/getppid.S: Remove file.
26387         * sysdeps/unix/mkdir.c: Remove file.
26388         * sysdeps/unix/rmdir.c: Likewise.
26390 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26392         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26393         ERR_MAX value.
26394         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26395         errlist-compat value.
26397 2012-04-18  David S. Miller  <davem@davemloft.net>
26399         * sysdeps/generic/memcopy.h (reg_char): Delete.
26400         * debug/strcat_chk.c: Use char, not reg_char.
26401         * debug/strcpy_chk.c: Likewise.
26402         * debug/strncat_chk.c: Likewise.
26403         * debug/strncpy_chk.c: Likewise.
26404         * string/memchr.c: Likewise.
26405         * string/memrchr.c: Likewise.
26406         * string/rawmemchr.c: Likewise.
26407         * string/strcat.c: Likewise.
26408         * string/strchr.c: Likewise.
26409         * string/strchrnul.c: Likewise.
26410         * string/strcmp.c: Likewise.
26411         * string/strcpy.c: Likewise.
26412         * string/strncat.c: Likewise.
26413         * string/strncmp.c: Likewise.
26414         * string/strncpy.c: Likewise.
26416 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26418         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26419         __builtin_memcopy is called when src and dest ranges are known to not
26420         overlap.
26422 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26424         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26425         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26426         fwd_align_merge macro call.
26427         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26428         bwd_align_merge macro call.
26429         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26431 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26433         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26434         bwd_align_merge macros.
26435         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26436         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26437         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26439 2012-04-18  David S. Miller  <davem@davemloft.net>
26441         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26443 2012-04-18  Andreas Jaeger  <aj@suse.de>
26445         [BZ# 6794]
26446         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26447         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26448         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26450         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26451         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26452         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26454         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26455         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26456         Adjust for changed ldbl-128 files.
26458         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26459         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26460         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26462 2012-04-17  David S. Miller  <davem@davemloft.net>
26464         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26466 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26468         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26469         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26470         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26471         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26472         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26473         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26475 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26477         [BZ #6794]
26478         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26479         * math/libm-test.inc: Add ilogb errno and exception tests.
26480         * math/w_ilogb.c: New file: ilogb wrapper.
26481         * math/w_ilogbf.c: New file: ilogbf wrapper.
26482         * math/w_ilogbl.c: New file: ilogbl wrapper.
26483         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26484         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26485         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26486         exception being thrown with 0.0 as argument.
26487         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26488         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26489         exception being thrown with 0.0 as argument.
26490         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26491         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26492         exception being thrown with 0.0 as argument.
26493         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26494         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26495         exception being thrown with 0.0 as argument.
26496         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26497         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26498         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26499         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26500         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26501         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26502         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26503         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26504         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26506 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26508         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26509         with altivec.
26511 2012-04-16  Marek Polacek  <polacek@redhat.com>
26513         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26515 2012-04-16  Marek Polacek  <polacek@redhat.com>
26517         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26518         operands of fdivp instruction.
26520 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26522         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26523         * elf/tst-auditmod3b.c: Likewise.
26524         * elf/tst-auditmod4b.c: Likewise.
26525         * elf/tst-auditmod5b.c: Likewise.
26526         * elf/tst-auditmod6b.c: Likewise.
26527         * elf/tst-auditmod6c.c: Likewise.
26528         * elf/tst-auditmod7b.c: Likewise.
26529         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26530         * sysdeps/x86_64/preconfigure.in: Likewise.
26531         * sysdeps/x86_64/preconfigure: Regenerated.
26533 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26535         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26536         __ILP32__.
26538 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26540         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26541         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26543 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26545         [BZ #13973]
26546         * locale/iso-639.def: Fix gl language name. Spotted by
26547         Yaron Shahrabani.
26549 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26551         [BZ #2074]
26552         * libio/libio.h (__io_write_fn): Update comment.
26554 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26556         [BZ #2074]
26557         * stdio.texi (Hook Functions): The user provided writer function
26558         is not allowed to return -1.
26560 2012-04-11  David S. Miller  <davem@davemloft.net>
26562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26564 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26566         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26567         Add a leading slash to rtkaio.
26569 2012-04-11  Jim Meyering  <meyering@redhat.com>
26571         [BZ #11959]
26572         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26573         It is not necessarily an error to ignore fwrite's return
26574         value.  One can reliably use ferror to test for errors after
26575         the fact.
26577 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26579         * bits/types.h (__snseconds_t): New type.
26580         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26582         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26584         (__SNSECONDS_T_TYPE): Likewise.
26585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26586         (__SNSECONDS_T_TYPE): Likewise.
26587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26588         (__SNSECONDS_T_TYPE): Likewise.
26590 2012-04-10  Andreas Jaeger  <aj@suse.de>
26592         [BZ #2636]
26593         * manual/time.texi (Processor Time): Return type of times is
26594         elapsed real time since an arbitrary point in the past.
26595         (CPU Time): Move CLK_TCK from here...
26596         (Processor Time): ...to here.  Correct description.
26597         * manual/conf.texi (Constants for Sysconf): Correct description of
26598         _SC_CLK_TCK.
26600 2012-04-10  David S. Miller  <davem@davemloft.net>
26602         [BZ #13967]
26603         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26604         where the is a gap between DT_REL(A) and DT_JMPREL.
26606 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26608         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26609         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26610         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26612 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26614         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26615         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26616         (dl_main): Handle --inhibit-cache.
26617         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26618         _dl_inhibit_cache.
26619         * elf/dl-load.c (_dl_map_object): Use it.
26620         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26622 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26624         [BZ #13872]
26625         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26626         (__ieee754_powl): Saturate large exponents rather than testing for
26627         overflow of y*log2(x).
26628         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26629         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26630         exceptions.
26632         [BZ #11521]
26633         * math/s_ctan.c: Include <float.h>.
26634         (__ctan): Avoid internal overflow or cancellation in calculating
26635         denominator.
26636         * math/s_ctanf.c: Likewise.
26637         * math/s_ctanl.c: Likewise.
26638         * math/s_ctanh.c: Likewise.
26639         * math/s_ctanhf.c: Likewise.
26640         * math/s_ctanhl.c: Likewise.
26641         * math/libm-test.inc (ctan_test): Add more tests.
26642         (ctanh_test): Likewise.
26643         * sysdeps/i386/fpu/libm-test-ulps: Update.
26644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26646 2012-04-09  Andreas Jaeger  <aj@suse.de>
26648         [BZ #6894]
26649         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26650         is an optional BSD extension.
26652         [BZ #10254]
26653         * manual/stdio.texi (Opening Streams): Document additional fopen
26654         parameters.
26656 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26658         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26659         %eax without telling the compiler.
26661 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26663         [BZ # 13963]
26664         * manual/install.texi: Use sourceware.org.
26666 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26668         [BZ #13873]
26669         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26670         (__ieee754_pow): Generate overflow and underflow using huge*huge
26671         and tiny*tiny rather than just returning constant infinity or zero
26672         for large exponents.
26673         * math/libm-test.inc (pow_test): Require overflow exceptions for
26674         applicable cases of large exponents.
26676         [BZ #706]
26677         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26678         (__ieee754_pow): Use iterative multiplication algorithm only for
26679         integer exponents with absolute value below 1024.  Check for odd
26680         integer exponents when using algorithm for real exponents.
26681         * math/libm-test.inc (pow_test): Add more tests.
26682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26684 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26686         [BZ #13705]
26687         * math/libm-test.inc (exp_test): Do not allow overflow exception
26688         on underflow test.
26690 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26692         [BZ #13705]
26693         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26694         instead of __kernel_standard_f.
26696 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26698         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26699         * sysdeps/x86_64/memset_chk.S: Likewise.
26701 2012-04-08  Andreas Jaeger  <aj@suse.de>
26703         [BZ #10153]
26704         * manual/startup.texi (Environment Access): Describe return value
26705         for putenv and setenv.
26707         [BZ #6895]
26708         * manual/filesys.texi (Directory Entries): Add description for
26709         DT_LNK.
26711         [BZ #6890]
26712         * manual/filesys.texi (Directory Entries): Clarify that it's file
26713         system not operating system in the description of DT_UNKNOWN.
26715         [BZ #6578]
26716         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26718 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26720         [BZ #6649]
26721         * manual/llio.texi (Opening and Closing Files): Add cross
26722         reference to explain mode argument.
26724 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26726         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26727         * sysdeps/x86_64/memset_chk.S: Likewise.
26729 2012-04-07  David S. Miller  <davem@davemloft.net>
26731         * elf/elf.h (R_SPARC_WDISP10): Define.
26732         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26733         R_SPARC_SIZE32.
26734         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26735         R_SPARC_SIZE64 and R_SPARC_H34.
26737 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26740         conditions and remove no longer applicable assertion.
26742 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26744         * bits/byteswap.h: Include <features.h>.
26745         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26746         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26748 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26750         * bits/byteswap.h (__bswap_16): Removed.
26751         Include <bits/byteswap-16.h> to get __bswap_16.
26752         * sysdeps/i386/bits/byteswap.h: Likewise.
26753         * sysdeps/s390/bits/byteswap.h: Likewise.
26754         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26755         * bits/byteswap-16.h: New file.
26756         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26757         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26758         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26759         * string/Makefile (headers): Add bits/byteswap-16.h.
26761 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26763         [BZ #13895]
26764         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26765         extra indirection.
26766         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26767         * nss/tst-nss-static.c: New.
26769 2012-04-06  Robert Millan  <rmh@gnu.org>
26771         [BZ #6486]
26772         * manual/llio.texi (File Position Primitive): lseek
26773         refers to WHENCE when it really means OFFSET.
26775 2012-04-06  Andreas Jaeger  <aj@suse.de>
26777         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26778         strncmp declarations.
26780         * abilist/libc.abilist: Add __poll and __ppoll.
26782 2012-04-05  David S. Miller  <davem@davemloft.net>
26784         * scripts/check-local-headers.sh: Accept a host triplet in the
26785         path matched by the exclude regexp.
26787         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26788         definition.
26789         * sysdeps/powerpc/powerpc32/dl-machine.h
26790         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26791         * sysdeps/s390/s390-32/dl-machine.h
26792         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26793         * sysdeps/sparc/sparc32/dl-machine.h
26794         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26795         * sysdeps/sparc/sparc64/dl-machine.h
26796         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26798         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26799         lazy binding.
26800         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26801         undefined symbol errors.
26803         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26804         DT_NEEDED entries.
26806 2012-04-05  Michael Matz  <matz@suse.de>
26808         [BZ #13592]
26809         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26811 2012-04-05  Andreas Jaeger  <aj@suse.de>
26813         [BZ #13908]
26814         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26815         comment.
26817 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26819         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26820         which ROUND is no valid rounding mode.
26822 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26824         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26825         read again.
26826         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26828 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26830         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26831         an exception using FPU order intentionally.
26833 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26835         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26836         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26837         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26838         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26840 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26842         [BZ #12340]
26843         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26844         EINVAL when BUFLEN is too smal.
26846 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26848         [BZ #13553]
26849         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26850         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26852 2012-04-03  Andreas Jaeger  <aj@suse.de>
26854         [BZ #13938]
26855         * manual/setjmp.texi (System V contexts): Fix sentence.
26857         [BZ #13926]
26858         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26859         New macro for this case.
26860         [!__GNUC__] (__bswap_64): New inline function for this case.
26861         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26862         * bits/byteswap.h: Likewise.
26863         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26864         ull, guard with __GLIBC_HAVE_LONG_LONG.
26866         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26867         __GLIBC_HAVE_LONG_LONG.
26869         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26870         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26872 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26874         [BZ #13691]
26875         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26876         inptr and inend, rather than using last_ch.
26878 2012-04-02  David S. Miller  <davem@davemloft.net>
26880         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26881         * stdio-common/printf-parse.h (read_int): Change return type to
26882         'int', return -1 on INT_MAX overflow.
26883         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26884         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26885         overflows INT_MAX.  Check for overflow of in-format-string precision
26886         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26887         SIZE_MAX not INT_MAX for integer overflow test.
26888         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26889         skip the construct in the format string but do not record anything.
26890         * stdio-common/bug22.c: Adjust to test both width/prevision
26891         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26892         explicitly for proper errno values.
26894 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26896         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26897         CHAR_MAX.
26898         * string/test-strcmp.c [! WIDE]: Likewise.
26899         * time/tst-mktime2.c: Likewise for INT_MAX.
26900         * string/test-string.h: #include <sys/param.h> for MIN.
26902         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26903         * sysdeps/i386/init-first.c (init): Likewise.
26904         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26905         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26906         * sysdeps/sh/init-first.c (init): Likewise.
26908 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26910         * po/ru.po: Update from translation team.
26911         * po/vi.po: Likewise.
26913 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         * resolv/nss_dns/dns-host.c: Merge copyright years.
26917 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26920         Optimize memcpy with prefetch if
26921         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26922         src, dst pointers have unequal 16 byte alignments.
26924 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26926         [BZ #13928]
26927         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26928         from a CNAME entry and return the minimum ttl for the query.
26929         (gaih_getanswer_slice): Likewise.
26931 2012-03-30  Jeff Law  <law@redhat.com>
26933         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26934         due to long keys.
26935         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26936         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26938         * resolv/nss_dns/dns-host.c: Update copyright year.
26940 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26942         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26943         requests to save a system call.  Fix check that all bytes are sent.
26945         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26946         comments for sendmmsg.
26948 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26950         [BZ #13691]
26951         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26952         with only 1 character between 0x0041 and 0x01b0.
26953         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26954         * wcsmbs/tst-mbsnrtowcs.c: New file.
26956 2012-03-29  David S. Miller  <davem@davemloft.net>
26958         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26959         small copies by hand.
26961 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26963         [BZ #13761]
26964         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26965         _nss_compat_initgroups_dyn): Fall back to malloc/free
26966         for large group memberships.
26968 2012-03-28  David S. Miller  <davem@davemloft.net>
26970         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26971         that branches into memcpy.
26972         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26975         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26977         bits.
26978         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26979         implementation too.
26980         * sysdeps/sparc/mempcpy.S: New file.
26982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26983         the IFUNC routine in the libc case.
26984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26986         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26987         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26988         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26989         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26990         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26991         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26992         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26993         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26995         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26996         loop to 256 bytes instead of 64 bytes and fix test signedness.
26998         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26999         * sysdeps/sparc/sparc32/Makefile: rather than here...
27000         * sysdeps/sparc/sparc64/Makefile: and here.
27002 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27004         * malloc/mallocbug.c: Avoid warnings about unused variables.
27006 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27008         [BZ #13760]
27009         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27010         in the right place. Discard and retry query if response is
27011         larger than input buffer size.
27013 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27015         [BZ #369]
27016         [BZ #2678]
27017         [BZ #3866]
27018         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27019         x for large integer exponent.
27020         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27021         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27022         sign of result as needed afterwards.
27023         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27024         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27025         result for underflowing pow the same as for overflow.
27026         (__kernel_standard_l): Handle powl overflow and underflow here
27027         rather than calling __kernel_standard.
27028         * math/libm-test.inc (pow_test): Add more tests.
27030         [BZ #3868]
27031         [BZ #13879]
27032         [BZ #13910]
27033         [BZ #13911]
27034         [BZ #13912]
27035         [BZ #13913]
27036         [BZ #13915]
27037         [BZ #13916]
27038         [BZ #13917]
27039         [BZ #13918]
27040         [BZ #13919]
27041         [BZ #13920]
27042         [BZ #13921]
27043         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27044         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27045         (__kernel_standard_l): New function.
27046         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27047         __kernel_standard.
27048         * math/w_acosl.c (__acosl): Likewise.
27049         * math/w_asinl.c (__asinl): Likewise.
27050         * math/w_atan2l.c (__atan2l): Likewise.
27051         * math/w_atanhl.c (__atanhl): Likewise.
27052         * math/w_coshl.c (__coshl): Likewise.
27053         * math/w_exp10l.c (__exp10l): Likewise.
27054         * math/w_exp2l.c (__exp2l): Likewise.
27055         * math/w_fmodl.c (__fmodl): Likewise.
27056         * math/w_hypotl.c (__hypotl): Likewise.
27057         * math/w_j0l.c (__j0l, __y0l): Likewise.
27058         * math/w_j1l.c (__j1l, __y1l): Likewise.
27059         * math/w_jnl.c (__jnl, __ynl): Likewise.
27060         * math/w_lgammal.c (__lgammal): Likewise.
27061         * math/w_log10l.c (__log10l): Likewise.
27062         * math/w_log2l.c (__log2l): Likewise.
27063         * math/w_logl.c (__logl): Likewise.
27064         * math/w_powl.c (__powl): Likewise.
27065         * math/w_remainderl.c (__remainderl): Likewise.
27066         * math/w_scalbl.c (sysv_scalbl): Likewise.
27067         * math/w_sinhl.c (__sinhl): Likewise.
27068         * math/w_sqrtl.c (__sqrtl): Likewise.
27069         * math/w_tgammal.c (__tgammal): Likewise.
27070         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27071         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27072         * math/libm-test.inc (acos_test): Add more tests.
27073         (acosh_test): Likewise.
27074         (asin_test): Likewise.
27075         (atanh_test): Likewise.
27076         (exp_test): Likewise.
27077         (exp10_test): Likewise.
27078         (exp2_test): Likewise.
27079         (expm1_test): Likewise.
27080         (lgamma_test): Likewise.
27081         (log_test): Likewise.
27082         (log10_test): Likewise.
27083         (log1p_test): Likewise.
27084         (log2_test): Likewise.
27085         (pow_test): Do not allow some spurious overflow exceptions.
27086         (sqrt_test): Add more tests.
27087         (tgamma_test): Likewise.
27088         (y0_test): Likewise.
27089         (y1_test): Likewise.
27090         (yn_test): Likewise.
27092 2012-03-27  Anton Blanchard  <anton@samba.org>
27094         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27095         MAP_HUGETLB.
27096         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27097         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27098         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27100 2012-03-27  David S. Miller  <davem@davemloft.net>
27102         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27104         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27105         have-as-vis3 check.
27107 2012-03-27  Andreas Jaeger  <aj@suse.de>
27109         * sysdeps/x86_64/elf/configure.in: Moved to ...
27110         * sysdeps/x86_64/configure.in: ... here.
27111         * sysdeps/x86_64/elf/start.S: Moved to ...
27112         * sysdeps/x86_64/start.S: ... here.
27113         * sysdeps/x86_64/elf/configure: Delete.
27115         * sysdeps/x86_64/configure.in: Merge contents from
27116         sysdeps/i386/configure.in (without i686 check).
27118         * sysdeps/i386/elf/Versions: Merge into ...
27119         * sysdeps/i386/Versions: ... this.
27120         * sysdeps/i386/elf/Versions: Delete file.
27121         * sysdeps/i386/elf/start.S: Moved to ...
27122         * sysdeps/i386/start.S: ...here.
27123         * sysdeps/i386/elf/configure.in: Merge into...
27124         * sysdeps/i386/configure.in: ...here.
27125         * sysdeps/i386/elf/configure.in: Delete file.
27126         * sysdeps/i386/elf/configure: Delete file.
27128         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27129         * debug/backtracesyms.c: ... here.
27130         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27131         * debug/backtracesymsfd.c: ... here.
27132         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27133         * sysdeps/generic/ifunc-sel.h: ... here.
27135         * sysdeps/unix/i386/start.c: Delete file.
27136         * sysdeps/unix/sparc/start.c: Delete file.
27137         * sysdeps/unix/start.c: Delete file.
27139         * sysdeps/sh/elf/configure.in: Moved to ...
27140         * sysdeps/sh/configure.in: ... here.
27141         * sysdeps/sh/elf/start.S: Moved to ...
27142         * sysdeps/sh/start.S: ... here.
27143         * sysdeps/sh/elf/configure: Delete file.
27145         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27146         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27147         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27148         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27149         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27150         * sysdeps/powerpc/powerpc64/start.S: here.
27151         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27152         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27153         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27154         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27155         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27157         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27158         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27159         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27160         * sysdeps/powerpc/powerpc32/start.S: ... here.
27161         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27162         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27163         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27165         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27166         * sysdeps/powerpc/ifunc-sel.h: ... here.
27167         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27168         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27170         * sysdeps/sparc/elf/configure.in: Moved to ...
27171         * sysdeps/sparc/configure.in: ... here.
27172         * sysdeps/sparc/elf/configure: Delete file.
27173         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27174         * sysdeps/sparc/sparc32/start.S: ... here.
27175         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27176         * sysdeps/sparc/sparc64/start.S: ... here.
27177         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27178         * sysdeps/sparc/sparc32/Makefile: ... this.
27179         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27180         * sysdeps/sparc/sparc64/Makefile: ... this.
27182         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27183         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27184         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27185         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27186         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27187         * sysdeps/s390/s390-32/setjmp.S: ... here.
27188         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27189         * sysdeps/s390/s390-32/configure.in: ... here.
27190         * sysdeps/s390/s390-32/elf/configure: Delete file.
27191         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27192         * sysdeps/s390/s390-32/start.S: ... here.
27194         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27195         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27196         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27197         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27198         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27199         * sysdeps/s390/s390-64/setjmp.S: ... here.
27200         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27201         * sysdeps/s390/s390-64/configure.in: ... here
27202         * sysdeps/s390/s390-64/elf/configure: Delete file.
27203         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27204         * sysdeps/s390/s390-64/start.S: ... here.
27205         * sysdeps/s390/s390-64/elf/configure: Delete.
27207         * configure.in: Remove support for elf directories in sysdeps.
27209         * configure: Regenerated.
27210         * sysdeps/i386/configure: Regenerated.
27211         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27212         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27213         * sysdeps/s390/s390-32/configure: Regenerated.
27214         * sysdeps/s390/s390-64/configure: Regenerated.
27215         * sysdeps/sh/configure: Regenerated.
27216         * sysdeps/sparc/configure: Regenerated.
27217         * sysdeps/x86_64/configure: Regenerated.
27219 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27223         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27224         denormal result into account.
27226 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27228         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27229         Reported by Allan McRae <allan@archlinux.org>.
27231 2012-03-23  Jeff Law  <law@redhat.com>
27233         * nss/getnssent.c (__nss_getent): Fix typo.
27235 2012-03-23  David S. Miller  <davem@davemloft.net>
27237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27239 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27241         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27242         to pad to uint64_t for each field.
27243         (dl_tls_index): Replace unsigned long with uint64_t.
27245 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27246         Paul Pluzhnikov  <ppluzhnikov@google.com>
27248         [BZ #6528]
27249         * grp/Makefile (otherlibs): Don't set it.
27250         * inet/Makefile (otherlibs): Likewise.
27251         * login/Makefile (otherlibs): Likewise.
27252         * nscd/Makefile (otherlibs): Likewise.
27253         * posix/Makefile (otherlibs): Likewise.
27254         * pwd/Makefile (otherlibs): Likewise.
27255         * rt/Makefile (otherlibs): Likewise.
27256         * sunrpc/Makefile (otherlibs): Likewise.
27257         * nss/Makefile (otherlibs): Likewise.
27258         Add libnss_files to routines and static-only-routines.
27259         ($(objpfx)getent): Remove rule.
27260         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27261         static-only-routines.
27263 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27265         [BZ #13892]
27266         * math/s_cexp.c: Include <float.h>.
27267         (__cexp): Handle exp result overflowing not necessarily
27268         overflowing both real and imaginary parts of result.
27269         * math/s_cexpf.c: Likewise.
27270         * math/s_cexpl.c: Likewise.
27271         * math/libm-test.inc (cexp_test): Add more tests.
27272         * sysdeps/i386/fpu/libm-test-ulps: Update.
27273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27275 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27277         * include/link.h (ELFW): New macro.
27278         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27279         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27281 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27283         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27284         with uint64_t.
27286 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27288         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27289         declaration.
27290         (struct La_x32_retval): Likewise.
27292 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27294         * sysdeps/x86_64/preconfigure.in: New file.
27295         * sysdeps/x86_64/preconfigure: New generated file.
27297 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27299         [BZ #13824]
27300         * math/e_exp2l.c: Include <float.h>.
27301         (__ieee754_exp2l): Handle overflow and underflow cases
27302         separately.  Only pass fractional part of argument to
27303         __ieee754_expl.
27304         * math/libm-test.inc (exp2_test): Add more tests.
27306         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27307         negating x to take absolute value.
27308         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27309         Likewise.
27310         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27311         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27312         Likewise.
27313         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27314         computing low part if x was negated.
27315         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27317 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27319         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27320         la_x32_gnu_pltexit.
27321         (pltexit): Cast int_retval to ptrdiff_t.
27322         * elf/tst-auditmod3b.c: Likewise.
27323         * elf/tst-auditmod4b.c: Likewise.
27324         * elf/tst-auditmod5b.c: Likewise.
27325         * elf/tst-auditmod6b.c: Likewise.
27326         * elf/tst-auditmod6c.c: Likewise.
27327         * elf/tst-auditmod7b.c: Likewise.
27329         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27330         and x32_gnu_pltexit.
27332         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27333         __ELF_NATIVE_CLASS.
27334         (La_x32_regs): New macro.
27335         (La_x32_retval): Likewise.
27336         (la_x32_gnu_pltenter): New function prototype.
27337         (la_x32_gnu_pltexit): Likewise.
27339 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27341         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27342         exponent.
27344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27346         * configure.in (libc_cv_cc_nofma): Check for option to disable
27347         generation of FMA instructions.
27348         * configure: Regenerate.
27349         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27350         * sysdeps/ieee754/dbl-64/Makefile: New file.
27351         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27352         Remove brandred-fma4.
27353         (CFLAGS-brandred-fma4.c): Remove.
27354         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27355         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27356         define.
27357         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27358         define.
27360 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27362         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27363         LLONG_MAX != LONG_MAX.
27364         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27365         (_fitoa_word): Likewise.
27366         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27367         LLONG_MAX != LONG_MAX.
27368         * stdio-common/_itowa.h: Include <_itoa.h>.
27369         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27370         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27371         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27372         only if not defined.
27373         (_ITOA_WORD_TYPE): Likewise.
27374         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27375         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27377 2012-03-21  David S. Miller  <davem@davemloft.net>
27379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27381 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27383         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27384         of x86_64 when setting libc_cv_slibdir, libdir and
27385         libc_cv_localedir.
27386         * sysdeps/unix/sysv/linux/configure: Regenerated.
27388 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27390         * manual/lang.texi (Old Varargs): Remove section.
27391         (How Variadic): Update menu.
27392         (va_start): Do not mention varargs.h.
27394 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27395             Joseph Myers  <joseph@codesourcery.com>
27397         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27398         link test.
27399         * configure: Regenerated.
27401 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27403         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27404         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27405         conformtest.pl
27407 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27409         * NOTES: Remove.
27410         * Makefile (files-for-dist): Remove NOTES.
27411         (NOTES): Remove rule.
27412         * README: Don't refer to NOTES.
27413         * manual/creature.texi: Don't include macros.texi.
27414         * manual/intro.texi (creature.texi): Remove comment referring to
27415         NOTES.
27417         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27418         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27419         * configure: Regenerated.
27420         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27421         LIBC_TRY_CC_OPTION.
27422         (libc_cv_as_i686): Likewise.
27423         (libc_cv_cc_avx): Likewise.
27424         (libc_cv_cc_sse2avx): Likewise.
27425         (libc_cv_cc_fma4): Likewise.
27426         (libc_cv_cc_novzeroupper): Likewise.
27427         * sysdeps/i386/configure: Regenerated.
27429         [BZ #13883]
27430         * sysdeps/i386/fpu/s_cexp.S: Remove.
27431         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27432         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27433         * math/libm-test.inc (cexp_test): Add more tests.
27434         * sysdeps/i386/fpu/libm-test-ulps: Update.
27435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27437 2012-03-21  Allan McRae  <allan@archlinux.org>
27439         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27441 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27443         [BZ #13871]
27444         * math/w_exp2.c: Do not include <float.h>.
27445         (o_threshold, u_threshold): Remove.
27446         (__exp2): Calculate result before checking finiteness and calling
27447         __kernel_standard.
27448         * math/w_exp2f.c: Likewise.
27449         * math/w_exp2l.c: Likewise.
27450         * math/libm-test.inc (exp2_test): Require overflow exception for
27451         1e6 input.
27453         [BZ #3866]
27454         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27455         range of signed 64-bit integers before using fistpll.  Remove
27456         checks for whether integers fit in mantissa bits.
27457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27458         the range of signed 32-bit integers before using fistpl.  Remove
27459         checks for whether integers fit in mantissa bits.
27460         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27461         (__ieee754_powl): Test for y outside the range of signed 64-bit
27462         integers before using fistpll.  Reduce 64-bit values to 63-bit
27463         ones as needed.
27464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27465         divide-by-zero is raised for zero to large negative powers.
27466         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27467         (__ieee754_powl): Test for y outside the range of signed 64-bit
27468         integers before using fistpll.  Reduce 64-bit values to 63-bit
27469         ones as needed.
27470         * math/libm-test.inc (pow_test): Add more tests.
27472 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27474         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27475         <stdio-common/_itoa.h>.
27476         * debug/segfault.c: Likewise.
27477         * elf/dl-cache.c: Likewise.
27478         * elf/dl-minimal.c: Likewise.
27479         * elf/dl-misc.c: Likewise.
27480         * elf/dl-sysdep.c: Likewise.
27481         * elf/dl-version.c: Likewise.
27482         * elf/rtld.c: Likewise.
27483         * hurd/hurdsock.c: Likewise.
27484         * hurd/lookup-retry.c: Likewise.
27485         * malloc/malloc.c: Likewise.
27486         * malloc/mtrace.c: Likewise.
27487         * nscd/nscd_getgr_r.c: Likewise.
27488         * nscd/nscd_getpw_r.c: Likewise.
27489         * nscd/nscd_getserv_r.c: Likewise.
27490         * posix/getopt_init.c: Likewise.
27491         * posix/wordexp.c: Likewise.
27492         * stdio-common/_itoa.c: Likewise.
27493         * stdio-common/printf_fphex.c: Likewise.
27494         * stdio-common/vfprintf.c: Likewise.
27495         * string/_strerror.c: Likewise.
27496         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27497         * sysdeps/i386/i686/hp-timing.h: Likewise.
27498         * sysdeps/mach/_strerror.c: Likewise.
27499         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27500         * sysdeps/mach/hurd/sethostid.c: Likewise.
27501         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27502         * sysdeps/mach/xpg-strerror.c: Likewise.
27503         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27504         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27505         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27506         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27507         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27508         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27509         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27510         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27511         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27512         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27513         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27514         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27515         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27516         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27517         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27518         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27519         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27520         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27521         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27522         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27523         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27525         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27527         * stdio-common/_itoa.h: Moved to ...
27528         * sysdeps/generic/_itoa.h: Here.
27530         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27532         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27533         instead of "_itoa.h" and "_itowa.h".
27534         * stdio-common/vfprintf.: Likewise.
27536 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27538         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27539         <bits/wordsize.h>.
27540         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27541         (__signbit): Likwise.
27542         (llrintf): Likwise.
27543         (llrint): Likwise.
27545 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27547         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27548         __WORDSIZE != 64.
27550 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27552         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27553         OVERFLOW_EXCEPTION_OK.
27554         * math/libm-test.inc ("Philosophy"): Update comment about
27555         exception testing.
27556         (OVERFLOW_EXCEPTION): Define.
27557         (OVERFLOW_EXCEPTION_OK): Likewise.
27558         (INVALID_EXCEPTION_OK): Renumber.
27559         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27560         (IGNORE_ZERO_INF_SIGN): Likewise.
27561         (test_exceptions): Handle FE_OVERFLOW.
27562         (exp10_test): Expect overflow exceptions.
27563         (exp2_test): Likewise.
27564         (expm1_test): Likewise.
27565         (nextafter_test): Likewise.
27566         (pow_test): Likewise.
27567         (scalbn_test): Likewise.
27568         (scalbln_test): Likewise.
27570 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27572         * sysdeps/x86_64/bits/atomic.h
27573         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27574         64bit integer.
27575         (atomic_exchange_acq): Likewise.
27576         (__arch_exchange_and_add_body): Likewise.
27577         (__arch_add_body): Likewise.
27578         (atomic_add_negative): Likewise.
27579         (atomic_add_zero): Likewise.
27581 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27583         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27584         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27588         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27589         Check __x86_64__ instead of __WORDSIZE.
27591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27593         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27595 2012-03-19  David S. Miller  <davem@davemloft.net>
27597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27599         * sysdeps/sparc/fpu/fenv_private.h: New file.
27600         * sysdeps/sparc/fpu/math_private.h: Use it.
27601         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27602         Remove.
27603         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27604         (libc_feholdexcept_setroundl): Remove.
27605         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27606         Remove.
27607         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27608         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27612         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27613         int64_t instead of long int.
27614         (INSERT_WORDS64): Likwise.
27616 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27618         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27619         _Unwind_GetCFA return to _Unwind_Ptr first.
27621 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27623         [BZ #13629]
27624         * math/s_clog.c: Include <float.h>.
27625         (__clog): Scale large or subnormal inputs.
27626         * math/s_clogf.c: Likewise.
27627         * math/s_clogl.c: Likewise.
27628         * math/s_clog10.c: Include <float.h>.
27629         (M_LOG10_2): Define.
27630         (__clog10): Scale large or subnormal inputs.
27631         * math/s_clog10f.c: Likewise.
27632         * math/s_clog10l.c: Likewise.
27633         * math/libm-test.inc (clog_test): Add more tests.
27634         (clog10_test): Likewise.
27635         * sysdeps/i386/fpu/libm-test-ulps: Update.
27636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27638         [BZ #11451]
27639         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27640         x and y.
27641         * math/libm-test.inc (atan2_test): Add another test.
27643         * Makerules (common-objdir-compile): Remove.
27644         * sysdeps/unix/Makefile (config-generated): Do not add
27645         $(unix-generated) to variable.
27646         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27647         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27648         Remove rule.
27649         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27650         Likewise.
27651         [generic bits/local_lim.h] (before-compile): Do not append to
27652         variable.
27653         [generic bits/local_lim.h] (common-generated): Likewise.
27654         [generic sys/param.h] (before-compile): Do not append to variable.
27655         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27656         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27657         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27658         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27659         include.
27660         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27661         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27662         [generic sys/param.h] ($(addprefix
27663         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27664         [generic sys/param.h] (common-generated): Do not append to
27665         variable.
27666         [generic sys/param.h] (sysdep_headers): Likewise.
27667         [generic bits/errno.h] (before-compile): Do not append to
27668         variable.
27669         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27670         rule.
27671         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27672         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27673         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27674         [generic bits/errno.h] (common-generated): Do not append to
27675         variable.
27676         [generic bits/ioctls.h] (before-compile): Do not append to
27677         variable.
27678         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27679         rule.
27680         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27681         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27682         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27683         rule.
27684         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27685         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27686         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27687         [generic bits/ioctls.h] (common-generated): Do not append to
27688         variable.
27689         [generic sys/syscall.h] (syscall.h): Remove variable.
27690         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27691         rule.
27692         [generic sys/syscall.h] (before-compile): Do not append to
27693         variable.
27694         [generic sys/syscall.h] (common-generated): Likewise.
27695         * sysdeps/unix/errnos-tmpl.c: Remove file.
27696         * sysdeps/unix/errnos.awk: Likewise.
27697         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27698         * sysdeps/unix/ioctls.awk: Likewise.
27699         * sysdeps/unix/mk-local_lim.c: Likewise.
27700         * sysdeps/unix/snarf-ioctls: Likewise.
27702 2012-03-19  Richard Henderson  <rth@twiddle.net>
27704         * sysdeps/i386/fpu/fenv_private.h: New file.
27705         * sysdeps/i386/fpu/math_private.h: Use it.
27706         (math_opt_barrier, math_force_eval): Remove.
27707         (libc_feholdexcept_setround_53bit): Remove.
27708         (libc_feupdateenv_53bit): Remove.
27709         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27710         (math_opt_barrier, math_force_eval): Remove.
27711         (libc_feholdexcept): Remove.
27712         (libc_feholdexcept_setround): Remove.
27713         (libc_fetestexcept, libc_fesetenv): Remove.
27714         (libc_feupdateenv_test): Remove.
27715         (libc_feupdateenv, libc_feholdsetround): Remove.
27716         (libc_feresetround): Remove.
27718         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27719         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27721         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27722         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27723         (libc_feupdateenv_testl): New.
27724         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27725         (libc_feupdateenv_testf): New.
27726         (libc_feupdateenv): Use libc_feupdateenv_test.
27727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27728         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27730         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27731         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27732         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27733         (libc_feresetround_noex): New.
27734         (libc_feresetround_noexf): New.
27735         (libc_feresetround_noexl): New.
27736         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27737         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27738         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27739         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27740         SET_RESTORE_ROUND.
27741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27743         (__cos): Likewise.
27744         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27745         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27746         SET_RESTORE_ROUND_NOEX.
27747         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27748         SET_RESTORE_ROUND_NOEXF.
27749         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27750         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27751         (libc_feholdsetroundf): New.
27752         (libc_feresetround, libc_feresetroundf): New.
27754         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27755         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27756         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27758         * sysdeps/generic/math_private.h: Include <fenv.h>.
27759         (default_libc_feholdexcept): New.
27760         (default_libc_feholdexcept_setround): New.
27761         (default_libc_fesetenv, default_libc_feupdateenv): New.
27762         (libc_feholdexcept): Only define if undefined.
27763         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27764         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27765         (libc_feholdexcept_setroundl): Likewise.
27766         (libc_feholdexcept_setround_53bit): Likewise.
27767         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27768         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27769         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27770         (libc_feupdateenv_53bit): Likewise.
27771         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27772         (libc_feholdexcept): Convert from macro to inline function.
27773         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27774         (libc_fesetenv, libc_feupdateenv): Likewise.
27776         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27777         not previously defined.
27778         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27779         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27780         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27781         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27782         * sysdeps/ieee754/flt-32/math_private.h: New file.
27783         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27784         math_private.h below SET_FLOAT_WORD.
27785         (__isnan, __isinf_ns, __finite): Remove.
27786         (__isnanf, __isinf_nsf, __finitef): Remove.
27788 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27792 2012-03-17  David S. Miller  <davem@davemloft.net>
27794         [BZ #6471]
27795         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27796         for 2.16.
27798 2012-03-16  David S. Miller  <davem@davemloft.net>
27800         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27801         warnings.
27803         [BZ #6471]
27804         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27805         properly.
27806         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27807         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27808         sysdep_routines when subdir is sysvipc.
27809         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27810         __getshmlba helper.
27812         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27814 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27816         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27817         [__LP64__].
27819 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27821         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27822         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27823         (__lround): Renamed to ...
27824         (__llround): This.  Replace long int with long long int.
27825         Define lround functions as aliases of llround functions.
27826         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27828 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27830         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27831         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27832         adresses to uintptr_t.  Replace "long int" and "unsigned long
27833         int" with "greg_t" on va_arg.
27835 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27837         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27838         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27840         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27841         Move e_machine check before EI_CLASS check.  Handle x32
27842         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27843         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27844         SKIP_EM_IA_64 and include
27845         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27847         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27848         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27849         (add_system_dir): New macro.
27851         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27852         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27854 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27856         [BZ #2551]
27857         [BZ #2552]
27858         [BZ #2553]
27859         [BZ #2554]
27860         [BZ #2562]
27861         [BZ #2563]
27862         [BZ #2565]
27863         [BZ #2566]
27864         [BZ #2576]
27865         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27866         (y0): Likewise.
27867         * math/w_j0f.c (j0f): Likewise.
27868         (y0f): Likewise.
27869         * math/w_j0l.c (__j0l): Likewise.
27870         (__y0l): Likewise.
27871         * math/w_j1.c (j1): Likewise.
27872         (y1): Likewise.
27873         * math/w_j1f.c (j1f): Likewise.
27874         (y1f): Likewise.
27875         * math/w_j1l.c (__j1l): Likewise.
27876         (__y1l): Likewise.
27877         * math/w_jn.c (jn): Likewise.
27878         (yn): Likewise.
27879         * math/w_jnf.c (jnf): Likewise.
27880         (ynf): Likewise.
27881         * math/w_jnl.c (__jnl): Likewise.
27882         (__ynl): Likewise.
27883         * math/libm-test.inc (j0_test): Add more tests.
27884         (j1_test): Likewise.
27885         (jn_test): Likewise.  Add trailing semicolon to existing test.
27886         (y0_test): Likewise.
27887         (y1_test): Likewise.
27888         * sysdeps/i386/fpu/libm-test-ulps: Update.
27889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27891         [BZ #13851]
27892         [BZ #13854]
27893         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27894         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27895         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27896         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27897         (__tanl): Set errno for infinite argument.
27898         * sysdeps/i386/fpu/mptan.c: Remove.
27899         * sysdeps/i386/fpu/s_tan.S: Likewise.
27900         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27901         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27902         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27903         * math/libm-test.inc (tan_test): Add more tests and enable more
27904         tests for double and long double.
27905         * sysdeps/i386/fpu/libm-test-ulps: Update.
27906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27908 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27910         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27911         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27913 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27915         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27916         * configure.in: Use it for both main tree and add-ons.
27917         * configure: Regenerated.
27919 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27921         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27923 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27925         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27926         in comment.
27928         [BZ #13851]
27929         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27930         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27932         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27933         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27934         infinite argument.
27935         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27936         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27937         != 0 for prec == 2.
27938         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27939         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27940         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27941         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27942         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27943         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27944         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27945         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27946         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27947         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27948         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27949         * math/libm-test.inc (cos_test): Add more tests and enable more
27950         tests for long double.
27951         (sin_test): Likewise.
27952         (sincos_test): Likewise.
27953         * sysdeps/i386/fpu/libm-test-ulps: Update.
27954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27956 2012-03-16  David S. Miller  <davem@davemloft.net>
27958         * sysdeps/sparc/fpu/math_private.h: New file.
27960 2012-03-15  David S. Miller  <davem@davemloft.net>
27962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27963         file.
27964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27966         file.
27967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27972         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27973         sysdep routines.
27974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27976         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27977         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27979         * sysdeps/sparc/sparc-ifunc.h: New file.
27980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27981         sparc-ifunc.h
27982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27984         Likewise.
27985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27986         Likewise.
27987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27991         Likewise.
27992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27997         Likewise.
27998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27999         Likewise.
28000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28006         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28020         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28022         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28023         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28025 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28027         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28028         scaling.
28029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28031 2012-03-15  Andreas Jaeger  <aj@suse.de>
28033         [BZ #13852]
28034         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28035         ieee754/flt-32 implementation for sin, cos and sincos.
28036         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28037         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28038         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28039         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28040         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28041         ieee754/flt-32 implementation for tan.
28043         * math/libm-test.inc (cos_test): Enable some large input tests for
28044         float as well
28045         (sin_test): Likewise.
28046         (sincos_test): Likewise.
28047         (tan_test): Add tests for large input.
28049         * sysdeps/i386/fpu/libm-test-ulps: Update.
28051 2012-03-15  Andreas Jaeger  <aj@suse.de>
28053         [BZ #13658]
28054         * math/libm-test.inc (cos_test): Add more test cases.
28055         (sin_test): Likewise.
28056         (sincos_test): Likewise.
28058 2012-03-15  Andreas Jaeger  <aj@suse.de>
28060         [BZ #13837]
28061         * math/libm-test.inc (cos_test): Add a test case for large input
28062         value.
28063         (sin_test): Likewise.
28064         (sincos_test): Likewise.
28066 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28067         Joseph Myers  <joseph@codesourcery.com>
28069         [BZ #13658]
28070         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28071         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28072         * sysdeps/i386/fpu/branred.c: Likewise.
28073         * sysdeps/i386/fpu/dosincos.c: Likewise.
28074         * sysdeps/i386/fpu/mpa.c: Likewise.
28075         * sysdeps/i386/fpu/s_cos.S: Likewise.
28076         * sysdeps/i386/fpu/s_sin.S: Likewise.
28077         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28078         * sysdeps/i386/fpu/sincos32.c: Likewise.
28080         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28081         Define.
28082         (libc_feupdateenv_53bit): Define.
28083         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28084         Define.
28085         (libc_feupdateenv_53bit): Define.
28087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28088         53 bit (without extend i386 double precision).
28090         * math/libm-test.inc (sincos_test): Add tests for large input.
28091         (sin): Likewise.
28092         (cos): Likewise.
28094         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28096 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28100 2012-03-15  David S. Miller  <davem@davemloft.net>
28102         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28103         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28104         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28105         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28118         file.
28119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28121         file.
28122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28124         file.
28125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28127         file.
28128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28129         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28130         fmin/fmax sysdep routines.
28131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28133 2012-03-14  David S. Miller  <davem@davemloft.net>
28135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28163         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28164         routines.
28165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28166         file.
28167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28169         file.
28170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28172         file.
28173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28175         file.
28176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28178         file.
28179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28181         file.
28182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28183         file.
28184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28185         file.
28186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28187         file.
28188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28189         New file.
28190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28191         file.
28192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28193         file.
28194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28196         file.
28197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28199         file.
28200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28202         file.
28203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28205         VIS3 routines.
28207         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28208         New file.
28210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28212         * sysdeps/sparc/configure.in: New file.
28213         * sysdeps/sparc/configure: Generate.
28214         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28215         * configure: Regenerate.
28216         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28217         * config.make.in (have-as-vis3): New.
28218         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28219         available use -Av9d instead of -Av9a.
28220         * sysdeps/sparc/sparc64/Makefile: Likewise.
28221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28223         New file.
28224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28225         file.
28226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28227         New file.
28228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28229         file.
28230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28236         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28237         fzeros/fnegs to load 0x80000000 into a float register instead of
28238         using the stack.
28239         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28241 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28244         bits/syscall.h.
28245         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28246         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28247         ($(inst_includedir)/bits/syscall.h): Remove rule.
28248         ($(objpfx)bits/syscall.d): Include instead of
28249         $(objpfx)syscall-list.d.
28250         (generated): Change syscall-list.h and syscall-list.d to
28251         bits/syscall.h and bits/syscall.d.
28253 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28255         [BZ #13846]
28256         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28258 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28260         [BZ #13841]
28261         * math/s_csqrt.c: Include <float.h>.
28262         (__csqrt): Scale large or subnormal inputs.
28263         * math/s_csqrtf.c: Likewise.
28264         * math/s_csqrtl.c: Likewise.
28265         * math/libm-test.inc (csqrt_test): Add more tests.
28266         * sysdeps/i386/fpu/libm-test-ulps: Update.
28267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28269         [BZ #13840]
28270         * math/libm-test.inc (hypot_test): Add more tests.
28272 2012-03-13  David S. Miller  <davem@davemloft.net>
28274         [BZ #13840]
28275         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28276         double-precision for the calculation instead of scaling.
28278 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28280         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28281         manipulate bits before adding and subtracting TWO52[sx].
28282         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28283         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28284         Likewise.
28285         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28287 2012-03-13  David S. Miller  <davem@davemloft.net>
28289         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28290         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28292         rtld-global-offsets.h
28293         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28295         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28296         large parameters.
28298         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28300         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28301         'err' in the ifdef scope in which it is actually used.
28303         * nss/nss_db/db-init.c: Include string.h
28305 2012-03-12  David S. Miller  <davem@davemloft.net>
28307         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28308         masking out of the most significant byte of random value used.
28309         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28310         Fix coding style in previous change.
28312         * sysdeps/unix/sysv/linux/kernel-features.h
28313         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28314         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28315         expression.
28316         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28317         later.
28319 2012-03-11  David S. Miller  <davem@davemloft.net>
28321         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28322         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28323         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28324         for 'resultvar' otherwise things get truncated on 64-bit.
28326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28327         Fix masking out of the most significant byte of random value used.
28329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28331 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28335 2012-03-09  David S. Miller  <davem@davemloft.net>
28337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28338         variables with appropriate CPP guards.
28339         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28340         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28341         on resulting framesize and the management of the outregs buffer for pltexit.
28342         Preserve floating point return values across _dl_call_pltexit call.
28343         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28344         framesize and the management of the outregs buffer for pltexit.
28345         Preserve floating point return values across _dl_call_pltexit
28346         call.
28347         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28348         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28349         (print_exit): Fix format string for return register value.
28351 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28353         * sunrpc/Makefile (others): Add rpcgen.
28354         ($(objpfx)rpcgen): Remove special build rule and dependency on
28355         libc.
28356         * sunrpc/rpcgen.c: New file.
28358 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28360         [BZ #13673]
28361         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28362         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28363         * sysdeps/i386/crti.S: Likewise.
28364         * sysdeps/i386/crtn.S: Likewise.
28365         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28366         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28367         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28368         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28369         * sysdeps/sh/crti.S: Likewise.
28370         * sysdeps/sh/crtn.S: Likewise.
28371         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28373         [BZ #13673]
28374         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28375         with URL.
28376         * locale/programs/locfile-kw.gperf: Likewise.
28377         * locale/programs/charmap-kw.h: Regenerated.
28378         * locale/programs/locfile-kw.h: Likewise.
28380         [BZ #13673]
28381         * intl/plural.y: Replace FSF snail mail address with URL.
28382         * intl/plural.c: Regenerated.
28384 2012-03-09  Richard Henderson  <rth@twiddle.net>
28386         * include/math_private.h: Remove file.
28387         * math/math_private.h: Move file ...
28388         * sysdeps/generic/math_private.h: ... here.
28390         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28391         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28392         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28394         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28395         and <math_private.h>.
28396         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28397         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28398         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28399         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28400         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28413         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28414         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28415         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28417         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28451         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28452         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28453         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28455         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28456         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28457         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28458         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28459         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28460         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28461         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28462         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28463         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28464         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28465         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28466         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28467         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28468         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28470         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28474         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28476         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28477         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28479         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28480         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28482         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28483         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28484         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28485         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28486         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28487         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28488         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28489         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28490         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28491         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28492         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28493         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28495         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28496         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28497         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28498         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28499         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28500         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28501         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28502         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28503         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28504         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28506         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28507         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28508         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28509         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28510         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28511         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28512         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28513         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28514         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28515         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28516         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28517         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28519         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28520         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28521         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28522         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28523         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28524         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28525         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28526         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28527         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28528         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28529         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28530         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28531         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28532         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28533         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28534         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28535         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28536         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28537         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28538         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28539         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28540         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28541         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28542         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28543         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28544         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28545         * sysdeps/ieee754/k_standard.c: Likewise.
28546         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28547         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28548         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28549         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28550         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28551         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28552         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28553         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28554         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28556         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28557         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28558         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28650         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28665         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28666         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28667         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28668         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28670         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28673         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28674         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28676         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28677         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28678         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28679         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28680         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28681         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28682         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28683         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28685         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28686         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28687         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28688         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28689         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28690         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28692         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28693         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28694         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28695         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28696         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28697         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28698         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28699         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28700         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28701         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28702         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28703         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28704         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28705         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28706         * sysdeps/ieee754/s_lib_version.c: Likewise.
28707         * sysdeps/ieee754/s_matherr.c: Likewise.
28708         * sysdeps/ieee754/s_signgam.c: Likewise.
28709         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28710         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28711         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28712         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28713         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28714         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28715         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28716         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28717         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28718         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28719         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28720         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28721         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28722         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28723         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28726         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28727         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28731 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28733         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28734         * sunrpc/rpc_main.c: Likewise.
28735         * sunrpc/rpc_svcout.c: Likewise.
28737 2012-03-09  David S. Miller  <davem@davemloft.net>
28739         * include/math_private.h: New file.
28741 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28743         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28744         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28745         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28746         from <bits/socket_type.h>.
28747         (enum __socket_type): Don't define here.
28748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28750         bits/socket_type.h.
28752         [BZ #13566]
28753         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28754         checking __USE_GNU.
28756         * Makerules ($(inst_includedir)/%.h): New rule.
28757         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28758         (install-others): Remove variable setting.
28759         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28761 2012-03-08  Richard Henderson  <rth@twiddle.net>
28763         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28764         from macro to inline function; merge with the
28765         !__LIBC_INTERNAL_MATH_INLINES version.
28766         (__ieee754_sqrtf): Likewise.
28768         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28769         to inline function.
28770         (__rintf, __floor, __floorf): Likewise.
28772         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28773         macro to inline function.
28774         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28776         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28777         not <math/math_private.h>.
28779 2012-03-08  David S. Miller  <davem@davemloft.net>
28781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28782         copyright year.
28783         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28785 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28787         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28788         normalization.
28789         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28790         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28792 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28794         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28795         be defined individually, they must be defined as a block.  Define
28796         S for printing a string instead of hidint the different by using a
28797         macro for adding the 'l'.
28798         * stdio-common/tst-fphex-wide.c: Adjust.
28800 2012-03-07  Marek Polacek  <polacek@redhat.com>
28802         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28804 2012-03-08  Marek Polacek  <polacek@redhat.com>
28806         [BZ #13806]
28807         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28808         * stdio-common/tst-fphex.c: Define a few macros to make the
28809         test reusable.  Use them.
28810         * stdio-common/tst-fphex-wide.c: New file.
28812 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28814         [BZ #6911]
28815         * manual/macros.texi (gnusystems): New macro.
28816         (nongnusystems): Likewise.
28817         (gnulinuxhurdsystems): Likewise.
28818         (gnuhurdsystems): Likewise..
28819         (gnulinuxsystems): Likewise.
28820         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28821         variants of the GNU system, not "GNU system".
28822         * manual/conf.texi: Likewise.
28823         * manual/errno.texi: Likewise.  Update example of errno macro
28824         expansion.
28825         * manual/filesys.texi: Likewise.
28826         (getumask): Document as specific to GNU/Hurd.
28827         * manual/install.texi: Likewise.  Reword some references to
28828         GNU/Linux.
28829         * manual/intro.texi: Likewise.
28830         * manual/io.texi: Likewise.
28831         (File Name Portability): Detail which constraints are inapplicable
28832         to all GNU systems and which are only inapplicable to GNU/Hurd.
28833         * manual/job.texi: Likewise.
28834         * manual/llio.texi: Likewise.
28835         (O_NOCTTY): Document as present on GNU/Linux.
28836         * manual/maint.texi: Likewise.
28837         * manual/memory.texi: Likewise.
28838         * manual/pattern.texi: Likewise.
28839         * manual/pipe.texi: Likewise.
28840         * manual/process.texi: Likewise.
28841         * manual/resource.texi: Likewise.
28842         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28843         child on GNU/Hurd.
28844         * manual/setjmp.texi: Likewise.
28845         * manual/signal.texi: Likewise.
28846         * manual/startup.texi: Likewise.
28847         * manual/stdio.texi: Likewise.
28848         * manual/terminal.texi: Likewise.
28849         (ONLCR): Document as POSIX.
28850         (OXTABS): Document availability on GNU/Linux as XTABS.
28851         (ONOEOT): Document availability separately from other bits.
28852         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28853         * manual/time.texi: Likewise.
28854         * manual/users.texi: Likewise.
28855         * INSTALL: Regenerated.
28856         * sysdeps/gnu/errlist.c: Regenerated.
28858         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28859         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28860         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28861         puts.
28862         * configure: Regenerated.
28864 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28866         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28867         default includes instead of AC_HEADER_CHECK.
28868         * sysdeps/i386/configure: Regenerated.
28870         [BZ #10716]
28871         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28872         * math/s_cacoshf.c (__cacoshf): Likewise.
28873         * math/s_cacoshl.c (__cacoshl): Likewise.
28874         * math/s_casinh.c (__casinh): Set signs of result from argument.
28875         * math/s_casinhf.c (__casinhf): Likewise.
28876         * math/s_casinhl.c (__casinhl): Likewise.
28877         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28878         (casinh_test): Add more tests.
28879         * sysdeps/i386/fpu/libm-test-ulps: Update.
28880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28882 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28884         * po/zh_TW.po: Update from translation team.
28886         * login/Makefile (distribute): Remove variable.
28887         * catgets/Makefile: Likewise.
28888         * mach/Makefile: Likewise.
28889         * malloc/Makefile: Likewise.
28890         * misc/Makefile: Likewise.
28891         * iconv/Makefile: Likewise.
28892         * nscd/Makefile: Likewise.
28893         * hurd/Makefile: Likewise.
28894         * manual/Makefile: Likewise.
28895         * locale/Makefile: Likewise.
28896         * intl/Makefile: Likewise.
28897         * conform/Makefile: Likewise.
28898         * nss/Makefile: Likewise.
28899         * time/Makefile: Likewise.
28900         * soft-fp/Makefile: Likewise.
28901         * dirent/Makefile: Likewise.
28902         * gmon/Makefile: Likewise.
28903         * po/Makefile: Likewise.
28904         * rt/Makefile: Likewise.
28905         * socket/Makefile: Likewise.
28906         * math/Makefile: Likewise.
28907         * signal/Makefile: Likewise.
28908         * debug/Makefile: Likewise.
28909         * elf/Makefile: Likewise.
28910         * timezone/Makefile: Likewise.
28911         * stdlib/Makefile: Likewise.
28912         * iconvdata/Makefile: Likewise.
28913         * sunrpc/Makefile: Likewise.
28914         * io/Makefile: Likewise.
28915         * argp/Makefile: Likewise.
28916         * inet/Makefile: Likewise.
28917         * hesiod/Makefile: Likewise.
28918         * grp/Makefile: Likewise.
28919         * csu/Makefile: Likewise.
28920         * wctype/Makefile: Likewise.
28921         * crypt/Makefile: Likewise.
28922         * libio/Makefile: Likewise.
28923         * string/Makefile: Likewise.
28924         * nis/Makefile: Likewise.
28925         * resolv/Makefile: Likewise.
28926         * stdio-common/Makefile: Likewise.
28927         * wcsmbs/Makefile: Likewise.
28928         * dlfcn/Makefile: Likewise.
28929         * posix/Makefile: Likewise.
28931         [BZ #6959]
28932         * timezone/Makefile: Don't install timezone files, just the programs
28933         and scripts.
28935 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28937         * nss/databases.def: Add missing gshadow entry.
28939         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28941 2012-03-06  Marek Polacek  <polacek@redhat.com>
28943         [BZ #13726]
28944         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28945         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28946         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28947         * stdio-common/tst-long-dbl-fphex.c: New file.
28949 2012-03-06  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28952         (set_obp_int): New function.
28953         (get_obp_int): New function.
28954         (__get_clockfreq_via_dev_openprom): Likewise.
28955         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28956         Avoid unused variable warnings on 'val' and use builtin_expect.
28957         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28958         __builtin_expect.
28959         (INLINE_CLONE_SYSCALL): Likewise.
28961 2012-03-05  David S. Miller  <davem@davemloft.net>
28963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28965 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28970         only for |x| >= 40.
28971         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28973 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28976         Replace gettimeofday with __vdso_gettimeofday.
28978         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28979         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28980         __vdso_clock_gettime and __vdso_getcpu.
28982         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28983         time with __vdso_time.
28985 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28987         * manual/lang.texi (size_t): Note types to which size_t may be
28988         equivalent with the GNU C Library, but do not describe when
28989         differences between them are significant.
28991 2012-03-05  Andreas Jaeger  <aj@suse.de>
28993         * sysdeps/i386/fpu/libm-test-ulps: Update.
28995 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28997         [BZ #3976]
28998         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28999         (__ieee754_pow): Save and restore rounding mode and use
29000         round-to-nearest for main computations.
29001         * math/libm-test.inc (pow_test_tonearest): New function.
29002         (pow_test_towardzero): Likewise.
29003         (pow_test_downward): Likewise.
29004         (pow_test_upward): Likewise.
29005         (main): Call the new functions.
29006         * sysdeps/i386/fpu/libm-test-ulps: Update.
29007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29009         [BZ #3976]
29010         * math/libm-test.inc (cosh_test_tonearest): New function.
29011         (cosh_test_towardzero): Likewise.
29012         (cosh_test_downward): Likewise.
29013         (cosh_test_upward): Likewise.
29014         (sinh_test_tonearest): Likewise.
29015         (sinh_test_towardzero): Likewise.
29016         (sinh_test_downward): Likewise.
29017         (sinh_test_upward): Likewise.
29018         (main): Call the new functions.
29019         * sysdeps/i386/fpu/libm-test-ulps: Update.
29020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29022 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29024         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29025         default stack guard is set in last bytes.
29026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29028 2012-03-05  Kees Cook  <keescook@chromium.org>
29030         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29032         [BZ #13656]
29033         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29034         possibly allocate from heap instead of stack.
29035         * stdio-common/bug-vfprintf-nargs.c: New file.
29036         * stdio-common/Makefile (tests): Add nargs overflow test.
29038 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29042 2012-03-03  Marek Polacek  <polacek@redhat.com>
29044         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29045         * math/math_private.h: Likewise.
29046         * stdlib/tst-strtod.c: Likewise.
29047         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29048         * sysdeps/x86_64/bits/atomic.h: Likewise.
29050 2012-03-02  David S. Miller  <davem@davemloft.net>
29052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29056         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29057         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29058         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29059         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29061 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29063         [BZ #13792]
29064         * manual/examples/README: New file, says the example source files
29065         can be used under GPL>=2.
29066         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29067         line containing just "*/".
29068         * manual/examples/add.c: Add copyright header (GPL>=2).
29069         * manual/examples/argp-ex1.c: Likewise.
29070         * manual/examples/argp-ex2.c: Likewise.
29071         * manual/examples/argp-ex3.c: Likewise.
29072         * manual/examples/argp-ex4.c: Likewise.
29073         * manual/examples/atexit.c: Likewise.
29074         * manual/examples/db.c: Likewise.
29075         * manual/examples/dir.c: Likewise.
29076         * manual/examples/dir2.c: Likewise.
29077         * manual/examples/execinfo.c: Likewise.
29078         * manual/examples/filecli.c: Likewise.
29079         * manual/examples/filesrv.c: Likewise.
29080         * manual/examples/fmtmsgexpl.c: Likewise.
29081         * manual/examples/genpass.c: Likewise.
29082         * manual/examples/inetcli.c: Likewise.
29083         * manual/examples/inetsrv.c: Likewise.
29084         * manual/examples/isockad.c: Likewise.
29085         * manual/examples/longopt.c: Likewise.
29086         * manual/examples/memopen.c: Likewise.
29087         * manual/examples/memstrm.c: Likewise.
29088         * manual/examples/mkfsock.c: Likewise.
29089         * manual/examples/mkisock.c: Likewise.
29090         * manual/examples/mygetpass.c: Likewise.
29091         * manual/examples/pipe.c: Likewise.
29092         * manual/examples/popen.c: Likewise.
29093         * manual/examples/rprintf.c: Likewise.
29094         * manual/examples/search.c: Likewise.
29095         * manual/examples/select.c: Likewise.
29096         * manual/examples/setjmp.c: Likewise.
29097         * manual/examples/sigh1.c: Likewise.
29098         * manual/examples/sigusr.c: Likewise.
29099         * manual/examples/stpcpy.c: Likewise.
29100         * manual/examples/strdupa.c: Likewise.
29101         * manual/examples/strftim.c: Likewise.
29102         * manual/examples/strncat.c: Likewise.
29103         * manual/examples/subopt.c: Likewise.
29104         * manual/examples/swapcontext.c: Likewise.
29105         * manual/examples/termios.c: Likewise.
29106         * manual/examples/testopt.c: Likewise.
29107         * manual/examples/testpass.c: Likewise.
29108         * manual/examples/timeval_subtract.c: Likewise.
29110         [BZ #13792]
29111         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29112         function to ...
29113         * manual/timeval_subtract.c.texi: ... here, new file.
29115 2012-03-02  David S. Miller  <davem@davemloft.net>
29117         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29119 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29121         [BZ #3976]
29122         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29123         (__sin): Save and restore rounding mode and use round-to-nearest
29124         for all computations.
29125         (__cos): Save and restore rounding mode and use round-to-nearest
29126         for all computations.
29127         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29128         <fenv.h>.
29129         (tan): Save and restore rounding mode and use round-to-nearest for
29130         all computations.
29131         * math/libm-test.inc (cos_test_tonearest): New function.
29132         (cos_test_towardzero): Likewise.
29133         (cos_test_downward): Likewise.
29134         (cos_test_upward): Likewise.
29135         (sin_test_tonearest): Likewise.
29136         (sin_test_towardzero): Likewise.
29137         (sin_test_downward): Likewise.
29138         (sin_test_upward): Likewise.
29139         (tan_test_tonearest): Likewise.
29140         (tan_test_towardzero): Likewise.
29141         (tan_test_downward): Likewise.
29142         (tan_test_upward): Likewise.
29143         (main): Call the new functions.
29144         * sysdeps/i386/fpu/libm-test-ulps: Update.
29145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29147         [BZ #10135]
29148         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29149         small n, then large n, before computing and testing k+n.
29150         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29152         Likewise.
29153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29154         Likewise.
29155         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29156         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29157         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29158         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29161         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29162         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29163         * math/libm-test.inc (scalbn_test): Add more tests.
29164         (scalbln_test): Likewise.
29166         * manual/filesys.texi (mode_t): Describe constraints on size and
29167         signedness, not exact equivalence to a particular type.
29168         (ino_t): Likewise.
29169         (ino64_t): Likewise.
29170         (dev_t): Likewise.
29171         (nlink_t): Likewise.
29172         (blkcnt_t): Likewise.
29173         (blkcnt64_t): Likewise.
29174         * manual/llio.texi (off_t): Likewise.
29176         [BZ #3976]
29177         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29178         (__ieee754_exp): Save and restore rounding mode and use
29179         round-to-nearest for all computations.
29180         * math/libm-test.inc (exp_test_tonearest): New function.
29181         (exp_test_towardzero): Likewise.
29182         (exp_test_downward): Likewise.
29183         (exp_test_upward): Likewise.
29184         (main): Call the new functions.
29185         * sysdeps/i386/fpu/libm-test-ulps: Update.
29186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29188 2012-03-01  Chris Demetriou  <cgd@google.com>
29190         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29191         have predictable order.
29193 2012-03-01  David S. Miller  <davem@davemloft.net>
29195         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29197         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29198         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29199         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29200         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29202         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29203         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29204         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29206         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29207         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29208         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29209         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29210         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29214         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29215         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29216         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29218         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29219         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29220         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29221         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29222         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29223         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29224         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29225         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29226         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29227         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29228         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29231         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29232         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29234         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29235         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29236         * sysdeps/sparc/elf/configure: Regenerated.
29238 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29240         * configure.in (AS, LD): Require binutils 2.20 or later.
29241         * configure: Regenerated.
29242         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29243         as required minimum version.
29244         * INSTALL: Regenerated.
29246         [BZ #2541]
29247         [BZ #4108]
29248         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29249         before squaring exponent.
29250         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29251         bottom long double and 27 bits of top long double before squaring
29252         exponent.
29253         * math/libm-test.inc (erfc_test): Add more tests.
29254         * sysdeps/i386/fpu/libm-test-ulps: Update.
29255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29258 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29260         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29261         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29262         containing bit-fields.
29263         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29264         * soft-fp/single.h (_FP_UNION_S): Likewise.
29265         * soft-fp/double.h (_FP_UNION_D): Likewise.
29267 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29269         [BZ #13786]
29270         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29271         not include ../strcmp.S.
29272         [USE_AS_STRNCASECMP_L]: Likewise.
29273         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29274         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29275         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29276         (__strncasecmp_l_ia32): Define as alias to
29277         __strncasecmp_l_nonascii.
29279         [BZ #5794]
29280         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29281         * sysdeps/i386/fpu/libm-test-ulps: Update.
29282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29284         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29287 2012-02-29  Jeff Law  <law@redhat.com>
29289         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29290         out of bounds read.
29292 2012-02-29  Marek Polacek  <polacek@redhat.com>
29294         [BZ #13706]
29295         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29296         * elf/Makefile: Add rules to run tst-unused-dep.out.
29298 2012-02-28  David S. Miller  <davem@davemloft.net>
29300         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29301         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29303         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29304         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29305         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29307 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29309         * math/libm-test.inc (llround_test): Move one test from
29310         lround_test.  Use TEST_f_L in moved test.
29311         (lround_test): Move misplaced test to llround_test.  Add testcase
29312         from bug 2561.
29314 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29316         * sysdeps/x86_64/fpu/e_expf.S: New file.
29317         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29319 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29321         [BZ #13637]
29322         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29323         of remain_len that may cause incomplete multi-byte character and
29324         false match.
29325         * posix/bug-regex33.c: New file.
29326         * posix/Makefile (tests): Add bug-regex33.
29328 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29330         * manual/macros.texi: New file.
29331         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29332         * manual/libc.texinfo: Include macros.texi.
29333         * manual/creatute.texi: Likewise.
29334         * manual/install.texi: Likewise.
29335         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29336         @glibcadj{} in references to the GNU C Library.
29337         * manual/charset.texi: Likewise.
29338         * manual/conf.texi: Likewise.
29339         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29340         when not using those macros.
29341         * manual/creature.texi: Likewise.
29342         * manual/crypt.texi: Likewise.
29343         * manual/errno.texi: Likewise.
29344         * manual/filesys.texi: Likewise.
29345         * manual/header.texi: Likewise.
29346         * manual/install.texi: Likewise.
29347         * manual/intro.texi: Likewise.
29348         * manual/io.texi: Likewise.
29349         * manual/job.texi: Likewise.
29350         * manual/lang.texi: Likewise.
29351         * manual/libc.texiinfo: Likewise.
29352         * manual/llio.texi: Likewise.
29353         * manual/locale.texi: Likewise.
29354         * manual/maint.texi: Likewise.
29355         * manual/math.texi: Likewise.
29356         * manual/memory.texi: Likewise.
29357         * manual/message.texi: Likewise.
29358         * manual/nss.texi: Likewise.
29359         * manual/pattern.texi: Likewise.
29360         * manual/process.texi: Likewise.
29361         * manual/resource.texi: Likewise.
29362         * manual/search.texi: Likewise.
29363         * manual/setjmp.texi: Likewise.
29364         * manual/signal.texi: Likewise.
29365         * manual/socket.texi: Likewise.
29366         * manual/startup.texi: Likewise.
29367         * manual/stdio.texi: Likewise.
29368         * manual/string.texi: Likewise.
29369         * manual/sysinfo.texi: Likewise.
29370         * manual/syslog.texi: Likewise.
29371         * manual/terminal.texi: Likewise.
29372         * manual/time.texi: Likewise.
29373         * manual/users.texi: Likewise.
29374         * INSTALL: Regenerated.
29375         * NOTES: Regenerated.
29376         * sysdeps/gnu/errlist.c: Regenerated.
29378 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29380         * include/dirent.h: Include <dirstream.h> before
29381         <dirent/dirent.h>.
29383 2012-02-28  David S. Miller  <davem@davemloft.net>
29385         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29386         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29387         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29388         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29390 2012-02-27  David S. Miller  <davem@davemloft.net>
29392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29394         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29395         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29398         frame pointer instead of stack pointer relative arg slot.
29399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29400         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29401         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29403 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29405         [BZ #3992]
29406         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29408 2012-02-27  David S. Miller  <davem@davemloft.net>
29410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29416         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29417         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29419 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29421         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29422         later.  Allow versions 5-9.
29423         * configure: Regenerated.
29424         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29425         required minimum version and 4.6 as recommended version.  Do not
29426         mention bugs in GCC 2.7 and 2.8.
29427         * INSTALL: Regenerated.
29429 2012-02-27  David S. Miller  <davem@davemloft.net>
29431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29435         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29436         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29437         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29438         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29440         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29441         manipulate bits before adding and subtracting TWO112[sx].
29442         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29444 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29446         [BZ #13775]
29447         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29448         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29449         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29450         being in POSIX, because they are in 1003.1-2008.
29452         * rt/tst-aio.c: Include <fcntl.h>.
29453         * rt/tst-aio7.c: Likewise.
29454         * rt/tst-aio64.c: Likewise.
29456         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29458 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29460         * manual/install.texi (--with-headers): Describe headers as
29461         interface headers, not private headers.
29462         (Specific advice for GNU/Linux systems): Describe use of headers
29463         from "make headers_install", not private headers from older
29464         kernels.
29465         * INSTALL: Regenerated.
29466         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29467         Change to 2.6.19.
29468         * sysdeps/unix/sysv/linux/configure: Regenerated.
29470         * manual/llio.texi (fclean): Remove documentation.
29472         * manual/Makefile (libc-texi-generated): New variable.  Include
29473         version.texi.
29474         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29475         $(libc-texi-generated), not duplicated list of files.
29476         (version.texi, stamp-version): New rules.
29477         (realclean): Remove $(libc-texi-generated), not individual files
29478         from that list.  Do not remove dir-add.texinfo.
29479         * manual/libc.texinfo: Comment out uses of edition numbers and
29480         references to printed manual.  Remove last-updated dates.
29481         (EDITION): Comment out.
29482         (ISBN): Likewise.
29483         (VERSION, UPDATED): Remove.
29484         (version.texi): Include.
29486 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29488         * sysdeps/posix/spawni.c: Include <signal.h>.
29489         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29490         * sysdeps/pthread/aio_fsync.c: Likewise.
29492 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29494         * conform/Makefile (tests): Run only when not cross-compiling and
29495         when fast-check is not defined.
29497         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29498         * conform/data/limits.h-data: Fixes for POSIX2008.
29499         * conform/run-conformtest.sh: Run all tests.
29500         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29501         headers.
29502         * include/bits/dlfcn.h: Likewise.
29503         * include/langinfo.h: Likewise.
29504         * include/monetary.h: Likewise.
29505         * include/sys/poll.h: Likewise.
29507         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29508         for __USE_GNU.
29509         * posix/spawn.h: Define __need_sigset_t.
29510         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29511         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29512         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29513         to get sigevent_t only.
29514         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29515         only for __USE_GNU.
29516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29517         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29518         process_vm_writev only for __USE_GNU.
29519         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29521         * conform/Makefile: For now ignore errors from run-conformtest.
29522         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29523         POSIX to avoid namespace pollution.  Don't prepend headers.
29524         * conform/data/aio.h-data: Fixes for POSIX testing.
29525         * conform/data/fcntl.h-data: Likewise.
29526         * conform/data/glob.h-data: Likewise.
29527         * conform/data/grp.h-data: Likewise.
29528         * conform/data/pthread.h-data: Likewise.
29529         * conform/data/pwd.h-data: Likewise.
29530         * conform/data/signal.h-data: Likewise.
29531         * conform/data/spawn.h-data: Likewise.
29532         * conform/data/stdio.h-data: Likewise.
29533         * conform/data/stdlib.h-data: Likewise.
29534         * conform/data/stropts.h-data: Likewise.
29535         * conform/data/sys/mman.h-data: Likewise.
29536         * conform/data/sys/stat.h-data: Likewise.
29537         * conform/data/sys/types.h-data: Likewise.
29538         * conform/data/sys/wait.h-data: Likewise.
29539         * conform/data/time.h-data: Likewise.
29540         * conform/data/unistd.h-data: Likewise.
29541         * conform/data/utime.h-data: Likewise.
29543         * io/sys/stat.h: fchmod was always in POSIX.
29544         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29545         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29546         * rt/aio.h: Define __need_timespec before including <time.h>.
29547         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29548         struct.  Add forward declaration of pthread_attr_t and use it in
29549         sigevent.
29550         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29552         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29553         always remove CLK_TCK definition.
29555 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29557         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29559 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29561         * conform/run-conformtest.sh: New file.
29562         * conform/Makefile: Run run-conformtest for tests.
29563         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29564         support.
29566         * conform/data/uchar.h-data: New file.
29567         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29568         * conform/data/arpa/inet.h-data: Likewise.
29569         * conform/data/assert.h-data: Likewise.
29570         * conform/data/complex.h-data: Likewise.
29571         * conform/data/cpio.h-data: Likewise.
29572         * conform/data/ctype.h-data: Likewise.
29573         * conform/data/dirent.h-data: Likewise.
29574         * conform/data/dlfcn.h-data: Likewise.
29575         * conform/data/errno.h-data: Likewise.
29576         * conform/data/fcntl.h-data: Likewise.
29577         * conform/data/float.h-data: Likewise.
29578         * conform/data/fmtmsg.h-data: Likewise.
29579         * conform/data/fnmatch.h-data: Likewise.
29580         * conform/data/ftw.h-data: Likewise.
29581         * conform/data/glob.h-data: Likewise.
29582         * conform/data/grp.h-data: Likewise.
29583         * conform/data/iconv.h-data: Likewise.
29584         * conform/data/inttypes.h-data: Likewise.
29585         * conform/data/langinfo.h-data: Likewise.
29586         * conform/data/libgen.h-data: Likewise.
29587         * conform/data/limits.h-data: Likewise.
29588         * conform/data/locale.h-data: Likewise.
29589         * conform/data/math.h-data: Likewise.
29590         * conform/data/monetary.h-data: Likewise.
29591         * conform/data/mqueue.h-data: Likewise.
29592         * conform/data/ndbm.h-data: Likewise.
29593         * conform/data/net/if.h-data: Likewise.
29594         * conform/data/netdb.h-data: Likewise.
29595         * conform/data/netinet/in.h-data: Likewise.
29596         * conform/data/nl_types.h-data: Likewise.
29597         * conform/data/poll.h-data: Likewise.
29598         * conform/data/pthread.h-data: Likewise.
29599         * conform/data/pwd.h-data: Likewise.
29600         * conform/data/regex.h-data: Likewise.
29601         * conform/data/sched.h-data: Likewise.
29602         * conform/data/search.h-data: Likewise.
29603         * conform/data/semaphore.h-data: Likewise.
29604         * conform/data/setjmp.h-data: Likewise.
29605         * conform/data/signal.h-data: Likewise.
29606         * conform/data/spawn.h-data: Likewise.
29607         * conform/data/stdarg.h-data: Likewise.
29608         * conform/data/stdio.h-data: Likewise.
29609         * conform/data/stdlib.h-data: Likewise.
29610         * conform/data/string.h-data: Likewise.
29611         * conform/data/strings.h-data: Likewise.
29612         * conform/data/stropts.h-data: Likewise.
29613         * conform/data/sys/ipc.h-data: Likewise.
29614         * conform/data/sys/mman.h-data: Likewise.
29615         * conform/data/sys/msg.h-data: Likewise.
29616         * conform/data/sys/resource.h-data: Likewise.
29617         * conform/data/sys/select.h-data: Likewise.
29618         * conform/data/sys/sem.h-data: Likewise.
29619         * conform/data/sys/shm.h-data: Likewise.
29620         * conform/data/sys/socket.h-data: Likewise.
29621         * conform/data/sys/stat.h-data: Likewise.
29622         * conform/data/sys/statvfs.h-data: Likewise.
29623         * conform/data/sys/time.h-data: Likewise.
29624         * conform/data/sys/timeb.h-data: Likewise.
29625         * conform/data/sys/times.h-data: Likewise.
29626         * conform/data/sys/types.h-data: Likewise.
29627         * conform/data/sys/uio.h-data: Likewise.
29628         * conform/data/sys/un.h-data: Likewise.
29629         * conform/data/sys/utsname.h-data: Likewise.
29630         * conform/data/sys/wait.h-data: Likewise.
29631         * conform/data/syslog.h-data: Likewise.
29632         * conform/data/tar.h-data: Likewise.
29633         * conform/data/termios.h-data: Likewise.
29634         * conform/data/utime.h-data: Likewise.
29635         * conform/data/utmpx.h-data: Likewise.
29636         * conform/data/varargs.h-data: Likewise.
29637         * conform/data/wchar.h-data: Likewise.
29638         * conform/data/wctype.h-data: Likewise.
29639         * conform/data/wordexp.h-data: Likewise.
29641         * include/stropts.h: New file.
29642         * include/uchar.h: New file.
29643         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29644         * include/assert.h: Likewise.
29645         * include/ctype.h: Likewise.
29646         * include/dirent.h: Likewise.
29647         * include/dlfcn.h: Likewise.
29648         * include/fcntl.h: Likewise.
29649         * include/fnmatch.h: Likewise.
29650         * include/glob.h: Likewise.
29651         * include/grp.h: Likewise.
29652         * include/libio.h: Likewise.
29653         * include/locale.h: Likewise.
29654         * include/math.h: Likewise.
29655         * include/net/if.h: Likewise.
29656         * include/netdb.h: Likewise.
29657         * include/netinet/in.h: Likewise.
29658         * include/pthread.h: Likewise.
29659         * include/pwd.h: Likewise.
29660         * include/regex.h: Likewise.
29661         * include/sched.h: Likewise.
29662         * include/search.h: Likewise.
29663         * include/setjmp.h: Likewise.
29664         * include/signal.h: Likewise.
29665         * include/stdio.h: Likewise.
29666         * include/stdlib.h: Likewise.
29667         * include/string.h: Likewise.
29668         * include/sys/cdefs.h: Likewise.
29669         * include/sys/mman.h: Likewise.
29670         * include/sys/msg.h: Likewise.
29671         * include/sys/resource.h: Likewise.
29672         * include/sys/select.h: Likewise.
29673         * include/sys/socket.h: Likewise.
29674         * include/sys/stat.h: Likewise.
29675         * include/sys/statvfs.h: Likewise.
29676         * include/sys/time.h: Likewise.
29677         * include/sys/times.h: Likewise.
29678         * include/sys/uio.h: Likewise.
29679         * include/sys/utsname.h: Likewise.
29680         * include/sys/wait.h: Likewise.
29681         * include/termios.h: Likewise.
29682         * include/time.h: Likewise.
29683         * include/ulimit.h: Likewise.
29684         * include/unistd.h: Likewise.
29685         * include/utime.h: Likewise.
29686         * include/wchar.h: Likewise.
29687         * include/wctype.h: Likewise.
29688         * include/wordexp.h: Likewise.
29690         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29692         * time/time.h: TIME_UTC must be a macro.
29693         Make timespec_get available for ISO C11 only as well.
29695 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29697         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29698         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29700 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29702         * configure.in: Use -o not -a in test for unsupported multi-arch.
29704 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29706         * manual/texinfo.tex: Update to version 2012-01-19.16.
29708 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29710         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29712 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29714         [BZ #13738]
29715         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29716         * manual/fdl-1.3.texi: New file.
29717         * manual/fdl-1.1.texi: File removed.
29719         [BZ #13738]
29720         * manual/libc.texinfo (FDL_VERSION): New @set.
29721         Use it for mention of FDL in cover text.
29722         (Documentation License): Use it in @include file name.
29724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29725             Roland McGrath  <roland@hack.frob.com>
29727         [BZ #5461]
29728         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29729         not LONG_LONG_MAX and LONG_LONG_MIN.
29730         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29731         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29732         name.
29733         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29735 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29737         [BZ #2547]
29738         [BZ #11365]
29739         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29740         manipulate bits before adding and subtracting TWO23[sx].
29741         * math/libm-test.inc (nearbyint_test): Add more tests.
29743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29745         [BZ #2548]
29746         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29747         bits before adding and subtracting TWO23[sx].
29748         * math/libm-test.inc (rint_test): Add more tests.
29749         (rint_test_tonearest): Likewise.
29750         (rint_test_towardzero): Likewise.
29751         (rint_test_downward): Likewise.
29752         (rint_test_upward: Likewise.
29754 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29756         [BZ #10110]
29757         * include/stdc-predef.h: New file.  Extracted from features.h.
29758         * include/features.h: Include stdc-predef.h.
29759         * Makefile (headers): Add stdc-predef.h.
29760         * CONFORMANCE (Compiler limitations): Update.
29762 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29764         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29766 2012-02-21  David S. Miller  <davem@davemloft.net>
29768         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29769         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29771 2012-02-20  David S. Miller  <davem@davemloft.net>
29773         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29774         using a normal save/restore sequence, rather than allocating a
29775         dummy stack frame just to store a frame pointer and restore.
29776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29778 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29780         * manual/install.texi: Fix stray word in line-wrapped comment.
29782 2012-02-20  David S. Miller  <davem@davemloft.net>
29784         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29785         both binutils and gcc support GOTDATA.
29787         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29788         "rd %pc" in the PIC register setup sequences.
29790         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29791         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29792         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29793         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29794         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29796         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29797         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29799         (SYSCALL_ERROR_HANDLER): Likewise.
29800         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29801         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29803         (SYSCALL_ERROR_HANDLER): Likewise.
29805         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29806         (HAVE_GCC_GOTDATA): New.
29807         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29808         relocation support in both binutils and gcc.
29809         * sysdeps/sparc/elf/configure: Regenerate.
29811         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29812         * sysdeps/sparc/sparc32/elf/configure: Delete.
29813         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29814         * sysdeps/sparc/sparc64/elf/configure: Delete.
29815         * sysdeps/sparc/elf/configure.in: New file.
29816         * sysdeps/sparc/elf/configure: Generate.
29818         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29819         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29820         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29821         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29822         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29824 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29826         * manual/install.texi: Do not mention specific glibc version
29827         numbers.
29828         * manual/libc.texinfo (VERSION, UPDATED): Update.
29829         (@copying): Use @copyright{} and range of years.
29831 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29833         [BZ #13695]
29834         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29835         [crti.S not in sysdirs] (generated): Do not append.
29836         [crti.S not in sysdirs] (omit-deps): Likewise.
29837         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29838         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29839         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29840         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29841         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29842         Likewise.
29843         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29844         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29845         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29846         * csu/defs.awk: Remove file.
29847         * sysdeps/generic/initfini.c: Likewise.
29848         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29849         variable.
29850         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29851         Likewise.
29853 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29855         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29856         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29857         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29858         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29859         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29860         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29861         <bits/epoll.h>.
29862         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29863         (__EPOLL_PACKED): Define to empty if not defined by
29864         <bits/epoll.h>.
29865         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29867         bits/epoll.h.
29869 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29871         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29872         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29873         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29874         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29875         <bits/timerfd.h>.
29876         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29878         bits/timerfd.h.
29880 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29882         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29883         in C locale.
29884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29886         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29889 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29891         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29892         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29894 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29896         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29897         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29898         defined.
29899         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29900         Likewise.
29901         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29902         entry for 2.16.
29904 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29906         * math/w_acos.c: Use non-signaling floating-point comparisons.
29907         * math/w_acosf.c: Likewise.
29908         * math/w_acosh.c: Likewise.
29909         * math/w_acoshf.c: Likewise.
29910         * math/w_acoshl.c: Likewise.
29911         * math/w_acosl.c: Likewise.
29912         * math/w_asin.c: Likewise.
29913         * math/w_asinf.c: Likewise.
29914         * math/w_asinl.c: Likewise.
29915         * math/w_atanh.c: Likewise.
29916         * math/w_atanhf.c: Likewise.
29917         * math/w_atanhl.c: Likewise.
29918         * math/w_exp2.c: Likewise.
29919         * math/w_exp2f.c: Likewise.
29920         * math/w_exp2l.c: Likewise.
29921         * math/w_j0.c: Likewise.
29922         * math/w_j0f.c: Likewise.
29923         * math/w_j0l.c: Likewise.
29924         * math/w_j1.c: Likewise.
29925         * math/w_j1f.c: Likewise.
29926         * math/w_j1l.c: Likewise.
29927         * math/w_jn.c: Likewise.
29928         * math/w_jnf.c: Likewise.
29929         * math/w_log.c: Likewise.
29930         * math/w_log10.c: Likewise.
29931         * math/w_log10f.c: Likewise.
29932         * math/w_log10l.c: Likewise.
29933         * math/w_log2.c: Likewise.
29934         * math/w_log2f.c: Likewise.
29935         * math/w_log2l.c: Likewise.
29936         * math/w_logf.c: Likewise.
29937         * math/w_logl.c: Likewise.
29938         * math/w_sqrt.c: Likewise.
29939         * math/w_sqrtf.c: Likewise.
29940         * math/w_sqrtl.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29942         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29944         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29945         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29947 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29949         [BZ #9739]
29950         * manual/string.texi (strnlen): Use correct parameter name in
29951         equivalent expression.
29953 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29955         [BZ #11174]
29956         * manual/users.texi (seteuid): Consistently use neweuid for
29957         argument name.
29959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29961         [BZ #13704]
29962         * manual/nss.texi (Services in the NSS configuration): Correct
29963         list of services in example configuration file.
29965 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29967         [BZ #11322]
29968         * manual/arith.texi: Remove statements about negative zero
29969         behaving identically to zero.
29971 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29973         [BZ #5993]
29974         * manual/install.texi: Do not document upgrading from libc5.
29976 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #4596]
29979         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29981 2012-02-18  David S. Miller  <davem@davemloft.net>
29983         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29984         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29985         %o7 across the call.
29986         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29987         instead.
29988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29989         SETUP_PIC_REG_LEAF.
29990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29991         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29992         * sysdeps/sparc/crtn.S: Likewise.
29994 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29996         * aout/Makefile: Remove.
29998 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30000         [BZ #13058]
30001         * manual/examples/argp-ex1.c (main): Format definition in GNU
30002         style.
30003         * manual/examples/argp-ex2.c (main): Likewise.
30004         * manual/examples/argp-ex3.c (main): Likewise.
30005         * manual/examples/argp-ex4.c (main): Likewise.
30006         * manual/examples/longopt.c (main): Use new-style prototype
30007         definition.
30008         * manual/examples/strncat.c (main): Specify return type and use
30009         (void) for arguments.
30010         * manual/examples/subopt.c (main): Use char **argv argument.
30012 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30014         [BZ #5077]
30015         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30016         rounding modes.
30018 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30020         [BZ #6907]
30021         * manual/string.texi (strchr): Change when strchrnul is
30022         recommended.
30024 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30026         [BZ #174]
30027         * manual/locale.texi (setlocale): Document LOCPATH.
30029 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30031         [BZ #10210]
30032         * manual/process.texi (execle): Move @dots{} before last argument.
30034 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30036         [BZ #12047]
30037         * manual/charset.texi (Generic Charset Conversion): Fix typo
30038         (LC_TYPE -> LC_CTYPE).
30040 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30042         [BZ #5805]
30043         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30044         (scalbnf): Likewise.
30045         (scalbnl): Likewise.
30046         (scalbln): Likewise.
30047         (scalblnf): Likewise.
30048         (scalblnl): Likewise.
30049         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30050         (vwarnx): Likewise.
30051         (verr): Likewise.
30052         (verrx): Likewise.
30053         * manual/filesys.texi (telldir): Use braces around return type.
30054         * manual/llio.texi (mmap): Add space after comma.
30055         (mmap64): Likewise.
30056         * manual/math.texi (jn): Use @var{} on parameter names.
30057         (jnf): Likewise.
30058         (jnl): Likewise.
30059         (yn): Likewise.
30060         (ynf): Likewise.
30061         (ynl): Likewise.
30062         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30063         line.
30064         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30065         "...".
30066         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30067         (sched_get_priority_max): Likewise.
30068         * manual/signal.texi (sigvec): Add space after comma.
30069         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30070         names.
30071         (if_indextoname): Likewise.
30072         (if_freenameindex): Likewise.
30073         (sendto): Use ',' instead of '.' in prototype.
30074         * manual/startup.texi (syscall): Use @dots{} instead of literal
30075         "...".
30076         * manual/stdio.texi (__fpending): Separate initial words of
30077         paragraph from @deftypefun line.
30078         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30079         "...".
30080         (vsyslog): Use @var{} on parameter names.
30081         * manual/terminal.texi (stty): Use @var{} on parameter names.
30082         * manual/users.texi (getutmp): Use @var{} on parameter names.
30083         (getutmpx): Likewise.
30085 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30087         [BZ #6884]
30088         * manual/stdio.texi (fopen): Fix typos in description of
30089         ",ccs=STRING".
30091 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30093         [BZ #4026]
30094         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30095         get clock_id definition.
30097 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30099         [BZ #4822]
30100         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30101         (madvise): Cast every argument to void on its own.
30103 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30105         [BZ #9902]
30106         * manual/startup.texi (Exit Status): Fix typo.
30108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30110         [BZ #10140]
30111         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30112         * manual/examples/argp-ex2.c: Likewise.
30113         * manual/examples/argp-ex3.c: Likewise.
30115 2012-02-16  Richard Henderson  <rth@redhat.com>
30117         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30118         * sysdeps/s390/s390-32/initfini.c: Remove.
30119         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30120         * sysdeps/s390/s390-64/initfini.c: Remove.
30122 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30124         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30125         compiler output for sysdeps/generic/initfini.c.
30126         * sysdeps/sh/elf/initfini.c: Remove file.
30128 2012-02-16  David S. Miller  <davem@davemloft.net>
30130         [BZ #11494]
30131         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30133         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30134         * sysdeps/sparc/crti.S: New file.
30135         * sysdeps/sparc/crtn.S: New file.
30136         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30137         * sysdeps/sparc/sparc64/Makefile: Likewise.
30139 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30141         [BZ #3335]
30142         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30144 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30146         [BZ #4822]
30147         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30149         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30150         (write, read, close): Likewise.
30151         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30153 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30155         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30156         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30157         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30158         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30159         <bits/signalfd.h>.
30160         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30162         bits/signalfd.h.
30164 2012-02-14  Marek Polacek  <polacek@redhat.com>
30166         * sysdeps/x86_64/crti.S: New file.
30167         * sysdeps/x86_64/crtn.S: New file.
30168         * sysdeps/x86_64/elf/initfini.c: Remove file.
30170 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30172         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30173         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30174         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30175         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30176         <bits/inotify.h>.
30177         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30179         bits/inotify.h.
30181 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30183         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30184         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30185         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30186         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30187         <bits/eventfd.h>.
30188         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30190         bits/eventfd.h.
30192 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30194         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30195         __feraiseexcept instead of feraiseexcept.
30197         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30198         nanosleep invocations.
30199         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30200         strings, and add error checking for a nanosleep invocations.
30202 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30204         Replace FSF snail mail address with URLs, as per GNU coding standards.
30205         Most of the snail mail addresses were wrong anyway, and omitting
30206         them makes the source code easier to maintain.  Almost all of the
30207         changes are to license notices and to locale LC_IDENTIFICATION
30208         addresses, except for this one:
30209         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30210         not its snail mail address.
30212 2012-02-09  Richard Henderson  <rth@twiddle.net>
30214         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30215         of kernel-features.h.
30217         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30219 2012-02-08  Marek Polacek  <polacek@redhat.com>
30221         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30222         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30223         * sysdeps/gnu/_G_config.h: Likewise.
30224         * sysdeps/generic/_G_config.h: Likewise.
30226 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30228         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30229         tests.
30230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30232         * sysdeps/powerpc/powerpc32/crti.S: New file.
30233         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30234         * sysdeps/powerpc/powerpc64/crti.S: New file.
30235         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30237         * Makeconfig (have-initfini): Don't set.
30238         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30239         * configure.in (nopic_initfini): Don't substitute.
30240         * config.h.in (HAVE_INITFINI): Don't #undef.
30241         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30242         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30244 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30246         Support crti.S and crtn.S provided directly by architectures.
30247         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30248         [crti.S in sysdirs] (omit-deps): Likewise.
30249         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30250         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30251         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30252         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30253         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30254         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30255         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30256         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30257         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30258         compiler output for sysdeps/generic/initfini.c.
30259         * sysdeps/i386/elf/Makefile: Remove file.
30260         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30262 2012-02-07  Marek Polacek  <polacek@redhat.com>
30264         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30265         * sysdeps/gnu/_G_config.h: Likewise.
30266         * sysdeps/mach/hurd/_G_config.h: Likewise.
30268 2012-02-07  Marek Polacek  <polacek@redhat.com>
30270         * math/Makefile (tests): Add tst-CMPLX2.
30271         * math/tst-CMPLX2.c: New file.
30273 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30275         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30277         * math/libm-test.inc (jn_test): Add missing L suffix.
30279 2012-02-06  Marek Polacek  <polacek@redhat.com>
30281         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30282         * sysdeps/i386/fpu/e_powf.S: Likewise.
30283         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30284         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30285         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30286         * sysdeps/i386/fpu/e_pow.S: Likewise.
30287         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30288         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30289         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30290         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30291         * sysdeps/i386/fpu/e_log2.S: Likewise.
30292         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30293         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30294         * sysdeps/i386/fpu/e_powl.S: Likewise.
30295         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30296         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30297         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30298         * sysdeps/i386/fpu/e_logl.S: Likewise.
30299         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30300         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30301         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30302         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30303         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30304         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30305         * sysdeps/i386/fpu/e_log.S: Likewise.
30306         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30307         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30308         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30309         * sysdeps/i386/fpu/e_logf.S: Likewise.
30310         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30311         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30312         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30313         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30314         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30315         * sysdeps/i386/fpu/e_log10.S: Likewise.
30316         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30317         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30318         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30319         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30320         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30321         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30322         * sysdeps/i386/asm-syntax.h: Likewise.
30323         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30324         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30325         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30326         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30327         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30328         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30329         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30330         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30331         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30332         * sysdeps/powerpc/sysdep.h: Likewise.
30333         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30334         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30336 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30338         [BZ #411]
30339         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30341 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30343         * sysdeps/i386/sysdep.h: Include <features.h>.
30344         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30345         version.
30347 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30349         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30350         Define.
30351         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30352         LOAD_PIC_REG_STR.
30354 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30356         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30357         (SETUP_PIC_REG): Use GET_PC_THUNK.
30358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30359         macro.
30361 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30363         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30364         for non-PIC compilation.
30365         (SETUP_PIC_REG): Add .p2align directive.
30366         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30367         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30368         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30369         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30370         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30372         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30374         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30375         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30376         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30377         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30378         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30380         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30381         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30382         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30383         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30384         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30394         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30395         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30399         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30402         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30406         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30410         * math/tst-CMPLX.c: Include <stdio.h>.
30412 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30414         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30415         float.
30416         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30417         * sysdeps/sparc/bits/mathdef.h: Likewise.
30419 2012-01-31  Marek Polacek  <polacek@redhat.com>
30421         * libio/libio.h: Don't define _PARAMS.
30422         * locale/programs/config.h: Don't define PARAMS.
30423         * stdlib/strtol_l.c: Likewise.
30424         (__strtol_l): Remove PARAMS from the prototype.
30426 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30428         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30429         names.  Just use the correct names.  Remove unnecessary wrapper
30430         functions.
30431         * malloc/arena.c: Likewise.
30432         * malloc/hooks.c: Likewise.
30434         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30435         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30436         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30438 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30440         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30441         into tail calls.
30442         (update_get_addr): New function.
30443         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30444         GET_ADDR_MODULE parameter.
30446 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30448         * crypt/cert.c: Remove __STDC__ conditionals.
30449         * crypt/crypt-entry.c: Likewise.
30450         * crypt/crypt_util.c: Likewise.
30451         * libio/filedoalloc.c: Likewise.
30452         * libio/fileops.c: Likewise.
30453         * libio/genops.c: Likewise.
30454         * libio/iofclose.c: Likewise.
30455         * libio/iofdopen.c: Likewise.
30456         * libio/iofopen.c: Likewise.
30457         * libio/iofopen64.c: Likewise.
30458         * libio/iogetdelim.c: Likewise.
30459         * libio/iopopen.c: Likewise.
30460         * libio/obprintf.c: Likewise.
30461         * libio/oldfileops.c: Likewise.
30462         * libio/oldiofclose.c: Likewise.
30463         * libio/oldiofdopen.c: Likewise.
30464         * libio/oldiofopen.c: Likewise.
30465         * libio/oldiopopen.c: Likewise.
30466         * libio/wfiledoalloc.c: Likewise.
30467         * libio/wgenops.c: Likewise.
30468         * locale/programs/xmalloc.c: Likewise.
30469         * misc/syslog.c: Likewise.
30470         * stdio-common/xbug.c: Likewise.
30471         * string/memchr.c: Likewise.
30472         * string/memcmp.c: Likewise.
30473         * string/memrchr.c: Likewise.
30474         * string/rawmemchr.c: Likewise.
30475         * sysdeps/posix/getcwd.c: Likewise.
30476         * time/strftime_l.c: Likewise.
30478 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30480         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30481         * config.make.in (config-cflags-sse2avx): Define.
30482         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30483         Fix typo.
30485 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30487         * scripts/config.guess: Update from upstream config git repository.
30488         * scripts/config.sub: Likewise.
30490 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30492         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30493         (EM_NUM): Update.
30494         (R_TILEPRO_*, R_TILEGX_*): New macros.
30496         * scripts/firstversions.awk: Fix bug in version range handling.
30498         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30502         * include/sys/epoll.h: New file.
30503         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30504         libc_hidden_def.
30506 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30508         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30509         Avoid unnecessary __WORDSIZE == 64 test.
30510         (fmaxf): Use VEX format if possible.
30511         (fmax): Likewise.
30512         (fminf): Likewise.
30513         (fmin): Likewise.
30515         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30516         * math/math_private.h: Remove libc_fegetround* and
30517         libc_fesetround*.
30518         * sysdeps/i386/configure.in: Check for -msse2avx.
30519         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30520         also if SSE2AVX is defined.
30521         Remove libc_fegetround* and libc_fesetround*.
30522         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30523         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30525         of HAS_YMM_USABLE.
30526         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30527         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30528         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30529         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30530         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30532         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30534 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30536         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30537         size is not set.
30538         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30540 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30542         [BZ #13618]
30543         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30544         relocation.
30545         * Makeconfig (libm): Define.
30546         * elf/Makefile: Add rules to build and run tst-relsort1.
30547         * elf/tst-relsort1.c: New file.
30548         * elf/tst-relsort1mod1.c: New file.
30549         * elf/tst-relsort1mod2.c: New file.
30551 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30553         * math/s_ldexp.c: Remove __STDC__ conditionals.
30554         * math/s_ldexpf.c: Likewise.
30555         * math/s_ldexpl.c: Likewise.
30556         * math/s_nextafter.c: Likewise.
30557         * math/s_nexttowardf.c: Likewise.
30558         * math/s_significand.c: Likewise.
30559         * math/s_significandf.c: Likewise.
30560         * math/s_significandl.c: Likewise.
30561         * math/w_jnl.c: Likewise.
30562         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30563         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30564         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30565         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30566         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30567         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30568         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30571         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30572         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30574         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30575         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30576         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30578         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30579         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30581         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30582         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30583         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30584         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30586         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30587         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30588         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30589         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30590         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30591         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30592         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30593         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30594         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30595         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30596         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30597         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30598         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30599         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30600         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30601         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30602         * sysdeps/ieee754/k_standard.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30606         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30607         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30612         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30615         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30616         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30617         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30618         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30619         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30624         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30631         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30633         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30634         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30635         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30636         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30638         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30639         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30643         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30645         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30646         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30647         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30648         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30651         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30652         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30659         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30661         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30663         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30664         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30667         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30668         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30669         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30671         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30672         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30676         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30677         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30678         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30681         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30682         * sysdeps/ieee754/s_matherr.c: Likewise.
30683         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30684         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30686         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30688 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30690         * crypt/md5.h: Remove __STDC__ conditionals.
30691         * libio/libioP.h: Likewise.
30692         * locale/programs/config.h: Likewise.
30693         * sysdeps/generic/sysdep.h: Likewise.
30694         * sysdeps/i386/asm-syntax.h: Likewise.
30695         * sysdeps/s390/asm-syntax.h: Likewise.
30696         * sysdeps/unix/sysdep.h: Likewise.
30697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30700 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30702         * libio/libio.h: Remove __STDC__ conditionals.
30703         * malloc/obstack.h: Likewise.
30704         * math/complex.h: Likewise.
30705         * math/math.h: Likewise.
30706         * sysdeps/generic/_G_config.h: Likewise.
30707         * sysdeps/gnu/_G_config.h: Likewise.
30708         * sysdeps/mach/hurd/_G_config.h: Likewise.
30709         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30710         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30711         * sysdeps/sparc/bits/mathdef.h: Likewise.
30713 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30715         [BZ #13583]
30716         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30717         Clean up HAS_* macros.
30718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30719         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30720         possible.
30721         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30722         HAS_AVX.
30723         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30724         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30725         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30726         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30727         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30729 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30731         * elf/tst-unique3.cc (gets): Remove declaration.
30732         * elf/tst-unique3lib.cc (gets): Likewise.
30733         * elf/tst-unique3lib2.cc (gets): Likewise.
30734         * elf/tst-unique4.cc (gets): Likewise.
30736 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30738         * include/stdio.h: Add C++ protection.  Add gets declarations and
30739         definitions.
30740         * debug/tst-chk1.c: Don't declare gets here.
30741         * stdio-common/tst-gets.c: Likewise.
30743 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30745         * posix/glob: Remove directory.
30747 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30749         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30751 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30753         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30754         of the non-standard EPFNOSUPPORT.
30756 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30758         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30759         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30760         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30762 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30764         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30766 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30768         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30769         transient errors.
30770         * nscd/grpcache.c (cache_addgr): Likewise.
30771         * nscd/hstcache.c (cache_addhst): Likewise.
30772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30773         * nscd/pwdcache.c (cache_addpw): Likewise.
30774         * nscd/servicescache.c (cache_addserv): Likewise.
30776 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30778         * malloc/malloc.c: Various cleanups.
30779         * malloc/hooks.c: Likewise.
30781         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30782         * stdlib/bug-fmtmsg1.c: New file.
30784         * stdlib/fmtmsg.c (init): Add missing unlock.
30785         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30787 2012-01-12  Marek Polacek  <polacek@redhat.com>
30789         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30790         and _GNU_SOURCE.
30792 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30794         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30795         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30796         macro to ensure uniqueness of label name.
30797         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30798         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30800 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30802         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30804         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30805         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30806         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30809 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30811         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30813         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30814         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30815         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30817         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30819         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30820         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30822         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30824         * math/bits/math-finite.h: Add ldexp support.
30826 2012-01-10  Marek Polacek  <polacek@redhat.com>
30828         * locale/programs/localedef.h (show_archive_content): Add noreturn
30829         attribute.
30831 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30833         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30835 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30837         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30839         * io/Makefile (headers): Add bits/poll2.h.
30841 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30844         typo #include statement.
30846 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30848         * include/sys/cdefs.h: Define __attribute_alloc_size.
30849         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30850         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30851         * elf/pldd.c: Likewise.
30852         * iconv/iconv_charmap.c: Likewise.
30853         * iconv/iconvconfig.c: Likewise.
30854         * iconv/strtab.c: Likewise.
30855         * locale/programs/locale.c: Likewise.
30856         * locale/programs/localedef.h: Likewise.
30857         * locale/programs/simple-hash.c: Likewise.
30858         * nscd/nscd.h: Likewise.
30859         * nss/makedb.c: Likewise.
30860         * sysdeps/generic/ldconfig.h: Likewise.
30861         * locale/programs/localedef.c: Remove xmalloc prototype.
30862         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30864 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30866         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30867         appropriate.
30869 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30871         * math/Makefile (tests): Add tst-CMPLX.
30872         * math/tst-CMPLX.c: New file.
30874         * math/complex.h (CMPLXL): Fix typo.
30876         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30877         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30878         GLIBC_2.16.
30879         * debug/tst-chk1.c: Add poll and ppoll tests.
30880         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30881         * include/sys/poll.h: Add hidden proto for ppoll.
30882         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30883         * sysdeps/mach/hurd/ppoll.c: Likewise.
30884         * io/ppoll.c: Likewise.
30885         * debug/poll_chk.c: New file.
30886         * debug/ppoll_chk.c: New file.
30887         * include/bits/poll2.h: New file.
30888         * io/bits/poll2.h: New file.
30890         [BZ #1350]
30891         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30893         * configure.in: static is always set to yes.  Remove.
30894         * config.make.in: Don't set build-static.
30895         * Makeconfig: Remove use of build-static.
30896         * dlfcn/Makefile: Likewise.
30897         * elf/Makefile: Likewise.
30898         * math/Makefile: Likewise.
30899         * misc/Makefile: Likewise.
30900         * nptl/Makefile: Likewise.
30901         * sysdeps/mach/hurd/Makefile: Likewise.
30903         * configure.in: PWD_P is not used anymore.
30904         * config.make.in: Remove PWD_P entry.
30906         * configure.in: Remove last remnants of RANLIB.
30907         No need to check for signed size_t anymore.
30908         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30909         and IA-64.
30910         Remove __builtin_expect test because we require at least gcc 3.4.
30911         * aclocal.m4: Likewise.
30913         * wcsmbs/mbrtoc16.c: Implement using towc function.
30914         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30915         * wcsmbs/wcsmbsload.c: Likewise.
30916         * iconv/gconv_simple.c: Likewise.
30917         * iconv/gconv_int.h: Likewise.
30918         * iconv/gconv_builtin.h: Likewise.
30919         * iconv/iconv_prog.c: Remove CHAR16 handling.
30921         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30923         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30925         * configure.in: Remove --with-elf and --enable-bounded options.
30926         Dont set base_machine for ia64.  More non-ELF conditions removed.
30927         Remove testing and setting of leading underscore information.
30928         * config.make.in (build-bounded): Set to no.
30929         * config.h.in: Remove NO_UNDERSCORES entry.
30930         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30931         them.
30932         * csu/start.c: Remove !NO_UNDERSCORE code.
30933         * locale/localeinfo.h: Likewise.
30934         * sysdeps/generic/machine-gmon.h: Likewise.
30935         * sysdeps/generic/sysdep.h: Likewise.
30936         * sysdeps/i386/sysdep.h: Likewise.
30937         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30938         * sysdeps/mach/sysdep.h: Likewise.
30939         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30940         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30941         * sysdeps/sh/sysdep.h: Likewise.
30942         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30943         * sysdeps/unix/i386/sysdep.S: Likewise.
30944         * sysdeps/unix/sparc/start.c: Likewise.
30945         * sysdeps/unix/sparc/sysdep.S: Likewise.
30946         * sysdeps/unix/sparc/sysdep.h: Likewise.
30947         * sysdeps/unix/start.c: Likewise.
30948         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30949         * sysdeps/x86_64/sysdep.h: Likewise.
30951 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30953         [BZ #13553]
30954         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30955         for non-gcc.
30956         * argp/argp-fmtstream.h: Use const instead __const.
30957         * argp/argp.h: Likewise.
30958         * assert/assert.h: Likewise.
30959         * bits/fenv.h: Likewise.
30960         * bits/sched.h: Likewise.
30961         * bits/sigset.h: Likewise.
30962         * bits/sigthread.h: Likewise.
30963         * catgets/nl_types.h: Likewise.
30964         * conform/data/pthread.h-data: Likewise.
30965         * crypt/crypt-private.h: Likewise.
30966         * crypt/crypt.h: Likewise.
30967         * crypt/crypt_util.c: Likewise.
30968         * ctype/ctype.h: Likewise.
30969         * debug/execinfo.h: Likewise.
30970         * debug/mbsnrtowcs_chk.c: Likewise.
30971         * debug/mbsrtowcs_chk.c: Likewise.
30972         * debug/wcsnrtombs_chk.c: Likewise.
30973         * debug/wcsrtombs_chk.c: Likewise.
30974         * debug/wcstombs_chk.c: Likewise.
30975         * dirent/dirent.h: Likewise.
30976         * dlfcn/dlfcn.h: Likewise.
30977         * elf/neededtest4.c: Likewise.
30978         * grp/grp.h: Likewise.
30979         * gshadow/gshadow.h: Likewise.
30980         * iconv/gconv.h: Likewise.
30981         * iconv/gconv_int.h: Likewise.
30982         * iconv/gconv_simple.c: Likewise.
30983         * iconv/iconv.h: Likewise.
30984         * iconv/loop.c: Likewise.
30985         * iconv/skeleton.c: Likewise.
30986         * include/aio.h: Likewise.
30987         * include/aliases.h: Likewise.
30988         * include/argz.h: Likewise.
30989         * include/arpa/inet.h: Likewise.
30990         * include/assert.h: Likewise.
30991         * include/dirent.h: Likewise.
30992         * include/dlfcn.h: Likewise.
30993         * include/execinfo.h: Likewise.
30994         * include/fcntl.h: Likewise.
30995         * include/fenv.h: Likewise.
30996         * include/glob.h: Likewise.
30997         * include/grp.h: Likewise.
30998         * include/libintl.h: Likewise.
30999         * include/mntent.h: Likewise.
31000         * include/netdb.h: Likewise.
31001         * include/pwd.h: Likewise.
31002         * include/rpc/netdb.h: Likewise.
31003         * include/sched.h: Likewise.
31004         * include/search.h: Likewise.
31005         * include/shadow.h: Likewise.
31006         * include/signal.h: Likewise.
31007         * include/stdio.h: Likewise.
31008         * include/stdlib.h: Likewise.
31009         * include/string.h: Likewise.
31010         * include/sys/socket.h: Likewise.
31011         * include/sys/stat.h: Likewise.
31012         * include/sys/statfs.h: Likewise.
31013         * include/sys/statvfs.h: Likewise.
31014         * include/sys/syslog.h: Likewise.
31015         * include/sys/time.h: Likewise.
31016         * include/sys/uio.h: Likewise.
31017         * include/time.h: Likewise.
31018         * include/unistd.h: Likewise.
31019         * include/utmp.h: Likewise.
31020         * include/wchar.h: Likewise.
31021         * include/wctype.h: Likewise.
31022         * inet/aliases.h: Likewise.
31023         * inet/arpa/inet.h: Likewise.
31024         * inet/netinet/ether.h: Likewise.
31025         * inet/netinet/in.h: Likewise.
31026         * intl/libintl.h: Likewise.
31027         * io/bits/fcntl2.h: Likewise.
31028         * io/fcntl.h: Likewise.
31029         * io/ftw.h: Likewise.
31030         * io/sys/poll.h: Likewise.
31031         * io/sys/stat.h: Likewise.
31032         * io/sys/statfs.h: Likewise.
31033         * io/sys/statvfs.h: Likewise.
31034         * io/utime.h: Likewise.
31035         * libio/bits/stdio.h: Likewise.
31036         * libio/bits/stdio2.h: Likewise.
31037         * libio/libio.h: Likewise.
31038         * libio/libioP.h: Likewise.
31039         * libio/stdio.h: Likewise.
31040         * locale/lc-ctype.c: Likewise.
31041         * locale/locale.h: Likewise.
31042         * login/utmp.h: Likewise.
31043         * malloc/arena.c: Likewise.
31044         * malloc/malloc.c: Likewise.
31045         * malloc/malloc.h: Likewise.
31046         * malloc/mcheck.c: Likewise.
31047         * malloc/mtrace.c: Likewise.
31048         * math/bits/mathcalls.h: Likewise.
31049         * math/fenv.h: Likewise.
31050         * math/math_private.h: Likewise.
31051         * misc/bits/error.h: Likewise.
31052         * misc/bits/syslog.h: Likewise.
31053         * misc/err.h: Likewise.
31054         * misc/error.h: Likewise.
31055         * misc/fstab.h: Likewise.
31056         * misc/mntent.h: Likewise.
31057         * misc/regexp.h: Likewise.
31058         * misc/search.h: Likewise.
31059         * misc/sgtty.h: Likewise.
31060         * misc/sys/mman.h: Likewise.
31061         * misc/sys/syslog.h: Likewise.
31062         * misc/sys/uio.h: Likewise.
31063         * misc/sys/xattr.h: Likewise.
31064         * misc/ttyent.h: Likewise.
31065         * nis/rpcsvc/ypclnt.h: Likewise.
31066         * nss/nss.h: Likewise.
31067         * posix/bits/unistd.h: Likewise.
31068         * posix/fnmatch.h: Likewise.
31069         * posix/glob.h: Likewise.
31070         * posix/sched.h: Likewise.
31071         * posix/spawn.h: Likewise.
31072         * posix/sys/wait.h: Likewise.
31073         * posix/unistd.h: Likewise.
31074         * posix/wordexp.h: Likewise.
31075         * pwd/pwd.h: Likewise.
31076         * resolv/netdb.h: Likewise.
31077         * resource/sys/resource.h: Likewise.
31078         * rt/aio.h: Likewise.
31079         * rt/bits/mqueue2.h: Likewise.
31080         * rt/mqueue.h: Likewise.
31081         * shadow/shadow.h: Likewise.
31082         * signal/signal.h: Likewise.
31083         * socket/send.c: Likewise.
31084         * socket/sendto.c: Likewise.
31085         * socket/sys/socket.h: Likewise.
31086         * stdio-common/printf.h: Likewise.
31087         * stdlib/bits/stdlib.h: Likewise.
31088         * stdlib/fmtmsg.h: Likewise.
31089         * stdlib/monetary.h: Likewise.
31090         * stdlib/stdlib.h: Likewise.
31091         * stdlib/ucontext.h: Likewise.
31092         * streams/stropts.h: Likewise.
31093         * string/argz.h: Likewise.
31094         * string/bits/string2.h: Likewise.
31095         * string/string.h: Likewise.
31096         * string/strings.h: Likewise.
31097         * sunrpc/rpc/auth.h: Likewise.
31098         * sunrpc/rpc/auth_des.h: Likewise.
31099         * sunrpc/rpc/clnt.h: Likewise.
31100         * sunrpc/rpc/netdb.h: Likewise.
31101         * sunrpc/rpc/pmap_clnt.h: Likewise.
31102         * sunrpc/rpc/xdr.h: Likewise.
31103         * sysdeps/generic/inttypes.h: Likewise.
31104         * sysdeps/generic/net/if.h: Likewise.
31105         * sysdeps/generic/sys/swap.h: Likewise.
31106         * sysdeps/gnu/net/if.h: Likewise.
31107         * sysdeps/gnu/utmpx.h: Likewise.
31108         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31109         * sysdeps/i386/i486/bits/string.h: Likewise.
31110         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31111         * sysdeps/s390/bits/string.h: Likewise.
31112         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31113         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31114         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31115         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31116         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31117         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31118         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31119         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31120         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31121         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31122         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31123         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31124         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31125         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31126         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31128         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31129         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31132         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31133         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31134         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31135         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31136         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31137         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31138         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31139         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31140         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31141         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31142         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31143         * sysvipc/sys/ipc.h: Likewise.
31144         * sysvipc/sys/msg.h: Likewise.
31145         * sysvipc/sys/sem.h: Likewise.
31146         * sysvipc/sys/shm.h: Likewise.
31147         * termios/termios.h: Likewise.
31148         * time/sys/time.h: Likewise.
31149         * time/time.h: Likewise.
31150         * wcsmbs/bits/wchar2.h: Likewise.
31151         * wcsmbs/uchar.h: Likewise.
31152         * wcsmbs/wchar.h: Likewise.
31153         * wctype/wctype.h: Likewise.
31155         [BZ #13551]
31156         * Makeconfig: Remove all but ELF support including AIX support.
31157         * Makerules: Likewise.
31158         * config.h.in: Likewise.
31159         * config.make.in: Likewise.
31160         * configure: Likewise.
31161         * configure.in: Likewise.
31162         * csu/Makefile: Likewise.
31163         * csu/version.c: Likewise.
31164         * debug/Makefile: Likewise.
31165         * dlfcn/Makefile: Likewise.
31166         * elf/Makefile: Likewise.
31167         * extra-lib.mk: Likewise.
31168         * iconv/Makefile: Likewise.
31169         * include/libc-symbols.h: Likewise.
31170         * include/shlib-compat.h: Likewise.
31171         * resolv/Makefile: Likewise.
31172         * resolv/res_libc.c: Likewise.
31173         * rt/Makefile: Likewise.
31174         * sysdeps/i386/asm-syntax.h: Likewise.
31175         * sysdeps/i386/sysdep.h: Likewise.
31176         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31177         * sysdeps/mach/sysdep.h: Likewise.
31178         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31179         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31180         * sysdeps/s390/asm-syntax.h: Likewise.
31181         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31182         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31183         * sysdeps/sh/sysdep.h: Likewise.
31184         * sysdeps/unix/sparc/sysdep.h: Likewise.
31185         * sysdeps/wordsize-32/divdi3.c: Likewise.
31186         * sysdeps/x86_64/sysdep.h: Likewise.
31188         * argp/Versions: Remove _argp_unlock_xxx.
31190         [BZ #13559]
31191         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31192         * abilist/libBrokenLocale.abilist: Likewise.
31193         * abilist/libanl.abilist: Likewise.
31194         * abilist/libc.abilist: Likewise.
31195         * abilist/libcrypt.abilist: Likewise.
31196         * abilist/libdl.abilist: Likewise.
31197         * abilist/libm.abilist: Likewise.
31198         * abilist/libnsl.abilist: Likewise.
31199         * abilist/libpthread.abilist: Likewise.
31200         * abilist/libresolv.abilist: Likewise.
31201         * abilist/librt.abilist: Likewise.
31202         * abilist/libthread_db.abilist: Likewise.
31203         * abilist/libutil.abilist: Likewise.
31204         * abilist/libnss_db.abilist: New file.
31206         * scripts/abilist.awk: Add support for indirect functions.
31208         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31210         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31212         * shlib-versions: Remove entries for ports architectures.
31214         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31215         files in ports.
31216         * elf/stackguard-macros.h: Remove support for IA-64.
31217         * elf/tst-auditmod1.c: Likewise.
31218         * sysdeps/generic/ldsodefs.h: Likewise.
31220         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31221         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31222         configure files.
31224         [BZ #13552]
31225         * configure.in: Remove --enable-omitfp support.
31226         * FAQ.in: Adjust.
31227         * config.make.in: Likewise.
31228         * Makeconfig: Likewise.
31229         * manual/install.texi: Likewise.
31231         In case anyone cares, the IA-64 architecture could move to ports.
31232         * sysdeps/ia64/*: Removed.
31233         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31234         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31236         [BZ #13555]
31237         * configure.in: Remove entries for unsupported architectures.
31239         [BZ #13533]
31240         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31241         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31242         routines.
31243         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31244         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31245         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31246         fall back to using wcrtomb.
31247         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31248         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31249         renaming.
31250         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31251         * wcsmbs/tst-c16c32-1.c: New file.
31253         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31254         local variable.
31256         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31258         * elf/tst-unique3.cc: Add explicit declaration of gets.
31259         * elf/tst-unique3lib.cc: Likewise.
31260         * elf/tst-unique3lib2.cc: Likewise.
31261         * elf/tst-unique4.cc: Likewise.
31263         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31265 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31267         [BZ #13566]
31268         * assert/assert.h (static_assert): Don't define for C++.
31269         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31270         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31272 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31274         * iconv/loop.c (single loop): Fix assertion in storing of
31275         remaining bytes.
31277         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31279 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31281         * posix/getconf.c: Update copyright year.
31282         * nss/getent.c: Likewise.
31283         * nss/makedb.c: Likewise.
31284         * iconv/iconvconfig.c: Likewise.
31285         * iconv/iconv_prog.c: Likewise.
31286         * elf/ldconfig.c: Likewise.
31287         * elf/pldd.c: Likewise.
31288         * elf/sotruss.ksh: Likewise.
31289         * catgets/gencat.c: Likewise.
31290         * csu/version.c: Likewise.
31291         * elf/ldd.bash.in: Likewise.
31292         * elf/sprof.c (print_version): Likewise.
31293         * locale/programs/locale.c: Likewise.
31294         * locale/programs/localedef.c: Likewise.
31295         * login/programs/pt_chown.c: Likewise.
31296         * nscd/nscd.c (print_version): Likewise.
31297         * debug/xtrace.sh: Likewise.
31298         * malloc/memusage.sh: Likewise.
31299         * malloc/mtrace.pl: Likewise.
31300         * debug/catchsegv.sh: Likewise.
31302 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31304         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31305         pure attribute.
31307 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31309         [BZ #13533]
31310         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31311         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31312         transformations.
31313         * iconv/gconv_int.h: Likewise.
31314         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31315         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31316         from libc for GLIBC_2.16.
31317         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31318         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31319         * wcsmbs/uchar.h: Really define mbstate_t.
31320         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31321         * wcsmbs/c16rtomb.c: New file.
31322         * wcsmbs/mbrtoc16.c: New file.
31323         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31324         for C/POSIX locale.
31325         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31326         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31328         * wcsmbs/wchar.h: Add missing __restrict.
31330 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31332         [BZ #13532]
31333         * time/Makefile (routines): Add timespec_get.
31334         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31335         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31336         timespec for ISO C11.
31337         * time/timespec_get.c: New file.
31338         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31339         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31341         [BZ #13531]
31342         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31343         * stdlib/stdlib.h: Declare aligned_alloc.
31344         * Versions.def: Add GLIBC_2.16 for libc.
31345         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31347         [BZ 13527]
31348         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31349         ISO C11.
31351         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31352         code.
31354         [BZ #13528]
31355         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31357         [BZ #13529]
31358         * assert/assert.h (static_assert): Define.
31360         * version.h: Update for 2.16 development version.
31362         [BZ #13526]
31363         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31364         _ISOC11_SOURCE.
31366         * version.h (RELEASE): Bump for 2.15 release.
31367         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31369         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31370         Patch by Marek Polacek <mpolacek@redhat.com>.
31372         * bits/byteswap.h: Protect long long constants with __extension__.
31373         * sysdeps/i386/bits/byteswap.h: Likewise.
31374         * sysdeps/ia64/bits/byteswap.h: Likewise.
31375         * sysdeps/s390/bits/byteswap.h: Likewise.
31376         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31378 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31380         [BZ #13540]
31381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31382         destination buffer.
31383         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31385 2011-12-23  Marek Polacek  <polacek@redhat.com>
31387         * elf/dl-addr.c (determine_info): Add inline keyword.
31388         * elf/tst-auditmod4b.c (check_avx): Likewise.
31389         * elf/tst-auditmod6b.c (check_avx): Likewise.
31390         * elf/tst-auditmod6c.c (check_avx): Likewise.
31391         * elf/tst-auditmod7b.c (check_avx): Likewise.
31393 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31395         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31396         !__SSE_MATH__.
31398 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31400         [BZ #13540]
31401         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31402         processing for last bytes.
31404 2011-08-06  Bruno Haible  <bruno@clisp.org>
31406         [BZ #13061]
31407         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31408         U+0385, not to U+1FEE.
31410         [BZ #13062]
31411         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31412         entry for U+00A5 U+0301.
31414 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31416         [BZ #13166]
31417         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31418         buffer for the output is too small.
31420         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31421         optimization.
31423         [BZ #13185]
31424         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31425         SSE flags if possible.
31427 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31429         [BZ #13540]
31430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31431         processing for last bytes.
31433 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31436         (syscall-list-default-options, syscall-list-default-condition)
31437         (syscall-list-includes): Define.
31438         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31439         list of ABIs and options and #if conditions for each ABI.  Do not
31440         handle common syscalls between ABIs specially.
31441         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31442         Remove.
31443         (syscall-list-variants, syscall-list-32bit-options)
31444         (syscall-list-32bit-condition, syscall-list-64bit-options)
31445         (syscall-list-64bit-condition): Define.
31446         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31447         (syscall-list-variants, syscall-list-32bit-options)
31448         (syscall-list-32bit-condition, syscall-list-64bit-options)
31449         (syscall-list-64bit-condition): Define.
31450         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31451         Remove.
31452         (syscall-list-variants, syscall-list-32bit-options)
31453         (syscall-list-32bit-condition, syscall-list-64bit-options)
31454         (syscall-list-64bit-condition): Define.
31455         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31456         Remove.
31457         (syscall-list-variants, syscall-list-32bit-options)
31458         (syscall-list-32bit-condition, syscall-list-64bit-options)
31459         (syscall-list-64bit-condition): Define.
31461 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31463         * locale/iso-639.def: Add brx entry.
31465         [BZ #13328]
31466         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31467         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31469         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31470         __feraiseexcept_renamed.
31472 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31474         [BZ #13538]
31475         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31476         EPOLLET with unsigned values.
31477         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31478         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31480         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31481         to large cancellation.
31482         * math/s_cacoshf.c: Likewise.
31483         * math/s_cacoshl.c: Likewise.
31485 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31487         [BZ #13305]
31488         [BZ #12786]
31489         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31490         * math/s_cacoshf.c: Likewise.
31491         * math/s_cacoshl.c: Likewise.
31493 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31495         [BZ #13439]
31496         * iconv/gconv.h: Define __GCONV_SWAP.
31497         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31498         * iconvdata/utf-16.c: Likewise.
31499         * iconvdata/utf-32.c: Likewise.
31501 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31503         [BZ #13524]
31504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31505         numerator after shifting it by one limb.
31507 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31509         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31510         under [__USE_EXTERN_INLINES].
31512 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31514         [BZ #13446]
31515         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31517 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31519         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31520         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31521         optimized code.
31522         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31523         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31524         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31525         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31526         for strncasecmp/strncasecmp_l compilation.
31527         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31528         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31530 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31532         [BZ #13484]
31533         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31534         of __asm__.
31536 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31538         [BZ #13506]
31539         * time/tzfile.c (__tzfile_read): Check values from file header.
31541 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31543         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31544         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31545         * powerpc/powerpc32/dl-start.S: Likewise.
31546         * powerpc/powerpc32/elf/start.S: Likewise.
31547         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31548         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31549         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31550         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31551         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31552         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31553         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31554         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31555         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31556         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31557         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31558         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31559         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31560         * powerpc/powerpc32/memset.S: Likewise.
31561         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31562         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31563         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31564         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31565         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31566         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31567         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31568         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31569         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31570         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31571         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31572         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31573         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31575 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31577         * math/libm-test.inc: Added more nearbyint tests.
31578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31583 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31585         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31586         FD_CLOEXEC.
31588 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31590         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31591         Add wcscpy-ssse3 wcscpy-c.
31592         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31593         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31594         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31595         * sysdeps/x86_64/wcschr.S: New file.
31596         * sysdeps/x86_64/wcsrchr.S: New file.
31597         * string/test-strcmp.c: Remove checking of wcscmp function for
31598         wrong alignments.
31599         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31600         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31601         wcsrchr-sse2 wcsrchr-c.
31602         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31603         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31604         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31605         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31606         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31607         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31608         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31609         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31610         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31611         * wcsmbc/wcschr.c (WCSCHR): New macro.
31613 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31615         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31616         * wcsmbs/test-wcsrchr.c: New file.
31617         * string/test-strrchr.c: Add wcsrchr support.
31618         (WIDE): New macro.
31619         * wcsmbs/test-wcscpy.c: New file.
31620         * string/test-strcpy.c: Add wcscpy support.
31621         (WIDE): New macro.
31623 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31625         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31626         the inner loop.
31628 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31630         [BZ #13472]
31631         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31633 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31635         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31636         Minor optimizations.
31638         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31639         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31640         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31642 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31644         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31645         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31646         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31647         for gcc to avoid warnings.
31648         * inet/Makefile (tests): Add tst-checks.
31649         * inet/tst-checks.c: New file.
31651         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31652         warning.
31654         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31655         __wmemcmp_sse2.
31657         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31658         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31660         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31662 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31664         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31665         problem.
31667         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31669 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31671         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31672         conditional on GCC version.
31673         (__arch_compare_and_exchange_val_8_acq)
31674         (__arch_compare_and_exchange_val_16_acq)
31675         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31676         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31677         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31679 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31681         * sysdeps/sh/backtrace.c: New file.
31683 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31685         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31686         parenthesis.
31688 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31690         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31691         falling back to utime.
31693 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31695         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31696         expectations for float.
31698 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31700         * locale/weight.h (findidx): Add parameter len.
31701         * locale/weightwc.h (findidx): Likewise.
31702         * posix/fnmatch_loop.c (FCT): Adjust caller.
31703         * posix/regcomp.c (build_equiv_class): Likewise.
31704         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31705         * posix/regexec.c (check_node_accept_bytes): Likewise.
31706         * string/strcoll_l.c (STRCOLL): Likewise.
31707         * string/strxfrm_l.c (STRXFRM): Likewise.
31709 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31711         * Makefile.in: Remove CVSOPT handling.
31712         * configure.in: Remove use of AC_REVISION.
31713         * iconvdata/Makefile (distribute): No need to filter out CVS.
31714         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31715         handling.
31717 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31720         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31721         [USE_AS_STRNCASECMP_L]: Likewise.
31722         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31723         NO_TLS_DIRECT_SEG_REFS.
31724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31725         Fix argument offsets for non-PIC.
31726         [USE_AS_STRNCASECMP_L]: Likewise.
31727         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31728         NO_TLS_DIRECT_SEG_REFS.
31730 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31732         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31733         O_CLOEXEC.
31734         * locale/loadlocale.c (_nl_load_locale): Likewise.
31736 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31738         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31739         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31740         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31741         (SYSCALL_GETTIME): Set errno on error.
31743         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31744         count references to noai6ai_cached.
31746 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31748         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31750         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31751         FD_CLOEXEC for /proc/self/maps.
31753         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31754         FD_CLOEXEC for /proc/meminfo.
31756         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31757         gai.conf.
31759         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31760         FD_CLOEXEC for given file.
31762         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31764         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31765         FD_CLOEXEC for /etc/hosts.
31766         (_gethtent): Likewise.
31768         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31770         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31771         cancellation and set FD_CLOEXEC for /etc/netgroup.
31773         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31774         reading /etc/publickey.
31776         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31777         allow cancellation when reading /etc/group.
31779         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31780         cancellation.
31781         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31783         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31784         when using data file.
31786         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31788         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31789         (write_nis_obj): Use "c" and "e" in fopen.
31791         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31793         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31795         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31797         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31799         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31800         locale.alias.
31802         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31804         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31806         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31808         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31809         file parsing and set FD_CLOEXEC.
31811 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31813         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31815 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31817         * malloc/arena.c (arena_get2): Don't call reused_arena when
31818         _int_new_arena failed.
31820 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31822         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31823         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31825         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31826         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31827         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31828         to compile strcasecmp and strncasecmp.
31829         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31830         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31832         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31834 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31836         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31837         locale-defines.sym to gen-as-const-headers.
31838         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31839         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31841         to compile strcasecmp and strncasecmp.
31842         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31843         strcasecmp_l and strncasecmp_l.
31844         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31845         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31846         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31847         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31848         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31849         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31850         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31851         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31852         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31853         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31854         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31856 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31858         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31859         result of SYSDEP_GETTIME_CPU to retval.
31860         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31861         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31863         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31864         variable.
31866         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31867         mantissa words.
31868         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31871         from unused variable.
31873         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31874         DWARF definitions.
31875         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31876         for assembling.
31878         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31879         over namespaces.
31881         * sunrpc/rpc_prot.c (rejected): Fix case value.
31883         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31884         unsigned long long int to avoid warnings in shift.
31886         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31887         of use of trans.
31888         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31889         variable tmp.
31891         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31892         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31895         * nis/nis_table.c (nis_list): Use variable of correct type for
31896         result of __follow_path call.
31898 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31900         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31901         of math functions ceil, trunc, floor, round, and sqrt, when
31902         avaliable on the platform.
31903         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31904         name clash.
31905         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31906         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31907         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31909 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31911         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31912         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31914 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31916         * include/unistd.h: Fix __readlink return type.
31917         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31919 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31921         * stdlib/ucontext.h: Undo last change for makecontext.
31923 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31925         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31927         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31928         * setjmp/setjmp.h: Mark functions as non-leaf.
31929         * setjmp/bits/setjmp2.h: Likewise.
31930         * stdlib/ucontext.h: Likewise.
31932 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31934         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31935         (reused_arena): Don't check arena limit.
31936         (arena_get2): Atomically check arena limit.
31938 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31940         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31941         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31944         instructions.
31946 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31948         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31949         handler when locking.
31951         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31952         Fix size of allocated buffer.
31954 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31956         [BZ #10103]
31957         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31958         declarations for long double functions.
31959         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31961         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31963 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31965         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31966         installed.
31968         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31969         is disabled.
31971 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31973         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31975 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31977         * include/alloca.h (stackinfo_alloca_round): Define.
31978         (extend_alloca): Use it.
31979         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31980         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31981         here.
31983         * scripts/check-local-headers.sh: Ignore libaudit.h.
31985         * nscd/Makefile (extra-objs): Make recursively expanded.
31987 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31989         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31990         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31992         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31993         * posix/tst-rfc3484-2.c: Likewise.
31994         * posix/tst-rfc3484-3.c: Likewise.
31996         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31997         process_vm_writev.
31998         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31999         process_vm_writev.
32000         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32001         process_vm_writev from libc using GLIBC_2.15 version.
32003         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32005 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32007         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32008         stack usage.
32010 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32012         [BZ #13367]
32013         * nss/getent.c (initgroups_keys): Show error message in case no group
32014         names are given.
32016         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32017         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32018         __bump_nl_timestamp.
32019         * nscd/connections (nscd_init): When host database is served open
32020         netlink socket and request notification about configuration changes.
32021         (main_loop_poll): Track netlink file descriptor and bump timestamp
32022         in case data becomes available.
32023         (main_loop_epoll): Likewise.
32024         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32025         (database_pers_head): Add extra_data fileds.
32026         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32027         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32028         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32029         Adjust caller.
32030         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32031         in6ai data, call __free_in6ai.
32032         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32033         Add -DHAVE_NETLINK.
32034         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32035         interface information.  Reuse previous data if netlink timestamp
32036         is not changed.
32037         (__bump_nl_timestamp): New function.
32038         (__free_in6ai): New function.
32040 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32043         close_not_cancel_no_status here.
32044         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32046 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32048         [BZ #13276]
32049         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32050         return value.
32052         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32053         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32054         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32056 2011-07-03  Andreas Jaeger  <aj@suse.de>
32058         [BZ #10709]
32059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32060         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32061         * math/libm-test.inc (sin_test): Add test case.
32063 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32065         [BZ #13337]
32066         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32067         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32069         * elf/chroot_canon.c (chroot_canon): Cleanups.
32071         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32073         [BZ #13335]
32074         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32075         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32077         * string/test-strchr.c: Make usable for strchrnul testing.
32078         * string/test-strchrnul.c: New file.
32079         * string/Makefile (strop-tests): Add strchrnul.
32081         * po/it.po: Update from translation team.
32082         * po/es.po: Likewise.
32084 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32086         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32087         the three constants needed as parameters.  Drop the others.
32088         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32089         __m128i_strloadu_tolower.
32090         Create and initialize variable zero and use it in all the places
32091         where _mm_setzero_si128 was used.
32093         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32094         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32095         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32096         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32097         anymore.
32098         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32099         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32100         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32101         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32102         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32103         __mpranred, __mptan.
32104         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32105         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32106         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32107         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32108         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32109         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32110         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32111         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32112         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32114 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32116         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32117         redefine if SHARED.
32118         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32121         wide char related routines to wcsmbs subdir.
32123 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32125         [BZ #13344]
32126         * misc/sys/cdefs.h (__THROWNL): Define.
32127         * posix/unistd.h: Use __THREADNL instead of __THREAD
32128         for memory synchronization functions.
32130 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32132         [BZ #13349]
32133         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32134         doesn't exist.
32135         * manual/stdio.texi (Obstack Streams): Node removed.
32137 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32139         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32140         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32141         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32143         * math/math_private.h (math_force_eval): Allow non-addressable
32144         arguments.
32145         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32147 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32149         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32150         file is not needed.
32152         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32154         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32155         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32157         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32158         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32159         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32160         Add AVX variants.
32161         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32162         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32163         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32164         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32165         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32166         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32167         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32168         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32169         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32170         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32171         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32172         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32173         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32174         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32175         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32176         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32177         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32178         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32179         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32181         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32182         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32184         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32185         place.  Use VEX encoding when compiling for AVX.
32187 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32189         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32190         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32192         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32194 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32196         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32197         useless if() expression.
32198         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32199         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32200         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32202         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32204         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32205         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32206         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32207         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32208         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32209         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32210         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32211         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32212         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32213         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32214         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32215         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32216         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32218         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32220 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32222         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32223         condition.
32224         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32226 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32228         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32229         .text section.  Avoid duplicate constants.
32230         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32232         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32233         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32234         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32238         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32239         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32240         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32241         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32242         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32243         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32244         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32245         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32246         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32247         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32248         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32250         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32251         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32252         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32253         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32254         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32255         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32256         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32257         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32258         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32259         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32260         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32261         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32262         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32263         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32264         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32265         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32266         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32267         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32268         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32269         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32270         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32271         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32272         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32273         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32274         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32276 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32278         * sysdeps/x86_64/dla.h: Move to ...
32279         * sysdeps/x86_64/fpu/dla.h: ...here.
32280         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32281         situations.  Use __builtin_fma only for gcc 4.6 and up.
32283         * config.make.in: Add have-mfma4 entry.
32284         * configure.in: Substitute libc_cv_cc_fma4.
32285         * math/Makefile (dbl-only-routines): Add sincostab.
32286         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32287         Use __sincostab not sincos.
32288         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32289         name is a macro.
32290         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32291         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32294         using __copysign.
32295         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32296         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32297         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32298         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32299         and __inv.
32300         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32301         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32302         __copysign.
32303         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32304         define aliases when function name is a macro.
32305         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32306         sysdeps/ieee754/dbl-64/sincos.tbl.
32307         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32308         fma4-enabled routines.
32309         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32310         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32311         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32312         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32313         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32314         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32316         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32317         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32318         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32319         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32320         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32321         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32322         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32324         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32325         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32326         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32327         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32328         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32329         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32330         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32331         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32332         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32333         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32335         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32336         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32337         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32338         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32340         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32341         rename.
32342         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32351 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32353         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32355 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32357         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32359         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32360         prediction.
32361         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32363         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32364         Remove unused variable magic_bits.
32365         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32367         * string/strnlen.c: Define and use STRNLEN macro.
32368         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32369         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32371         * wcsmbs/wcslen.c: Define and use WCSLEN.
32372         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32373         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32374         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32375         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32376         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32377         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32378         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32380 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32383         strnlen-sse2-no-bsf.
32384         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32386         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32387         Add strnlen support.
32388         (USE_AS_STRNLEN): New macro.
32389         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32390         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32391         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32392         * sysdeps/x86_64/wcslen.S: New file.
32394 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32396         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32397         XMM-moves are used for copying on small sizes.
32399 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32401         * wcsmbs/Makefile (strop-tests): Add wcschr.
32402         * wcsmbs/test-wcschr.c: New file.
32403         * string/test-strchr.c: Update.
32404         Add wcschr support.
32405         (WIDE): New macro.
32407 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32409         * wcsmbs/Makefile (strop-tests): Add wcslen.
32410         * wcsmbs/test-wcslen.c: New file.
32411         * string/test-strlen.c: Update.
32412         Add wcslen support.
32413         (WIDE): New macro.
32415 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32417         * po/it.po: Update from translation team.
32419 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32421         * sysdeps/x86_64/wcscmp.S: Update.
32422         Fix wrong comparison semantics.
32423         wcscmp shall use signed comparison not unsigned.
32424         Don't use substraction to avoid overflow bug.
32425         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32426         * wcsmbc/wcscmp.c: Likewise.
32427         * string/test-strcmp.c: Likewise.
32428         Add new tests to check cases with negative values.
32430 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32432         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32433         * sysdeps/x86_64/dla.h: ...here.  New file.
32434         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32435         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32439         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32441         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32444 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32447         __ynl_finite aliases.
32449 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32453         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32454         define DLA_FMA.
32455         [DLA_FMA] (EMULV): Use DLA_FMA.
32456         [DLA_FMA] (MUL12): Use EMULV.
32457         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32458         that are not needed.
32459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32467 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32469         * math/s_nan.c: Undef __nan.
32470         * math/s_nanf.c: Undef __nanf.
32471         * math/s_nanl.c: Undef __nanl.
32472         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32473         "math_private.h".
32475 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32477         * math/s_catan.c: Add branch predictions.
32478         * math/s_catanf.c: Likewise.
32479         * math/s_catanh.c: Likewise.
32480         * math/s_catanhf.c: Likewise.
32481         * math/s_catanhl.c: Likewise.
32482         * math/s_catanl.c: Likewise.
32483         * math/s_cexp.c: Likewise.
32484         * math/s_cexpf.c: Likewise.
32485         * math/s_cexpl.c: Likewise.
32486         * math/s_clog.c: Likewise.
32487         * math/s_clog10.c: Likewise.
32488         * math/s_clog10f.c: Likewise.
32489         * math/s_clog10l.c: Likewise.
32490         * math/s_clogf.c: Likewise.
32491         * math/s_clogl.c: Likewise.
32492         * math/s_csqrt.c: Likewise.
32493         * math/s_csqrtf.c: Likewise.
32494         * math/s_csqrtl.c: Likewise.
32495         * math/s_ctanf.c: Likewise.
32496         * math/s_ctanh.c: Likewise.
32497         * math/s_ctanhf.c: Likewise.
32498         * math/s_ctanhl.c: Likewise.
32499         * math/s_ctanl.c: Likewise.
32501         * math/math_private.h: Define __nan, __nanf, __nanl.
32502         * math/s_cacosh.c: Include <math_private.h>.
32503         * math/s_cacoshl.c: Likewise.
32504         * math/s_casinh.c: Likewise.
32505         * math/s_casinhf.c: Likewise.
32506         * math/s_casinhl.c: Likewise.
32507         * math/s_ccos.c: Rely entire on ccosh.
32508         * math/s_ccosf.c: Rely entire on ccoshf.
32509         * math/s_ccosl.c: Rely entirely on ccoshl.
32510         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32511         Remove tests for FE_INVALID.
32512         * math/s_ccoshf.c: Likewise.
32513         * math/s_ccoshl.c: Likewise.
32514         * math/s_csin.c: Likewise.
32515         * math/s_csinf.c: Likewise.
32516         * math/s_csinh.c Likewise.
32517         * math/s_csinhf.c: Likewise.
32518         * math/s_csinhl.c: Likewise.
32519         * math/s_csinl.c: Likewise.
32520         * math/s_ctan.c: Likewise.
32521         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32522         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32523         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32525 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32528         compilation problems.
32530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32531         __builtin_expect.
32533 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32535         * sysdeps/i386/configure.in: Test for -mfma4 option.
32536         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32537         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32538         COMMON_CPUID_INDEX_80000001.
32539         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32540         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32541         use it if FMA3 is not supported.
32542         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32544         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32545         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32547 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32549         [BZ #12892]
32550         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32551         it would create a cycle with a link time dependency.
32553 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32555         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32556         instruction.
32557         * string/Makefile (strop-tests): Add rawmemchr.
32558         * string/test-rawmemchr.c: New file.
32560         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32561         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32562         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32563         when compiling str{,n}casecmp and when AVX is available.  Hook up
32564         new optimized code in initializers.
32566 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32568         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32569         __feraiseexcept instead of feraiseexcept.
32571 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32573         * math/math_private.h: Define defaults for libc_fetestexcept and
32574         libc_feupdateenv.
32575         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32576         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32577         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32578         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32579         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32580         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32581         libc_fetestexcept and libc_feupdateenv.
32583         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32584         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32585         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32586         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32587         libc_feholdexcept_setround.
32589         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32590         Add s_nearbyint-c and s_nearbyintf-c.
32591         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32592         nearbyintf inlines.
32593         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32594         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32595         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32596         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32598         * math/math_private.h: Define defaults for libc_fegetround,
32599         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32600         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32601         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32603         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32604         standard functions.
32605         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32606         Remove comments and hacks for old compiler versions.
32607         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32608         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32609         libc_feholdexceptl.
32611 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32613         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32614         (__feraiseexcept_renamed): Add __NTH.
32615         (feraiseexcept): Add __NTH.  Rename local variables to fix
32616         namespace violations.
32618 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32620         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32622         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32624         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32625         recently added interfaces.
32626         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32628         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32629         about macro parameter expansion.
32631         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32632         __NO_MATH_INLINES is defined.  Cleanups.
32634         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32635         and __floorf is target has SSE4.1.
32636         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32637         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32638         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32639         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32641         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32642         name.
32643         (floorf): Likewise.
32645         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32647 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32649         * misc/sys/cdefs.h: Fix last change.
32651         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32652         database lookup.
32654 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32656         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32658         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32659         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32660         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32661         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32662         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32663         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32664         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32665         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32666         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32667         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32668         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32669         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32670         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32671         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32672         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32673         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32674         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32675         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32676         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32677         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32678         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32679         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32681         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32682         ceil, ceilf, floor, floorf.
32684         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32685         Perform IRELATIVE relocations last.
32687         * elf/do-rel.h: Add another parameter nrelative, replacing the
32688         local variable with the same name.  Change name of the function
32689         to end in Rel or Rela (uppercase).
32690         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32691         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32692         elf_dynamic_do_##reloc function.
32694 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32696         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32697         is sufficient, at least on modern CPUs.
32699         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32701         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32702         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32704         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32705         __expl_finite.
32706         * math/bits/math-finite.h: Add entries for exp.
32707         * math/e_expl.c: Add __*_finite alias.
32708         * sysdeps/i386/fpu/e_exp.S: Likewise.
32709         * sysdeps/i386/fpu/e_expf.S: Likewise.
32710         * sysdeps/i386/fpu/e_expl.c: Likewise.
32711         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32712         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32713         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32714         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32715         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32716         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32717         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32719         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32720         is sufficient, at least on modern CPUs.
32722         * ctype/ctype-info.c (__ctype_init): Define.
32723         * include/ctype.h (__ctype_init): Declare.
32724         (__ctype_b_loc): The variable is always initialized.
32725         (__ctype_toupper_loc): Likewise.
32726         (__ctype_tolower_loc): Likewise.
32727         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32728         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32730 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32732         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32734         * configure.in: Also look in $cxxmachine/include for C++ system
32735         headers.
32737 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32739         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32740         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32741         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32742         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32743         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32744         (USE_AS_WMEMCMP): New macro.
32745         Fixing indents.
32746         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32747         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32748         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32749         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32751         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32752         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32753         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32754         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32755         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32757         (USE_AS_WMEMCMP): New macro.
32758         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32759         * sysdeps/string/test-memcmp.c: Update.
32760         Fix simple_wmemcmp.
32761         Add new tests.
32762         * wcsmbs/wmemcmp.c: Update.
32763         (WMEMCMP): New macro.
32764         Fix overflow bug.
32766 2011-10-12  Andreas Jaeger  <aj@suse.de>
32768         [BZ #13268]
32769         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32771 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32773         * libio/iofwide.c (do_length): Avoid warning.
32775         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32777 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32779         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32781         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32782         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32783         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32784         * sysdeps/i386/i686/fpu/e_log.S: New file.
32785         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32786         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32788         * ctype/ctype.h: Add support for inlined isXXX functions when
32789         compiling C++ code.
32791 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32793         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32795         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32797 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32799         [BZ #13291]
32800         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32802 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32804         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32805         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32806         feraiseexcept.
32808         * sysdeps/x86_64/memrchr.S: Check for zero size.
32810         * string/stratcliff.c: Add memrchr tests.
32812 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32815         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32816         rawmemchr-sse2 rawmemchr-sse2-bsf.
32817         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32818         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32819         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32820         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32821         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32822         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32823         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32824         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32825         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32826         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32827         * string/memrchr.c (MEMRCHR): New macro.
32829 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32831         Add integration with gcc's -ffinite-math-only and optimize wrapper
32832         functions in libm.
32833         * Versions.def: Define GLIBC_2.15 version for libm.
32834         * math/Makefile (headers): Add bits/math-finite.h.
32835         * math/bits/math-finite.h: New file.
32836         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32837         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32838         * math/e_acoshl.c: Add __*_finite alias.
32839         * math/e_acosl.c: Likewise.
32840         * math/e_asinl.c: Likewise.
32841         * math/e_atan2l.c: Likewise.
32842         * math/e_atanhl.c: Likewise.
32843         * math/e_coshl.c: Likewise.
32844         * math/e_exp10.c: Likewise.
32845         * math/e_exp10f.c: Likewise.
32846         * math/e_exp10l.c: Likewise.
32847         * math/e_exp2l.c: Likewise.
32848         * math/e_fmodl.c: Likewise.
32849         * math/e_gammal_r.c: Likewise.
32850         * math/e_hypotl.c: Likewise.
32851         * math/e_j0l.c: Likewise.
32852         * math/e_j1l.c: Likewise.
32853         * math/e_jnl.c: Likewise.
32854         * math/e_lgammal_r.c: Likewise.
32855         * math/e_log10l.c: Likewise.
32856         * math/e_log2l.c: Likewise.
32857         * math/e_logl.c: Likewise.
32858         * math/e_powl.c: Likewise.
32859         * math/e_sinhl.c: Likewise.
32860         * math/e_sqrtl.c: Likewise.
32861         * math/e_scalb.c: Completely rewritten and optimized.
32862         * math/e_scalbf.c: Likewise.
32863         * math/e_scalbl.c: Likewise.
32864         * math/w_acos.c: Likewise.
32865         * math/w_acosf.c: Likewise.
32866         * math/w_acosl.c: Likewise.
32867         * math/w_acosh.c: Likewise.
32868         * math/w_acoshf.c: Likewise.
32869         * math/w_acoshl.c: Likewise.
32870         * math/w_asin.c: Likewise.
32871         * math/w_asinf.c: Likewise.
32872         * math/w_asinl.c: Likewise.
32873         * math/w_atan2.c: Likewise.
32874         * math/w_atan2f.c: Likewise.
32875         * math/w_atan2l.c: Likewise.
32876         * math/w_atanh.c: Likewise.
32877         * math/w_atanhf.c: Likewise.
32878         * math/w_atanhl.c: Likewise.
32879         * math/w_exp10.c: Likewise.
32880         * math/w_exp10f.c: Likewise.
32881         * math/w_exp10l.c: Likewise.
32882         * math/w_fmod.c: Likewise.
32883         * math/w_fmodf.c: Likewise.
32884         * math/w_fmodl.c: Likewise.
32885         * math/w_j0.c: Likewise.
32886         * math/w_j0f.c: Likewise.
32887         * math/w_j0l.c: Likewise.
32888         * math/w_j1.c: Likewise.
32889         * math/w_j1f.c: Likewise.
32890         * math/w_j1l.c: Likewise.
32891         * math/w_jn.c: Likewise.
32892         * math/w_jnf.c: Likewise.
32893         * math/w_log.c: Likewise.
32894         * math/w_logf.c: Likewise.
32895         * math/w_logl.c: Likewise.
32896         * math/w_log10.c: Likewise.
32897         * math/w_log10f.c: Likewise.
32898         * math/w_log10l.c: Likewise.
32899         * math/w_log2.c: Likewise.
32900         * math/w_log2f.c: Likewise.
32901         * math/w_log2l.c: Likewise.
32902         * math/w_pow.c: Likewise.
32903         * math/w_powf.c: Likewise.
32904         * math/w_powl.c: Likewise.
32905         * math/w_remainder.c: Likewise.
32906         * math/w_remainderf.c: Likewise.
32907         * math/w_remainderl.c: Likewise.
32908         * math/w_scalb.c: Likewise.
32909         * math/w_scalbf.c: Likewise.
32910         * math/w_scalbl.c: Likewise.
32911         * math/w_sqrt.c: Likewise.
32912         * math/w_sqrtf.c: Likewise.
32913         * math/w_sqrtl.c: Likewise.
32914         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32915         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32916         used.
32917         * math/math_private.h: Declare __kernel_standard_f.
32918         * math/w_cosh.c: Remove cruft and optimize a bit.
32919         * math/w_coshf.c: Likewise.
32920         * math/w_coshl.c: Likewise.
32921         * math/w_exp2.c: Likewise.
32922         * math/w_exp2f.c: Likewise.
32923         * math/w_exp2l.c: Likewise.
32924         * math/w_hypot.c: Likewise.
32925         * math/w_hypotf.c: Likewise.
32926         * math/w_hypotl.c: Likewise.
32927         * math/w_lgamma.c: Likewise.
32928         * math/w_lgamma_r.c: Likewise.
32929         * math/w_lgammaf.c: Likewise.
32930         * math/w_lgammaf_r.c: Likewise.
32931         * math/w_lgammal.c: Likewise.
32932         * math/w_lgammal_r.c: Likewise.
32933         * math/w_sinh.c: Likewise.
32934         * math/w_sinhf.c: Likewise.
32935         * math/w_sinhl.c: Likewise.
32936         * math/w_tgamma.c: Likewise.
32937         * math/w_tgammaf.c: Likewise.
32938         * math/w_tgammal.c: Likewise.
32939         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32940         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32941         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32942         Minor optimizations.  Pretty printing.  Remove cruft.
32943         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32945         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32946         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32947         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32948         * sysdeps/i386/fpu/e_asin.S: Likewise.
32949         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32950         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32951         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32952         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32953         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32954         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32955         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32956         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32957         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32958         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32959         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32960         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32961         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32962         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32963         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32964         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32965         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32966         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32967         * sysdeps/i386/fpu/e_log.S: Likewise.
32968         * sysdeps/i386/fpu/e_log10.S: Likewise.
32969         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32970         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32971         * sysdeps/i386/fpu/e_log2.S: Likewise.
32972         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32973         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32974         * sysdeps/i386/fpu/e_logf.S: Likewise.
32975         * sysdeps/i386/fpu/e_logl.S: Likewise.
32976         * sysdeps/i386/fpu/e_pow.S: Likewise.
32977         * sysdeps/i386/fpu/e_powf.S: Likewise.
32978         * sysdeps/i386/fpu/e_powl.S: Likewise.
32979         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32980         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32981         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32982         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32983         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32984         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32985         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32986         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32987         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32988         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32991         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32992         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32993         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32994         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32995         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32997         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32998         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32999         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33005         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33009         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33010         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33011         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33012         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33013         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33014         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33015         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33016         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33017         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33018         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33019         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33020         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33021         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33022         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33023         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33024         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33025         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33026         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33027         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33028         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33029         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33044         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33045         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33047         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33049         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33052         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33054         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33057         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33059         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33060         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33064         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33067         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33068         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33069         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33071         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33075         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33076         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33077         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33078         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33079         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33080         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33081         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33082         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33083         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33084         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33085         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33086         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33087         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33088         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33089         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33090         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33091         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33092         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33093         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33094         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33095         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33096         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33097         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33098         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33099         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33100         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33101         (__isnanf): Likewise.
33102         (__isinf_ns): Likewise.
33103         (__isinf_nsf): Likewise.
33104         (__finite): Likewise.
33105         (__finitef): Likewise.
33106         (__ieee754_sqrt): Define as macro.
33107         (__ieee754_sqrtf): Define as macro.
33108         (__ieee754_sqrtl): Define as macro.
33109         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33110         inlined copy.
33111         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33112         __FINITE_MATH_ONLY__ consistent.
33113         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33115 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33117         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33118         of rawmemchr.
33120         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33122 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33124         * po/ja.po: Update from translation team.
33126 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33128         * locale/programs/locarchive.c (prepare_address_space): New function.
33129         (create_archive, enlarge_archive, open_archive): Use it.
33131         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33132         inside [SHARED], where it is used.
33134         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33136         * nss/getent.c (netgroup_keys): Remove unused variable.
33137         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33139 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33141         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33142         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33143         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33144         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33145         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33146         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33147         * math/Makefile (libm-calls): Add s_isinf_ns.
33148         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33149         * math/multc3.c: Likewise.
33150         * math/s_casin.c: Likewise.
33151         * math/s_casinf.c: Likewise.
33152         * math/s_casinl.c: Likewise.
33153         * math/s_ccos.c: Likewise.
33154         * math/s_ccosf.c: Likewise.
33155         * math/s_ccosl.c: Likewise.
33156         * math/s_ctan.c: Likewise.
33157         * math/s_ctanf.c: Likewise.
33158         * math/s_ctanh.c: Likewise.
33159         * math/s_ctanhf.c: Likewise.
33160         * math/s_ctanhl.c: Likewise.
33161         * math/s_ctanl.c: Likewise.
33162         * math/w_fmod.c: Likewise.
33163         * math/w_fmodf.c: Likewise.
33164         * math/w_fmodl.c: Likewise.
33165         * math/w_remainder.c: Likewise.
33166         * math/w_remainderf.c: Likewise.
33167         * math/w_remainderl.c: Likewise.
33168         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33169         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33170         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33172         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33173         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33174         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33175         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33177         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33178         of the number.
33179         * stdio-common/printf_fphex.c: Likewise.
33180         * stdio-common/printf_size.c: Likewise.
33182         * math/e_exp10.c: Include math_private.h using <...> not "...".
33183         * math/e_exp10f.c: Likewise.
33184         * math/e_exp10l.c: Likewise.
33185         * math/e_exp2l.c: Likewise.
33186         * math/e_j0l.c: Likewise.
33187         * math/e_j1l.c: Likewise.
33188         * math/e_jnl.c: Likewise.
33189         * math/e_lgammal_r.c: Likewise.
33190         * math/e_rem_pio2l.c: Likewise.
33191         * math/e_scalb.c: Likewise.
33192         * math/e_scalbf.c: Likewise.
33193         * math/e_scalbl.c: Likewise.
33194         * math/k_cosl.c: Likewise.
33195         * math/k_sinl.c: Likewise.
33196         * math/k_tanl.c: Likewise.
33197         * math/s_cacoshf.c: Likewise.
33198         * math/s_catan.c: Likewise.
33199         * math/s_catanf.c: Likewise.
33200         * math/s_catanh.c: Likewise.
33201         * math/s_catanhf.c: Likewise.
33202         * math/s_catanhl.c: Likewise.
33203         * math/s_catanl.c: Likewise.
33204         * math/s_ccosh.c: Likewise.
33205         * math/s_ccoshf.c: Likewise.
33206         * math/s_ccoshl.c: Likewise.
33207         * math/s_cexp.c: Likewise.
33208         * math/s_cexpf.c: Likewise.
33209         * math/s_cexpl.c: Likewise.
33210         * math/s_clog.c: Likewise.
33211         * math/s_clog10.c: Likewise.
33212         * math/s_clog10f.c: Likewise.
33213         * math/s_clog10l.c: Likewise.
33214         * math/s_clogf.c: Likewise.
33215         * math/s_clogl.c: Likewise.
33216         * math/s_csin.c: Likewise.
33217         * math/s_csinf.c: Likewise.
33218         * math/s_csinh.c: Likewise.
33219         * math/s_csinhf.c: Likewise.
33220         * math/s_csinhl.c: Likewise.
33221         * math/s_csinl.c: Likewise.
33222         * math/s_csqrt.c: Likewise.
33223         * math/s_csqrtf.c: Likewise.
33224         * math/s_csqrtl.c: Likewise.
33225         * math/s_ctan.c: Likewise.
33226         * math/s_ctanf.c: Likewise.
33227         * math/s_ctanh.c: Likewise.
33228         * math/s_ctanhf.c: Likewise.
33229         * math/s_ctanhl.c: Likewise.
33230         * math/s_ctanl.c: Likewise.
33231         * math/s_ldexp.c: Likewise.
33232         * math/s_ldexpf.c: Likewise.
33233         * math/s_ldexpl.c: Likewise.
33234         * math/s_significand.c: Likewise.
33235         * math/s_significandf.c: Likewise.
33236         * math/s_significandl.c: Likewise.
33237         * math/w_acos.c: Likewise.
33238         * math/w_acosf.c: Likewise.
33239         * math/w_acosh.c: Likewise.
33240         * math/w_acoshf.c: Likewise.
33241         * math/w_acoshl.c: Likewise.
33242         * math/w_acosl.c: Likewise.
33243         * math/w_asin.c: Likewise.
33244         * math/w_asinf.c: Likewise.
33245         * math/w_asinl.c: Likewise.
33246         * math/w_atan2.c: Likewise.
33247         * math/w_atan2f.c: Likewise.
33248         * math/w_atan2l.c: Likewise.
33249         * math/w_atanh.c: Likewise.
33250         * math/w_atanhf.c: Likewise.
33251         * math/w_atanhl.c: Likewise.
33252         * math/w_cosh.c: Likewise.
33253         * math/w_coshf.c: Likewise.
33254         * math/w_coshl.c: Likewise.
33255         * math/w_dremf.c: Likewise.
33256         * math/w_exp10.c: Likewise.
33257         * math/w_exp10f.c: Likewise.
33258         * math/w_exp10l.c: Likewise.
33259         * math/w_exp2.c: Likewise.
33260         * math/w_exp2f.c: Likewise.
33261         * math/w_fmod.c: Likewise.
33262         * math/w_fmodf.c: Likewise.
33263         * math/w_fmodl.c: Likewise.
33264         * math/w_hypot.c: Likewise.
33265         * math/w_hypotf.c: Likewise.
33266         * math/w_hypotl.c: Likewise.
33267         * math/w_j0.c: Likewise.
33268         * math/w_j0f.c: Likewise.
33269         * math/w_j0l.c: Likewise.
33270         * math/w_j1.c: Likewise.
33271         * math/w_j1f.c: Likewise.
33272         * math/w_j1l.c: Likewise.
33273         * math/w_jn.c: Likewise.
33274         * math/w_jnf.c: Likewise.
33275         * math/w_jnl.c: Likewise.
33276         * math/w_lgamma.c: Likewise.
33277         * math/w_lgamma_r.c: Likewise.
33278         * math/w_lgammaf.c: Likewise.
33279         * math/w_lgammaf_r.c: Likewise.
33280         * math/w_lgammal.c: Likewise.
33281         * math/w_lgammal_r.c: Likewise.
33282         * math/w_log.c: Likewise.
33283         * math/w_log10.c: Likewise.
33284         * math/w_log10f.c: Likewise.
33285         * math/w_log10l.c: Likewise.
33286         * math/w_log2.c: Likewise.
33287         * math/w_log2f.c: Likewise.
33288         * math/w_log2l.c: Likewise.
33289         * math/w_logf.c: Likewise.
33290         * math/w_logl.c: Likewise.
33291         * math/w_pow.c: Likewise.
33292         * math/w_powf.c: Likewise.
33293         * math/w_powl.c: Likewise.
33294         * math/w_remainder.c: Likewise.
33295         * math/w_remainderf.c: Likewise.
33296         * math/w_remainderl.c: Likewise.
33297         * math/w_scalb.c: Likewise.
33298         * math/w_scalbf.c: Likewise.
33299         * math/w_scalbl.c: Likewise.
33300         * math/w_sinh.c: Likewise.
33301         * math/w_sinhf.c: Likewise.
33302         * math/w_sinhl.c: Likewise.
33303         * math/w_sqrt.c: Likewise.
33304         * math/w_sqrtf.c: Likewise.
33305         * math/w_sqrtl.c: Likewise.
33306         * math/w_tgamma.c: Likewise.
33307         * math/w_tgammaf.c: Likewise.
33308         * math/w_tgammal.c: Likewise.
33310         * po/ja.po: Update from translation team.
33312 2011-09-29  Andreas Jaeger  <aj@suse.de>
33314         [BZ #13179]
33315         * sunrpc/netname.c (netname2host): Fix logic.
33317         [BZ #6779]
33318         [BZ #6783]
33319         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33320         correctly.
33321         * math/w_remainder.c (__remainder): Likewise.
33322         * math/w_remainderf.c (__remainderf): Likewise.
33323         * math/libm-test.inc (remainder_test): Add test cases.
33325 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33327         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33328         sdiv_qrnnd.
33330 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33332         * string/test-memcmp.c: Avoid unncessary #defines.
33333         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33335 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33337         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33338         Use new sse2 version for core i3 - i7 as it's faster
33339         than sse42 version.
33340         (bit_Prefer_PMINUB_for_stringop): New.
33341         * sysdeps/x86_64/rawmemchr.S: Update.
33342         Replace with faster SSE2 version.
33343         * sysdeps/x86_64/memrchr.S: New file.
33344         * sysdeps/x86_64/memchr.S: Update.
33345         Replace with faster SSE2 version.
33347 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33349         * elf/dl-load.c (lose): Add cast to avoid warning.
33351 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33353         * po/ca.po: Update from translation team.
33355         * inet/getnetgrent_r.c: Hook up nscd.
33356         * nscd/Makefile (routines): Add nscd_netgroup.
33357         (nscd-modules): Add netgroupcache.
33358         (CFLAGS-netgroupcache.c): Define.
33359         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33360         (cache_search): Add const to second parameter.
33361         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33362         INNETGR.
33363         (dbs): Add netgrdb entry.
33364         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33365         (verify_persistent_db): Handle netgrdb.
33366         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33367         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33368         GETFDNETGR.
33369         (netgroup_response_header): Define.
33370         (innetgroup_response_header): Define.
33371         (datahead): Add netgroup_response_header and innetgroup_response_header
33372         elements.
33373         * nscd/nscd.conf: Add entries for netgroup cache.
33374         * nscd/nscd.h (dbtype): Add netgrdb.
33375         (_PATH_NSCD_NETGROUP_DB): Define.
33376         (netgroup_iov_disabled): Declare.
33377         (xmalloc, xcalloc, xrealloc): Move declarations here.
33378         (cache_search): Adjust prototype.
33379         Add netgroup-related prototypes.
33380         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33381         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33382         (__nscd_innetgr): Declare.
33383         * nscd/selinux.c (perms): Use access_vector_t as element type and
33384         add netgroup-related initializers.
33385         * nscd/netgroupcache.c: New file.
33386         * nscd/nscd_netgroup.c: New file.
33387         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33388         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33389         For four parameters use innetgr.
33390         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33391         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33392         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33393         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33395         * nscd/connections.c (register_traced_file): Don't register file
33396         for disabled databases.
33398 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33400         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33402         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33403         from tree and freeing node.
33405 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33407         * nss/nsswitch.c (__nss_database_lookup): Handle
33408         nss_parse_service_list out of memory case.
33410 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33412         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33413         out of memory case.
33415 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33417         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33418         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33419         pass it down.
33420         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33421         elf_machine_rela, elf_machine_lazy_rel.
33422         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33423         (ELF_DYNAMIC_DO_REL): Likewise.
33424         (ELF_DYNAMIC_DO_RELA): Likewise.
33425         (ELF_DYNAMIC_RELOCATE): Likewise.
33426         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33427         to ELF_DYNAMIC_DO_REL.
33428         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33429         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33430         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33431         elf_machine_rela.
33432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33433         skip_ifunc, don't call ifunc function if non-zero.
33434         (elf_machine_rela): Likewise.
33435         (elf_machine_lazy_rel): Likewise.
33436         (elf_machine_lazy_rela): Likewise.
33437         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33438         (elf_machine_lazy_rel): Likewise.
33439         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33440         Likewise.
33441         (elf_machine_lazy_rel): Likewise.
33442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33443         Likewise.
33444         (elf_machine_lazy_rel): Likewise.
33445         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33446         (elf_machine_lazy_rel): Likewise.
33447         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33448         (elf_machine_lazy_rel): Likewise.
33449         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33450         (elf_machine_lazy_rel): Likewise.
33451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33452         (elf_machine_lazy_rel): Likewise.
33453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33454         (elf_machine_lazy_rel): Likewise.
33455         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33456         (elf_machine_lazy_rel): Likewise.
33458 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33460         * nss/nss_files/files-init.c (_nss_files_init): Use static
33461         initialization for all the *_traced_file variables.
33463 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33465         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33467 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33469         [BZ #13226]
33470         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33472 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33474         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33475         Reread the line before reparsing it.
33477 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33479         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33481 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33482             Maxim Kuvyrkov  <maxim@codesourcery.com>
33483             Joseph Myers  <joseph@codesourcery.com>
33485         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33486         if needed for __stack_chk_guard.
33488 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33490         * sysdeps/posix/spawni.c (script_execute): Always define it.
33491         It will be optimized away if unused.
33492         (maybe_script_execute): New function.
33493         (__spawni): Call it.
33495         * Makerules: Don't include tls.make.
33496         (config-tls): Always set to thread.
33497         * tls.make.c: File removed.
33499 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33501         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33502         * config.make.in (CPPFLAGS-config): New substituted variable.
33504 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33508         [BZ #13192]
33509         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33510         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33512 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33514         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33515         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33516         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33517         (CALL_FAIL): Likewise.
33518         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33519         (CALL_FAIL): Macro removed.
33520         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33522 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33524         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33525         for __FINITE_MATH_ONLY__ == 1.
33527 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33529         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33530         __ieee754_sqrt instead of sqrt.
33531         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33532         __ieee754_sqrtf instead of sqrtf.
33533         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33534         __floorf instead of floorf.
33535         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33536         __floorf, __truncf instead of floorf, truncf.
33538 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33540         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33542         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33543         __extern_always_inline.
33544         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33545         32-bit.
33547 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33549         * elf/rtld.c (dl_main): Also relocate in dependency order when
33550         doing symbol dependency testing.
33552 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33555         Always define `refsym'.
33557 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33559         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33560         (__FD_ELT): Renamed from __FDELT.
33561         * misc/bits/select2.h (__FD_ELT): Likewise.
33562         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33563         __FD_MASK instead of __FDELT, __FDMASK.
33564         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33565         Likewise.
33566         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33567         Likewise.
33569         * elf/Makefile (gen-ldd): Fix pattern.
33571         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33572         (init_tls): Likewise.
33574 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33576         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33578 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33580         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33581         `struct cmsghdr *' instead of `void *'.
33582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33583         Likewise.
33585 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33587         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33588         if non-absolute.
33589         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33590         ldd_rewrite_script.
33592 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33594         * configure.in: Remove --with-tls option.
33595         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33596         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33597         out in case it is missing.
33598         * sysdeps/ia64/elf/configure.in: Likewise.
33599         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33600         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33601         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33602         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33603         * sysdeps/sh/elf/configure.in: Likewise.
33604         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33605         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33606         * sysdeps/x86_64/elf/configure.in: Likewise.
33607         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33608         * sysdeps/mach/hurd/tls.h: Likewise.
33610         [BZ #13067]
33611         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33613         [BZ #13090]
33614         * configure.in: Fix use of AC_INIT.
33616         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33618 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33620         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33621         __set_errno.
33622         * malloc/hooks.c: Likewise.
33624         [BZ #11929]
33625         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33626         variables statically.
33627         (narenas): Initialize.
33628         (list_lock): Initialize.
33629         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33630         initializtion of main_arena and list_lock.  Small cleanups.
33631         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33632         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33633         Add initializers to main_arena and mp_.
33634         (malloc_state): Remove pagesize member.  Change all users to use
33635         GLRO(dl_pagesize).
33637         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33638         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33639         is always initialized.
33641         * malloc/malloc.c: Removed unused configurations and dead code.
33642         * malloc/arena.c: Likewise.
33643         * malloc/hooks.c: Likewise.
33644         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33646         * include/tls.h: Removed.  USE___THREAD must always be defined.
33647         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33648         * elf/dl-libc.c: Likewise.
33649         * elf/dl-tsd.c: Likewise.
33650         * include/errno.h: Likewise.
33651         * include/netdb.h: Likewise.
33652         * include/resolv.h: Likewise.
33653         * inet/herrno-loc.c: Likewise.
33654         * inet/herrno.c: Likewise.
33655         * malloc/arena.c: Likewise.
33656         * malloc/hooks.c: Likewise.
33657         * malloc/malloc.c: Likewise.
33658         * resolv/res-state.c: Likewise.
33659         * resolv/res_libc.c: Likewise.
33660         * sysdeps/i386/dl-machine.h: Likewise.
33661         * sysdeps/ia64/dl-machine.h: Likewise.
33662         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33663         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33664         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33665         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33666         * sysdeps/sh/dl-machine.h: Likewise.
33667         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33668         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33669         * sysdeps/unix/i386/sysdep.S: Likewise.
33670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33671         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33676         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33677         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33680         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33681         * sysdeps/x86_64/dl-machine.h: Likewise.
33682         * tls.make.c: Likewise.
33684         * configure.in: Remove --with-__thread option.  Make tests for
33685         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33686         tls_model attribute fail if no support is available.  Remove
33687         USE_IN_LIBIO.
33688         * Makeconfig: Adjust for dropped configure option.  All features are
33689         now mandatory.
33690         * Makerules: Likewise.
33691         * Versions.def: Likewise.
33692         * argp/argp-fmtstream.c: Likewise.
33693         * argp/argp-fmtstream.h: Likewise.
33694         * argp/argp-help.c: Likewise.
33695         * assert/assert.c: Likewise.
33696         * config.h.in: Likewise.
33697         * config.make.in: Likewise.
33698         * configure: Likewise.
33699         * configure.in: Likewise.
33700         * csu/Versions: Likewise.
33701         * csu/init.c: Likewise.
33702         * elf/tst-audit2.c: Likewise.
33703         * elf/tst-tls10.c: Likewise.
33704         * elf/tst-tls10.h: Likewise.
33705         * elf/tst-tls11.c: Likewise.
33706         * elf/tst-tls12.c: Likewise.
33707         * elf/tst-tls14.c: Likewise.
33708         * elf/tst-tlsmod11.c: Likewise.
33709         * elf/tst-tlsmod12.c: Likewise.
33710         * elf/tst-tlsmod13.c: Likewise.
33711         * elf/tst-tlsmod13a.c: Likewise.
33712         * elf/tst-tlsmod14a.c: Likewise.
33713         * elf/tst-tlsmod15b.c: Likewise.
33714         * elf/tst-tlsmod16a.c: Likewise.
33715         * elf/tst-tlsmod16b.c: Likewise.
33716         * elf/tst-tlsmod7.c: Likewise.
33717         * elf/tst-tlsmod8.c: Likewise.
33718         * elf/tst-tlsmod9.c: Likewise.
33719         * gmon/gmon.c: Likewise.
33720         * grp/fgetgrent_r.c: Likewise.
33721         * grp/putgrent.c: Likewise.
33722         * hurd/fopenport.c: Likewise.
33723         * include/libc-symbols.h: Likewise.
33724         * include/tls.h: Likewise.
33725         * intl/gettextP.h: Likewise.
33726         * intl/loadinfo.h: Likewise.
33727         * locale/global-locale.c: Likewise.
33728         * locale/localeinfo.h: Likewise.
33729         * mach/devstream.c: Likewise.
33730         * malloc/arena.c: Likewise.
33731         * malloc/set-freeres.c: Likewise.
33732         * misc/err.c: Likewise.
33733         * misc/getttyent.c: Likewise.
33734         * misc/mntent_r.c: Likewise.
33735         * posix/getopt.c: Likewise.
33736         * posix/wordexp.c: Likewise.
33737         * pwd/fgetpwent_r.c: Likewise.
33738         * resolv/Versions: Likewise.
33739         * resolv/res_hconf.c: Likewise.
33740         * shadow/fgetspent_r.c: Likewise.
33741         * shadow/putspent.c: Likewise.
33742         * stdio-common/printf_fphex.c: Likewise.
33743         * stdio-common/tmpfile.c: Likewise.
33744         * stdlib/abort.c: Likewise.
33745         * stdlib/fmtmsg.c: Likewise.
33746         * sunrpc/auth_unix.c: Likewise.
33747         * sunrpc/clnt_perr.c: Likewise.
33748         * sunrpc/clnt_tcp.c: Likewise.
33749         * sunrpc/clnt_udp.c: Likewise.
33750         * sunrpc/clnt_unix.c: Likewise.
33751         * sunrpc/openchild.c: Likewise.
33752         * sunrpc/svc_simple.c: Likewise.
33753         * sunrpc/svc_tcp.c: Likewise.
33754         * sunrpc/svc_udp.c: Likewise.
33755         * sunrpc/svc_unix.c: Likewise.
33756         * sunrpc/xdr.c: Likewise.
33757         * sunrpc/xdr_array.c: Likewise.
33758         * sunrpc/xdr_rec.c: Likewise.
33759         * sunrpc/xdr_ref.c: Likewise.
33760         * sunrpc/xdr_stdio.c: Likewise.
33762 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33764         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33766 2011-07-03  Andreas Jaeger  <aj@suse.de>
33768         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33769         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33770         regenerate with gen-libm-tests.pl.
33772 2010-05-12  Petr Baudis  <pasky@suse.cz>
33774         [BZ #11589]
33775         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33776         around j0() zero points by switching to j1().
33777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33778         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33780         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33782 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33784         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33785         instead of 0.
33786         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33787         instead of 0.
33788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33789         Patch in part by Pavel Roskin <proski@gnu.org>.
33791         [BZ #13138]
33792         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33793         realloc.
33794         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33795         Free memory block if necessary.
33797         [BZ #12847]
33798         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33799         be NULL.  Don't lock in this case.
33801 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33803         * elf/elf.h (ELFOSABI_GNU): New macro.
33804         (ELFOSABI_LINUX): Define to that.
33806 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33808         * string/strncat.c (strncat): Undef the symbol in case it has been
33809         defined in bits/string.h.
33811 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33813         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33815         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33816         link map.
33818 2011-08-17  Andreas Jaeger  <aj@suse.de>
33820         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33822 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33823             Ian Lance Taylor  <iant@google.com>
33825         * math/libm-test.inc (lround_test): New testcase.
33826         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33828 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33830         * Makefile: Remove support for automatic cvs check-ins.
33831         * Makerules: Likewise.
33832         * config.make.in: Likewise.
33833         * configure.in: Likewise.
33834         * intl/Makefile: Likewise.
33835         * locale/Makefile: Likewise.
33836         * po/Makefile: Likewise.
33837         * posix/Makefile: Likewise.
33838         * sysdeps/gnu/Makefile: Likewise.
33839         * sysdeps/mach/hurd/Makefile: Likewise.
33840         * sysdeps/sparc/sparc32/Makefile: Likewise.
33842         [BZ #13118]
33843         * posix/Makefile (bug-regex32-ENV): Define.
33844         Patch by John Stanley <jpsinthemix@verizon.net>.
33846         * misc/Makefile (headers): Add bits/select2.h.
33847         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33848         * misc/bits/select2.h: New file.
33849         * include/bits/select2.h: New file.
33850         * debug/Makefile (routines): Add fdelt_chk.
33851         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33852         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33853         FD_ISSET.
33854         * debug/fdelt_chk.c: New file.
33856         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33857         * wcsmbs/test-wmemcmp.c: Likewise.
33858         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33859         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33861 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33863         * string/Makefile (strop-tests): Add memcmp.
33864         * string/test-wmemcmp.c: New file.
33865         * string/test-memcmp.c: Add wmemcmp support.
33867 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33869         [BZ #13153]
33870         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33871         2011-07-19 change.
33873         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33874         garbage value in a __mach_port_mod_refs call in the cases of the
33875         task-self and thread-self ports.
33877 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33879         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33881 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33883         * elf/dl-load.c (lose): Check for non-null L.
33885 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33887         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33889         * elf/dl-libc.c (dlerror_run): Pass back error code from
33890         dl_catch_error.
33892         [BZ #13123]
33893         * elf/dl-load.c (lose): Free l_origin if it is valid.
33895         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33896         names.
33897         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33900         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33901         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33902         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33904 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33906         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33907         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33908         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33909         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33910         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33911         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33912         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33913         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33914         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33915         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33917 2011-08-15  Alan Modra  <amodra@gmail.com>
33919         [BZ #13092]
33920         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33921         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33922         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33923         ppc_mcount to static-only-routines.
33924         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33925         __mcount_internal.
33926         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33927         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33929 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33931         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33932         for finite and infinity parameters.
33934 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33937         and add nop instructions for throughput optimization.
33938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33940 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33942         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33943         aligned copy for power7 with vector-scalar instructions.
33944         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33946 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33949         AVX check.
33951 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33953         [BZ #13144]
33954         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33955         last change.
33957 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33959         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33960         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33961         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33962         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33963         clock_gettime.
33965 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33967         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33968         Forgot to demangle the pointer.
33970         * sysdeps/i386/sysdep.h: Define atom_text_section.
33971         * sysdeps/x86_64/sysdep.h: Likewise.
33972         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33973         section with atom_text_section.
33974         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33975         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33976         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33977         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33978         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33980         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33981         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33982         already be defined.  Change to take two parameters and don't assign
33983         result to variable.  Adjust all users.
33984         Define INTERNAL_GETTIME if not already defined.
33985         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33986         call.
33987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33988         HAVE_CLOCK_GETTIME_VSYSCALL.
33989         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33992         gettimeofday vsyscall, just use time.
33994 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33997         <errno.h>.
33999 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34001         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34002         syscall on x86-64.
34003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34004         syscall.
34005         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34007         syscall if possible.
34009 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34011         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34012         e_ident.  Don't pass to find_mapsXX.
34013         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34015 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34018         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34019         * sysdeps/x86_64/multiarch/strchr.S: Update.
34020         Check bit_slow_BSF bit.
34021         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34022         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34023         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34025 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34027         [BZ #13134]
34028         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34029         before glibc 2.15.
34030         (tryshell): Define.
34031         (__spawni): Change last parameter to be flag.  Test
34032         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34033         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34034         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34035         * posix/spawni.c: Likewise.
34036         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34037         * posix/spawnp.c: Likewise.  Change normal version to use
34038         SPAWN_XFLAGS_USE_PATH.
34039         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34040         SPAWN_XFLAGS_TRY_SHELL.
34042         [BZ #13150]
34043         * posix/glob.h: Remove gcc 1.x support.
34045         [BZ #13068]
34046         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34048 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34051         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34052         strrchr-sse2-bsf
34053         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34054         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34055         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34056         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34057         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34058         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34060 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34062         * sysdeps/x86_64/wcscmp.S: New file.
34064         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34065         wcscmp-c wcscmp-sse2
34066         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34067         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34068         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34069         * wcsmbs/wcscmp.c: Allow renaming.
34071 2011-09-05  David S. Miller  <davem@davemloft.net>
34073         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34074         stack slot, rather than the struct return pointer slot.
34075         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34076         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34078         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34080 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34082         * po/ja.po: Update from translation team.
34084         [BZ #13144]
34085         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34086         kernel in 64-bit binaries.
34088 2011-09-01  David S. Miller  <davem@davemloft.net>
34090         * elf/elf.h (HWCAP_SPARC_*): Move to..
34091         * sysdeps/sparc/sysdep.h: this new file and add new values.
34092         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34093         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34094         _DL_HWCAP_COUNT to 24.
34095         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34096         entries.
34097         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34098         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34099         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34101         instead of magic constants.
34102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34104 2011-08-31  David S. Miller  <davem@davemloft.net>
34106         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34108         Reimplement to do errno handling inline.
34109         (SYSCALL_ERROR_HANDLER): New macro.
34110         (__SYSCALL_STRING): Do not do errno handling in asm.
34111         (__CLONE_SYSCALL_STRING): Delete.
34112         (__INTERNAL_SYSCALL_STRING): Delete.
34113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34114         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34115         (PSEUDO): Reimplement to do errno handling inline.
34116         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34117         (SYSCALL_ERROR_HANDLER): New macro.
34118         (__SYSCALL_STRING): Do not do errno handling in asm.
34119         (__CLONE_SYSCALL_STRING): Delete.
34120         (__INTERNAL_SYSCALL_STRING): Delete.
34121         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34122         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34123         i386.
34124         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34125         (inline_syscall*): Add 'err' argument.
34126         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34127         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34128         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34129         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34131         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34132         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34134 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34136         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34138 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34140         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34141         directive.
34143 2011-08-24  David S. Miller  <davem@davemloft.net>
34145         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34147 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34149         * elf/Makefile: Add rules to build and run unload8 test.
34150         * elf/unload8.c: New file.
34151         * elf/unload8mod1.c: New file.
34152         * elf/unload8mod1x.c: New file.
34153         * elf/unload8mod2.c: New file.
34154         * elf/unload8mod3.c: New file.
34156         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34157         it wasn't used.
34159 2011-08-23  David S. Miller  <davem@davemloft.net>
34161         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34162         subtract stack bias.
34163         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34164         %sp not %fp in calculations.
34165         (_JMPBUF_UNWINDS_ADJ): Likewise.
34167         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34168         (aio_suspend): Call it to force an exception region around the
34169         AIO_MISC_WAIT() invocation.
34171 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34173         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34174         backslash.
34176 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34178         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34179         protection macro.
34180         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34181         and <dl-machine.h>.
34182         (Elf64_FuncDesc): Remove.
34184 2011-08-22  David S. Miller  <davem@davemloft.net>
34186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34187         sigaltstack check, add missing cfi directives.
34188         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34189         missing cfi directives, and sigaltstack handling.
34191 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34193         [BZ #11724]
34194         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34195         object is seen twice.
34196         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34198         * elf/Makefile (distribute): Add tst-initorder2.c.
34199         (tests): Add tst-initorder2.
34200         (modules-names): Add tst-initorder2a tst-initorder2b
34201         tst-initorder2c tst-initorder2d.  Add rules to build them.
34202         ($(objpfx)tst-initorder2.out): New rule.
34203         * elf/tst-initorder2.c: New file.
34204         * elf/tst-initorder2.exp: New file.
34206 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34208         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34210         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34211         dependencies back to end of function.
34213         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34214         $(elfobjdir)/ld.so.
34216 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34219         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34220         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34221         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34222         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34223         of __vdso_gettimeofday.
34224         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34225         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34226         attribute_hidden.
34227         (_libc_vdso_platform_setup): Remove initialization of
34228         __vdso_gettimeofday and __vdso_time.
34230 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34232         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34233         and fgetc_unlocked.
34234         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34235         getc_unlocked.
34237         * elf/dl-open.c (add_to_global): Report additions to the global scope
34238         for LD_DEBUG=scopes.
34239         (dl_open_worker): Also print scope of newly loaded dependencies.
34240         (_dl_show_scope): Indicate if there is no scope.
34242         [BZ #13114]
34243         * stdio-common/Makefile (tests): Add bug24.
34244         * stdio-common/bug24.c: New file.
34246 2011-08-19  Andreas Jaeger  <aj@suse.de>
34248         [BZ #13114]
34249         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34250         non-existant file when using close-on-exec mode.
34252 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34255         the very first instruction.
34257         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34258         the CFI state in the end.
34259         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34260         inclusion of dl-trampoline.h.
34261         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34263 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34265         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34266         expectations for long double.
34268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34269         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34271 2011-08-14  David S. Miller  <davem@davemloft.net>
34273         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34274         artificual limit depends upon the system page size.
34276 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34278         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34279         * resolv/Makefile: Define CFLAGS-libresolv.
34281 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34283         * nss/makedb.c (compute_tables): Make variables used in nested
34284         function static.
34286 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34288         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34289         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34290         if buffer was too small.
34292         * elf/pldd.c (main): Attach to all threads in the process.
34293         Rewrite /proc handling to use *at functions.
34295 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34297         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34298         specifies first scope to show.
34299         (dl_open_worker): Update callers.  Move printing scope of new
34300         object to before the relocation.
34301         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34302         * sysdeps/generic/ldsodefs.h: Update declaration.
34304         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34305         string for the scope number.
34307 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34309         * nscd/servicescache.c (cache_addserv): Make sure written is always
34310         initialized.
34312 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34314         * sysdeps/i386/i486/bits/atomic.h
34315         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34316         statement expression, so as to suppress "set but not used" warning.
34317         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34319         * string/strncat.c (STRNCAT): Use prototype definition.
34321         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34322         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34323         -Iprograms here.
34324         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34325         (localedef-modules): Add localedef.
34326         (locale-modules): Add locale.
34328         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34329         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34330         to avoid a warning.
34332 2011-08-14  David S. Miller  <davem@davemloft.net>
34334         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34335         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34337 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34339         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34340         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34341         * elf/rtld.c (dl_main): Set l_name of vDSO.
34342         Call _dl_show_scope when DL_DEBUG_SCOPES.
34343         (process_dl_debug): Recognize scopes flag and also set it for all.
34344         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34345         Declare _dl_show_scope.
34347         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34348         (do_dlopen): Pass caller_dlopen to dl_open.
34349         (__libc_dlopen_mode): Initialize caller_dlopen.
34351         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34352         of libc.  Make tolower call locale-independent.  Optimize a bit by
34353         using isdigit instead of isalnum.
34354         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34356 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34358         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34359         was a dependency or dynamically loaded.
34361 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34363         * intl/l10nflist.c: Allow architecture-specific pop function.
34364         * sysdeps/x86_64/l10nflist.c: New file.
34366         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34367         classification.
34369 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34371         * include/dirent.h: Add libc_hidden_proto for scandirat and
34372         scandirat64.  Don't declare __scandirat64.
34373         * dirent/scandirat.c: Add libc_hidden_def.
34374         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34375         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34377 2011-08-10  David S. Miller  <davem@davemloft.net>
34379         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34380         enum.
34381         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34382         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34385 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34387         * Versions.def [libc]: Add GLIBC_2.15.
34388         * dirent/Makefile (routines): Add scandirat and scandirat64.
34389         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34390         GLIBC_2.15.
34391         * dirent/dirent.h: Declare scandirat and scandirat64.
34392         * dirent/scandirat.c: New file.
34393         * dirent/scandirat64.c: New file.
34394         * sysdeps/wordsize-64/scandirat.c: New file.
34395         * sysdeps/wordsize-64/scandirat64.c: New file.
34396         * dirent/opendir.c: Define opendirat.
34397         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34398         using scandirat.
34399         * dirent/scandir64.c: Adjust for scandir.c change.
34400         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34401         __scandirat64, and __scandir_cancel_handler.
34402         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34403         additional parameter and use openat instead of open (outside of ld.so).
34404         Add new __opendir as wrapper around __opendirat.
34405         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34406         here without requiring old scandirat implementation.
34408 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34410         * dirent/scandir.c (cancel_handler): Renamed to
34411         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34412         defined.  Adjust users.
34413         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34414         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34416 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34418         * string/test-string.h (IMPL): Use __STRING to expand name and then
34419         stringify it.
34421         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34422         of cleanups.
34424 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34426         * string/Makefile: Update.
34427         (strop-tests): Append strncat.
34428         * string/test-wcscmp.c: New file.
34429         New comprehensive test for wcscmp.
34430         * string/test-strcmp.c: Update.
34431         (WIDE): New define.
34433 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34435         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34436         line.
34438 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34441         encoding to ACE if AI_IDN.
34443 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34445         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34446         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34448 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34451         Fix overflow bug in strncat.
34452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34454         * string/test-strncat.c: Update.
34455         Add new tests for checking overflow bugs.
34457 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34460         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34461         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34462         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34463         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34464         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34465         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34466         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34467         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34470         (USE_AS_STRCAT): Define.
34471         Add strcat and strncat support.
34472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34474 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34476         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34477         __n bigger than INT_MAX+1.
34478         (__strncmp_g): Likewise.
34480 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34482         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34483         * libio/stido.h: Likewise.
34485         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34486         (AF_NFC): Define.
34487         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34488         (AF_NFC): Define.
34490         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34491         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34493         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34496         [BZ #13021]
34497         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34498         installed.
34500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34501         typo.
34502         (_dl_x86_64_save_sse): Likewise.
34504 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34507         OSXSAVE.
34508         (_dl_x86_64_save_sse): Likewise.
34510         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34512         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34514 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34517         change.
34518         (_dl_x86_64_save_sse): Use correct AVX check.
34520 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34523         bug in strncpy/strncat.
34524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34526 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34528         * string/tester.c (test_strcat): Add tests for different alignments
34529         of source and destination.
34530         (test_strncat): Likewise.
34532 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34534         [BZ #12852]
34535         * posix/glob.c (glob): Check passed in values before using them in
34536         expressions to avoid some overflows.
34537         (glob_in_dir): Likewise.
34539         [BZ #13007]
34540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34541         check for AVX enablement so that we don't crash with old kernels and
34542         new hardware.
34543         * elf/tst-audit4.c: Add same checks here.
34544         * elf/tst-audit6.c: Likewise.
34546         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34548 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34550         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34552 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34554         * po/cs.po: Update from translation team.
34555         * po/bg.po: Likewise.
34557 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34559         * misc/sys/cdefs.h: Add support for const attribute.
34560         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34561         to gnu_dev_{major,minor,makedev} functions.
34563 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34565         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34567 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34569         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34570         strlen results.
34572 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34575         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34576         register in order to avoid conflicts with the soft frame pointer
34577         being held in r11 when necessary.
34578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34579         (INTERNAL_VSYSCALL_NCS): Likewise.
34581 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34583         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34584         * elf/dl-fini.c (_dl_fini): Adjust caller.
34585         * elf/dl-close.c (_dl_close_worker): Likewise.
34586         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34588 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34590         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34591         "aux_cache->nlibs < 0".
34593         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34594         in the reload-count case.
34596 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34599         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34600         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34601         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34602         * sysdeps/x86_64/multiarch/strcat.S: New file.
34603         * sysdeps/x86_64/multiarch/strncat.S: New file.
34604         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34605         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34606         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34607         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34609         (USE_AS_STRCAT): Define.
34610         Add strcat and strncat support.
34611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34612         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34613         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34614         * string/strncat.c: Update.
34615         (USE_AS_STRNCAT): Define.
34616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34617         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34618         and i7.
34619         * sysdeps/x86_64/multiarch/init-arch.h
34620         (bit_Prefer_PMINUB_for_stringop): New.
34621         (index_Prefer_PMINUB_for_stringop): Likewise.
34622         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34623         bit_Prefer_PMINUB_for_stringop.
34625 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34627         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34628         buffer64.
34629         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34630         of casting of buffer.
34631         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34632         buffer32 and buffer64.
34633         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34634         writes instead of casting of buffer.
34635         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34636         buffer32.
34637         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34638         casting of buffer.
34640 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34642         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34644 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34646         * nscd/nscd.c (termination_handler): Don't do anything for a database
34647         if it has not yet been initialized.
34649 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34651         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34653 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34655         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34657 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34659         * po/nl.po: Update from translation team.
34660         * po/sv.po: Likewise.
34662 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34664         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34665         now disallowed by GCC.
34667         * configure.in (use-default-link): Default to yes if a test -shared
34668         link meets our qualifications.
34669         * configure: Regenerated.
34671         * config.make.in (output-format): New variable.
34672         * configure.in: Check for ld --print-output-format support.
34673         * configure: Regenerated.
34674         * Makerules ($(common-objpfx)format.lds)
34675         [$(output-format) != unknown]: Just use $(output-format),
34676         instead of the linker-script munging.
34678 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34680         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34681         of $(common-objpfx)shlib.lds.
34682         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34684         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34685         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34687         * configure.in (-z relro check): Adjust test code to add a large
34688         writable data section after it.
34689         * configure: Regenerated.
34691 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34693         * configure.in (-z relro check): Fix test code to make the variable
34694         truly const.
34695         * configure: Regenerated.
34697 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34699         * nscd/nscd.h (struct traced_file): Define.
34700         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34701         elements.  Add traced_files.
34702         (inotify_fd): Declare.
34703         (register_traced_file): Declare.
34704         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34705         (inotify_fd): Export.
34706         (resolv_conf_descr): Remove.
34707         (nscd_init): Move inotify descriptor creation to main.
34708         Don't register files for notification here.
34709         (register_traced_file): New function.
34710         (invalidate_cache): Don't use reset_res to determine whether to call
34711         res_init, go through the list of registered files.
34712         (main_loop_poll): The inotify descriptors are now stored in the
34713         structures for the traced files.
34714         (main_loop_epoll): Likewise
34715         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34716         to __nss_disable_nscd.
34717         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34718         for a database anymore.  Check the records for all the registered
34719         files instead.
34720         * nss/Makefile (libnss_files-routines): Add files-init.
34721         (libnss_db-routines): Add db-init.
34722         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34723         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34724         * nss/nss_db/db-init.c: New file.
34725         * nss/nss_files/files-init.c: New file.
34726         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34727         __nss_lookup_function.
34728         (__nss_lookup_function): Call nss_load_library.
34729         (nss_load_all_libraries): New function.
34730         (__nss_disable_nscd): Take parameter with callback function for files
34731         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34732         used for the cached services.
34733         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34734         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34735         options for features to all the files in nscd.
34737         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34739 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34741         * csu/elf-init.c (__libc_csu_init): Comment typo.
34743 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34745         * po/pl.po: Update from translation team.
34746         * po/ja.po: Likewise.
34747         * po/ru.po: Likewise.
34748         * po/ko.po: Likewise.
34749         * po/fr.po: Likewise.
34751 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34753         * configure.in (.ctors/.dtors header and trailer check):
34754         Use an empirical test on a built program.
34755         * configure: Regenerated.
34757         * configure.in (-z relro check): Use an empirical test on a built DSO.
34758         Detect, but do not require, on ia64.
34759         * configure: Regenerated.
34761         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34762         Update tests that use readelf to use $READELF instead.
34763         * configure: Regenerated.
34765 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34767         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34768         if the result is not used.
34770 2011-07-05  Andreas Jaeger  <aj@suse.de>
34772         [BZ#9696]
34773         * stdlib/tst-strtod.c: Add testcase.
34775 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34777         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34778         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34779         The latter has a higher limit.  Take additional parameter to pass to
34780         the new function.
34781         (__pathconf): Pass file to __statfs_link_max.
34782         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34783         __statfs_link_max.
34784         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34785         __statfs_link_max.
34787         [BZ #12868]
34788         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34790         Handle Lustre.
34791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34792         (__statfs_filesize_max): Likewise.
34793         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34795 2011-07-05  Andreas Jaeger  <aj@suse.de>
34797         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34799 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34801         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34802         `status' variable.
34803         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34804         Likewise.
34806 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34808         * Makefile (strop-tests): Add strncat.
34809         * string/test-strncat.c: New file.
34811 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34813         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34815 2011-06-21  Andreas Jaeger  <aj@suse.de>
34817         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34818         Copy rule from iconvdata/Makefile.
34820 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34822         [BZ #12922]
34823         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34824         but no long options are defined, just return 'W'.
34826 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34828         [BZ #9696]
34829         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34831 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34833         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34834         netgroups to read.
34835         (innetgr): Likewise.
34837 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34839         * config.make.in (install_root): Default to $(DESTDIR).
34841 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34843         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34845 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34847         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34849         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34850         containing directory rather than embedding absolute directory names.
34852         * scripts/check-local-headers.sh: Rewritten using awk.
34853         Match by word, not by line.  Print error messages for matches.
34854         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34856         * Makerules [shlib-lds-flags empty]:
34857         ($(common-objpfx)libc_pic.opts): New target.
34858         ($(common-objpfx)libc_pic.os.clean): New target.
34859         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34861         * config.make.in (OBJCOPY): New variable.
34862         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34863         * configure: Regenerated.
34865         * config.make.in (use-default-link): New variable.
34866         * configure.in (use_default_link): Grok --with-default-link to set it.
34867         * configure: Regenerated.
34868         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34869         (shlib-lds, shlib-lds-flags): Define to empty.
34871         * Makerules (shlib-lds): New variable.
34872         (shlib-lds-flags): New variable.
34873         (build-shlib, build-moduile, build-module-asneeded): Use it.
34874         ($(common-objpfx)libc.so): Use $(shlib-lds).
34875         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34876         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34878         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34879         DT_FLAGS/DT_FLAGS_1 with zero flags.
34881         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34882         linker script munging.
34884 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34886         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34887         as 128-bit value.
34888         * crypt/sha512.c (sha512_process_block): Perform total addition using
34889         128-bit if possible.
34890         (__sha512_finish_ctx): Likewise.
34891         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34892         as 64-bit value.
34893         * crypt/sha256.c (SWAP64): Define.
34894         (sha256_process_block): Perform total addition using 64-bit if
34895         possible.
34896         (__sha256_finish_ctx): Likewise.
34898 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34900         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34902         * nscd/hstcache.c (cache_addhst): Likewise.
34903         * nscd/grpcache.c (cache_addgr): Likewise.
34904         * nscd/aicache.c (addhstaiX): Likewise
34905         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34907 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34909         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34911         * nscd/hstcache.c (cache_addhst): Likewise.
34912         * nscd/grpcache.c (cache_addgr): Likewise.
34913         * nscd/aicache.c (addhstaiX): Likewise
34915 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34917         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34918         domain only when needed.
34920 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34923         is always restored.
34925 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34927         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34928         are re-adding the entry.
34929         * nscd/servicescache.c (cache_addserv): Likewise.
34931 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34933         * sysdeps/generic/dl-irel.h: fix protection against multiple
34934         inclusions.
34935         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34937 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34939         [BZ #12935]
34940         * malloc/memusage.sh: Fix quoting in message.
34941         * debug/xtrace.sh: Likewise.
34943         * configure.in: Remove support for --experimental-malloc option, make
34944         it the default.
34945         * config.make.in: Likewise.
34946         * malloc/Makefile: Likewise.
34948 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34950         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34951         two-byte characters.
34953 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34955         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34956         AC_CACHE_CHECK invocation.
34957         * configure: Regenerated.
34959         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34961 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34963         [BZ #12350]
34964         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34965         bit from old_res_options.
34967         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34969         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34970         value type for setfct.
34972 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34974         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34975         __gettimeofday instead of gettimeofday.
34977 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34979         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34981 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34985         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34986         info.
34988 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34991         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34992         strcpy-sse2-unaligned strncpy-sse2-unaligned
34993         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34994         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34995         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34996         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34997         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34999         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35000         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35001         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35002         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35003         (STRCPY): Support SSE2 and SSSE3 versions.
35005 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35007         [BZ #12874]
35008         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35009         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35010         kernels which artificially limit size of requests.
35012 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35015         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35016         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35017         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35018         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35019         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35020         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35021         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35022         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35023         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35024         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35025         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35026         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35027         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35028         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35030         Enable unaligned load optimization for Intel Core i3, i5 and i7
35031         processors.
35032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35033         Define.
35034         (index_Fast_Unaligned_Load): Define.
35035         (HAS_FAST_UNALIGNED_LOAD): Define.
35037 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35039         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35041 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35043         [BZ #12907]
35044         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35045         until it is clear that the information is realy needed.
35046         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35048 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35052 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35055         /sys/devices/system/cpu/online if it is usable.
35057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35058         reading the information from the /proc filesystem to once a second.
35060 2011-06-21  Andreas Jaeger  <aj@suse.de>
35062         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35063         NULL after inclusion of kernel headers.
35065 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35067         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35068         calls to internal_setent.
35070         [BZ #12885]
35071         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35072         addresses using gethostbyname4_r ignore IPv4 addresses.
35074         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35075         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35077         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35079 2011-06-20  David S. Miller  <davem@davemloft.net>
35081         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35082         inclusions.
35083         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35085         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35086         (elf_irel): Use it.
35087         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35088         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35089         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35090         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35091         * sysdeps/x86_64/dl-irel.h: Likewise.
35093         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35094         * elf/dl-sym.c: Likewise.
35096 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35098         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35099         need to dereference resplen2.
35101 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35103         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35105 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35107         * Makeconfig: Define vardbdir and inst_vardbdir.
35108         * nss/Makefile: Add rules to install db-Makefile.
35110         * nss/nss_db/db-XXX.c: Cleanup.
35112         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35113         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35114         GLIBC_PRIVATE.
35115         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35116         * nss/makedb.c: Implement -g option to specify that value strings
35117         are generated and should not be added to table iterated over for
35118         get*ent calls.
35119         * nss/nss_db/db-initgroups.c: New file.
35121         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35122         interface.
35124         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35125         (internal_getgrouplist): Adjust to name change.
35126         Update use_initgroups_entry if this is not the first call.
35127         * nss/databases.def: Add initgroups entry.
35129         * nss/makedb.c (compute_tables): Check result of multiple hash table
35130         sizes to minimize maximum chain length.
35132 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35134         * Versions.def: Add entry for libnss_db.
35135         * shlib-versions: Likewise.
35136         * nss/Makefile: Add rules to build libnss_db.
35137         * nss/Versions: Add libnss_db information.  Organize libnss_files
35138         entries better.
35139         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35140         makedb progra.  Some minor improvements to generate smaller files.
35141         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35142         here from...
35143         * nss/makedb.c: ...here.
35144         Improve database format to be smaller and require less memory at
35145         runtime.
35146         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35147         db anymore.
35148         * nss/nss_db/db-netgrp.c: Likewise.
35149         * nss/nss_db/db-open.c: Likewise.
35150         * nss/nss_files/flies-XXX.x: Adjust comments.
35151         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35152         * nss/nss_files/files-grp.c: Likewise.
35153         * nss/nss_files/files-hosts.c: Likewise.
35154         * nss/nss_files/files-network.c: Likewise.
35155         * nss/nss_files/files-proto.c: Likewise.
35156         * nss/nss_files/files-pwd.c: Likewise.
35157         * nss/nss_files/files-rpc.c: Likewise.
35158         * nss/nss_files/files-service.c: Likewise.
35159         * nss/nss_files/files-sgrp.c: Likewise.
35160         * nss/nss_files/files-spwd.c: Likewise.
35161         * nss/nss_db/db-alias.c: Removed.
35162         * nss/nss_db/dummy-db.h: Removed.
35164 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35166         * nss/makedb.c: Rewritten to not use database library.
35167         * nss/Makefile: Update to build new makedb program.
35169 2011-06-14  Andreas Jaeger  <aj@suse.de>
35171         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35172         memset declaration.
35174 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35177         tmpbuf.
35179 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35181         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35182         * elf/Makefile ($(objpfx)ld.so): Likewise.
35184         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35185         Don't list ld.so twice in dependencies.
35187         * posix/bug-regex31.c: Include <stdlib.h>.
35189         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35191         * nis/nss_compat/compat-spwd.c
35192         (getspent_next_nss_netgr): Remove unused variable.
35193         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35195         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35196         nonmembers" output to use the right array.
35198         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35200         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35202         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35203         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35204         * catgets/gencat.c (read_input_file): Likewise.
35205         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35207         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35208         variable definition inside #if's controlling its use.
35210         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35214         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35216         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35217         unreachable code.
35219         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35221         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35222         * configure: Regenerated.
35224         * Makerules: Revert last change.
35225         * elf/Makefile: Likewise.
35227 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35229         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35230         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35231         (reloc-link): Likewise.
35233 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35235         * elf/Makefile: Add rules to build pldd.
35236         * elf/pldd.c: New file.
35237         * elf/pldd-xx.c: New file.
35239 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35241         * version.h: Update for 2.15 development version.
35243 2011-06-07  David S. Miller  <davem@davemloft.net>
35245         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35246         ifuncs.
35247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35248         elf_machine_lazy_rel): Likewise.
35249         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35250         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35251         elf_machine_lazy_rel): Likewise.
35252         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35253         dl_hwcap via passed in argument.
35254         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35255         Likewise.
35257 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35259         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35261 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35263         [BZ #12849]
35264         * manual/fdl-1.1.texi: New file, verbatim from:
35265         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35266         * manual/lgpl-2.1.texi: New file, verbatim from:
35267         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35268         * manual/Makefile (licenses): New variable, list those new file names.
35269         (texis): Use it.
35270         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35272         * manual/fdl.texi: File removed.
35273         * manual/lesser.texi: File removed.
35274         * manual/libc.texinfo (Copying, Documentation License):
35275         Use new @include file names, put @appendix directive before @include.
35277 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35279         [BZ #12841]
35280         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35281         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35282         (mq_open): Add __NTH.
35284 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35287         Assume Intel Core i3/i5/i7 processor if AVX is available.
35289 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35292         typo.
35294 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35296         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35297         memory.  Use alloca_account.  Fix memory leak when retrying.
35299 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35301         * version.h (RELEASE): Bump for 2.14 release.
35302         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35304         * config.make.in (RANLIB): Remove entry.
35306 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35308         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35309         (libc.pot): Work around missing support for .ksh extension in xgettext.
35311         [BZ #12684]
35312         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35313         if both request failed.
35314         (send_dg): In case of server errors clear resplen or *resplen2.
35316         [BZ #12454]
35317         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35318         when there are multiple maps.
35319         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35320         (_dl_fini): Remove test here.
35322         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35324 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35326         [BZ #12350]
35327         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35328         bit from old_res_options.
35329         (gaih_inet): Likewise.
35331         [BZ #11099]
35332         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35333         as signed.
35335         * resolv/res_init.c (res_setoptions): Make the code more compact.
35337         [BZ #11558]
35338         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35339         set RES_USEVC.
35341         [BZ #11634]
35342         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35344         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35346         [BZ #11781]
35347         * malloc/malloc.h: Declare malloc hook variables as volatile.
35349         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35350         in last patch.
35352         [BZ #11799]
35353         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35354         raise in the comment.
35355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35357         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35359 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35361         [BZ #12811]
35362         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35363         grow the buffers more if it already has to be sufficient.
35364         (build_wcs_upper_buffer): Likewise.
35365         * posix/regexec.c (check_matching): Likewise.
35366         (clean_state_log_if_needed): Likewise.
35367         (extend_buffers): Don't enlarge buffers beyond size of the input
35368         buffer.
35369         Patches mostly by Emil Wojak <emil@wojak.eu>.
35370         * posix/bug-regex32.c: New file.
35371         * posix/Makefile (tests): Add bug-regex32.
35373         * locale/findlocale.c (_nl_find_locale): Return right away if
35374         _nl_explode_name failed.
35375         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35377         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35379         * debug/xtrace.sh: Unify messages.
35380         * malloc/memusage.sh: Likewise.
35382         [BZ #12813]
35383         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35384         time symbol from vDSO.  Substitute with vsyscall if not available.
35385         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35386         __vdso_time.
35388         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35389         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35390         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35391         Add sendmmsg and internal_sendmmsg.
35392         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35393         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35394         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35396         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35397         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35400 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35402         [BZ #12813]
35403         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35404         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35405         available.
35406         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35407         __vdso_getcpu.
35409         [BZ #12814]
35410         * iconvdata/Makefile (tests): Add bug-iconv9.
35411         * iconvdata/bug-iconv9.c: New file.
35413 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35415         [BZ #12814]
35416         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35418 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35421         (struct user_regs_struct): Change intcs field back to cs.
35423 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35425         * po/ja.po: Update from translation team.
35427 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35429         [BZ #12795]
35430         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35431         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35433 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35435         * stdlib/longlong.h: Update from GCC.
35437 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35439         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35440         parameter name.
35441         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35442         Add parameter name.
35443         (__sysconf): Pass it down.
35445 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35447         [BZ #12671]
35448         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35449         some situations.
35450         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35451         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35452         add in in __libc_use_alloca calls.  Adjust callers.
35453         (glob): Use malloc in some situations.
35455         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35456         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35457         pltexit.
35459 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35461         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35462         and CLOCK_BOOTTIME_ALARM.
35464         [BZ #12782]
35465         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35466         is returned.
35468         * string/_strerror.c (__strerror_r): Print negative errors as signed
35469         numbers.
35471         [BZ #12777]
35472         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35473         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35474         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35476         * configure.in: Fix typo in redirection and correct removal of test
35477         files in two cases.
35479         [BZ #12788]
35480         * locale/setlocale.c (new_composite_name): Fix test to check for
35481         identical name of all categories.
35483         [BZ #12792]
35484         * libio/filedoalloc.c (local_isatty): New function.
35485         (_IO_file_doallocate): Use local_isatty.
35486         * stdio-common/perror.c (perror): In case a new stream is used
35487         forward the stream error.
35488         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35489         error flag.
35491 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35493         [BZ #11869]
35494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35495         alloca.
35496         * include/alloca.h (extend_alloca_account): Define.
35498         [BZ #11857]
35499         * posix/regex.h: Fix comments with documentation of user-accessible
35500         fields after compilation and describe correct free'ing of pattern
35501         after re_compile_pattern.
35502         Patch by Reuben Thomas <rrt@sc3d.org>.
35504 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35506         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35507         and -mno-altivec to prevent the compiler from using Altivec and/or
35508         VSX instructions when the corresponding registers are not available.
35510 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35512         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35514 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35516         * libio/freopen.c (freopen): Use __dup2, not dup2.
35517         * libio/freopen64.c (freopen64): Likewise.
35519 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35521         [BZ #12775]
35522         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35523         * math/Makefile (tests): Add test-powl.
35524         (CFLAGS-test-powl.c): Define.
35525         * math/test-powl.c: New file.
35527 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35529         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35531 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35533         [BZ #11837]
35534         * iconvdata/gb18030.c: Update to GB18020-2005.
35536 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35538         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35539         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35540         Patch by Aharon Robbins <arnold@skeeve.com>.
35542         [BZ #11892]
35543         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35544         on the stack.
35546         [BZ #11895]
35547         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35548         through underflows.
35550         [BZ #12766]
35551         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35552         point to strings before performing equality test for error_one_per_line
35553         mode.
35555         [BZ #11697]
35556         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35558         [BZ #11820]
35559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35560         (struct user_fpregs_struct): Avoid __uint*_t types.
35562         [BZ #6420]
35563         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35564         symbol info.  Use it instead of calling _dl_addr locally.
35565         (lock_and_info): New function.
35566         (tr_freehook): Call lock_and_info and pass symbol info as additional
35567         parameter to tr_where.
35568         (tr_mallochook): Likewise.
35569         (tr_reallochook): Likewise.
35570         (tr_memalignhook): Likewise.
35572         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35573         used and couldn't be at all thread-safe.
35575 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35577         * libio/freopen.c (freopen): Don't close old file descriptor
35578         before the new one is opened.  Instead dup the new file descriptor
35579         to the old one after the new stream is created.
35580         * libio/freopen64.c (freopen64): Likewise.
35581         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35582         * libio/fileops.c (_IO_new_file_close_it): Handle new
35583         _IO_FLAGS2_NOCLOSE flag.
35584         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35585         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35586         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35587         _IO_FLAGS2_NOCLOSE flag.
35588         * include/unistd.h: Add hidden_proto for dup3.
35589         Define __have_dup3.
35590         * io/dup3.c: Define hidden symbol.
35591         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35593         [BZ #7101]
35594         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35595         when an incomplete long option is used.
35596         * posix/tst-getopt_long1.c: New file.
35597         * posix/Makefile (tests): Add tst-getopt_long1.
35599         [BZ #10138]
35600         * scripts/config.guess: Update from autoconf-2.68.
35601         * scripts/config.sub: Likewise.
35603         [BZ #10157]
35604         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35605         tests into ...
35606         (has_cpuclock): ...this.  New function.
35607         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35608         macro here based on has_cpuclock code.
35610         [BZ #10149]
35611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35612         First byte (not low byte) is now always NUL.
35613         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35616         Use non-cancelable interfaces.
35618         [BZ #9809]
35619         * locale/iso-639.def: Add entry for Sorani.
35621         [BZ #11901]
35622         * include/stdlib.h: Move include protection to the right place.
35623         Define abort_msg_s.  Declare __abort_msg with it.
35624         * stdlib/abort.c (__abort_msg): Adjust type.
35625         * assert/assert.c (__assert_fail_base): New function.  Majority
35626         of code from __assert_fail.  Allocate memory for __abort_msg with
35627         mmap.
35628         (__assert_fail): Now call __assert_fail_base.
35629         * assert/assert-perr.c: Remove bulk of implementation.  Use
35630         __assert_fail_base.
35631         * include/assert.hL Declare __assert_fail_base.
35632         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35633         mmap.
35634         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35636 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35638         [BZ #11952]
35639         [BZ #12453]
35640         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35641         until all modules are registered in the DTV.
35642         * elf/Makefile: Add rules to build and run tst-tls19.
35643         * elf/tst-tls19.c: New file.
35644         * elf/tst-tls19mod1.c: New file.
35645         * elf/tst-tls19mod2.c: New file.
35646         * elf/tst-tls19mod3.c: New file.
35647         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35649         [BZ #12083]
35650         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35651         correctly.
35653         [BZ #12601]
35654         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35655         two-byte sequence errors.
35656         * iconvdata/Makefile (tests): Add bug-iconv8.
35657         * iconvdata/bug-iconv8.c: New file.
35659         [BZ #12626]
35660         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35661         buf2 definition.
35663         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35665         [BZ #12432]
35666         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35667         (dummy_getcfa): New function.
35668         (init): Get _Unwind_GetCFA address, use dummy if not found.
35669         (backtrace_helper): In recursion check, also check whether CFA changes.
35670         (__backtrace): Completely initialize arg.
35672         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35673         storing incomplete byte sequence in state object.  Avoid testing for
35674         guaranteed too small input if we know there is enough data available.
35676 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35678         * Makeconfig (+link-pie): Indent.
35679         * Rules (binaries-pie): Define if $(have-fpie) and
35680         $(build-shared).
35681         (binaries-shared): Also filter out $(binaries-pie).
35682         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35683         * nscd/Makefile (others-pie): Add nscd.
35684         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35685         ($(objpfx)nscd): Remove command override.
35686         * login/Makefile (others-pie): Add pt_chown.
35687         ($(objpfx)pt_chown): Remove command override.
35688         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35689         remove command overrides.
35691 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35693         * libio/tst_putwc.c: Fix error messages.
35695         [BZ #12724]
35696         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35697         currently writing and seek to current position when not.
35698         * libio/Makefile (tests): Add bug-fclose1.
35699         * libio/bug-fclose1.c: New file.
35701 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35703         [BZ #12511]
35704         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35705         don't set DF_1_NODELETE here.
35706         (do_lookup_x): When entering new entry test for copy relocation
35707         and if necessary set DF_1_NODELETE flag.
35708         * elf/tst-unique4.cc: New file.
35709         * elf/tst-unique4.h: New file.
35710         * elf/tst-unique4lib.cc: New file.
35711         * elf/Makefile: Add rules to build and run tst-unique4.
35712         Patch by Piotr Bury <pbury@goahead.com>.
35714 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35716         [BZ #12052]
35717         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35719         [BZ #12625]
35720         * misc/mntent_r.c (addmntent): Flush the stream after the output
35722         [BZ #12393]
35723         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35724         (is_trusted_path_normalize): Skip initial colon.  Append slash
35725         to empty buffer.  Duplicate is_trusted_path code but allow
35726         constructed patch to be prefix.
35727         (is_dst): Allow $ORIGIN followed by /.
35728         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35729         Correct testing of result of is_trusted_path_normalize
35730         (decompose_rpath): Fix warning.
35732 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35734         [BZ #11257]
35735         * grp/initgroups.c (internal_getgrouplist): When we found the service
35736         list through the initgroups entry in nsswitch.conf do not always
35737         continue on a successful lookup.  Don't always use the
35738         __nss_group_database value if it is set.
35739         * nss/nsswitch.conf (initgroups): Change action for successful db
35740         lookup to continue for compatibility.
35742 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35744         [BZ #11532]
35745         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35746         and CP774 modules.
35747         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35748         and CP774 modules.
35749         * iconvdata/tst-tables.sh: Likewise.
35750         * iconvdata/cp770.c: New file.
35751         * iconvdata/cp771.c: New file.
35752         * iconvdata/cp772.c: New file.
35753         * iconvdata/cp773.c: New file.
35754         * iconvdata/cp774.c: New file.
35755         * iconvdata/testdata/CP770: New file.
35756         * iconvdata/testdata/CP770..UTF8: New file.
35757         * iconvdata/testdata/CP771: New file.
35758         * iconvdata/testdata/CP771..UTF8: New file.
35759         * iconvdata/testdata/CP772: New file.
35760         * iconvdata/testdata/CP772..UTF8: New file.
35761         * iconvdata/testdata/CP773: New file.
35762         * iconvdata/testdata/CP773..UTF8: New file.
35763         * iconvdata/testdata/CP774: New file.
35764         * iconvdata/testdata/CP774..UTF8: New file.
35766         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35767         END CHARMAP line.
35768         * iconvdata/gen-8bit-gap.sh: Likewise.
35769         * iconvdata/gen-8bit.sh: Likewise.
35771         * locale/iso-639.def: Add ary entry.
35773         [BZ #11258]
35774         * locale/C-translit.h.in: Add U20A1 transliteration.
35776         [BZ #12178]
35777         * locale/iso-639.def: Add wae entry.
35778         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35780         [BZ #12545]
35781         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35782         for n.
35784         [BZ #12711]
35785         * locale/C-translit.h.in: Add entry for U20B9.
35786         Patch by pravin.d.s@gmail.com.
35788 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35790         [BZ #12713]
35791         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35792         ENAMETOOLONG use generic getcwd.
35793         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35794         in rtld.  Use *stat64.
35795         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35796         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35797         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35798         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35799         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35800         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35801         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35802         __fstatat64 macros.
35803         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35804         * dirent/rewinddir.c: Add libc_hidden_def.
35805         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35806         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35808         * include/dirent.h (__alloc_dir): Add flags parameter.
35809         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35810         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35811         __alloc_dir.
35812         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35813         from fdopendir if O_CLOEXEC is already set.
35815 2011-03-15  Alan Modra  <amodra@gmail.com>
35817         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35818         l_tls_firstbyte_offset non-zero.  Save padding offset in
35819         l_tls_firstbyte_offset for later use.
35820         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35821         freeing static tls block.
35823 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35825         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35826         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35827         being defined by the kernel headers.
35829 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35831         [BZ #12734]
35832         * resolv/resolv.h: Define RES_NOTLDQUERY.
35833         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35834         no-tld-query and set RES_NOTLDQUERY.
35835         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35836         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35837         modern BIND to search name as TLD unless forbidden.
35839 2011-05-07  Petr Baudis  <pasky@suse.cz>
35840             Ulrich Drepper  <drepper@gmail.com>
35842         [BZ #12393]
35843         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35844         (is_trusted_path): ...to here.
35845         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35846         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35847         using is_trusted_path_normalize() in setuid scripts.
35849 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35851         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35852         __BEGIN/__END_DECLS.
35854 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35856         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35857         NSS_STATUS_NOTFOUND if no record was found.
35859 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35861         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35862         (headers-not-in-tirpc): Remove rpc/netdb.h
35863         * resolv/netdb.h: Revert last change.
35865 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35867         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35868         circular dependency between libgcc.a and libc.a.
35870 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35872         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35873         * nis/Makefile: Don't install rpcsvc/*.
35874         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35875         instead of <rpc/types.h>.
35876         (MAXHOSTNAMELEN): Define.
35878 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35880         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35882 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35884         [BZ #12714]
35885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35886         gethostbyname4_r when IPv6 results are possible.
35888 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35890         [BZ #12723]
35891         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35892         _PC_PIPE_BUF handling.
35894 2011-04-30  Bruno Haible  <bruno@clisp.org>
35896         [BZ #12717]
35897         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35898         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35899         to 'int'.
35900         * inet/getnameinfo.c (getnameinfo): Likewise.
35902 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35904         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35905         to groups setting in database lookup.
35906         * nss/nsswitch.conf: Add initgroups entry.
35908 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35910         [BZ #12685]
35911         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35912         mode string.
35913         Patch by Eric Blake <eblake@redhat.com>.
35915 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35917         * sunrpc/Makefile (need-export-routines): Add svc_run.
35918         (routines): Remove svc_run.
35919         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35920         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35921         * sunrpc/svc_run.c (svc_run): Likewise.
35922         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35924 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35926         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35927         problem in reallocation in last patch.
35929 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35931         * sunrpc/Makefile: Move inclusion of Rules.
35933 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35935         * nss/nss_files/files-initgroups.c: New file.
35936         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35937         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35938         _nss_files_initgroups_dyn.
35940 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35942         * elf/elf.h (R_ARM_IRELATIVE): Define.
35944 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35946         * po/ru.po: Update from translation team.
35948 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35950         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35951         dependencies.
35953 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35955         [BZ #12653]
35956         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35957         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35962 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35964         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35965         differing bytes.
35966         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35968         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35970 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35972         [BZ #12420]
35973         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35974         storing it.
35975         * stdlib/bug-getcontext.c: New file.
35976         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35978 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35980         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35981         instructions into .machine "z9-109".
35982         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35983         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35985 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35987         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35988         between environment variables and auxiliary vector.
35990 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35992         * Makefile: Add rules to build linkobj/libc.so.
35993         * include/libc-symbols.h: Define libc_hidden_nolink.
35994         * include/rpc/auth.h: Mark functions which are to be hidden.
35995         * include/rpc/auth_des.h: Likewise.
35996         * include/rpc/auth_unix.h: Likewise.
35997         * include/rpc/clnt.h: Likewise.
35998         * include/rpc/des_crypt.h: Likewise.
35999         * include/rpc/key_prot.h: Likewise.
36000         * include/rpc/pmap_clnt.h: Likewise.
36001         * include/rpc/pmap_prot.h: Likewise.
36002         * include/rpc/pmap_rmt.h: Likewise.
36003         * include/rpc/rpc_msg.h: Likewise.
36004         * include/rpc/svc.h: Likewise.
36005         * include/rpc/svc_auth.h: Likewise.
36006         * include/rpc/xdr.h: Likewise.
36007         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36008         * nss/Makefile: Likewise.
36009         * sunrpc/Makefile: Don't install headers.  Build library with normal
36010         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36011         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36012         for the compat linking library.  Remove use of INTDEF/INTUSE.
36013         * sunrpc/auth_none.c: Likewise.
36014         * sunrpc/auth_unix.c: Likewise.
36015         * sunrpc/authdes_prot.c: Likewise.
36016         * sunrpc/authuxprot.c: Likewise.
36017         * sunrpc/clnt_gen.c: Likewise.
36018         * sunrpc/clnt_perr.c: Likewise.
36019         * sunrpc/clnt_raw.c: Likewise.
36020         * sunrpc/clnt_simp.c: Likewise.
36021         * sunrpc/clnt_tcp.c: Likewise.
36022         * sunrpc/clnt_udp.c: Likewise.
36023         * sunrpc/clnt_unix.c: Likewise.
36024         * sunrpc/des_crypt.c: Likewise.
36025         * sunrpc/des_soft.c: Likewise.
36026         * sunrpc/get_myaddr.c: Likewise.
36027         * sunrpc/key_call.c: Likewise.
36028         * sunrpc/key_prot.c: Likewise.
36029         * sunrpc/netname.c: Likewise.
36030         * sunrpc/pm_getmaps.c: Likewise.
36031         * sunrpc/pm_getport.c: Likewise.
36032         * sunrpc/pmap_clnt.c: Likewise.
36033         * sunrpc/pmap_prot.c: Likewise.
36034         * sunrpc/pmap_prot2.c: Likewise.
36035         * sunrpc/pmap_rmt.c: Likewise.
36036         * sunrpc/publickey.c: Likewise.
36037         * sunrpc/rpc_cmsg.c: Likewise.
36038         * sunrpc/rpc_common.c: Likewise.
36039         * sunrpc/rpc_dtable.c: Likewise.
36040         * sunrpc/rpc_prot.c: Likewise.
36041         * sunrpc/rpc_thread.c: Likewise.
36042         * sunrpc/rtime.c: Likewise.
36043         * sunrpc/svc.c: Likewise.
36044         * sunrpc/svc_auth.c: Likewise.
36045         * sunrpc/svc_authux.c: Likewise.
36046         * sunrpc/svc_raw.c: Likewise.
36047         * sunrpc/svc_run.c: Likewise.
36048         * sunrpc/svc_simple.c: Likewise.
36049         * sunrpc/svc_tcp.c: Likewise.
36050         * sunrpc/svc_udp.c: Likewise.
36051         * sunrpc/svc_unix.c: Likewise.
36052         * sunrpc/svcauth_des.c: Likewise.
36053         * sunrpc/xcrypt.c: Likewise.
36054         * sunrpc/xdr.c: Likewise.
36055         * sunrpc/xdr_array.c: Likewise.
36056         * sunrpc/xdr_float.c: Likewise.
36057         * sunrpc/xdr_intXX_t.c: Likewise.
36058         * sunrpc/xdr_mem.c: Likewise.
36059         * sunrpc/xdr_rec.c: Likewise.
36060         * sunrpc/xdr_ref.c: Likewise.
36061         * sunrpc/xdr_sizeof.c: Likewise.
36062         * sunrpc/xdr_stdio.c: Likewise.
36064 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36066         [BZ #12650]
36067         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36068         * sysdeps/ia64/dl-tls.h: Likewise.
36069         * sysdeps/powerpc/dl-tls.h: Likewise.
36070         * sysdeps/s390/dl-tls.h: Likewise.
36071         * sysdeps/sh/dl-tls.h: Likewise.
36072         * sysdeps/sparc/dl-tls.h: Likewise.
36073         * sysdeps/x86_64/dl-tls.h: Likewise.
36074         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36076 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36078         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36079         rpath element also skip the following colon.
36080         (expand_dynamic_string_token): Add is_path parameter and pass
36081         down to DL_DST_REQUIRED and _dl_dst_substitute.
36082         (decompose_rpath): Call expand_dynamic_string_token with
36083         non-zero is_path.  Ignore empty rpaths.
36084         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36085         with zero is_path.
36087 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36090         Make cancelable.
36092 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36094         [BZ #12655]
36095         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36096         Patch by Filipe David Manana <fdmanana@apache.org>.
36098 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36100         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36101         Maintain aligned stack.
36102         (CHECK_RSP): Remove unused macro.
36104 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36106         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36107         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36109 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36111         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36113         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36115 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36117         [BZ #12518]
36118         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36119         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36120         * sysdeps/x86_64/memmove.c: New file.
36121         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36122         (memcpy): Renamed to ...
36123         (__new_memcpy): This.
36124         (memcpy): Provide GLIBC_2_14 memcpy.
36125         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36126         (memcpy): Provide GLIBC_2_2_5 memcpy.
36128 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36130         [BZ #12631]
36131         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36133 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36135         * misc/syncfs.c: New file.
36136         * misc/Makefile (routines): Add syncfs.
36137         * posix/unistd.h: Declare syncfs.
36138         * sysdeps/unix/syscalls.list: Add syncfs.
36140 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36142         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36143         open_by_handle_at.
36144         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36145         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36147         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36149         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36150         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36152 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36154         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36156         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36158         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36160         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36162         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36163         sync_file_range.c with -fexceptions.
36164         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36165         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36166         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36167         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36168         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36169         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36171         sync_file_range as cancellation point
36172         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36173         now a wrapper around __call_sync_file_range with cancellation handling.
36174         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36175         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36176         function name to __call_sync_file_range.
36177         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36178         Add call_sync_file_range.
36180 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36183         bits/timex.h.
36185 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36187         * iconv/iconv.h: Fix typo in comment.
36188         * io/fcntl.h: Likewise.
36189         * libio/stdio.h: Likewise.
36190         * posix/spawn.h: Likewise.
36191         * posix/unistd.h: Likewise.
36192         * stdlib/stdlib.h: Likewise.
36193         * time/time.h: Likewise.
36194         * wcsmbs/wchar.h: Likewise.
36196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36197         open_by_handle): Add.
36198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36199         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36200         Augment a few comments.
36201         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36203         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36206         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36207         open_by_handle.
36209         * io/fcntl.h (AT_EMPTY_PATH): Define.
36211 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36213         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36214         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36215         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36216         to...
36217         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36218         * Versions.def: Add GLIBC_2.14.
36219         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36220         Export.
36222 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36224         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36225         round counter.
36226         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36228 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36230         [BZ #12597]
36231         * string/test-strncmp.c (do_page_test): New function.
36232         (check2): Likewise.
36233         (test_main): Call check2.
36234         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36236 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36238         [BZ #12587]
36239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36240         Handle cache information in CPU leaf 4.
36241         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36243 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36245         [BZ #12583]
36246         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36247         character representation.
36248         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36250 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36252         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36253         END(__isnan) to END(__isnanf) to match function entry point/label
36254         EALIGN(__isnanf,...).
36256 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36258         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36260 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36262         [BZ #12510]
36263         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36264         copy from the symbol referenced in the relocation to initialize the
36265         used variable.
36266         Patch by Piotr Bury <pbury@goahead.com>.
36267         * elf/Makefile: Add rules to build and tst-unique3.
36268         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36269         * elf/tst-unique3.cc: New file.
36270         * elf/tst-unique3.h: New file.
36271         * elf/tst-unique3lib.cc: New file.
36272         * elf/tst-unique3lib2.cc: New file.
36274         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36276 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36278         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36279         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36280         to _start.
36282 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36284         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36285         to-be-loaded object along a path to loader is ld.so.
36287 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36288             Ulrich Drepper  <drepper@gmail.com>
36290         * sysdeps/x86_64/memset.S: After aligning destination, code
36291         branches to different locations depending on the value of
36292         misalignment, when multiarch is enabled. Fix this.
36294 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36296         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36297         Set _x86_64_preferred_memory_instruction for AMD processsors.
36298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36299         Set bit_Prefer_SSE_for_memop for AMD processors.
36301 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36303         * libio/fmemopen.c (fmemopen): Optimize a bit.
36305 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36307         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36309 2011-03-03  Roland McGrath  <roland@redhat.com>
36311         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36313 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36315         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36316         __bzero_ultra1 instead of __memset_ultra1.
36318 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36319             Ulrich Drepper  <drepper@gmail.com>
36321         [BZ #12509]
36322         * include/link.h (struct link_map): Add l_orig_initfini.
36323         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36324         returning unsuccessfully.
36325         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36326         close of a file loaded at startup, restore the original l_initfini
36327         list.
36328         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36329         list, store the pointer.
36330         * elf/Makefile ($(objpfx)noload-mem): New rule.
36331         (noload-ENV): Define.
36332         (tests): Add $(objpfx)noload-mem.
36333         * elf/noload.c: Include <memcheck.h>.
36334         (main): Call mtrace.  Close all opened handles.
36336 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36338         [BZ #12454]
36339         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36340         dependencies are missing.
36342 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36344         Fix __if_freereq crash: Unlike the generic version which uses free,
36345         Hurd needs munmap.
36346         * sysdeps/mach/hurd/ifreq.h: New file.
36348 2011-01-27  Petr Baudis  <pasky@suse.cz>
36349             Ulrich Drepper  <drepper@gmail.com>
36351         [BZ 12445]#
36352         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36353         to extend_alloca().
36354         * stdio-common/bug23.c: New file.
36355         * stdio-common/Makefile (tests): Add bug23.
36357 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36358             Ulrich Drepper  <drepper@gmail.com>
36360         [BZ #12489]
36361         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36362         before performing relro protection.  At old place add assertion
36363         to make sure nothing changed.
36365 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36366             Glauber de Oliveira Costa  <glommer@gmail.com>
36368         * elf/elf.h: Add new ARM TLS relocs.
36370 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36373         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36374         cast from r3.
36375         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36376         'tests' variable.
36377         * sysdeps/wordsize-64/tst-writev.c: New file.
36379 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36381         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36382         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36383         insns in _dl_start to prevent a TOC reference before relocs are
36384         resolved.
36386 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36388         [BZ #12469]
36389         * Makeconfig: Remove RANLIB definition.
36390         * Makerules: Don't use RANLIB.
36391         * aclocal.m4: Remove ranlib test.
36392         * configure.in: No need to check for ranlib.
36393         * elf/rtld-Rules: Don't use RANLIB.
36395 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36397         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36398         protection macro.
36399         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36400         inclusion protection macro.
36402         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36403         SIGRTMIN and SIGRTMAX and print information in that case only when
36404         SIGRTMIN is defined.
36406 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36408         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36409         arginfo fn returning -1.
36411         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36412         and thousands string is zero terminated.
36414 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36417         sysdeps/unix/sysv/linux/bits/socket.h.
36419 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36421         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36422         (__CPU_COUNT): Remove old macros.
36423         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36424         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36425         (__CPU_ALLOC, __CPU_FREE): Add macros.
36426         (__sched_cpualloc, __sched_cpufree): Add declarations.
36428 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36430         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36431         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36432         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36433         (readdhstai): Return value of addhstaiX call.
36434         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36435         (addgrbyX): Return value returned by cache_addgr.
36436         (readdgrbyname): Return value returned by addgrbyX.
36437         (readdgrbygid): Likewise.
36438         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36439         (addpwbyX): Return value returned by cache_addpw.
36440         (readdpwbyname): Return value returned by addhstbyX.
36441         (readdpwbyuid): Likewise.
36442         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36443         (addservbyX): Return value returned by cache_addserv.
36444         (readdservbyname): Return value returned by addservbyX:
36445         (readdservbyport): Likewise.
36446         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36447         (addhstbyX): Return value returned by cache_addhst.
36448         (readdhstbyname): Return value returned by addhstbyX.
36449         (readdhstbyaddr): Likewise.
36450         (readdhstbynamev6): Likewise.
36451         (readdhstbyaddrv6): Likewise.
36452         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36453         (readdinitgroups): Return value returned by addinitgroupsX.
36454         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36455         (prune_cache): Keep track of timeout value of re-added entries.
36456         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36457         * nscd/nscd.h: Adjust prototypes of readd* functions.
36459 2011-02-04  Roland McGrath  <roland@redhat.com>
36461         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36462         (nis_stats): Likewise.
36463         * nis/nis_modify.c (nis_modify): Likewise.
36464         * nis/nis_remove.c (nis_remove): Likewise.
36465         * nis/nis_add.c (nis_add): Likewise.
36467         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36469         * posix/fnmatch_loop.c: Add some consts.
36471         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36473 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36475         [BZ #12460]
36476         * config.make.in (config-cflags-novzeroupper): Define.
36477         * configure.in: Substitute libc_cv_cc_novzeroupper.
36478         * elf/Makefile (AVX-CFLAGS): Define.
36479         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36480         (CFLAGS-tst-auditmod4a.c): Likewise.
36481         (CFLAGS-tst-auditmod4b.c): Likewise.
36482         (CFLAGS-tst-auditmod6b.c): Likewise.
36483         (CFLAGS-tst-auditmod6c.c): Likewise.
36484         (CFLAGS-tst-auditmod7b.c): Likewise.
36485         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36487 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36489         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36490         function to the callback.
36491         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36493 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36495         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36496         of errno.
36498 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36500         [BZ #11724]
36501         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36502         of constructors.
36503         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36504         of destructors.
36505         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36507         [BZ #11724]
36508         * elf/Makefile: Add rules to build and run new test.
36509         * elf/tst-initorder.c: New file.
36510         * elf/tst-initorder.exp: New file.
36511         * elf/tst-initordera1.c: New file.
36512         * elf/tst-initordera2.c: New file.
36513         * elf/tst-initordera3.c: New file.
36514         * elf/tst-initordera4.c: New file.
36515         * elf/tst-initorderb1.c: New file.
36516         * elf/tst-initorderb2.c: New file.
36517         * elf/tst-order-a1.c: New file.
36518         * elf/tst-order-a2.c: New file.
36519         * elf/tst-order-a3.c: New file.
36520         * elf/tst-order-a4.c: New file.
36521         * elf/tst-order-b1.c: New file.
36522         * elf/tst-order-b2.c: New file.
36523         * elf/tst-order-main.c: New file.
36524         New test case by George Gensure <werkt0@gmail.com>.
36526 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36529         decoding ACE if AI_CANONIDN.
36531 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36533         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36535 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36537         * version.h (RELEASE): Bump for 2.13 release.
36538         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36540         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36542         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36543         MADV_NOHUGEPAGE.
36544         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36546         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36547         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36548         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36549         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36551         * posix/getconf.c: Update copyright year.
36552         * catgets/gencat.c: Likewise.
36553         * csu/version.c: Likewise.
36554         * debug/catchsegv.sh: Likewise.
36555         * debug/xtrace.sh: Likewise.
36556         * elf/ldconfig.c: Likewise.
36557         * elf/ldd.bash.in: Likewise.
36558         * elf/sprof.c (print_version): Likewise.
36559         * iconv/iconv_prog.c: Likewise.
36560         * iconv/iconvconfig.c: Likewise.
36561         * locale/programs/locale.c: Likewise.
36562         * locale/programs/localedef.c: Likewise.
36563         * malloc/memusage.sh: Likewise.
36564         * malloc/mtrace.pl: Likewise.
36565         * nscd/nscd.c (print_version): Likewise.
36566         * nss/getent.c: Likewise.
36568         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36569         PF_CAIF, and PF_ALG.
36570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36572 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36574         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36575         (modules-names): Use them.
36576         (ifunc-test-modules, ifunc-pie-tests): Define.
36577         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36578         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36579         (test-extras): Likewise.
36580         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36581         $(compile-command.c).
36582         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36583         (all-built-dso): Define.
36584         (check-textrel.out, check-execstack.out): Depend on it.
36586         * configure.in: Don't override --enable-multi-arch.
36588 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36590         [BZ #6812]
36591         * nscd/hstcache.c (tryagain): Define.
36592         (cache_addhst): Return tryagain not notfound for temporary errors.
36593         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36594         failed.
36596 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36598         [BZ #10563]
36599         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36600         to make the syscall.
36601         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36603         [BZ #12378]
36604         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36605         and fall back to matching as normal character if the string ends before
36606         the matching ']' is found.  This is what POSIX requires.
36607         * posix/testfnm.c: Adjust test result.
36608         * posix/globtest.sh: Adjust test result.  Add new test.
36609         * posix/tst-fnmatch.input: Likewise.
36610         * posix/tst-fnmatch2.c: Add new test.
36612 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36614         * elf/Makefile (check-execstack): Revert last change.  Depend on
36615         check-execstack.h.
36616         (check-execstack.h): New target.
36617         (generated): Add check-execstack.h.
36618         * elf/check-execstack.c: Include "check-execstack.h".
36619         (main): Revert last change.
36620         (handle_file): Return zero if GNU_STACK is absent and
36621         DEFAULT_STACK_PERMS doesn't include PF_X.
36623 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36625         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36626         in child fails because the descriptor is already closed.
36627         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36628         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36629         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36631         [BZ #12397]
36632         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36633         syscall.
36635         [BZ #10484]
36636         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36637         temporary buffer used to handle multi lookups locally.
36638         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36640 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36642         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36643         loader is ld.so.
36645 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36647         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36648         alignment for SSE2.
36650 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36652         [BZ #12394]
36653         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36654         characters.  When rounding increased number of integer digits recompute
36655         number of groups.
36656         * stdio-common/tst-grouping.c: New file.
36657         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36659 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36661         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36662         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36664         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36665         void.
36666         * bits/select.h: Likewise.
36668 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36670         * po/ja.po: Update from translation team.
36672 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36674         [BZ #11155]
36675         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36676         implementation just like for lxstat, fxstatat, et al.
36678 2010-12-27  Jim Meyering  <meyering@redhat.com>
36680         [BZ #12348]
36681         * posix/regexec.c (build_trtable): Return failure indication upon
36682         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36684 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36686         [BZ #12201]
36687         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36688         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36689         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36692         [BZ #12207]
36693         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36695         [BZ #12204]
36696         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36697         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36699 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36701         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36702         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36703         script has SORT_BY_INIT_PRIORITY.
36704         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36705         NO_CTORS_DTORS_SECTIONS is defined.
36706         * elf/soinit.c: Likewise.
36707         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36708         NO_CTORS_DTORS_SECTIONS is defined.
36709         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36710         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36711         * sysdeps/sh/init-first.c: Likewise.
36712         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36714 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36716         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36717         always use the slow path.
36719 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36721         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36722         similar rule which adds the sysdep directories to the header search in
36723         order to pick up the correct platform stackinfo.h.
36724         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36725         perform test if it is, otherwise return successfully without testing.
36726         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36727         DEFAULT_STACK_PERMS define in stackinfo.h.
36728         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36729         defined in stackinfo.h.
36730         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36731         DEFAULT_STACK_PERMS defined in stackinfo.h.
36732         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36733         * sysdeps/ia64/stackinfo.h: Likewise.
36734         * sysdeps/s390/stackinfo.h: Likewise.
36735         * sysdeps/sh/stackinfo.h: Likewise.
36736         * sysdeps/sparc/stackinfo.h: Likewise.
36737         * sysdeps/x86_64/stackinfo.h: Likewise.
36738         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36739         PF_X for powerpc64.  Retain PF_X for powerpc32.
36741 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36743         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36744         accurately.
36745         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36746         GETDENTS_64BIT_ALIGNED.
36748 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36750         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36752 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36754         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36755         _GNU_SOURCE.
36757         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36758         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36759         Remove __restrict.
36760         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36761         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36763 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36765         [BZ #11655]
36766         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36767         are initialized.
36769 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36771         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36773 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36775         * po/it.po: Update from translation team.
36777 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36779         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36780         unused codes.
36782 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36784         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36786 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36788         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36789         specially.
36790         (gaih_getanswer_slice): Likewise.
36792 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36794         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36796 2010-05-31  Petr Baudis  <pasky@suse.cz>
36798         [BZ #11149]
36799         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36800         silently even in the chroot mode.
36802 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36804         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36805         last patch a bit.  Pretty printing
36807 2010-05-31  Petr Baudis <pasky@suse.cz>
36809         [BZ #10085]
36810         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36811         initialization of skip_initgroups_dyn.
36813 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36818 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36820         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36822 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36824         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36825         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36826         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36827         ($(objpfx)tst-fnmatch-mem): New rule.
36828         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36829         * posix/tst-fnmatch.c (main): Call mtrace.
36831 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36834         Support Intel processor model 6 and model 0x2c.
36836 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36838         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36839           signed comparison.
36841 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36843         [BZ #12205]
36844         * string/test-strncasecmp.c (check_result): New function.
36845         (do_one_test): Use it.
36846         (check1): New function.
36847         (test_main): Use it.
36848         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36849         Support strcasecmp and strncasecmp.
36851 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36853         [BZ #12194]
36854         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36855         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36857 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36859         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36860         IFUNC support.
36861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36862         memset-x86-64.
36863         * sysdeps/x86_64/multiarch/bzero.S: New file.
36864         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36865         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36866         * sysdeps/x86_64/multiarch/memset.S: New file.
36867         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36869         Set bit_Prefer_SSE_for_memop for Intel processors.
36870         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36871         Define.
36872         (index_Prefer_SSE_for_memop): Define.
36873         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36875 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36877         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36878         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36880 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36882         [BZ #12191]
36883         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36884         (__x86_64_raw_data_cache_size_half): Likewise.
36885         (__x86_64_raw_shared_cache_size): Likewise.
36886         (__x86_64_raw_shared_cache_size_half): Likewise.
36888         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36889         (__x86_64_raw_data_cache_size_half): Likewise.
36890         (__x86_64_raw_shared_cache_size): Likewise.
36891         (__x86_64_raw_shared_cache_size_half): Likewise.
36892         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36893         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36894         and __x86_64_raw_shared_cache_size_half.  Round
36895         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36896         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36897         to multiple of 256 bytes.
36899 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36901         [BZ #12167]
36902         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36903         of inacessible symlinks.  Verify result of symlink before returning it.
36904         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36905         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36907 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36909         * math/math.h (isinf): Fix typo in comment.
36911 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36913         * po/da.po: Update from translation team.
36915 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36917         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36918         is added to the list.
36920 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36921             Ulrich Drepper  <drepper@gmail.com>
36923         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36924         the global list here.  Move code to...
36925         (_dl_add_to_namespace_list): ...here.  New function.
36926         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36927         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36928         * elf/dl-load.c (lose): Don't remove the element from the list.
36929         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36930         (_dl_map_object): Likewise.
36932 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36934         [BZ #12159]
36935         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36936         into all bytes of SSE register.
36937         Patch by Richard Li <richardpku@gmail.com>.
36939 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36941         [BZ #12140]
36942         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36943         perturbing.
36945 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36947         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36948         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36949         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36950         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36952         submachine.
36953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36955 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36957         * include/dlfcn.h (__RTLD_SECURE): Define.
36958         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36959         mode & __RTLD_SECURE instead.
36960         (open_path): Rename preloaded parameter to secure.
36961         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36962         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36963         * elf/dl-deps.c (openaux): Likewise.
36964         * elf/rtld.c (struct map_args): Remove is_preloaded.
36965         (map_doit): Don't use it.
36966         (dl_main): Likewise.
36967         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36968         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36970 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36972         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36973         (sysd-rules-targets): Remove duplicates.
36974         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36975         rtld-%.$o dependency.
36977 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36979         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36980         _dl_map_object do it.
36982 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36984         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36985         fast fma builtins, define the macros in the C99 standard.
36986         (FP_FAST_FMAF): Likewise.
36987         (FP_FAST_FMAL): Likewise.
36988         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36990         * bits/mathdef.h: Update copyright year.
36991         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36993 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36995         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36996         builtins, define the macros in the C99 standard.
36997         (FP_FAST_FMAF): Likewise.
36998         (FP_FAST_FMAL): Likewise.
36999         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37000         multiply/add.
37001         (FP_FAST_FMAF): Likewise.
37003 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37005         [BZ #3268]
37006         * math/libm-test.inc (fma_test): Some new testcases.
37007         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37008         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37009         y and infinite z.  Do multiplication by C already in long double.
37010         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37012         y and infinite z.  Do bitwise or of inexact bit into u.d.
37013         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37014         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37015         * sysdeps/i386/fpu/s_fma.S: Removed.
37016         * sysdeps/i386/fpu/s_fmal.S: Removed.
37018 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37020         [BZ #3268]
37021         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37023         computation is not scheduled after fetestexcept.  Fix value
37024         of minimum denormal long double.
37026 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37028         [BZ #3268]
37029         * math/libm-test.inc (fma_test): Add some more tests.
37030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37031         correctly.
37033 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37035         * scripts/data/localplt-s390-linux-gnu.data: New file.
37036         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37038 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37040         [BZ #3268]
37041         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37042         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37043         instead of dbl-64.
37044         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37045         inlines.
37046         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37048         if one of x and y is very large and the other is subnormal.
37049         * sysdeps/s390/fpu/s_fmaf.c: New file.
37050         * sysdeps/s390/fpu/s_fma.c: New file.
37051         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37052         * sysdeps/powerpc/fpu/s_fma.S: New file.
37053         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37054         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37055         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37057 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37059         [BZ #3268]
37060         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37061         fma tests.
37062         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37063         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37064         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37065         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37066         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37067         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37068         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37070 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37072         [BZ #12078]
37073         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37074         * posix/bug-regex31.input: Add test case.
37076 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37078         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37079         * posix/bug-regex31.input: New file.
37081         [BZ #12078]
37082         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37083         (parse_sub_exp): Fix last change, use postorder.
37085         * posix/bug-regex31.c: New file.
37086         * posix/Makefile: Add rules to build and run bug-regex31.
37088         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37090         [BZ #12078]
37091         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37093         [BZ #12108]
37094         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37095         to have entries in sys_siglist.
37097         [BZ #12093]
37098         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37099         be NULL.
37101 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37103         [BZ #3268]
37104         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37105         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37106         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37107         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37108         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37109         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37110         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37111         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37112         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37113         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37114         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37115         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37116         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37117         * math/ftestexcept.c (fetestexcept): Likewise.
37118         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37119         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37120         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37122         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37123         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37124         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37126 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37128         [BZ #12107]
37129         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37130         newline.
37132 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37134         * string/bug-strstr1.c: New file.
37135         * string/Makefile: Add rules to build and run bug-strstr1.
37137 2010-10-05  Eric Blake  <eblake@redhat.com>
37139         [BZ #12092]
37140         * string/str-two-way.h (two_way_long_needle): Always clear memory
37141         when skipping input due to the shift table.
37143 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37145         [BZ #12005]
37146         * malloc/mcheck.c: Handle large requests.
37148         [BZ #12077]
37149         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37150         for strncmp and strncasecmp.
37151         * string/stratcliff.c: Add tests for strcmp and strncmp.
37152         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37154 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37156         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37157         __set_fpscr.
37159 2010-09-30  Andreas Jaeger  <aj@suse.de>
37161         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37162         (CGROUP_SUPER_MAGIC): Define.
37163         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37164         Handle btrfs and cgroup file systems.
37165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37166         Likewise.
37168 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37170         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37171         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37173 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37175         [BZ #12067]
37176         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37177         trying to locate the ELF header.
37179 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37181         [BZ #11611]
37182         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37183         Mask out sign-bit copies when constructing f_fsid.
37185 2010-09-24  Petr Baudis <pasky@suse.cz>
37187         * debug/stack_chk_fail_local.c: Add missing licence exception.
37188         * debug/warning-nop.c: Likewise.
37190 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37193         implementing getdents64 using getdents syscall, set d_type if
37194         __ASSUME_GETDENTS32_D_TYPE.
37196 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37198         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37199         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37201 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37203         [BZ #12037]
37204         * posix/unistd.h: Undo change of feature selection for ftruncate from
37205         2010-01-11.
37207 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37209         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37210         detection.
37212 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37215         fanotify_mark.
37216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37218 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37220         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37221         variables after CHECK_SP call.
37222         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37224 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37225             Ulrich Drepper  <drepper@redhat.com>
37227         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37228         re-relocationg ld.so.
37229         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37230         _dl_init_paths call.
37231         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37232         here anymore.
37234 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37236         * resolv/res_init.c (__res_vinit): Count the default server we added.
37238 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37239             Ulrich Drepper  <drepper@redhat.com>
37241         [BZ #11968]
37242         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37243         (____longjmp_chk): Use %ebx for saving value across system call.
37244         Add unwind info.
37246 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37248         * manual/Makefile: Don't mix pattern rules with normal rules.
37250 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37252         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37253         operation.
37254         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37255         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37256         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37257         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37259         Likewise.
37261 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37263         [BZ #11979]
37264         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37265         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37267 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37269         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37270         * sysdeps/x86_64/addmul_1.S: Likewise.
37271         * sysdeps/x86_64/lshift.S: Likewise.
37272         * sysdeps/x86_64/mul_1.S: Likewise.
37273         * sysdeps/x86_64/rshift.S: Likewise.
37274         * sysdeps/x86_64/sub_n.S: Likewise.
37275         * sysdeps/x86_64/submul_1.S: Likewise.
37277 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37279         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37280         Define __sched_param instead of SCHED_* and sched_param when
37281         <bits/sched.h> is included with __need_schedparam defined.
37282         * bits/sched.h [__need_schedparam]
37283         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37284         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37285         (__defined_schedparam): Define to 1.
37286         (__sched_param): New structure, identical to sched_param.
37287         (__need_schedparam): Undefine.
37289 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37291         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37292         (epoll_create1): Declare.
37294         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37296 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37298         [BZ #7066]
37299         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37300         shifting retval into place.
37302 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37304         * nis/rpcsvc/nis.h: Update copyright notice.
37305         * nis/rpcsvc/nis.x: Likewise.
37306         * nis/rpcsvc/nis_callback.h: Likewise.
37307         * nis/rpcsvc/nis_callback.x: Likewise.
37308         * nis/rpcsvc/nis_object.x: Likewise.
37309         * nis/rpcsvc/nis_tags.h: Likewise.
37310         * nis/rpcsvc/yp.h: Likewise.
37311         * nis/rpcsvc/yp.x: Likewise.
37312         * nis/rpcsvc/ypupd.h: Likewise.
37313         * nis/yp_xdr.c: Likewise.
37314         * nis/ypupdate_xdr.c: Likewise.
37316         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37317         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37318         (pmap_getport): Use __libc_rpc_getport.
37319         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37320         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37321         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37323 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37326         fanotify_mark.
37328 2010-08-27  Roland McGrath  <roland@redhat.com>
37330         * sysdeps/i386/i686/multiarch/Makefile
37331         (CFLAGS-varshift.c): New variable.
37333 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37335         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37336         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37338         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37340         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37342 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37344         * sysdeps/x86_64/strlen.S: Unroll the loop.
37345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37346         strlen-sse2 strlen-sse2-bsf.
37347         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37348         __strlen_no_bsf if bit_Slow_BSF is set.
37349         (__strlen_sse42): Removed.
37350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37351         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37353 2010-08-25  Roland McGrath  <roland@redhat.com>
37355         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37356         * sysdeps/x86_64/multiarch/varshift.c: New file.
37357         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37358         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37359         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37360         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37362 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37365         strlen-sse2 strlen-sse2-bsf.
37366         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37367         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37368         (__strlen_sse2): Removed.
37369         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37372         bit_Slow_BSF for Atom.
37373         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37374         (index_Slow_BSF): Define.
37375         (HAS_SLOW_BSF): Define.
37377 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37379         [BZ #10851]
37380         * resolv/res_init.c (__res_vinit): When no server address at all
37381         is given default to loopback.
37383 2010-08-24  Roland McGrath  <roland@redhat.com>
37385         * configure.in: Remove config-name.h generation.
37386         * configure: Regenerated.
37387         * config-name.in: File removed.
37388         * scripts/config-uname.sh: New file.
37389         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37390         ($(objdir)config-name.h): New target.
37392         * sunrpc/rpc_parse.h: Avoid nested comment.
37394 2010-08-24  Richard Henderson  <rth@redhat.com>
37395             Ulrich Drepper  <drepper@redhat.com>
37396             H.J. Lu  <hongjiu.lu@intel.com>
37398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37400         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37401         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37402         _mm_alignr_epi8 with _mm_loadu_si128.
37403         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37404         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37405         (__m128i_shift_right): Removed.
37406         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37407         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37408         * sysdeps/x86_64/multiarch/varshift.h: New file.
37409         * sysdeps/x86_64/multiarch/varshift.S: New file.
37411 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37413         * configure.in: Move assembler checks to before sysdep dir checking.
37415 2010-08-20  Petr Baudis  <pasky@suse.cz>
37417         * LICENSES: Sync the sunrpc license.
37419 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37421         * sunrpc/auth_des.c: Update copyright notice once again.
37422         * sunrpc/auth_none.c: Likewise.
37423         * sunrpc/auth_unix.c: Likewise.
37424         * sunrpc/authdes_prot.c: Likewise.
37425         * sunrpc/authuxprot.c: Likewise.
37426         * sunrpc/bindrsvprt.c: Likewise.
37427         * sunrpc/clnt_gen.c: Likewise.
37428         * sunrpc/clnt_perr.c: Likewise.
37429         * sunrpc/clnt_raw.c: Likewise.
37430         * sunrpc/clnt_simp.c: Likewise.
37431         * sunrpc/clnt_tcp.c: Likewise.
37432         * sunrpc/clnt_udp.c: Likewise.
37433         * sunrpc/clnt_unix.c: Likewise.
37434         * sunrpc/des_crypt.c: Likewise.
37435         * sunrpc/des_soft.c: Likewise.
37436         * sunrpc/get_myaddr.c: Likewise.
37437         * sunrpc/getrpcport.c: Likewise.
37438         * sunrpc/key_call.c: Likewise.
37439         * sunrpc/key_prot.c: Likewise.
37440         * sunrpc/openchild.c: Likewise.
37441         * sunrpc/pm_getmaps.c: Likewise.
37442         * sunrpc/pm_getport.c: Likewise.
37443         * sunrpc/pmap_clnt.c: Likewise.
37444         * sunrpc/pmap_prot.c: Likewise.
37445         * sunrpc/pmap_prot2.c: Likewise.
37446         * sunrpc/pmap_rmt.c: Likewise.
37447         * sunrpc/rpc/auth.h: Likewise.
37448         * sunrpc/rpc/auth_unix.h: Likewise.
37449         * sunrpc/rpc/clnt.h: Likewise.
37450         * sunrpc/rpc/des_crypt.h: Likewise.
37451         * sunrpc/rpc/key_prot.h: Likewise.
37452         * sunrpc/rpc/netdb.h: Likewise.
37453         * sunrpc/rpc/pmap_clnt.h: Likewise.
37454         * sunrpc/rpc/pmap_prot.h: Likewise.
37455         * sunrpc/rpc/pmap_rmt.h: Likewise.
37456         * sunrpc/rpc/rpc.h: Likewise.
37457         * sunrpc/rpc/rpc_des.h: Likewise.
37458         * sunrpc/rpc/rpc_msg.h: Likewise.
37459         * sunrpc/rpc/svc.h: Likewise.
37460         * sunrpc/rpc/svc_auth.h: Likewise.
37461         * sunrpc/rpc/types.h: Likewise.
37462         * sunrpc/rpc/xdr.h: Likewise.
37463         * sunrpc/rpc_clntout.c: Likewise.
37464         * sunrpc/rpc_cmsg.c: Likewise.
37465         * sunrpc/rpc_common.c: Likewise.
37466         * sunrpc/rpc_cout.c: Likewise.
37467         * sunrpc/rpc_dtable.c: Likewise.
37468         * sunrpc/rpc_hout.c: Likewise.
37469         * sunrpc/rpc_main.c: Likewise.
37470         * sunrpc/rpc_parse.c: Likewise.
37471         * sunrpc/rpc_parse.h: Likewise.
37472         * sunrpc/rpc_prot.c: Likewise.
37473         * sunrpc/rpc_sample.c: Likewise.
37474         * sunrpc/rpc_scan.c: Likewise.
37475         * sunrpc/rpc_scan.h: Likewise.
37476         * sunrpc/rpc_svcout.c: Likewise.
37477         * sunrpc/rpc_tblout.c: Likewise.
37478         * sunrpc/rpc_util.c: Likewise.
37479         * sunrpc/rpc_util.h: Likewise.
37480         * sunrpc/rpcinfo.c: Likewise.
37481         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37482         * sunrpc/rpcsvc/key_prot.x: Likewise.
37483         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37484         * sunrpc/rpcsvc/mount.x: Likewise.
37485         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37486         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37487         * sunrpc/rpcsvc/rex.x: Likewise.
37488         * sunrpc/rpcsvc/rstat.x: Likewise.
37489         * sunrpc/rpcsvc/rusers.x: Likewise.
37490         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37491         * sunrpc/rpcsvc/spray.x: Likewise.
37492         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37493         * sunrpc/rtime.c: Likewise.
37494         * sunrpc/svc.c: Likewise.
37495         * sunrpc/svc_auth.c: Likewise.
37496         * sunrpc/svc_authux.c: Likewise.
37497         * sunrpc/svc_raw.c: Likewise.
37498         * sunrpc/svc_run.c: Likewise.
37499         * sunrpc/svc_simple.c: Likewise.
37500         * sunrpc/svc_tcp.c: Likewise.
37501         * sunrpc/svc_udp.c: Likewise.
37502         * sunrpc/svc_unix.c: Likewise.
37503         * sunrpc/svcauth_des.c: Likewise.
37504         * sunrpc/xcrypt.c: Likewise.
37505         * sunrpc/xdr.c: Likewise.
37506         * sunrpc/xdr_array.c: Likewise.
37507         * sunrpc/xdr_float.c: Likewise.
37508         * sunrpc/xdr_mem.c: Likewise.
37509         * sunrpc/xdr_rec.c: Likewise.
37510         * sunrpc/xdr_ref.c: Likewise.
37511         * sunrpc/xdr_sizeof.c: Likewise.
37512         * sunrpc/xdr_stdio.c: Likewise.
37514         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37515         handling.
37517 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37519         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37521 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37523         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37524         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37525         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37526         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37527         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37528         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37530         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37531         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37532         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37533         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37534         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37535         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37536         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37538 2010-07-26  Anton Blanchard  <anton@samba.org>
37540         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37541         * malloc/arena.c (heap_trim): Likewise.
37543 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37545         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37546         here.  Not...
37547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37548         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37550 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37552         * sysdeps/i386/elf/Makefile: New file.
37554 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37556         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37557         from fanotify_init.
37558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37561 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37563         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37564         of strncasecmp_l.
37565         * sysdeps/multiarch/strcmp.S: Likewise.
37567 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37569         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37570         strncase_l-nonascii.
37571         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37572         Add strncase_l-ssse3.
37573         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37574         * sysdeps/x86_64/strcmp.S: Likewise.
37575         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37576         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37577         * sysdeps/x86_64/strncase.S: New file.
37578         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37579         * sysdeps/x86_64/strncase_l.S: New file.
37580         * string/Makefile (strop-tests): Add strncasecmp.
37581         * string/test-strncasecmp.c: New file.
37583         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37584         warning.
37586         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37587         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37589 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37591         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37593 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37595         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37596         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37597         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37599 2010-05-01  Alan Modra  <amodra@gmail.com>
37601         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37602         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37603         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37604         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37605         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37606         tidying.  Don't tail-call __sigjmp_save for static lib.
37607         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37608         save location.
37609         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37610         (CALL_MCOUNT): Add eh info, and nop after bl.
37611         (TAIL_CALL_SYSCALL_ERROR): New macro.
37612         (PSEUDO_RET): Use it.
37613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37614         Correct save location of integer regs and cr.
37615         (_dl_profile_resolve): Correct cr save location.  Delete nops
37616         after bl when SHARED.  Reduce cfi size a little by better
37617         placement of cfi directives.
37618         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37619         make a stack frame.  Instead use parm save area as a temp.
37620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37621         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37623         Don't make a stack frame for parent, use parm save area.
37624         Increase child stack frame to 112 bytes.  Don't save unused reg,
37625         and adjust reg usage.  Set up cfi on error recovery and
37626         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37628         (__makecontext): Add dummy nop after jump to exit.
37629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37630         Use correct parm save area and cr save, reduce stack frame.
37631         Correct cfi for possible PSEUDO_RET frame setup.
37632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37633         Branch to local label emitted by PSEUDO_RET rather than
37634         __syscall_error.
37636 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37638         [BZ #11904]
37639         * locale/programs/locale.c (print_assignment): New function.
37640         (show_locale_vars): Use it.
37642 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37644         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37645         field.
37646         (struct statfs64): Likewise.
37647         (_STATFS_F_FLAGS): Define.
37648         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37649         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37650         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37651         (ST_VALID): Define locally.
37652         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37653         __statvfs_getflags, use the provided value.
37654         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37655         __ASSUME_STATFS_F_FLAGS.
37657         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37659         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37660         Add sys/fanotify.h.
37661         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37662         fanotify_mask for GLIBC_2.13.
37663         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37664         fanotify_init and fanotify_mark.
37665         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37666         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37668         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37669         Add prlimit.
37670         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37671         prlimit64 for GLIBC_2.13.
37672         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37673         prlimit64.
37674         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37675         syscall.
37676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37677         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37678         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37679         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37681         add prlimit alias.
37682         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37684         [BZ #11903]
37685         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37686         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37688         * nss/Makefile: Add rules to build and run tst-nss-test1.
37689         * shlib-versions: Add entry for libnss_test1.
37690         * nss/nss_test1.c: New file.
37691         * nss/tst-nss-test1.c: New file.
37693         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37694         (__nss_configure_lookup): Set appropriate entry in
37695         __nss_configure_lookup to true.
37696         * nss/nsswitch.h: Define enum with indeces of databases in
37697         databases and __nss_database_custom arrays.  Declare
37698         __nss_database_custom.
37699         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37700         to avoid using nscd when custom rules are installed.
37701         * nss/getXXbyYY_r.c: Likewise.
37702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37704         * nss/nss_files/files-parse.c: Whitespace fixes.
37706 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37708         [BZ #11883]
37709         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37710         * posix/fnmatch_loop.c: Likewise.
37712 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37714         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37715         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37716         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37717         * Versions.def [GLIBC_2.13]: Add.
37719 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37722         Also fail if tpwd after pwuid call is NULL.
37724 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37726         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37727         when converting to ms.
37729 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37731         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37732         EOPNOTSUPP errors with ENOTTY.
37733         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37734         EOPNOTSUPP errors with ENOTTY.
37736 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37738         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37739         Add strcasecmp_l-ssse3.
37740         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37741         strcasecmp.
37742         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37743         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37744         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37746 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37748         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37750         * string/Makefile (strop-tests): Add strcasecmp.
37751         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37752         strcasecmp_l-nonascii.
37753         (gen-as-const-headers): Add locale-defines.sym.
37754         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37755         * sysdeps/x86_64/strcasecmp.S: New file.
37756         * sysdeps/x86_64/strcasecmp_l.S: New file.
37757         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37758         * sysdeps/x86_64/locale-defines.sym: New file.
37759         * string/test-strcasecmp.c: New file.
37761         * string/test-strcasestr.c: Test both ends of the range of characters.
37762         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37764 2010-07-29  Roland McGrath  <roland@redhat.com>
37766         [BZ #11856]
37767         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37769 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37771         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37772         for ld.so.
37774 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37776         * manual/memory.texi (Malloc Tunable Parameters): Document
37777         M_PERTURB.
37779 2010-07-26  Roland McGrath  <roland@redhat.com>
37781         [BZ #11840]
37782         * configure.in (-fgnu89-inline check): Set and substitute
37783         gnu89_inline, not libc_cv_gnu89_inline.
37784         * configure: Regenerated.
37785         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37787 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37789         * string/test-strnlen.c: New file.
37790         * string/Makefile (strop-tests): Add strnlen.
37791         * string/tester.c (test_strnlen): Add a few more test cases.
37792         * string/tst-strlen.c: Better error reporting.
37794         * sysdeps/x86_64/strnlen.S: New file.
37796 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37798         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37799         lower-latency instructions.
37801 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37803         * string/test-strcasestr.c: New file.
37804         * string/test-strstr.c: New file.
37805         * string/Makefile (strop-tests): Add strstr and strcasestr.
37806         * string/str-two-way.h: Don't undefine MAX.
37807         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37809 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37811         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37812         strcasestr-nonascii.
37813         (CFLAGS-strcasestr-nonascii.c): Define.
37814         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37815         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37816         Remove unused attribute.
37818 2010-07-20  Roland McGrath  <roland@redhat.com>
37820         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37821         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37822         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37823         like LD_HWCAP_MASK can disable hwcaps.
37825 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37827         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37829 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37831         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37832         call in strcasestr.
37833         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37834         __strcasestr_sse42_nonascii.
37835         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37836         strcasestr-nonascii.c.
37837         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37839 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37841         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37842         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37843         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37844         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37846 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37848         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37849         fcntl.
37851 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37853         [BZ #11577]
37854         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37855         dl_signal_cerror.
37857 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37859         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37860         _PC_PIPE_BUF using F_GETPIPE_SZ.
37862 2010-07-05  Roland McGrath  <roland@redhat.com>
37864         * manual/arith.texi (Rounding Functions): Fix rint description
37865         implicit in round description.
37867 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37869         * elf/Makefile: Fix linking for a few tests to make recent linker
37870         happy.
37872 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37874         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37875         $(common-objpfx)libc_nonshared.a.
37877 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37879         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37880         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37881         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37882         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37883         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37884         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37885         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37886         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37901         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37902         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37903         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37904         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37905         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37906         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37907         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37908         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37909         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37910         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37911         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37912         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37928 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37930         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37931         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37932         * string/memmove.c (memmove): Renamed to ...
37933         (MEMMOVE): ...this.  Default to memmove.
37934         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37935         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37936         (END_CHK): Define.
37937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37938         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37939         mempcpy-ssse3-back memmove-ssse3-back.
37940         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37941         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37942         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37943         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37944         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37945         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37946         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37947         * sysdeps/x86_64/multiarch/memmove.c: New file.
37948         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37949         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37950         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37951         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37952         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37953         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37954         Define.
37955         (index_Fast_Copy_Backward): Define.
37956         (HAS_ARCH_FEATURE): Define.
37957         (HAS_FAST_REP_STRING): Define.
37958         (HAS_FAST_COPY_BACKWARD): Define.
37960 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37962         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37963         Restore proper fallback handling.
37965 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37967         [BZ #11701]
37968         * posix/group_member.c (__group_member): Correct checking loop.
37970         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37971         OOM in getpwuid_r correctly.  Return error number when the caller
37972         should return, otherwise -1.
37973         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37974         call returning > 0 value.
37975         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37977 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37979         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37980         libc_nonshared.a from targets in modules-names.
37982 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37984         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37985         requires it.
37987 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37989         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37990         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37991         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37994 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37996         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37998 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38000         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38001         and F_GETPIPE_SZ.
38002         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38006         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38007         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38009 2010-06-14  Roland McGrath  <roland@redhat.com>
38011         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38013 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38015         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38016         __REDIRECT followed by __THROW.
38017         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38018         * posix/getopt.h (getopt): Likewise.
38020 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38022         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38023         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38024         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38025         in AT_FLAGS.
38026         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38027         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38029 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38031         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38033 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38035         [BZ #11640]
38036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38037         Properly check family and model.
38039 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38041         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38043 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38045         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38047 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38049         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38050         symbol reference.
38052 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38054         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38055         symbol reference.
38057 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38059         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38060         and internal_recvmmsg.
38061         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38062         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38063         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38064         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38066         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38067         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38068         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38070 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38072         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38074 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38076         POWER7 optimizations.
38077         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38078         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38080 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38082         * version.h: Update for 2.13 development version.
38084 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38086         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38087         exceptions.  Return 0.
38089 2010-05-07  Roland McGrath  <roland@redhat.com>
38091         * elf/ldconfig.c (main): Add a const.
38093 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38095         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38096         (args_options): Add no-idn option.
38097         (ahosts_keys_int): Add idn_flags to ai_flags.
38098         (parse_option): Handle 'i' option to clear idn_flags.
38100         * malloc/malloc.c (_int_free): Possible race in the most recently
38101         added check.  Only act on the data if no current modification
38102         happened.
38104 See ChangeLog.17 for earlier changes.