benchmark inputs for atan
[glibc.git] / ChangeLog
blob5f689c91bbb150ddcb64e024c1719a2e8525972e
1 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/atan-inputs: New inputs. Fix name of multiple
4         precision fallback inputs.
6         * benchtests/atanh-inputs: New inputs.
7         * benchtests/tanh-inputs: Likewise.
9         * benchtests/acosh-inputs: New inputs.
10         * benchtests/asinh-inputs: Likewise.
12         * benchtests/cosh-inputs: New inputs.
13         * benchtests/sinh-inputs: Likewise.
15         * benchtests/acos-inputs: Add more inputs.
16         * benchtests/asin-inputs: Likewise.
18 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20         [BZ #16375]
21         * manual/arith.texi: Fix spelling.
22         * manual/charset.texi: Likewise.
23         * manual/errno.texi: Likewise.
24         * manual/filesys.texi: Likewise.
25         * manual/lang.texi: Likewise.
26         * manual/llio.texi: Likewise.
27         * manual/locale.texi: Likewise.
28         * manual/message.texi: Likewise.
29         * manual/resource.texi: Likewise.
30         * manual/search.texi: Likewise.
31         * manual/setjmp.texi: Likewise.
32         * manual/stdio.texi: Likewise.
33         * manual/string.texi: Likewise.
34         * manual/sysinfo.texi: Likewise.
35         * manual/time.texi: Likewise.
37 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39         * po/sl.po: New file.
41 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43         * .gitignore: Add core/.gdbinit/.gdb_history.
45 2013-12-27  Allan McRae  <allan@archlinux.org>
47         [BZ #16369]
48         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51 2013-12-24  Brooks Moses  <bmoses@google.com>
53         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54         all compilers that claim C++98 compliance, not just GCC.
55         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56         Likewise.
58 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
60         * NEWS: Restore accidentally deleted bug-fix entries.
62 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
63             Ondřej Bílka  <neleai@seznam.cz>
65         [BZ #15073]
66         * malloc/malloc.c (_int_free): Perform sanity check only if we
67         have_lock.
69 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
71         [BZ #12986]
72         * manual/stdio.texi (String Input Conversions): Clarify that character
73         classes are not supported.
75 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
81         [BZ #16337]
82         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
83         Calculate results for small negative arguments directly rather
84         than using reflection formula with special underflow handling.
86         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
87         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
88         sysdeps/unix/bsd/bsd4.4/syscalls.list.
89         (fchflags): Likewise.
90         (revoke): Likewise.
91         (setlogin): Likewise.
92         (sigaltstack): Likewise.
93         (wait4): Likewise.
94         (sigblock): Remove.
95         (sigsetmask): Likewise.
96         (wait3): Likewise.
97         (waitpid): Likewise.
98         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
99         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
100         file.
101         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
102         * sysdeps/unix/bsd/Makefile: ... here.
103         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
104         * sysdeps/unix/bsd/Versions: ... here.
105         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
106         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
107         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
108         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
109         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
110         * sysdeps/unix/bsd/sigblock.c: ... here.
111         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
112         * sysdeps/unix/bsd/sigsetmask.c: ... here.
113         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
114         * sysdeps/unix/bsd/sigvec.c: ... here.
115         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
116         * sysdeps/unix/bsd/tcdrain.c: ... here.
117         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
118         * sysdeps/unix/bsd/tcgetattr.c: ... here.
119         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
120         * sysdeps/unix/bsd/tcsetattr.c: ... here.
121         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
122         * sysdeps/unix/bsd/wait.c: ... here.
123         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
124         * sysdeps/unix/bsd/wait3.c: ... here.
125         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
126         * sysdeps/unix/bsd/waitpid.c: ... here.
128 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
130         [BZ #16356]
131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
132         round-to-nearest for [!USE_AS_EXPM1L].
133         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
134         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
135         more tests of exp and exp10.  Expect some exp10 tests to miss
136         exceptions or fail in directed rounding modes.
137         * math/auto-libm-test-out: Regenerated.
138         * math/libm-test.inc (exp10_tonearest_test_data): New array.
139         (exp10_test_tonearest): New function.
140         (exp10_towardzero_test_data): New array.
141         (exp10_test_towardzero): New function.
142         (exp10_downward_test_data): New array.
143         (exp10_test_downward): New function.
144         (exp10_upward_test_data): New array.
145         (exp10_test_upward): New function.
146         (main): Call the new functions.
147         * sysdeps/i386/fpu/libm-test-ulps: Update.
148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
150 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
152         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
153         asinh, atan, atan2, atanh, cbrt, cos and cosh.
154         * math/auto-libm-test-out: Regenerated.
155         * math/libm-test.inc (acosh_test_data): Add more tests.
156         (atanh_test_data): Likewise.
157         (ceil_test_data): Likewise.
158         (copysign_test_data): Likewise.
159         * sysdeps/i386/fpu/libm-test-ulps: Update.
160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162         * timezone/checktab.awk: Update from tzcode 2013i.
163         * timezone/private.h: Likewise.
164         * timezone/scheck.c: Likewise.
165         * timezone/tzfile.h: Likewise.
166         * timezone/tzselect.ksh: Likewise.
167         * timezone/zdump.c: Likewise.
168         * timezone/zic.c: Likewise.
170         * math/auto-libm-test-in: Add tests of cpow.
171         * math/auto-libm-test-out: Regenerated.
172         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
173         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
174         mpc_cc_c.
175         (func_calc_desc): Add mpc_cc_c union field.
176         (test_functions): Add cpow.
177         (special_fill_2pi): New function.
178         (special_real_inputs): Add 2pi.
179         (calc_generic_results): Handle mpc_cc_c.
180         * sysdeps/i386/fpu/libm-test-ulps: Update.
181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
184         csqrt, ctan and ctanh.
185         * math/auto-libm-test-out: Regenerated.
186         * math/libm-test.inc (TEST_COND_x86_64): New macro.
187         (TEST_COND_x86): Likewise.
188         (ccos_test_data): Use AUTO_TESTS_c_c.
189         (ccosh_test_data): Likewise.
190         (cexp_test_data): Likewise.
191         (clog_test_data): Likewise.
192         (csqrt_test_data): Likewise.
193         (ctan_test_data): Likewise.
194         (ctan_tonearest_test_data): Likewise.
195         (ctan_towardzero_test_data): Likewise.
196         (ctan_downward_test_data): Likewise.
197         (ctan_upward_test_data): Likewise.
198         (ctanh_test_data): Likewise.
199         (ctanh_tonearest_test_data): Likewise.
200         (ctanh_towardzero_test_data): Likewise.
201         (ctanh_downward_test_data): Likewise.
202         (ctanh_upward_test_data): Likewise.
203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
204         mpc_c_c.
205         (func_calc_desc): Add mpc_c_c union field.
206         (FUNC_mpc_c_c): New macro.
207         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
208         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
209         ctanh.
210         (special_fill_min_subnorm_p120): New function.
211         (special_real_inputs): Add min_subnorm_p120.
212         (calc_generic_results): Handle mpc_c_c.
213         * sysdeps/i386/fpu/libm-test-ulps: Update.
214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
218         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
219         do_sin_slow): New functions.
220         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
221         cslow2, csloww1, csloww2): Use the new functions.
223         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
224         Use M to change sign of result instead of X.  Assume X is
225         positive.
226         (csloww1): Likewise.
227         (__sin): Adjust.
228         (__cos): Adjust.
230         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
231         arguments A and DA.
232         (__sin): Adjust.
233         (__cos): Likewise.
235         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
236         (__cos): Likewise.
237         (sloww1): Don't adjust sign of DX.
238         (csloww1): Likewise.
239         (sloww2): Use X directly and don't adjust sign of DX.
240         (csloww2): Likewise.
242 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
244         * math/auto-libm-test-in: Add tests of cabs and carg.
245         * math/auto-libm-test-out: Regenerated.
246         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
247         (carg_test_data): Likewise.
248         * math/gen-auto-libm-tests.c (func_calc_method): Add value
249         mpc_c_f.
250         (func_calc_desc): Add mpc_c_f union field.
251         (test_functions): Add cabs and carg.
252         (calc_generic_results): Handle mpc_c_f.
254         * sysdeps/powerpc/powerpc32/libgcc-compat.S
255         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
256         as a macro and a compat symbol.
257         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
258         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
259         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
260         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
261         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
262         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
263         not use .hidden.
264         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
265         Likewise.
266         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
267         Likewise.
268         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
269         Likewise.
270         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
271         Likewise.
272         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
273         Likewise.
274         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
275         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
276         from GLIBC_2.3.2.
278 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
282 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
284         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
285         (__signal_safe_memalign, __signal_safe_free): Use it.
286         (__signal_safe_realloc): Likewise.
288 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
290         * manual/texinfo.tex: Update to version 2013-11-26.10 with
291         trailing whitespace removed.
292         * scripts/config.guess: Update to version 2013-11-29.
293         * scripts/config.sub: Update to version 2013-10-01.
295         * math/auto-libm-test-in: Add tests of sincos.
296         * math/auto-libm-test-out: Regenerated.
297         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
299         mpfr_f_11.
300         (func_calc_desc): Add mpfr_f_11 union field.
301         (test_functions): Add sincos.
302         (calc_generic_results): Handle mpfr_f_11.
303         * sysdeps/i386/fpu/libm-test-ulps: Update.
304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306 2013-12-19  Andreas Schwab  <schwab@suse.de>
308         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
309         CALL_MCOUNT.
310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
311         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
312         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
314 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
316         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
317         * sysdeps/i386/fpu/libm-test-ulps: Update.
318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320         [BZ #16293]
321         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
322         round-to-nearest mode when using frndint.
323         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
324         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
325         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
326         Likewise.
327         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
328         sinh test to fail.
329         * math/auto-libm-test-out: Regenerated.
330         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
331         (TEST_COND_x86): Likewise.
332         (expm1_tonearest_test_data): New array.
333         (expm1_test_tonearest): New function.
334         (expm1_towardzero_test_data): New array.
335         (expm1_test_towardzero): New function.
336         (expm1_downward_test_data): New array.
337         (expm1_test_downward): New function.
338         (expm1_upward_test_data): New array.
339         (expm1_test_upward): New function.
340         (main): Run the new test functions.
341         * sysdeps/i386/fpu/libm-test-ulps: Update.
342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
344         * include/features.h: Update comment documenting feature test
345         macros.  Mention _DEFAULT_SOURCE in comment.
346         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
347         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
348         _BSD_SOURCE and _SVID_SOURCE.
349         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
350         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
351         !_SVID_SOURCE]: Likewise.
352         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
353         (__USE_POSIX_IMPLICITLY): Define.
354         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
355         (_POSIX_SOURCE): Undefine and redefine.
356         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
357         (_POSIX_C_SOURCE): Likewise.
358         * manual/creature.texi (_DEFAULT_SOURCE): Document.
359         (Feature Test Macros): Update documentation of default features.
361 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
363         * benchtests/Makefile: Add bench-strtok.
364         * benchtests/bench-strtok.c: New file: strtok benchtest.
366 2013-12-19  Allan McRae  <allan@archlinux.org>
368         * manual/install.texi: Suppress menu for plain text output.
369         * INSTALL: Regenerated.
371 2013-12-18  Andrew Hunter  <ahh@google.com>
373         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
374         (__signal_safe_malloc, __signal_safe_free): Likewise.
375         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
376         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
377         (__signal_safe_memalign, __signal_safe_malloc): New function.
378         (__signal_safe_free, __signal_safe_realloc): Likewise.
379         (__signal_safe_calloc): Likewise.
380         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
381         functions.
382         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
384 2013-12-18  Andrew Hunter  <ahh@google.com>
386         * elf/Versions (ld): Add _dl_clear_dtv.
387         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
388         * elf/dl-tls.c (_dl_clear_dtv): New function.
389         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
391 2013-12-18  Andrew Hunter  <ahh@google.com>
393         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
394         (_dl_unmask_signals): Likewise.
395         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
396         (_dl_unmask_all_signals): Likewise.
397         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
398         (_dl_unmask_all_signals): Likewise.
399         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
400         (_dl_unmask_signals): Likewise.
402 2013-12-18  Brooks Moses  <bmoses@google.com>
404         [BZ #15846]
405         * misc/getauxval.c: Include errno.h.
406         (__getauxval): Set errno to ENOENT if the requested type is not
407         found.
408         * misc/sys/auxv.h (getauxval): Document that it may set errno;
409         don't declare with __attribute_const__.
410         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
411         * manual/startup.texi: Document that getauxval sets errno.
413 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
415         * math/auto-libm-test-in: Add tests of jn and yn.
416         * math/auto-libm-test-out: Regenerated.
417         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
418         (yn_test_data): Likewise.
419         * math/gen-auto-libm-tests.c (func_calc_method): Add value
420         mpfr_if_f.
421         (func_calc_desc): Add mpfr_if_f union field.
422         (FUNC_mpfr_if_f): New macro.
423         (test_functions): Add jn and yn.
424         (calc_generic_results): Assert type of second input for
425         mpfr_ff_f.  Handle mpfr_if_f.
426         (output_for_one_input_case): Disable all checking for arguments
427         fitting floating-point types in case of an integer argument.
428         * sysdeps/i386/fpu/libm-test-ulps: Update.
429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
432         Don't expect fegetround reference in libm.so.
434 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
436         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
437         $(config-cflags-nofma).
439 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
441         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
442         * math/auto-libm-test-out: Regenerated.
444         [BZ #16338]
445         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
446         to determine exponent and adjust argument to have exponent of -1.
447         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
448         log2.
449         * math/auto-libm-test-out: Regenerated.
450         * sysdeps/i386/fpu/libm-test-ulps: Update.
451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
453 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
455         * manual/probes.texi: Remove cases when per-thread arenas are
456         disabled.
458 2013-12-18  Andreas Schwab  <schwab@suse.de>
460         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
461         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
462         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
463         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
464         * sysdeps/i386/i686/multiarch/Makefile: Update.
465         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
467 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
469         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
470         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
472 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
474         Support TZ transition times < 00:00:00.
475         This is needed for version-3 tz-format files; it supports time
476         stamps past 2037 for America/Godthab (the only entry in the tz
477         database for which this change is relevant).
478         * manual/time.texi (TZ Variable): Document transition times
479         from -167:59:59 through -00:00:01.
480         * time/tzset.c (tz_rule): Time of day is now signed.
481         (__tzset_parse_tz): Parse negative time of day.
483         Document TZ transition times >= 25:00:00.
484         * manual/time.texi (TZ Variable): Document transition times from
485         25:00:00 through 167:59:59.  These are already supported, and this
486         support will help with version-3 tz-format files.
488         * manual/time.texi (TZ Variable): Modernize North America example
489         to reflect current (i.e., 2007-and-later) daylight saving rules.
491         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
493 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
495         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
496         * sysdeps/unix/bsd/bits/stat.h: Likewise.
497         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
499         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
500         * sysdeps/unix/bsd/bsdstat.h: Likewise.
501         * sysdeps/unix/bsd/clock.c: Likewise.
502         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
503         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
504         * sysdeps/unix/bsd/init-posix.c: Likewise.
505         * sysdeps/unix/bsd/poll.c: Likewise.
506         * sysdeps/unix/bsd/ptsname.c: Likewise.
507         * sysdeps/unix/bsd/seekdir.c: Likewise.
508         * sysdeps/unix/bsd/setegid.c: Likewise.
509         * sysdeps/unix/bsd/seteuid.c: Likewise.
510         * sysdeps/unix/bsd/setgid.c: Likewise.
511         * sysdeps/unix/bsd/setrgid.c: Likewise.
512         * sysdeps/unix/bsd/setruid.c: Likewise.
513         * sysdeps/unix/bsd/setsid.c: Likewise.
514         * sysdeps/unix/bsd/setuid.c: Likewise.
515         * sysdeps/unix/bsd/sigaction.c: Likewise.
516         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
517         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
518         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
519         * sysdeps/unix/bsd/telldir.c: Likewise.
520         * sysdeps/unix/bsd/times.c: Likewise.
521         * sysdeps/unix/bsd/usleep.c: Likewise.
523         * misc/Makefile (install-lib): Remove libbsd-compat.a.
524         ($(objpfx)libbsd-compat.a): Remove rule.
526         * include/features.h (__FAVOR_BSD): Do not define.
527         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
528         features conflicting with POSIX.
529         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
530         (_BSD_SOURCE): Remove description of not being a subset of other
531         feature test macros.
532         * manual/job.texi (getpgrp): Do not document BSD version.
533         (getpgid): Do not document by reference to BSD getpgrp.
534         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
535         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
536         * signal/signal.h [__FAVOR_BSD]: Likewise.
537         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
538         instead of making contents conditional on [__FAVOR_BSD].
539         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
541 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
545 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
547         [BZ #16314]
548         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
549         values below 2**-450, not 2**-500.
550         * math/auto-libm-test-in: Don't allow spurious underflow from
551         hypot.
552         * math/auto-libm-test-out: Regenerated.
554         [BZ #16316]
555         [BZ #16330]
556         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
557         values of ha and hb and sort them after adjusting subnormal
558         arguments.
559         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
560         Likewise.
561         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
562         values of ea and eb and sort them after adjusting subnormal
563         arguments.
564         * math/auto-libm-test-in: Do not expect some hypot tests of
565         subnormals to fail.  Add more hypot tests.
566         * math/auto-libm-test-out: Regenerated.
568 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
570         [BZ #13304]
571         * sysdeps/sh/s_fma.c: New file.
572         * sysdeps/sh/s_fmaf.c: New file.
573         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
574         version.
575         * sysdeps/sh/Implies: Add sh/soft-fp.
577 2013-12-16  Roland McGrath  <roland@hack.frob.com>
579         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
580         level of indirection to members `objname', `errstring', `malloced'.
581         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
582         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
583         it as the __longjmp argument (just pass 1 instead).
584         (_dl_catch_error): Initialize C with argument pointers and address of
585         volatile local ERRCODE rather than copying values out of C at return.
587 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
589         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
590         * math/auto-libm-test-out: Regenerated.
591         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
592         (hypot_test_data): Likewise.
593         (pow_test_data): Likewise.
594         (pow_tonearest_test_data): Likewise.
595         * math/gen-auto-libm-tests.c (func_calc_method): Add value
596         mpfr_ff_f.
597         (func_calc_desc): Add mpfr_ff_f union field.
598         (FUNC_mpfr_ff_f): New macro.
599         (test_functions): Add atan2, hypot and pow.
600         (special_fill_min): New function.
601         (special_fill_minus_min): Likewise.
602         (special_fill_min_subnorm): Likewise.
603         (special_fill_minus_min_subnorm): Likewise.
604         (special_real_inputs): Add min, -min, min_subnorm and
605         -min_subnorm.
606         (calc_generic_results): Handle mpfr_ff_f.
607         * sysdeps/i386/fpu/libm-test-ulps: Update.
608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
610 2013-12-16  Will Newton  <will.newton@linaro.org>
612         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
613         (Aligned Memory Blocks): Add documentation for aligned_alloc
614         and suggest it as an alternative to posix_memalign.
615         (Hooks for Malloc): Document __memalign_hook is also called
616         for aligned_alloc.  (Summary of Malloc): Add summary for
617         aligned alloc.  Document __memalign_hook is also called
618         for aligned_alloc.
620 2013-12-16  Will Newton  <will.newton@linaro.org>
622         * manual/memory.texi (Malloc Examples): Clarify default
623         alignment documentation.  Suggest posix_memalign rather
624         than memalign or valloc.
625         (Aligned Memory Blocks): Remove suggestion to use memalign
626         or valloc.  Remove obsolete comment about BSD.
627         Document memalign errno values and mark the function obsolete.
628         Document posix_memalign returned error codes.  Mark valloc
629         as obsolete.  (Hooks for Malloc): __memalign_hook is also
630         called for posix_memalign and valloc.
631         (Summary of Malloc): Add posix_memalign to function summary.
632         __memalign_hook is also called for posix_memalign and valloc.
634 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
636         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
637         TAYLOR_SIN.
638         (__sin): Adjust.
639         (__cos): Likewise.
640         (sloww): Use mynumber union.  Expand ternary operator into
641         if-else statements.
642         (cslow): use mynumber union.
644 2013-12-16  Allan McRae  <allan@archlinux.org>
646         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
647         * configure: Regenerated.
649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
651         [BZ #14120]
652         * configure.ac: Added --enable-maintainer-mode. Check for
653         autoconf when enabled.
654         * configure: Regenerated.
656         * nscd/nscd.service: New file.
657         * nscd/nscd.tmpfiles: New file.
659 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
661         [BZ #12100]
662         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
663         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
664         * sysdeps/x86_64/multiarch/strstr.c: ... here.
665         (strstr): Add __strstr_sse2_unaligned ifunc.
666         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
667         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
668         (strcasestr): Remove __strcasestr_sse42 ifunc.
669         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
673 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
675         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
676         * sysdeps/sh/bits/fenv.h: ... here.
677         * sysdeps/sh/sh4/fpu/bits: Remove directory.
679 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
681         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
683 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
686         hypotf multiarch implementations.
687         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
688         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
689         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
690         multiarch hypot for PPC64.
691         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
692         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
693         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
694         multiarch hypotf for PPC64.
696 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
699         modff multiarch implementations.
700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
703         multiarch modf for PPC64.
704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
707         multiarch modff for PPC64.
709 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
712         and logl multiarch implementations.
713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
716         multiarch logb for PPC64.
717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
720         multiarch logb for PPC64.
721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
724         multiarch logb for PPC64.
726 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
729         isinff multiarch implementation.
730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
731         file.
732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
734         multiarch isinf for PPC64.
735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
736         file.
737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
738         multiarch isinff for PPC64.
740 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
743         finitef multiarch implementation.
744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
745         file.
746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
748         multiarch finite for PPC64.
749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
750         file.
751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
752         multiarch finitef for PPC64.
754 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
757         lrint multiarch implementation.
758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
759         file.
760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
762         multiarch llrint for PPC64.
763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
764         multiarch lrint for PPC64.
766 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
769         copysignf multiarch implementation.
770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
771         file.
772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
773         file.
774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
775         multiarch copysign for PPC64.
776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
777         multiarch copysignf for PPC64.
779 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
782         multiarch implementation.
783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
784         file.
785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
786         file.
787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
788         file.
789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
790         file.
791         multiarch llround for PPC64.
792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
793         multiarch trunc for PPC64.
794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
795         multiarch truncf for PPC64.
797 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
800         multiarch implementation.
801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
802         file.
803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
804         file.
805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
806         file.
807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
808         file.
809         multiarch llround for PPC64.
810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
811         multiarch round for PPC64.
812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
813         multiarch roundf for PPC64.
815 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
818         multiarch implementation.
819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
820         file.
821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
822         file.
823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
824         file.
825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
826         file.
827         multiarch llround for PPC64.
828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
829         multiarch floor for PPC64.
830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
831         multiarch floorf for PPC64.
833 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
836         multiarch implementation.
837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
838         file.
839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
840         file.
841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
842         file.
843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
844         file.
845         multiarch llround for PPC64.
846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
847         multiarch ceil for PPC64.
848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
849         multiarch ceilf for PPC64.
851 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
854         multiarch implementation.
855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
856         file.
857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
858         file.
859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
860         file.
861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
862         multiarch llround for PPC64.
863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
864         multiarch lround for PPC64.
866 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
869         multiarch implementation.
870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
873         file.
874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
877         multiarch isnan for PPC64.
878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
879         multiarch isnanf for PPC64.
881 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
883         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
884         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
885         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
886         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
887         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
890 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
892         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
893         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
894         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
897 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
900         multiarch implementations.
901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
902         (__libc_ifunc_impl_list): Likewise.
903         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
904         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
906         multiarch stpcpy for PPC64.
908 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
911         multiarch implementations.
912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
913         (__libc_ifunc_impl_list): Likewise.
914         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
916         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
917         multiarch strcpy for PPC64.
919 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
921         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
922         redefine function name.
923         (_wordcopy_fwd_dest_aligned): Likewise.
924         (_wordcopy_bwd_aligned): Likewise.
925         (_wordcopy_bwd_dest_aligned): Likewise.
926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
927         multiarch implementations.
928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
929         (__libc_ifunc_impl_list): Likewise.
930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
933         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
934         multiarch wcscpy for PPC64.
936 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
939         multiarch implementations.
940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
941         (__libc_ifunc_impl_list): Likewise.
942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
943         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
944         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
945         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
946         multiarch wcscpy for PPC64.
948 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
951         multiarch implementations.
952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
953         (__libc_ifunc_impl_list): Likewise.
954         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
955         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
956         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
957         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
958         multiarch wcsrchr for PPC64.
960 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
963         multiarch implementations.
964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
965         (__libc_ifunc_impl_list): Likewise.
966         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
967         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
968         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
969         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
970         multiarch wcschr for PPC64.
972 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
975         multiarch implementations.
976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
977         (__libc_ifunc_impl_list): Likewise.
978         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
979         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
980         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
981         multiarch strchrnul for PPC64.
983 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
986         implementations.
987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
988         (__libc_ifunc_impl_list): Likewise.
989         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
990         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
991         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
992         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
993         strchr for PPC64.
995 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
998         implementations.
999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1000         (__libc_ifunc_impl_list): Likewise.
1001         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1002         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1003         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1004         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1005         strncmp for PPC64.
1007 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1010         multiarch implementations.
1011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1012         (__libc_ifunc_impl_list): Likewise.
1013         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1014         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1015         strncasecmp for PPC64.
1016         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1017         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1018         multiarch strncasecmp_l for PPC64.
1020 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1023         multiarch implementations.
1024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1025         (__libc_ifunc_impl_list): Likewise.
1026         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1028         multiarch strcasecmp for PPC64.
1029         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1030         file.
1031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1032         multiarch strcasecmp_l for PPC64.
1034 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1037         implementations.
1038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1039         (__libc_ifunc_impl_list): Likewise.
1040         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1041         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1042         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1043         strnlen for PPC64.
1045 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1048         implementations.
1049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1050         (__libc_ifunc_impl_list): Likewise.
1051         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1052         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1053         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1054         strlen for PPC64.
1056 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1059         implementations.
1060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1061         (__libc_ifunc_impl_list): Likewise.
1062         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1064         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1065         rawmemrchr for PPC64.
1067 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1070         implementation.
1071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1072         (__libc_ifunc_impl_list): Likewise.
1073         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1074         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1075         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1076         memrchr for PPC64.
1078 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1081         implementation.
1082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1083         (__libc_ifunc_impl_list): Likewise.
1084         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1085         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1086         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1087         memchr for PPC64.
1089 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1092         implementation.
1093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1094         (__libc_ifunc_impl_list): Likewise.
1095         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1096         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1097         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1098         mempcpy for PPC64.
1100 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1102         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1103         avoid cretion of __bzero symbol.
1104         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1105         Likewise.
1106         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1107         Likewise.
1108         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1109         Likewise.
1110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1111         multiarch implementations.
1112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1113         (__libc_ifunc_impl_list): Likewise.
1114         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1115         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1117         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1118         bzero for PPC32.
1119         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1120         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1121         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1122         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1123         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1124         memset for PPC64.
1125         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1127 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1129         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1131         implementations.
1132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1133         (__libc_ifunc_impl_list): Likewise.
1134         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1135         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1136         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1137         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1138         memcmp for PPC64.
1140 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1143         multiarch for POWER/PPC64.
1144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1145         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1151         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1152         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1153         memcpy for PPC64.
1155 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1157         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1158         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1159         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1160         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1161         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1162         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1163         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1164         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1165         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1166         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1167         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1168         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1169         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1170         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1171         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1180 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1182         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1184 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1186         * benchtests/Makefile (bench): Add exp2 and log2.
1187         (LDLIBS-bench-exp2): Add -lm.
1188         (LDLIBS-bench-log2): Likewise.
1189         * benchtests/exp2-inputs: New inputs file.
1190         * benchtests/log2-inputs: New inputs file.
1191         * benchtests/log-inputs: Add new inputs.
1192         * benchtests/tan-inputs: Likewise.
1194 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1196         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1197         definition...
1198         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1199         csloww1, csloww2): ... from here.
1201         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1202         instead of structures.
1203         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1204         (POLYNOMIAL): Likewise.
1205         (TAYLOR_SLOW): Likewise.
1206         (__sin): Likewise.
1207         (__cos): Likewise.
1208         (slow1): Likewise.
1209         (slow2): Likewise.
1210         (sloww): Likewise.
1211         (sloww1); Likewise.
1212         (sloww2): Likewise.
1213         (bsloww1): Likewise.
1214         (bsloww2): Likewise.
1215         (cslow2): Likewise.
1216         (csloww): Likewise.
1217         (csloww1): Likewise.
1218         (csloww2): Likewise.
1220 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1222         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1223         (__malloc_assert, __libc_realloc, __libc_calloc,
1224         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1225         memcpy and memset.
1226         * malloc/hooks.c (realloc_check): Likewise.
1228 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1230         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1231         * malloc/arena.c: Remove PER_THREAD conditional.
1232         [!PER_THREAD]: Remove code.
1233         (ptmalloc_unlock_all2): Likewise.
1234         (ptmalloc_init): Likewise.
1235         (_int_new_arena): Likewise.
1236         (arena_get2): Likewise.
1237         * malloc/hooks.c (__malloc_get_state): Likewise.
1238         (__malloc_set_state): Likewise.
1239         * malloc/malloc.c: Likewise.
1240         (struct malloc_state): Likewise.
1241         (struct malloc_par): Likewise.
1242         (__libc_realloc): Likewise.
1243         (__libc_mallopt): Likewise.
1245 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1247         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1249 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1251         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1252         macro to a function.  Check for zero perturb_byte.
1253         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1255 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1257         * malloc/malloc.c: (force_reg): Remove.
1258         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1259         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1260         force_reg by atomic_forced_read.
1261         * malloc/arena.c (ptmalloc_init): Likewise.
1262         * malloc/hooks.c (top_check): Likewise.
1264 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1268 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1272 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1274         * math/auto-libm-test-in: Add tests of lgamma.
1275         * math/auto-libm-test-out: Regenerated.
1276         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1277         (M_LOG_2_SQRT_PIl): Likewise.
1278         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1279         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1280         mpfr_f_f1.
1281         (func_calc_desc): Add mpfr_f_f1 union field.
1282         (ARGS1): New macro.
1283         (ARGS2): Likewise.
1284         (ARGS3): Likewise.
1285         (ARGS4): Likewise.
1286         (RET1): Likewise.
1287         (RET2): Likewise.
1288         (CALC): Likewise.
1289         (FUNC): Likewise.
1290         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1291         (test_functions): Add lgamma.
1292         (calc_generic_results): Handle mpfr_f_f1.
1293         * sysdeps/i386/fpu/libm-test-ulps: Update.
1294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1298         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1299         __mpn_add_n for PowerPC64/POWER7.
1300         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1301         __mpn_sub_n for PowerPC64/POWER7.
1303 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1305         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1306         __mpn_addmul_1 for PowerPC64.
1307         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1308         __mpn_submul_1 for PowerPC64.
1309         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1310         for PowerPC64.
1311         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1312         for PowerPC64.
1314 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1316         [BZ #15089]
1317         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1319 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1321         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1323 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1325         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1326         add multiarch folders.
1327         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1328         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1329         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1330         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1331         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1332         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1333         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1334         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1335         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1336         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1337         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1345 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1348         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1350         New file.
1351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1352         New file.
1353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1354         multiarch __ieee754_hypot for PowerPC32.
1355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1356         New file.
1357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1358         New file.
1359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1360         multiarch __ieee754_hypotf for PowerPC32.
1362 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1364         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1365         long_double_symbol only if __logbl is defined.
1366         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1367         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1369         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1371         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1372         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1373         path for implementation.
1374         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1375         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1377         logb, and logbl multiarch implementations for PowerPC32.
1378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1379         file.
1380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1381         file.
1382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1383         multiarch logb for PowerPC32.
1384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1385         file.
1386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1387         file.
1388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1389         multiarch logbf for PowerPC32.
1390         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1392         file.
1393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1394         multiarch logbl implementation for PowerPC32.
1396 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1399         and modff multiarch implementations.
1400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1401         New file.
1402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1403         New file.
1404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1405         multiarch modf for PowerPC32.
1406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1407         New file.
1408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1409         New file.
1410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1411         multiarch modff for PowerPC32.
1413 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1416         and lrintf multiarch implementations.
1417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1418         New file.
1419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1420         New file.
1421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1422         multiarch lrint for PowerPC32.
1423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1424         file: multiarch lrintf for PowerPC32.
1426 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1429         and lroundf multiarch implementations.
1430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1431         New file.
1432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1433         New file.
1434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1435         New file.
1436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1437         multiarch lround for PowerPC32.
1438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1439         file: multiarch lroundf for PowerPC32.
1441 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1444         copysign and copysignf multiarch implementations.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1446         New file.
1447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1448         New file.
1449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1450         file: multiarch copysign for PowerPC32.
1451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1452         file: multiarch copysignf for PowerPC32.
1454 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1457         and truncf multiarch implementations.
1458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1459         New file.
1460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1461         file.
1462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1463         multiarch trunc for PowerPC32.
1464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1465         New file.
1466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1467         New file.
1468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1469         multiarch truncf for PowerPC32.
1471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1474         and roundf multiarch implementations.
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1476         New file.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1478         file.
1479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1480         multiarch round for PowerPC32.
1481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1482         New file.
1483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1484         New file.
1485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1486         multiarch roundf for PowerPC32.
1488 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1491         and floorf multiarch implementations.
1492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1493         New file.
1494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1495         file.
1496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1497         multiarch floor for PowerPC32.
1498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1499         New file.
1500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1501         New file.
1502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1503         multiarch floorf for PowerPC32.
1505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1508         and ceilf multiarch implementations.
1509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1510         New file.
1511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1512         file.
1513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1514         multiarch ceil for PowerPC32.
1515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1516         New file.
1517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1518         file.
1519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1520         multiarch ceilf for PowerPC32.
1522 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1524         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1525         is defined.
1526         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1527         FINITEF is defined.
1528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1529         and finitef multiarch implementations.
1530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1531         New file.
1532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1533         file.
1534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1535         multiarch finite for PowerPC32.
1536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1537         New file.
1538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1539         file: multiarch finitef for PowerPC32.
1541 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1544         and isinff multiarch implementations.
1545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1546         file.
1547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1548         file.
1549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1550         multiarch isinf for PowerPC32.
1551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1552         New file.
1553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1554         multiarch isinff for PowerPC32.
1556 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1558         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1559         alias when __isnan is defined.
1560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1561         and isnanf multiarch implementations.
1562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1563         file.
1564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1565         file.
1566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1567         file.
1568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1569         file.
1570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1571         multiarch isnan for PowerPC32.
1572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1573         New file.
1574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1575         New file.
1576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1577         multiarch isnanf for PowerPC32.
1579 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1582         and sqrtf multiarch implementations.
1583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1584         file.
1585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1586         file.
1587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1588         multiarch sqrt for PowerPC32.
1589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1590         file.
1591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1592         file.
1593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1594         multiarch sqrtf for PowerPC32.
1596 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1599         and llroundf multiarch implementations.
1600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1601         New file.
1602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1603         New file.
1604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1605         New file.
1606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1607         file: multiarch llround for PowerPC32.
1608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1609         file: multiarch llroundf for PowerPC32.
1611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1614         multiarch PowerPC32 fpu implementations.
1615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1616         New file.
1617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1618         New file.
1619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1620         multiarch llrint for PowerPC32.
1621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1622         New file.
1623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1624         New file.
1625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1626         file.
1628 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1634         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1635         file.
1636         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1637         file.
1638         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1639         file.
1640         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1641         multiarch wordcopy for PPC32.
1642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1643         wordcopy objects.
1644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1645         (__libc_ifunc_impl_list): Likewise.
1646         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1647         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1648         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1649         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1650         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1651         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1653 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1655         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1657         file.
1658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1659         file.
1660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1661         file.
1662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1663         multiarch wcscpy for PPC32.
1664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1665         multiarch objects.
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1667         (__libc_ifunc_impl_list): Likewise.
1668         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1669         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1670         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1671         sysdeps/powerpc/power6/wcscpy.c.
1673 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1675         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1677         file.
1678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1679         file.
1680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1681         file.
1682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1683         multiarch wcsrchr for PPC32.
1684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1685         multiarch objects.
1686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1687         (__libc_ifunc_impl_list): Likewise.
1688         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1689         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1690         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1691         sysdeps/powerpc/power6/wcsrchr.c.
1693 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1696         file.
1697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1698         file.
1699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1701         multiarch wcschr for PPc32.
1702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1703         multiarch objects.
1704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1705         (__libc_ifunc_impl_list): Likewise.
1706         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1707         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1708         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1709         sysdeps/powerpc/power6/wcschr.c.
1711 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1713         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1714         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1715         file.
1716         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1717         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1718         file: multiarch strchr for PPC32.
1719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1720         multiarch objects.
1721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1722         (__libc_ifunc_impl_list): Likewise.
1724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1726         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1727         name.
1728         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1729         file.
1730         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1731         file.
1732         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1733         multiarch strchrnul for PPC32.
1734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1735         multiarch objects.
1736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1737         (__libc_ifunc_impl_list): Likewise.
1739 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1741         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1742         file.
1743         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1744         multiarch strncasecmp for PPC32.
1745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1746         file.
1747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1748         multiarch strncasecmp_l for PPC32.
1749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1750         strncasecmp multiarch objects.
1751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1752         (__libc_ifunc_impl_list): Likewise.
1754 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1756         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1757         file.
1758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1759         multiarch strncasecmp for PPC32.
1760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1761         New file.
1762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1763         multiarch strcasecmp_l for PPC32.
1764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1765         multiarch objects.
1766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1767         (__libc_ifunc_impl_list): Likewise.
1769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1772         file.
1773         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1774         file.
1775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1776         multiarch strncmp for PPC32.
1777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1778         multiarch objects.
1779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1780         (__libc_ifunc_impl_list): Likewise.
1782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1784         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1785         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1786         file.
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1788         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1790         multiarch objects.
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1792         (__libc_ifunc_impl_list): Likewise.
1794 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1796         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1797         file.
1798         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1799         file.
1800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1802         multiarch objects.
1803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1804         (__libc_ifunc_impl_list): Likewise.
1806 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1808         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1809         file.
1810         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1811         file.
1812         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1813         multiarch rawmemchr for PPC32.
1814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1815         multiarch objects.
1816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1817         (__libc_ifunc_impl_list): Likewise.
1819 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1821         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1822         file.
1823         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1824         file.
1825         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1826         file: memrchr multiarch for PPC32.
1827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1828         multiarch objects.
1829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1830         (__libc_ifunc_impl_list): Likewise.
1832 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1834         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1835         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1836         file.
1837         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1838         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1839         multiarch memchr for PPC32.
1840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1841         multiarch objects.
1842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1843         (__libc_ifunc_impl_list): Likewise.
1845 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1847         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1848         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1849         file.
1850         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1851         file.
1852         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1853         file: multiarch mempcpy for PPC32.
1854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1855         multiarch objects.
1856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1857         (__libc_ifunc_impl_list): Likewise.
1859 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1862         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1863         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1864         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1865         multiarch bzero for PPC32.
1866         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1867         file.
1868         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1869         file.
1870         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1871         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1872         file: multiarch memset for PPC32.
1873         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1875         memset multiarch objects.
1876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1877         (__libc_ifunc_impl_list): Likewise.
1879 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1882         file.
1883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1885         memcmp for PPC32.
1886         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
1895         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1897         file.
1898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1899         file.
1900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1901         file.
1902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1903         multiarch memcpy for PPC32.
1904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1905         multiarch objects.
1906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1907         (__libc_ifunc_impl_list): Likewise.
1909 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1912         support multiarch for POWER/PPC32.
1913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1914         Likewise.
1915         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1917         Implies file to make multiarch folder appers before the fpu and
1918         default folder for power4 configuration.
1920 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1922         * scripts/bench.pl: Append volatile keyword to type.
1924 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1926         * sysdeps/sh/sotruss-lib.c: New file.
1927         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1929 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1933 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1935         [BZ #6810]
1936         * math/w_tgamma.c: Include <errno.h>.
1937         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1938         * math/w_tgammaf.c: Include <errno.h>.
1939         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1940         * math/w_tgammal.c: Include <errno.h>.
1941         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1942         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1943         underflow.  Add more tgamma tests.
1944         * math/auto-libm-test-out: Regenerated.
1945         * sysdeps/i386/fpu/libm-test-ulps: Update.
1946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1948         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1949         sin, sinh, tan, tanh, tgamma, y0 and y1.
1950         * math/auto-libm-test-out: Regenerated.
1951         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1952         (TEST_COND_x86): Likewise.
1953         (M_E2l): Remove macro.
1954         (M_E3l): Likewise.
1955         (M_2_SQRT_PIl): Likewise.
1956         (M_SQRT_PIl): Likewise.
1957         (M_1_DIV_El): Likewise.
1958         (log_test_data): Use AUTO_TESTS_f_f.
1959         (log10_test_data): Likewise.
1960         (log1p_test_data): Likewise.
1961         (log2_test_data): Likewise.
1962         (sin_test_data): Likewise.
1963         (sin_tonearest_test_data): Likewise.
1964         (sin_towardzero_test_data): Likewise.
1965         (sin_downward_test_data): Likewise.
1966         (sin_upward_test_data): Likewise.
1967         (sinh_test_data): Likewise.
1968         (sinh_tonearest_test_data): Likewise.
1969         (sinh_towardzero_test_data): Likewise.
1970         (sinh_downward_test_data): Likewise.
1971         (sinh_upward_test_data): Likewise.
1972         (tan_test_data): Likewise.
1973         (tan_tonearest_test_data): Likewise.
1974         (tan_towardzero_test_data): Likewise.
1975         (tan_downward_test_data): Likewise.
1976         (tan_upward_test_data): Likewise.
1977         (tanh_test_data): Likewise.
1978         (tgamma_test_data): Likewise.
1979         (y0_test_data): Likewise.
1980         (y1_test_data): Likewise.
1981         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1982         (special_real_inputs): Add pi/4.
1983         * sysdeps/i386/fpu/libm-test-ulps: Update.
1984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1986 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1988         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1989         "longjmp_target" static probes.
1990         (__longjmp): Rename to __longjmp_symbol.
1991         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1992         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1993         on which longjmp to generate.
1994         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1995         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1996         probe.
1997         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1998         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1999         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2000         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2001         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2002         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2004         __longjmp_symbol based on which __longjmp to generate.
2005         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2006         probe.
2007         (setjmp): Rename to setjmp_symbol.
2008         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2009         (_setjmp): Rename to _setjmp_symbol.
2010         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2011         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2012         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2013         which setjmp to generate.
2014         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2015         "longjmp_target" static probes.
2017 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2019         * benchtests/README: Add note about output arguments.
2020         * benchtests/bench-sincos.c: Remove file.
2021         * benchtests/sincos-inputs: New file.
2022         * scripts/bench.pl: Identify output arguments and define
2023         static variables for them.
2025         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2027         [BZ #15941]
2028         * Makefile (INSTALL): Add install-plain.texi as the primary
2029         dependency.
2030         * manual/install-plain.texi: New file.
2031         * manual/install.texi: Include node directive only for
2032         non-plaintext output.
2034 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2036         * stdlib/longlong.h: Update from GCC.
2038         [BZ #6807]
2039         [BZ #15901]
2040         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2041         * math/w_j0f.c (y0f): Likewise.
2042         * math/w_j0l.c (__y0l): Likewise.
2043         * math/w_j1.c (y1): Likewise.
2044         * math/w_j1f.c (y1f): Likewise.
2045         * math/w_j1l.c (__y1l): Likewise
2046         * math/w_jn.c (yn): Likewise.
2047         * math/w_jnf.c (ynf): Likewise.
2048         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2049         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2050         value for Bessel function domain errors outside _SVID_ mode.
2051         Adjust sign of return value for yn (negative integer, 0).
2052         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2053         by zero in return for negative x and set sign appropriately for
2054         negative n.
2055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2056         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2057         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2058         expectations in error cases.
2059         (y1_test_data): Likewise.
2060         (yn_test_data): Likewise.
2061         * sysdeps/i386/fpu/libm-test-ulps: Update.
2062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2064 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2066         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2067         "64" to "64-v1".  Add "64-v2".
2068         (abi-64-options): Rename to ...
2069         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2070         (abi-64-condition): Rename to ...
2071         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2072         (abi-64-ld-soname): Rename to ...
2073         (abi-64-v1-ld-soname): ... this.
2074         (abi-64-v2-options): Define.
2075         (abi-64-v2-condition): Likewise.
2076         (abi-64-v2-ld-soname): Likewise.
2077         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2078         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2083 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2084             Alan Modra  <amodra@gmail.com>
2086         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2087         New versions for use with the ELFv2 ABI.
2088         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2089         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2090         declaration.
2091         (struct La_ppc64v2_retval): Likewise.
2092         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2093         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2094         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2095         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2096         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2097         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2098         Do not save or restore CR.
2099         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2100         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2101         return values for ELFv2 ABI.  Fix location of FPR return registers.
2102         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2103         updated values for _CALL_ELF == 2.
2104         (La_regs, La_retval, int_retval): Likewise.
2106 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2108         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2109         (FRAME_MIN_SIZE_PARM): Likewise.
2110         (FRAME_BACKCHAIN): Likewise.
2111         (FRAME_CR_SAVE): Likewise.
2112         (FRAME_LR_SAVE): Likewise.
2113         (FRAME_TOC_SAVE): Likewise.
2114         (FRAME_PARM_SAVE): Likewise.
2115         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2116         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2117         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2118         (call_mcount_parm_offset): New macro.
2119         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2120         (PROF): Use symbolic stack frame offsets.
2121         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2122         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2123         Redefine in terms of FRAME_MIN_SIZE.
2124         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2125         (_dl_profile_resolve): Likewise.  Update comment.
2126         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2127         symbols stack frame offsets.
2128         (__sigsetjmp): Likewise.
2129         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2130         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2131         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2132         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2135         (FRAME_BACKCHAIN): Remove.
2136         (FRAME_CR_SAVE): Likewise.
2137         (FRAME_LR_SAVE): Likewise.
2138         (FRAME_COMPILER_DW): Likewise.
2139         (FRAME_LINKER_DW): Likewise.
2140         (FRAME_TOC_SAVE): Likewise.
2141         (FRAME_PARM_SAVE): Likewise.
2142         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2143         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2144         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2146         (CHECK_SP): Use symbolic stack frame offsets.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2148         zone" instead of caller's parameter save area for temp storage.
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2150         Likewise.  Also, use symbolic stack frame offsets.
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2152         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2153         our own stack frame instead of the caller's.
2154         (__socket): Use symbolic stack frame offsets.
2156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2157             Alan Modra  <amodra@gmail.com>
2159         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2160         Define.
2161         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2162         PPC64_LOCAL_ENTRY_OFFSET): Define.
2163         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2164         New function.
2165         (elf_machine_fixup_plt): Call it.
2166         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2167         reloc arguments.
2168         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2169         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2170         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2171         r2 before calling target.
2173 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2174             Alan Modra  <amodra@gmail.com>
2176         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2177         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2178         versions of macros to support ELFv2 ABI.
2179         (LOCALENTRY): New macro.
2180         (ENTRY, EALIGN): Use it.
2181         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2182         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2183         fall through into ENTRY entry point.
2184         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2185         Only define if _CALL_ELF != 2.
2187         (elf_machine_matches_host): Verify ABI version matches.
2188         (RTLD_START): Use LOCALENTRY.
2189         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2190         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2191         (PLT_ENTRY_WORDS): New macro.
2192         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2193         (elf_machine_runtime_setup): Support ELFv2 ABI.
2194         (elf_machine_fixup_plt): Likewise.
2195         (elf_machine_plt_conflict): Likewise.
2196         (resolve_ifunc): Likewise.
2197         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2198         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2199         Likewise.
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2201         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2203         (makecontext): Support ELFv2 ABI.
2204         * elf/elf.h (EF_PPC64_ABI): Define.
2206 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2208         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2209         New assembler macro.
2210         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2211         [ASSEMBLER] (ENTRY): ... but instead here ...
2212         [ASSEMBLER] (EALIGN): ... and here.
2213         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2214         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2215         [!ASSEMBLER] (ENTRY_2): Use it.
2216         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2217         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2218         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2219         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2220         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2222         Use PPC64_LOAD_FUNCPTR.
2224 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2226         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2228 2013-12-04  Alan Modra  <amodra@gmail.com>
2230         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2231         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2232         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2233         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2236         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2237         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2238         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2239         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2240         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2242 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2245         (__makecontext): Fix incorrect CFI when backtracing out of
2246         context created via makecontext.
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2248         (__setcontext): Fix incorrect CFI during switch to new context.
2249         (__novec_setcontext): Likewise.
2251 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2253         [BZ #4772]
2254         * time/strptime_l.c (__strptime_internal): Allow modifiers
2255         in strptime.
2256         * time/tst-strptime.c (day_tests): Add testcase.
2259 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2261         * scripts/bench.pl: Skip over blank lines.
2263 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2265         [BZ #926]
2266         * manual/time.texi (Calendar Time): Clarify what timezone functions
2267         use.
2269 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2273 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2275         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2276         implementation.
2277         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2278         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2279         * debug/memset_chk.c (__memset_chk): Likewise.
2280         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2281         * debug/strncpy_chk.c: Likewise.
2283 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2285         [BZ #15268]
2286         [BZ #15425]
2287         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2288         (__ieee754_exp): For possibly underflowing results, check size of
2289         result and force underflow exception if required.
2290         * math/auto-libm-test-in: Add more tests of exp.
2291         * math/auto-libm-test-out: Regenerated.
2292         * sysdeps/i386/fpu/libm-test-ulps: Update.
2293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295         [BZ #16283]
2296         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2297         * math/w_exp2f.c (__exp2f): Likewise.
2298         * math/w_exp2l.c (__exp2l): Likewise.
2299         * math/auto-libm-test-in: Do not allow missing errno on exp2
2300         underflow.
2301         * math/auto-libm-test-out: Regenerated.
2303 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2305         [BZ #16274]
2306         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2307         handle filename validation.
2308         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2309         (do_open): Delete.
2311 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2313         [BZ #6786]
2314         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2315         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2316         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2317         <float.h>.
2318         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2319         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2320         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2322         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2323         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2324         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2325         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2326         Add more erfc tests.
2327         * math/auto-libm-test-out: Regenerated.
2328         * sysdeps/i386/fpu/libm-test-ulps: Update.
2329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2331         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2332         exp2, expm1, j0 and j1.
2333         * math/auto-libm-test-out: Regenerated.
2334         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2335         (erfc_test_data): Likewise.
2336         (exp_test_data): Likewise.
2337         (exp_tonearest_test_data): Likewise.
2338         (exp_towardzero_test_data): Likewise.
2339         (exp_downward_test_data): Likewise.
2340         (exp_upward_test_data): Likewise.
2341         (exp10_test_data): Likewise.
2342         (exp2_test_data): Likewise.
2343         (expm1_test_data): Likewise.
2344         (j0_test_data): Likewise.
2345         (j1_test_data): Likewise.
2346         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2347         (input_flag_type): Add flag_xfail_rounding.
2348         (input_flags): Add xfail-rounding.
2349         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2350         (output_for_one_input_case): Handle flag_xfail_rounding.
2351         * sysdeps/i386/fpu/libm-test-ulps: Update.
2352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2354 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2356         [BZ #16289]
2357         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2358         division by 0.
2360 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2362         [BZ #16195]
2363         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2364         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2365         (STAP_PROBE0): New macro.
2366         (STAP_PROBE1): Likewise.
2367         (STAP_PROBE2): Likewise.
2368         (STAP_PROBE3): Likewise.
2369         (STAP_PROBE4): Likewise.
2371 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2373         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2375 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2377         * benchtests/Makefile (bench): Add sqrt.
2378         (LDLIBS-bench-sqrt): New.
2379         * benchtests/sqrt-input: New.
2381 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2383         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2384         (GAIH_EAI): Likewise.
2385         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2386         (gaih_inet): Likewise.
2387         (getaddrinfo): Don't use GAIH_EAI.
2389         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2390         (struct gaih): Remove definition.
2392 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2394         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2395         Use HERRNOP directly.
2397 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2401 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
2403         * math/gen-auto-libm-tests.c (test_functions): Add more
2404         single-argument functions.
2405         (special_fill_pi_2): New function.
2406         (special_fill_minus_pi_2): Likewise.
2407         (special_fill_pi_6): Likewise.
2408         (special_fill_minus_pi_6): Likewise.
2409         (special_fill_pi_3): Likewise.
2410         (special_fill_2pi_3): Likewise.
2411         (special_fill_e): Likewise.
2412         (special_fill_1_e): Likewise.
2413         (special_fill_e_minus_1): Likewise.
2414         (special_real_inputs): Add more special inputs.
2415         (output_for_one_input_case): Do not require ERANGE on underflow to
2416         zero if round-to-nearest result does not underflow to zero, unless
2417         exact results required.
2418         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2419         atan, atanh, cbrt, cos and cosh.
2420         * math/auto-libm-test-out: Regenerated.
2421         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2422         (acos_tonearest_test_data): Likewise.
2423         (acos_towardzero_test_data): Likewise.
2424         (acos_downward_test_data): Likewise.
2425         (acos_upward_test_data): Likewise.
2426         (acosh_test_data): Likewise.
2427         (asin_test_data): Likewise.
2428         (asin_tonearest_test_data): Likewise.
2429         (asin_towardzero_test_data): Likewise.
2430         (asin_upward_test_data): Likewise.
2431         (asinh_test_data): Likewise.
2432         (atan_test_data): Likewise.
2433         (atanh_test_data): Likewise.
2434         (cbrt_test_data): Likewise.
2435         (cos_test_data): Likewise.
2436         (cos_tonearest_test_data): Likewise.
2437         (cos_towardzero_test_data): Likewise.
2438         (cos_downward_test_data): Likewise.
2439         (cos_upward_test_data): Likewise.
2440         (cosh_test_data): Likewise.
2441         (cosh_tonearest_test_data): Likewise.
2442         (cosh_towardzero_test_data): Likewise.
2443         (cosh_downward_test_data): Likewise.
2444         (cosh_upward_test_data): Likewise.
2445         * sysdeps/i386/fpu/libm-test-ulps: Update.
2446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2448 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
2450         [BZ #6787]
2451         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2452         * math/w_exp10f.c (__exp10f): Likewise.
2453         * math/w_exp10l.c (__exp10l): Likewise.
2454         * math/libm-test.inc (exp10_test_data): Add more tests and expect
2455         errno settings in existing tests.
2457         [BZ #14032]
2458         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2459         precision control set to double precision.
2460         * sysdeps/i386/fpu/w_sqrt.c: New file.
2461         * math/auto-libm-test-in: Add more tests.
2462         * math/auto-libm-test-out: Update.
2464         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2465         (sqrt_test_tonearest): New function.
2466         (sqrt_towardzero_test_data): New variable.
2467         (sqrt_test_towardzero): New function.
2468         (sqrt_downward_test_data): New variable.
2469         (sqrt_test_downward): New function.
2470         (sqrt_upward_test_data): New variable.
2471         (sqrt_test_upward): New function.
2472         (main): Call the new functions.
2474         * math/gen-auto-libm-tests.c: New file.
2475         * math/auto-libm-test-in: Likewise.
2476         * math/auto-libm-test-out: New generated file.
2477         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2478         variables.
2479         (%beautify): Add generated representations of zero.
2480         (top level): Set $auto_input and call parse_auto_input.
2481         (beautify): Remove trailing "f" from hex float constants.
2482         (parse_args): Handle XFAIL_TEST.
2483         (convert_condition): New function.
2484         (or_value): Likewise.
2485         (or_cond_value): Likewise.
2486         (generate_testfile): Handle AUTO_TESTS_* lines.
2487         (parse_auto_input): New function.
2488         * math/libm-test.inc (XFAIL_TEST): New macro.
2489         (ERRNO_UNCHANGED): Update value.
2490         (ERRNO_EDOM): Likewise.
2491         (ERRNO_ERANGE): Likewise.
2492         (IGNORE_RESULT): Likewise.
2493         (TEST_COND_flt_32): New macro.
2494         (TEST_COND_dbl_64): Likewise.
2495         (TEST_COND_ldbl_96_intel): Likewise.
2496         (TEST_COND_ldbl_96_m68k): Likewise.
2497         (TEST_COND_ldbl_128): Likewise.
2498         (TEST_COND_ldbl_128ibm): Likewise.
2499         (TEST_COND_long32): Likewise.
2500         (TEST_COND_long64): Likewise.
2501         (TEST_COND_before_rounding): Likewise.
2502         (TEST_COND_after_rounding): Likewise.
2503         (enable_test): Handle XFAIL_TEST flag.
2504         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2505         with finite results.
2506         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2507         auto-libm-test-out.
2509 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2510             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2512         [BZ #16214]
2513         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2514         __tls_get_addr_internal instead of __tls_get_offset in order to
2515         avoid GOT pointer dependency.  Make rtld export
2516         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2517         __tls_get_addr since we are a __tls_get_offset platform.
2518         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2519         GOT pointer being set up before.
2520         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2522 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2524         * manual/math.texi (Errors in Math Functions): Document accuracy
2525         goals.
2527         [BZ #15004]
2528         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2529         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2530         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2531         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2532         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2533         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2534         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2535         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2536         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2537         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2538         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2539         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2540         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2541         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2542         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2543         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2545         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2546         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2547         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2548         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2549         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2550         Likewise.
2551         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2552         Likewise.
2553         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2554         Likewise.
2555         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2556         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2557         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2558         atomic-feupdateenv and flt-rounds.
2559         * sysdeps/powerpc/nofpu/Versions (libc): Add
2560         __atomic_feholdexcept, __atomic_feclearexcept,
2561         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2562         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2563         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2564         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2565         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2566         here.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2568         Update.
2570         * manual/arith.texi (FP Exceptions): Document that exceptions may
2571         not be raised when matherr is used.
2572         (Math Error Reporting): Document overflow in directed rounding
2573         modes.  Document that errno may not be set when finite values are
2574         returned on overflow.  Document intent to set errno on underflow
2575         only for underflow to zero.
2577         [BZ #16271]
2578         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2579         round-to-nearest then adjust result for other rounding modes.
2580         * include/fenv.h (fegetround): Use libm_hidden_proto.
2581         * math/fegetround.c (fegetround): Use libm_hidden_def.
2582         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2583         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2584         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2585         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2586         Likewise.
2587         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2588         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2589         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2590         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2592 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2594         [BZ #16077]
2595         * nss/Versions (libnss_files): Add
2596         _nss_files_gethostbyname3_r.
2597         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2598         New function.
2599         (HOST_DB_LOOKUP): Remove macro.
2600         (_nss_files_gethostbyname_r): Implement function without the
2601         HOST_DB_LOOKUP macro.
2602         (_nss_files_gethostbyname2_r): Likewise.
2604 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2606         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2608 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2610         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2611         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2612         warning.
2614 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2616         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2617         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2618         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2619         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2620         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2621         __fe_nomask_env_priv and attribute_hidden.
2622         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2623         (libc_feupdateenv_test_ppc): Likewise.
2624         (libc_feresetround_ppc): Likewise.
2625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2626         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2627         compat_symbol macro.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2629         (__fe_nomask_env): Likewise.
2630         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2632 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2634         * string/Makefile: Remove ifunc tests.
2635         * string/test-string.h: Define TEST_IFUNC.
2636         * string/test-bcopy-ifunc.c: Remove.
2637         * string/test-bzero-ifunc.c: Likewise.
2638         * string/test-memccpy-ifunc.c: Likewise.
2639         * string/test-memchr-ifunc.c: Likewise.
2640         * string/test-memcmp-ifunc.c: Likewise.
2641         * string/test-memcpy-ifunc.c: Likewise.
2642         * string/test-memmem-ifunc.c: Likewise.
2643         * string/test-memmove-ifunc.c: Likewise.
2644         * string/test-mempcpy-ifunc.c: Likewise.
2645         * string/test-memrchr-ifunc.c: Likewise.
2646         * string/test-memset-ifunc.c: Likewise.
2647         * string/test-rawmemchr-ifunc.c: Likewise.
2648         * string/test-stpcpy-ifunc.c: Likewise.
2649         * string/test-stpncpy-ifunc.c: Likewise.
2650         * string/test-strcasecmp-ifunc.c: Likewise.
2651         * string/test-strcasestr-ifunc.c: Likewise.
2652         * string/test-strcat-ifunc.c: Likewise.
2653         * string/test-strchr-ifunc.c: Likewise.
2654         * string/test-strchrnul-ifunc.c: Likewise.
2655         * string/test-strcmp-ifunc.c: Likewise.
2656         * string/test-strcpy-ifunc.c: Likewise.
2657         * string/test-strcspn-ifunc.c: Likewise.
2658         * string/test-strlen-ifunc.c: Likewise.
2659         * string/test-strncasecmp-ifunc.c: Likewise.
2660         * string/test-strncat-ifunc.c: Likewise.
2661         * string/test-strncmp-ifunc.c: Likewise.
2662         * string/test-strncpy-ifunc.c: Likewise.
2663         * string/test-strnlen-ifunc.c: Likewise.
2664         * string/test-strpbrk-ifunc.c: Likewise.
2665         * string/test-strrchr-ifunc.c: Likewise.
2666         * string/test-strspn-ifunc.c: Likewise.
2667         * string/test-strstr-ifunc.c: Likewise.
2669 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2671         * benchtests/Makefile: Remove ifunc tests.
2672         * benchtests/bench-string.h: Define TEST_IFUNC.
2673         * benchtests/bench-bcopy-ifunc.c: Remove.
2674         * benchtests/bench-bzero-ifunc.c: Likewise.
2675         * benchtests/bench-memccpy-ifunc.c: Likewise.
2676         * benchtests/bench-memchr-ifunc.c: Likewise.
2677         * benchtests/bench-memcmp-ifunc.c: Likewise.
2678         * benchtests/bench-memcpy-ifunc.c: Likewise.
2679         * benchtests/bench-memmem-ifunc.c: Likewise.
2680         * benchtests/bench-memmove-ifunc.c: Likewise.
2681         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2682         * benchtests/bench-memrchr-ifunc.c: Likewise.
2683         * benchtests/bench-memset-ifunc.c: Likewise.
2684         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2685         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2686         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2687         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2688         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2689         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2690         * benchtests/bench-strcat-ifunc.c: Likewise.
2691         * benchtests/bench-strchr-ifunc.c: Likewise.
2692         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2693         * benchtests/bench-strcmp-ifunc.c: Likewise.
2694         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2695         * benchtests/bench-strcpy-ifunc.c: Likewise.
2696         * benchtests/bench-strcspn-ifunc.c: Likewise.
2697         * benchtests/bench-strlen-ifunc.c: Likewise.
2698         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2699         * benchtests/bench-strncat-ifunc.c: Likewise.
2700         * benchtests/bench-strncmp-ifunc.c: Likewise.
2701         * benchtests/bench-strncpy-ifunc.c: Likewise.
2702         * benchtests/bench-strnlen-ifunc.c: Likewise.
2703         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2704         * benchtests/bench-strrchr-ifunc.c: Likewise.
2705         * benchtests/bench-strsep-ifunc.c: Likewise.
2706         * benchtests/bench-strspn-ifunc.c: Likewise.
2707         * benchtests/bench-strstr-ifunc.c: Likewise.
2709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2711         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2713 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2715         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2716         * rt/aio.h: Likewise.
2717         * sysdeps/gnu/bits/utmp.h: Likewise.
2718         * sysdeps/gnu/bits/utmpx.h: Likewise.
2719         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2720         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2721         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2722         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2723         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2724         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2725         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2726         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2727         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2728         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2729         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2730         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2731         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2733         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2734         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2735         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2736         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2737         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2738         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2739         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2740         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2741         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2742         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2743         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2745         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2746         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2747         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2748         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2749         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2750         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2751         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2752         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2753         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2754         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2755         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2756         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2757         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2758         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2759         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2760         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2762 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2764         [BZ #16245]
2765         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2766         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2768 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2770         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2771         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2772         Likewise.
2774 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2777         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2778         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2779         (__fesetround): Remove define.
2780         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2781         rounding and exceptions handling.
2782         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2783         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2784         (__fe_nomask_env): Likewise.
2785         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2786         __fegetround instead of fegetround.
2787         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2788         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2790 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2792         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2793         it's there.
2795         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2797 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2799         [BZ #11157]
2800         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2801         (encrypt_r): Likewise.
2802         * malloc/obstack.h (obstack_free): Likewise.
2803         * posix/unistd.h (encrypt): Likewise.
2805 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2807         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2808         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2809         DL_CALL_DT_FINI() that call the functions directly.
2810         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2811         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2812         * elf/dl-fini.c: Likewise.
2814 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2816         * malloc/hooks.c (memalign_check): Add alignment rounding.
2817         * malloc/malloc.c (_mid_memalign): New function.
2818         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2819         Implement by calling _mid_memalign.
2820         * manual/probes.texi (Memory Allocation Probes): Remove
2821         memory_valloc_retry and memory_pvalloc_retry.
2823 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2825         * locale/programs/locarchive.c (open_archive): Add const
2826         qualifier to ARCHIVEFNAME and copy default fname to
2827         DEFAULT_FNAME.
2829         [BZ #15601]
2830         * libio/tst-widetext.input: Rename Oriya to Odia.
2831         * locale/iso-639.def: Likewise.
2833         * manual/probes.texi (Mathematical Function Probes): Add
2834         documentation for sin, cos, asin and acos probes.
2835         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2836         (__sin32): Add slowasin probe.
2837         (__cos32): Add slowacos probe.
2838         (__mpsin): Add slowsin probe.
2839         (__mpcos): Add slowcos probe.
2841 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2843         [BZ #15483]
2844         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2845         thread-local __sim_exceptions_thread and global
2846         __sim_exceptions_global.
2847         (__sim_disabled_exceptions): Change to thread-local
2848         __sim_disabled_exceptions_thread and global
2849         __sim_disabled_exceptions_global.
2850         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2851         and global __sim_round_mode_global.
2852         (__simulate_exceptions): Use thread-local floating-point state and
2853         set global state from it as needed.
2854         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2855         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2856         __sim_round_mode_thread.
2857         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2858         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2859         and global __sim_exceptions_global.
2860         (__sim_disabled_exceptions): Change to thread-local
2861         __sim_disabled_exceptions_thread and global
2862         __sim_disabled_exceptions_global.
2863         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2864         and global __sim_round_mode_global.
2865         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2866         (SIM_SET_GLOBAL): Likewise.
2867         * sysdeps/powerpc/soft-fp/sfp-machine.h
2868         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2869         __sim_round_mode_thread.
2870         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2871         __sim_disabled_exceptions_thread.
2872         (__sim_exceptions): Change to __sim_exceptions_thread.
2873         (__sim_disabled_exceptions): Change to
2874         __sim_disabled_exceptions_thread.
2875         (__sim_round_mode): Change to __sim_round_mode_thread.
2876         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2877         thread-local floating-point state and set global state from it as
2878         needed.
2879         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2880         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2881         (__sim_disabled_exceptions): Remove extern declaration.
2882         (feenableexcept): Use thread-local floating-point state and set
2883         global state from it as needed.
2884         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2885         extern declaration.
2886         (__sim_disabled_exceptions): Likewise.
2887         (__sim_round_mode): Likewise.
2888         (__fegetenv): Use thread-local floating-point state.
2889         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2890         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2891         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2892         floating-point state and set global state from it as needed.
2893         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2894         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2895         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2896         Likewise.
2897         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2898         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2899         Likewise.
2900         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2901         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2902         Use __sim_round_mode_thread.
2903         * math/test-fenv-tls.c: New file.
2904         * math/Makefile (tests): Add test-fenv-tls.
2905         ($(objpfx)test-fenv-tls): Depend on
2906         $(common-objpfx)nptl/libpthread.so.
2908 2013-11-19  Andreas Schwab  <schwab@suse.de>
2910         * locale/programs/locale.c (show_info): Decode wordarray elements.
2911         * locale/categories.def (LC_MONETARY): Add element for
2912         _NL_MONETARY_CRNCYSTR.
2913         * locale/C-monetary.c (conversion_rate): New variable.
2914         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2915         element.
2917 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2919         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2920         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2922 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2924         * elf/Makefile (tst-auxv): New test.
2925         * elf/tst-auxv.c: New
2926         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2928 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2930         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2931         (hidden_proto): Caller changed.
2932         (hidden_tls_proto): New macro.
2933         (libc_hidden_tls_proto): Likewise.
2934         (rtld_hidden_tls_proto): Likewise.
2935         (libm_hidden_tls_proto): Likewise.
2936         (libresolv_hidden_tls_proto): Likewise.
2937         (librt_hidden_tls_proto): Likewise.
2938         (libdl_hidden_tls_proto): Likewise.
2939         (libnss_files_hidden_tls_proto): Likewise.
2940         (libnsl_hidden_tls_proto): Likewise.
2941         (libnss_nisplus_hidden_tls_proto): Likewise.
2942         (libutil_hidden_tls_proto): Likewise.
2944 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2946         [BZ #10253]
2947         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2948         (decompose_rpath): Defer expansion to fillin_rpath.
2949         (_dl_init_paths): Pass linkmap to fillin_rpath.
2951 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2953         * benchtests/Makefile: Add strsep.
2954         * benchtests/bench-strsep.c: New file: strsep benchtest.
2955         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2957 2013-11-18  Andreas Schwab  <schwab@suse.de>
2959         * locale/programs/locale.c (show_info) [case byte]: Check for
2960         '\377' instead of '\177'.
2961         * locale/C-monetary.c (not_available): Always use "\377".
2962         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2963         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2964         detect unavailable sign_posn locale elements.
2965         * locale/localeconv.c (__localeconv): For grouping and
2966         mon_grouping handle "\177" and "\377" like no grouping.
2967         (INT_ELEM): New macro.  Use it to set all numeric members.
2968         * locale/programs/ld-monetary.c (monetary_read)
2969         <tok_mon_grouping>: Normalize single -1 to the empty string.
2970         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2971         Likewise.
2973 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2975         [BZ #16055]
2976         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2977         when we match (nil).
2978         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2980 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2982         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2983         (NO_TEST_INLINE): Update value.
2984         (ERRNO_UNCHANGED): Likewise.
2985         (ERRNO_EDOM): Likewise.
2986         (ERRNO_ERANGE): Likewise.
2987         (IGNORE_RESULT): Likewise.
2988         (check_float_internal): Check signs of NaN results if
2989         TEST_NAN_SIGN used.
2990         (check_complex): Pass TEST_NAN_SIGN flag through to second
2991         check_float_internal call.
2992         (copysign_test_data): Add tests with quiet NaNs as second
2993         argument.  Use TEST_NAN_SIGN.
2994         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2995         TEST_NAN_SIGN.
2996         (signbit_test_data): Add tests of quiet NaN argument.
2997         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2999         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3000         $ignore_result.
3001         (parse_args): Handle function results specified as IGNORE.
3002         * math/libm-test.inc (IGNORE_RESULT): New macro.
3003         (check_float_internal): Do not check numerical result if flag
3004         IGNORE_RESULT set.
3005         (check_complex): Pass through IGNORE_RESULT to second
3006         check_float_internal call.
3007         (check_int): Do not check numerical result if flag IGNORE_RESULT
3008         set.
3009         (check_long): Likewise.
3010         (check_bool): Likewise.
3011         (check_longlong): Likewise.
3012         (lrint_test_data): Add tests of infinite and NaN arguments.
3013         (lrint_tonearest_test_data): Likewise.
3014         (lrint_towardzero_test_data): Likewise.
3015         (lrint_downward_test_data): Likewise.
3016         (lrint_upward_test_data): Likewise.
3017         (llrint_test_data): Likewise.
3018         (llrint_tonearest_test_data): Likewise.
3019         (llrint_towardzero_test_data): Likewise.
3020         (llrint_downward_test_data): Likewise.
3021         (llrint_upward_test_data): Likewise.
3022         (lround_test_data): Likewise.
3023         (llround_test_data): Likewise.
3025         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3026         (ERRNO_UNCHANGED): Update value.
3027         (ERRNO_EDOM): Likewise.
3028         (ERRNO_ERANGE): Likewise.
3029         (NO_TEST_INLINE_FLOAT): New macro.
3030         (NO_TEST_INLINE_DOUBLE): Likewise.
3031         (enable_test): New function.
3032         (RUN_TEST_f_f): Check enable_test before running test.
3033         (RUN_TEST_2_f): Likewise.
3034         (RUN_TEST_fff_f): Likewise.
3035         (RUN_TEST_c_f): Likewise.
3036         (RUN_TEST_f_f1): Likewise.
3037         (RUN_TEST_fF_f1): Likewise.
3038         (RUN_TEST_fI_f1): Likewise.
3039         (RUN_TEST_ffI_f1): Likewise.
3040         (RUN_TEST_c_c): Likewise.
3041         (RUN_TEST_cc_c): Likewise.
3042         (RUN_TEST_f_i): Likewise.
3043         (RUN_TEST_f_i_tg): Likewise.
3044         (RUN_TEST_ff_i_tg): Likewise.
3045         (RUN_TEST_f_b): Likewise.
3046         (RUN_TEST_f_b_tg): Likewise.
3047         (RUN_TEST_f_l): Likewise.
3048         (RUN_TEST_f_L): Likewise.
3049         (RUN_TEST_fFF_11): Likewise.
3050         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3051         conditionals.
3052         (cosh_test_data): Likewise.
3053         (exp_test_data): Likewise.
3054         (expm1_test_data): Likewise.
3055         (hypot_test_data): Likewise.
3056         (pow_test_data): Likewise.
3057         (sinh_test_data): Likewise.
3058         (tanh_test_data): Likewise.
3059         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3060         flags argument.
3062         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3063         tests with quiet NaN input and output.
3064         (acosh_test_data): Likewise.
3065         (asin_test_data): Likewise.
3066         (asinh_test_data): Likewise.
3067         (atan_test_data): Likewise.
3068         (atanh_test_data): Likewise.
3069         (atan2_test_data): Likewise.
3070         (cbrt_test_data): Likewise.
3071         (cos_test_data): Likewise.
3072         (cosh_test_data): Likewise.
3073         (erf_test_data): Likewise.
3074         (erfc_test_data): Likewise.
3075         (exp_test_data): Likewise.
3076         (exp10_test_data): Likewise.
3077         (exp2_test_data): Likewise.
3078         (expm1_test_data): Likewise.
3079         (hypot_test_data): Likewise.
3080         (j0_test_data): Likewise.
3081         (j1_test_data): Likewise.
3082         (jn_test_data): Likewise.
3083         (lgamma_test_data): Likewise.
3084         (log_test_data): Likewise.
3085         (log10_test_data): Likewise.
3086         (log1p_test_data): Likewise.
3087         (log2_test_data): Likewise.
3088         (pow_test_data): Likewise.
3089         (scalb_test_data): Likewise.
3090         (sin_test_data): Likewise.
3091         (sincos_test_data): Likewise.
3092         (sinh_test_data): Likewise.
3093         (tan_test_data): Likewise.
3094         (tanh_test_data): Likewise.
3095         (tgamma_test_data): Likewise.
3096         (y0_test_data): Likewise.
3097         (y1_test_data): Likewise.
3098         (yn_test_data): Likewise.
3100         [BZ #16167]
3101         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3102         argument being NaN and avoid computations with second argument in
3103         that case.
3104         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3105         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3106         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3108 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3110         * locale/iso-639.def: Add Chitwani Tharu (the).
3112 2013-11-14  Andreas Schwab  <schwab@suse.de>
3114         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3115         word instead of empty string.
3117 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3120         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3122         (__fe_nomask_env): Likewise.
3124 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3126         * benchtests/bench-timing.h: Include time.h.
3128 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3130         [BZ #15997]
3131         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3132         to 3.4.0 for x32.
3133         * sysdeps/unix/sysv/linux/configure: Regenerated.
3135 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3137         [BZ #16151]
3138         * stdlib/strtod_l.c (round_and_return): Do not consider
3139         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3140         exponent one less than half the least subnormal exponent.
3141         * stdlib/test-strtod-round-data: Add more tests.
3142         * stdlib/tst-strtod-round.c (tests): Regenerated.
3144 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3146         [BZ #14143]
3147         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3148         (__fe_mask_env): Likewise.
3149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3150         libm_hidden_proto and add function prototype.
3151         (__fe_mask_env): Add function prototype.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3153         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3155         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3157         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3159 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3161         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3162         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3164 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3166         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3167         of htab_find_slot().
3169 2013-11-11  David S. Miller  <davem@davemloft.net>
3171         [BZ #16150]
3172         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3173         symbol in the non-vis3 case in static builds.
3174         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3175         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3176         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3177         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3179 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3181         [BZ #387]
3182         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3183         it is empty.
3185 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3187         * benchtests/Makefile: Add bench-strtod.
3188         * benchtests/bench-strtod.c: New file: strtod benchtest
3190 2013-11-11  Andreas Schwab  <schwab@suse.de>
3192         [BZ #16153]
3193         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3194         terminating NUL in key length.
3196 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3198         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3199         Add artificial ODP entry for vDSO symbol for PPC64.
3200         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3201         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3203 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3205         [BZ #15374]
3206         * nss/getent.c (services_keys): Recognize services starting with digit.
3208 2013-11-06  David S. Miller  <davem@davemloft.net>
3210         [BZ #15985]
3211         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3212         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3214 2013-11-06  Will Newton  <will.newton@linaro.org>
3216         * manual/memory.texi (Malloc Examples): Remove register
3217         keyword from examples.
3219 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3221         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3223 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3225         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3226         depending on [__GCC_IEC_559 > 0].
3227         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3228         depending on [__GCC_IEC_559_COMPLEX > 0].
3230 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3232         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3233         to iso-639.def.
3235 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3237         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3239 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3241         [BZ #16112]
3242         * malloc/malloc (malloc_info): Do not handle first bin as
3243         special case.
3245 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3247         * locale/iso-639.def: Add Central Nahuatl (nhn).
3249 2013-11-01  Bruno Haible  <bruno@clisp.org>
3251         [BZ #7003]
3252         * manual/math.texi (BSD Random): Specify range upper bound as
3253         in POSIX.
3255 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3257         * locale/iso-639.def: Add Meadow Mari (mhr).
3259 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3261         [BZ #14752], [BZ #15763]
3262         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3263         Validate name.
3264         * rt/tst_shm.c: Add test for escaping directory.
3266 2013-10-31  Andreas Schwab  <schwab@suse.de>
3268         [BZ #15917]
3269         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3270         followed by 'x' as part of digit sequence.
3271         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3273 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3275         [BZ #16037]
3276         * configure.ac: allow GNU Make 4.0 and greater.
3277         * configure: Regenerated.
3279 2013-10-30  Will Newton  <will.newton@linaro.org>
3281         [BZ #16038]
3282         * malloc/hooks.c (memalign_check): Limit alignment to the
3283         maximum representable power of two.
3284         * malloc/malloc.c (__libc_memalign): Likewise.
3285         * malloc/tst-memalign.c (do_test): Add test for very
3286         large alignment values.
3287         * malloc/tst-posix_memalign.c (do_test): Likewise.
3289 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3291         [BZ #11087]
3292         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3293         (munmap_chunk): Likewise.
3294         (mremap_chunk): Likewise.
3296 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3298         [BZ #15799]
3299         * stdlib/div.c (div): Remove obsolete code.
3300         * stdlib/ldiv.c (ldiv): Likewise.
3301         * stdlib/lldiv.c (lldiv): Likewise.
3303 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3305         [BZ #16071]
3306         * nss/nss_files/files-XXX.c (get_contents_ret): New
3307         enumerator.
3308         (get_contents): New function.
3309         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3311 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3313         * configure.in: Moved to ...
3314         * configure.ac: ... here. Change reference to configure.in
3315         to configure.ac.
3316         * sysdeps/arm/preconfigure.ac: ... here.
3317         configure.in to configure.ac.
3318         * sysdeps/gnu/configure.in: Moved to ...
3319         * sysdeps/gnu/configure.ac: ... here.
3320         * sysdeps/i386/configure.in: Moved to ...
3321         * sysdeps/i386/configure.ac: ... here.
3322         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3323         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3324         * sysdeps/mach/configure.in: Moved to ...
3325         * sysdeps/mach/configure.ac: ... here.
3326         * sysdeps/mach/hurd/configure.in: Moved to ...
3327         * sysdeps/mach/hurd/configure.ac: ... here.
3328         * sysdeps/powerpc/configure.in: Moved to ...
3329         * sysdeps/powerpc/configure.ac: ... here.
3330         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3331         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3332         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3333         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3334         * sysdeps/s390/s390-32/configure.in: Moved to ...
3335         * sysdeps/s390/s390-32/configure.ac: ... here.
3336         * sysdeps/s390/s390-64/configure.in: Moved to ...
3337         * sysdeps/s390/s390-64/configure.ac: ... here.
3338         * sysdeps/sh/configure.in: Moved to ...
3339         * sysdeps/sh/configure.ac: ... here.
3340         * sysdeps/sparc/configure.in: Moved to ...
3341         * sysdeps/sparc/configure.ac: ... here.
3342         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3343         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3344         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3345         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3346         * sysdeps/x86_64/configure.in: Moved to ...
3347         * sysdeps/x86_64/configure.ac: ... here.
3348         * sysdeps/x86_64/preconfigure.in: Moved to ...
3349         * sysdeps/x86_64/preconfigure.ac: ... here.
3350         * aclocal.m4: Change reference to configure.in to configure.ac.
3351         * config.h.in: Likewise.
3352         * manual/install.texi: Likewise.
3353         * manual/maint.texi: Likewise.
3354         * Makefile: Likewise.
3355         * malloc/Makefile: Likewise.
3356         * nscd/Makefile: Likewise.
3357         * Makeconfig: Change reference to configure.in and
3358         preconfigure.in to configure.ac and preconfigure.ac
3359         respectively.
3360         * INSTALL: Regenerated.
3361         * configure: Likewise.
3362         * sysdeps/gnu/configure: Likewise.
3363         * sysdeps/i386/configure: Likewise.
3364         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3365         * sysdeps/mach/configure: Likewise.
3366         * sysdeps/mach/hurd/configure: Likewise.
3367         * sysdeps/powerpc/configure: Likewise.
3368         * sysdeps/powerpc/powerpc32/configure: Likewise.
3369         * sysdeps/powerpc/powerpc64/configure: Likewise.
3370         * sysdeps/s390/s390-32/configure: Likewise.
3371         * sysdeps/s390/s390-64/configure: Likewise.
3372         * sysdeps/sh/configure: Likewise.
3373         * sysdeps/sparc/configure: Likewise.
3374         * sysdeps/unix/sysv/linux/configure: Likewise.
3375         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3376         * sysdeps/x86_64/configure: Likewise.
3377         * sysdeps/x86_64/preconfigure: Likewise.
3379 2013-10-29  Andreas Schwab  <schwab@suse.de>
3381         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3383 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         * benchtests/pow-inputs: Add new inputs.
3387         * benchtests/exp-inputs: Add new inputs.
3389         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3390         conditional check for return value.
3391         (__cos32): Likewise.
3393 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3395         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3396         to provide a boost for large inputs with word alignment.
3397         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3398         implementation based on optimized PPC64 strcpy.
3399         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3400         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3401         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3402         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3404 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3406         [BZ #2801]
3407         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3409 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3411         [BZ #14876]
3412         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3413         * time/tst-strptime.c (day_tests): Add testcase.
3415 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3417         [BZ #14029]
3418         * manual/pattern.texi: Acknowledge that fnmatch can fail.
3420 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3422         [BZ #16074]
3423         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3424         MAP_FAILED on error.
3426 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3428         [BZ #16072]
3429         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3430         heap for large requests.
3432 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
3434         [BZ #9954]
3435         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3436         result if the result has no associated interface.
3437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3438         interface for all 127.X.Y.Z addresses.
3440 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
3442         * locale/iso-639.def: Add Ligurian (lij)
3444 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
3446         [BZ #15825]
3447         * sunrpc/rpc_main.c: Document rpcgen -5.
3449 2013-10-19  Michael Stahl  <mstahl@redhat.com>
3451         * elf/rtld.c (do_preload): Print the reason why preloading failed.
3453 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3455         [BZ #10278]
3456         * posix/glob.c: Match only directories when trailing slash is present.
3457         * posix/tst-gnuglob.c (my_opendir): Do not open files.
3458         (main): Add testcase.
3460 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
3462         [BZ #15670]
3463         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3465 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
3467         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3468         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3469         AUTH_DES and cindex for FIPS 140-2.
3470         (DES Encryption): Add cindex FIPS 46-3.
3472         * locale/locarchive.h (struct locarhandle): Add fname.
3473         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3474         if an optional argument was specified to --list-archive,
3475         otherwise NULL.
3476         * locale/programs/locarchive.c (show_archive_content): Take new
3477         argument fname and pass it via ah.fname to open_archive.
3478         * locale/programs/localedef.h: Update decl.
3479         (open_archive): If AH->fname is non-null, open that file
3480         rather than the default file name, and don't ignore ENOENT.
3481         (create_archive): Set AH.fname to NULL.
3482         (delete_locales_from_archive): Likewise.
3483         (add_locales_to_archive): Likewise.
3484         * locale/programs/locfile.c (write_all_categories): Likewise.
3486 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3487             Aldy Hernandez  <aldyh@redhat.com>
3489         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3490         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3491         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3492         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3493         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3494         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3495         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3496         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3497         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3498         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3499         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3500         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3501         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3502         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3503         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3504         Likewise.
3505         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3506         Likewise.
3507         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3508         Likewise.
3509         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3510         Likewise.
3511         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3512         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3513         Likewise.
3514         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3515         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3516         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3517         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3518         Likewise.
3519         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3520         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3521         * sysdeps/powerpc/preconfigure: Likewise.
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3523         Likewise.
3524         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3525         Replace contents of file by #include of <fenv_libc.h>.
3526         * sysdeps/powerpc/soft-fp/sfp-machine.h
3527         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3528         and <sys/prctl.h>.
3529         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3531         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3532         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3533         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3534         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3536         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3537         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3538         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3539         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3540         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3542         Allow copysignl PLT reference to be missing.
3544 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3545             Joseph Myers  <joseph@codesourcery.com
3547         [BZ #15948]
3548         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3549         single character.
3550         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3552 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3554         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3555         * elf/tst-tls1.c: Likewise.
3556         * elf/tst-tls10.h: Likewise.
3557         * elf/tst-tls14.c: Likewise.
3558         * elf/tst-tls2.c: Likewise.
3559         * elf/tst-tls3.c: Likewise.
3560         * elf/tst-tls4.c: Likewise.
3561         * elf/tst-tls5.c: Likewise.
3562         * elf/tst-tls6.c: Likewise.
3563         * elf/tst-tls7.c: Likewise.
3564         * elf/tst-tls8.c: Likewise.
3565         * elf/tst-tls9.c: Likewise.
3566         * elf/tst-tlsmod1.c: Likewise.
3567         * elf/tst-tlsmod13.c: Likewise.
3568         * elf/tst-tlsmod13a.c: Likewise.
3569         * elf/tst-tlsmod14a.c: Likewise.
3570         * elf/tst-tlsmod16a.c: Likewise.
3571         * elf/tst-tlsmod16b.c: Likewise.
3572         * elf/tst-tlsmod2.c: Likewise.
3573         * elf/tst-tlsmod3.c: Likewise.
3574         * elf/tst-tlsmod4.c: Likewise.
3575         * elf/tst-tlsmod5.c: Likewise.
3576         * elf/tst-tlsmod6.c: Likewise.
3578 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3580         [BZ #12486]
3581         * malloc/malloc.c: remove checks for statistics.
3583 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3585         [BZ #15277]
3586         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3587         * inet/tst-network.c: Add testcase.
3589 2013-10-17  Andreas Schwab  <schwab@suse.de>
3591         [BZ #15218]
3592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3593         to determine canonical name.
3595 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3597         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3598         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3600         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3602         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3603         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3604         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3605         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3606         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3607         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3608         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3609         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3610         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3611         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3612         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3613         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3614         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3615         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3616         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3617         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3618         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3619         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3620         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3621         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3622         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3623         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3624         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3625         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3626         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3627         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3628         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3629         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3630         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3631         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3632         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3633         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3634         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3635         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3636         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3637         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3638         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3639         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3640         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3641         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3642         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3643         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3644         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3645         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3646         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3647         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3648         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3649         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3650         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3651         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3652         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3653         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3654         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3656 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3658         [BZ #16041]
3659         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3660         make result into a quiet NaN.
3662 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3664         * soft-fp/adddf3.c: Fix horizontal whitespace.
3665         * soft-fp/addsf3.c: Likewise.
3666         * soft-fp/addtf3.c: Likewise.
3667         * soft-fp/divdf3.c: Likewise.
3668         * soft-fp/divsf3.c: Likewise.
3669         * soft-fp/divtf3.c: Likewise.
3670         * soft-fp/double.h: Likewise.
3671         * soft-fp/eqdf2.c: Likewise.
3672         * soft-fp/eqsf2.c: Likewise.
3673         * soft-fp/eqtf2.c: Likewise.
3674         * soft-fp/extenddftf2.c: Likewise.
3675         * soft-fp/extended.h: Likewise.
3676         * soft-fp/extendsfdf2.c: Likewise.
3677         * soft-fp/extendsftf2.c: Likewise.
3678         * soft-fp/extendxftf2.c: Likewise.
3679         * soft-fp/fixdfdi.c: Likewise.
3680         * soft-fp/fixdfsi.c: Likewise.
3681         * soft-fp/fixdfti.c: Likewise.
3682         * soft-fp/fixsfdi.c: Likewise.
3683         * soft-fp/fixsfsi.c: Likewise.
3684         * soft-fp/fixsfti.c: Likewise.
3685         * soft-fp/fixtfdi.c: Likewise.
3686         * soft-fp/fixtfsi.c: Likewise.
3687         * soft-fp/fixtfti.c: Likewise.
3688         * soft-fp/fixunsdfdi.c: Likewise.
3689         * soft-fp/fixunsdfsi.c: Likewise.
3690         * soft-fp/fixunsdfti.c: Likewise.
3691         * soft-fp/fixunssfdi.c: Likewise.
3692         * soft-fp/fixunssfsi.c: Likewise.
3693         * soft-fp/fixunssfti.c: Likewise.
3694         * soft-fp/fixunstfdi.c: Likewise.
3695         * soft-fp/fixunstfsi.c: Likewise.
3696         * soft-fp/fixunstfti.c: Likewise.
3697         * soft-fp/floatdidf.c: Likewise.
3698         * soft-fp/floatdisf.c: Likewise.
3699         * soft-fp/floatditf.c: Likewise.
3700         * soft-fp/floatsidf.c: Likewise.
3701         * soft-fp/floatsisf.c: Likewise.
3702         * soft-fp/floatsitf.c: Likewise.
3703         * soft-fp/floattidf.c: Likewise.
3704         * soft-fp/floattisf.c: Likewise.
3705         * soft-fp/floattitf.c: Likewise.
3706         * soft-fp/floatundidf.c: Likewise.
3707         * soft-fp/floatundisf.c: Likewise.
3708         * soft-fp/floatunditf.c: Likewise.
3709         * soft-fp/floatunsidf.c: Likewise.
3710         * soft-fp/floatunsisf.c: Likewise.
3711         * soft-fp/floatunsitf.c: Likewise.
3712         * soft-fp/floatuntidf.c: Likewise.
3713         * soft-fp/floatuntisf.c: Likewise.
3714         * soft-fp/floatuntitf.c: Likewise.
3715         * soft-fp/fmadf4.c: Likewise.
3716         * soft-fp/fmasf4.c: Likewise.
3717         * soft-fp/fmatf4.c: Likewise.
3718         * soft-fp/gedf2.c: Likewise.
3719         * soft-fp/gesf2.c: Likewise.
3720         * soft-fp/getf2.c: Likewise.
3721         * soft-fp/ledf2.c: Likewise.
3722         * soft-fp/lesf2.c: Likewise.
3723         * soft-fp/letf2.c: Likewise.
3724         * soft-fp/muldf3.c: Likewise.
3725         * soft-fp/mulsf3.c: Likewise.
3726         * soft-fp/multf3.c: Likewise.
3727         * soft-fp/negdf2.c: Likewise.
3728         * soft-fp/negsf2.c: Likewise.
3729         * soft-fp/negtf2.c: Likewise.
3730         * soft-fp/op-1.h: Likewise.
3731         * soft-fp/op-2.h: Likewise.
3732         * soft-fp/op-4.h: Likewise.
3733         * soft-fp/op-8.h: Likewise.
3734         * soft-fp/op-common.h: Likewise.
3735         * soft-fp/quad.h: Likewise.
3736         * soft-fp/single.h: Likewise.
3737         * soft-fp/soft-fp.h: Likewise.
3738         * soft-fp/sqrtdf2.c: Likewise.
3739         * soft-fp/sqrtsf2.c: Likewise.
3740         * soft-fp/sqrttf2.c: Likewise.
3741         * soft-fp/subdf3.c: Likewise.
3742         * soft-fp/subsf3.c: Likewise.
3743         * soft-fp/subtf3.c: Likewise.
3744         * soft-fp/truncdfsf2.c: Likewise.
3745         * soft-fp/trunctfdf2.c: Likewise.
3746         * soft-fp/trunctfsf2.c: Likewise.
3747         * soft-fp/trunctfxf2.c: Likewise.
3748         * soft-fp/unorddf2.c: Likewise.
3749         * soft-fp/unordsf2.c: Likewise.
3750         * soft-fp/unordtf2.c: Likewise.
3752 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3754         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3755         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3757 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3759         * elf/dl-libc.c: Clear initfini list after freeing.
3761 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3763         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3764         * soft-fp/addsf3.c: Likewise.
3765         * soft-fp/addtf3.c: Likewise.
3766         * soft-fp/divdf3.c: Likewise.
3767         * soft-fp/divsf3.c: Likewise.
3768         * soft-fp/divtf3.c: Likewise.
3769         * soft-fp/double.h: Likewise.
3770         * soft-fp/eqdf2.c: Likewise.
3771         * soft-fp/eqsf2.c: Likewise.
3772         * soft-fp/eqtf2.c: Likewise.
3773         * soft-fp/extenddftf2.c: Likewise.
3774         * soft-fp/extended.h: Likewise.
3775         * soft-fp/extendsfdf2.c: Likewise.
3776         * soft-fp/extendsftf2.c: Likewise.
3777         * soft-fp/extendxftf2.c: Likewise.
3778         * soft-fp/fixdfdi.c: Likewise.
3779         * soft-fp/fixdfsi.c: Likewise.
3780         * soft-fp/fixdfti.c: Likewise.
3781         * soft-fp/fixsfdi.c: Likewise.
3782         * soft-fp/fixsfsi.c: Likewise.
3783         * soft-fp/fixsfti.c: Likewise.
3784         * soft-fp/fixtfdi.c: Likewise.
3785         * soft-fp/fixtfsi.c: Likewise.
3786         * soft-fp/fixtfti.c: Likewise.
3787         * soft-fp/fixunsdfdi.c: Likewise.
3788         * soft-fp/fixunsdfsi.c: Likewise.
3789         * soft-fp/fixunsdfti.c: Likewise.
3790         * soft-fp/fixunssfdi.c: Likewise.
3791         * soft-fp/fixunssfsi.c: Likewise.
3792         * soft-fp/fixunssfti.c: Likewise.
3793         * soft-fp/fixunstfdi.c: Likewise.
3794         * soft-fp/fixunstfsi.c: Likewise.
3795         * soft-fp/fixunstfti.c: Likewise.
3796         * soft-fp/floatdidf.c: Likewise.
3797         * soft-fp/floatdisf.c: Likewise.
3798         * soft-fp/floatditf.c: Likewise.
3799         * soft-fp/floatsidf.c: Likewise.
3800         * soft-fp/floatsisf.c: Likewise.
3801         * soft-fp/floatsitf.c: Likewise.
3802         * soft-fp/floattidf.c: Likewise.
3803         * soft-fp/floattisf.c: Likewise.
3804         * soft-fp/floattitf.c: Likewise.
3805         * soft-fp/floatundidf.c: Likewise.
3806         * soft-fp/floatundisf.c: Likewise.
3807         * soft-fp/floatunsidf.c: Likewise.
3808         * soft-fp/floatunsisf.c: Likewise.
3809         * soft-fp/floatuntidf.c: Likewise.
3810         * soft-fp/floatuntisf.c: Likewise.
3811         * soft-fp/floatuntitf.c: Likewise.
3812         * soft-fp/fmadf4.c: Likewise.
3813         * soft-fp/fmasf4.c: Likewise.
3814         * soft-fp/fmatf4.c: Likewise.
3815         * soft-fp/gedf2.c: Likewise.
3816         * soft-fp/gesf2.c: Likewise.
3817         * soft-fp/getf2.c: Likewise.
3818         * soft-fp/ledf2.c: Likewise.
3819         * soft-fp/lesf2.c: Likewise.
3820         * soft-fp/letf2.c: Likewise.
3821         * soft-fp/muldf3.c: Likewise.
3822         * soft-fp/mulsf3.c: Likewise.
3823         * soft-fp/multf3.c: Likewise.
3824         * soft-fp/negdf2.c: Likewise.
3825         * soft-fp/negsf2.c: Likewise.
3826         * soft-fp/negtf2.c: Likewise.
3827         * soft-fp/op-1.h: Likewise.
3828         * soft-fp/op-2.h: Likewise.
3829         * soft-fp/op-4.h: Likewise.
3830         * soft-fp/op-8.h: Likewise.
3831         * soft-fp/op-common.h: Likewise.
3832         * soft-fp/quad.h: Likewise.
3833         * soft-fp/single.h: Likewise.
3834         * soft-fp/soft-fp.h: Likewise.
3835         * soft-fp/sqrtdf2.c: Likewise.
3836         * soft-fp/sqrtsf2.c: Likewise.
3837         * soft-fp/sqrttf2.c: Likewise.
3838         * soft-fp/subdf3.c: Likewise.
3839         * soft-fp/subsf3.c: Likewise.
3840         * soft-fp/subtf3.c: Likewise.
3841         * soft-fp/truncdfsf2.c: Likewise.
3842         * soft-fp/trunctfdf2.c: Likewise.
3843         * soft-fp/trunctfsf2.c: Likewise.
3844         * soft-fp/trunctfxf2.c: Likewise.
3845         * soft-fp/unorddf2.c: Likewise.
3846         * soft-fp/unordsf2.c: Likewise.
3847         * soft-fp/unordtf2.c: Likewise.
3849 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3851         [BZ #15672]
3852         * misc/error.c (error_tail): Fix possible buffer overflow.
3854 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3856         [BZ #13028]
3857         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3858         address.
3860 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3862         [BZ #832]
3863         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3864         testing pipefail option.
3866 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3868         * soft-fp/double.h: Indent preprocessor directives inside #if.
3869         * soft-fp/extended.h: Likewise.
3870         * soft-fp/op-2.h: Likewise.
3871         * soft-fp/op-4.h: Likewise.
3872         * soft-fp/op-common.h: Likewise.
3873         * soft-fp/quad.h: Likewise.
3874         * soft-fp/single.h: Likewise.
3875         * soft-fp/soft-fp.h: Likewise.
3877 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3879         * iconv/iconv_prog.c: Fix typos.
3880         * stdio-common/psiginfo-data.h: Likewise.
3882 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3884         [BZ #15764]
3885         * locale/setlocale.c: Fix typo.
3887 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #16036]
3890         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3891         signaling NaN arguments.
3892         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3893         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3895         [BZ #14910]
3896         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3897         unordered operands.
3898         * soft-fp/gesf2.c (__gesf2): Likewise.
3899         * soft-fp/getf2.c (__getf2): Likewise.
3900         * soft-fp/ledf2.c (__ledf2): Likewise.
3901         * soft-fp/lesf2.c (__lesf2): Likewise.
3902         * soft-fp/letf2.c (__letf2): Likewise.
3904         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3905         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3906         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3907         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3908         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3909         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3910         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3911         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3912         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3913         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3914         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3915         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3916         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3917         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3918         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3919         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3920         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3921         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3922         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3923         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3924         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3925         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3926         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3927         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3928         * soft-fp/floattidf.c (__floattidf): Likewise.
3929         * soft-fp/floattisf.c (__floattisf): Likewise.
3930         * soft-fp/floattitf.c (__floattitf): Likewise.
3931         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3932         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3933         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3934         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3935         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3936         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3937         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3938         * soft-fp/gesf2.c (__gesf2): Likewise.
3939         * soft-fp/getf2.c (__getf2): Likewise.
3940         * soft-fp/ledf2.c (__ledf2): Likewise.
3941         * soft-fp/lesf2.c (__lesf2): Likewise.
3942         * soft-fp/letf2.c (__letf2): Likewise.
3944         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3945         Undefine and redefine.
3946         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3947         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3948         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3949         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3950         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3951         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3952         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3953         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3954         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3955         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3956         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3957         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3958         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3959         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3960         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3962         [BZ #16032]
3963         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3964         without decrementing exponent if mantissa >= that for the
3965         denominator, not >.
3966         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3967         denominator, not >.  Decrement exponent in < case instead of
3968         incrementing in >= case.
3969         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3970         without decrementing exponent if mantissa >= that for the
3971         denominator, not >.
3973         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3974         computing saturated result for unsigned overflow.
3976 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3977             Jeff Law  <law@redhat.com>
3979         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3980         (atan2Mp): Add systemtap probe marker.
3981         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3982         (__ieee754_log): Add systemtap probe marker.
3983         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3984         (atanMp): Add systemtap probe marker.
3985         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3986         (tanMp): Add systemtap probe marker.
3987         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3988         (__slowexp): Add systemtap probe marker.
3989         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3990         (__slowpow): Add systemtap probe marker.
3991         * manual/probes.texi: Document probes.
3993 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3995         [BZ #15362]
3996         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3997         written.
3998         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3999         written.
4000         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4001         written to buffer but not flushed.
4002         * libio/iofwrite_u.c:  Likewise.
4003         * libio/iopadn.c:  Return bytes returned even if EOF was
4004         encountered.
4005         * libio/iowpadn.c:  Likewise.
4006         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4007         if _IO_padn does not write the whole buffer.
4008         [!COMPILE_WPRINTF] (PAD): Likewise.
4010 2013-10-10  David S. Miller  <davem@davemloft.net>
4012         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4013         directory block.
4015 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4017         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4018         instead of FSF address.
4019         * soft-fp/fixdfti.c: Likewise.
4020         * soft-fp/fixsfti.c: Likewise.
4021         * soft-fp/fixtfti.c: Likewise.
4022         * soft-fp/fixunsdfti.c: Likewise.
4023         * soft-fp/fixunssfti.c: Likewise.
4024         * soft-fp/fixunstfti.c: Likewise.
4025         * soft-fp/floattidf.c: Likewise.
4026         * soft-fp/floattisf.c: Likewise.
4027         * soft-fp/floattitf.c: Likewise.
4028         * soft-fp/floatuntidf.c: Likewise.
4029         * soft-fp/floatuntisf.c: Likewise.
4030         * soft-fp/floatuntitf.c: Likewise.
4031         * soft-fp/trunctfxf2.c: Likewise.
4033         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4034         * soft-fp/fixdfti.c: Likewise.
4035         * soft-fp/fixsfti.c: Likewise.
4036         * soft-fp/fixtfti.c: Likewise.
4037         * soft-fp/fixunsdfti.c: Likewise.
4038         * soft-fp/fixunssfti.c: Likewise.
4039         * soft-fp/fixunstfti.c: Likewise.
4040         * soft-fp/floattidf.c: Likewise.
4041         * soft-fp/floattisf.c: Likewise.
4042         * soft-fp/floattitf.c: Likewise.
4043         * soft-fp/floatuntidf.c: Likewise.
4044         * soft-fp/floatuntisf.c: Likewise.
4045         * soft-fp/floatuntitf.c: Likewise.
4046         * soft-fp/trunctfxf2.c: Likewise.
4048 2013-10-10  David S. Miller  <davem@davemloft.net>
4050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4052 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4054         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4055         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4056         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4057         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4058         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4059         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4060         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4063         for NaNs before doing comparisons on argument.
4064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4065         Likewise.
4067 2013-10-10  Will Newton  <will.newton@linaro.org>
4069         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4070         passed to _int_memalign does not overflow.
4072 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4074         * scripts/bench.pl: Add include-sources directive.
4075         * benchtests/README: Update documentation.
4077 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4079         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4080         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4081         instead of FP_INIT_ROUNDMODE.
4082         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4083         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4085         [BZ #16034]
4086         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4087         copy class of input value.
4088         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4089         not handle exceptions.
4090         * soft-fp/negsf2.c (__negsf2): Likewise.
4091         * soft-fp/negtf2.c (__negtf2): Likewise.
4092         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4094 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4096         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4097         semicolon.  From Linux kernel.
4099 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4101         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4103 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4105         [BZ #156]
4106         * manual/socket.texi: Added statement about buffer
4107         for gethostbyname2_r.
4109 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4111         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4112         Use .p2align directive instead, throughout.
4113         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4114         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4115         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4116         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4117         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4118         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4119         * sysdeps/x86_64/strchr.S: Likewise.
4120         * sysdeps/x86_64/strrchr.S: Likewise.
4122 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4124         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4126         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4128         * sysdeps/generic/math_private.h (__mpsin1): Remove
4129         declaration.
4130         (__mpcos1): Likewise.
4131         (__mpsin): New argument __range_reduce.
4132         (__mpcos): Likewise.
4133         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4134         (slow): Use __mpsin and __mpcos.
4135         (slow1): Likewise.
4136         (slow2): Likewise.
4137         (sloww): Likewise.
4138         (sloww1): Likewise.
4139         (sloww2): Likewise.
4140         (bsloww): Likewise.
4141         (bsloww1): Likewise.
4142         (bsloww2): Likewise.
4143         (cslow2): Likewise.
4144         (csloww): Likewise.
4145         (csloww1): Likewise.
4146         (csloww2): Likewise.
4147         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4148         range_reduce.  Merge in __mpsin1.
4149         (__mpcos): Likewise.
4150         (__mpsin1): Remove.
4151         (__mpcos1): Likewise.
4153 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4155         * locale/loadlocale.c (_nl_intern_locale_data): Use
4156         LOCFILE_ALIGNED_P.
4157         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4158         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4159         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4160         obstack data is appropriately aligned.
4161         (obstack_int32_grow_fast): Likewise.
4162         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4163         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4164         (add_locale_uint32_array): Likewise.
4166 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4168         * benchtests/Makefile: Remove ARGLIST and RET variables.
4169         ($(objpfx)bench-%.c): Pass only function name to the script.
4170         * benchtests/README: Update documentation.
4171         * benchtests/acos-inputs: Add new directives.
4172         * benchtests/acosh-inputs: Likewise.
4173         * benchtests/asin-inputs: Likewise.
4174         * benchtests/asinh-inputs: Likewise.
4175         * benchtests/atan-inputs: Likewise.
4176         * benchtests/atanh-inputs: Likewise.
4177         * benchtests/cos-inputs: Likewise.
4178         * benchtests/cosh-inputs: Likewise.
4179         * benchtests/exp-inputs: Likewise.
4180         * benchtests/log-inputs: Likewise.
4181         * benchtests/pow-inputs: Likewise.
4182         * benchtests/rint-inputs: Likewise.
4183         * benchtests/sin-inputs: Likewise.
4184         * benchtests/sinh-inputs: Likewise.
4185         * benchtests/tan-inputs: Likewise.
4186         * benchtests/tanh-inputs: Likewise.
4187         * scripts/bench.pl: Add support for new directives.
4189 2013-10-07  Alan Modra  <amodra@gmail.com>
4191         * README: Fix careless merge.
4193 2013-10-05  Alan Modra  <amodra@gmail.com>
4195         * NEWS: Mention powerpc64le support and bugs fixed.
4196         * README: Both big-endian and little-endian powerpc64 supported.
4198 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4200         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4201         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4202         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4203         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4205 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4207         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4208         match prototype.
4210 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4212         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4213         Move -mhard-float appending from
4214         ports/sysdeps/powerpc/powerpc32/Makefile.
4215         [$(with-fp) = yes] (ASFLAGS): Likewise.
4216         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4217         * sysdeps/powerpc/nofpu: Move directory from
4218         ports/sysdeps/powerpc/nofpu.
4219         * sysdeps/powerpc/soft-fp: Move directory from
4220         ports/sysdeps/powerpc/soft-fp.
4221         * sysdeps/powerpc/powerpc32/405: Move directory from
4222         ports/sysdeps/powerpc/powerpc32/405.
4223         * sysdeps/powerpc/powerpc32/440: Move directory from
4224         ports/sysdeps/powerpc/powerpc32/440.
4225         * sysdeps/powerpc/powerpc32/464: Move directory from
4226         ports/sysdeps/powerpc/powerpc32/464.
4227         * sysdeps/powerpc/powerpc32/476: Move directory from
4228         ports/sysdeps/powerpc/powerpc32/476.
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4230         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4232         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4234         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4236         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4238         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4239         * README: Update for powerpc-*-linux-gnu software floating point
4240         support in libc.
4242         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4243         case to powerpc/powerpc32*.
4244         * sysdeps/unix/sysv/linux/configure: Regenerated.
4246         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4247         (_FPU_MASK_OM): Define as 0x04.
4248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4250         0x00c10080.
4251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4252         0x0000003c.
4253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4256         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4257         getcontext_e500.
4258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4259         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4260         setcontext_e500.
4261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4262         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4263         and setcontext_e500.
4265 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4267         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4269 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4271         * manual/threads.texi (Default Thread Attributes): Fix typo.
4273 2013-10-04  Will Newton  <will.newton@linaro.org>
4275         * malloc/Makefile: Add tst-memalign.
4276         * malloc/tst-memalign.c: New file.
4278         * malloc/tst-posix_memalign.c: Add comments.
4279         (do_test): Add comments and call free on all potentially
4280         allocated pointers. Add space after cast.
4282         * malloc/tst-pvalloc.c: Add comments.
4283         (do_test): Add comments and call free on all potentially
4284         allocated pointers. Remove duplicate check for NULL pointer.
4285         Add space after cast.
4287         * malloc/tst-valloc.c: Add comments.
4288         (do_test): Add comments and call free on all potentially
4289         allocated pointers. Remove duplicate check for NULL pointer.
4290         Add space after cast.
4292 2013-10-04  Alan Modra  <amodra@gmail.com>
4294         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4295         Use stdint types in rather than __attribute__((mode())).
4296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4298 2013-10-04  Alan Modra  <amodra@gmail.com>
4300         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4301         Correct handling of unaligned relocs for little-endian.
4302         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4304 2013-10-04  Alan Modra  <amodra@gmail.com>
4306         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4307         * configure: Regenerate.
4308         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4309         * shlib-versions: Likewise.
4311 2013-10-04  Alan Modra  <amodra@gmail.com>
4313         * string/tester.c (test_memrchr): Increment reported test cycle.
4315 2013-10-04  Alan Modra  <amodra@gmail.com>
4317         * string/test-memcpy.c (do_one_test): When reporting errors, print
4318         string address and don't overrun end of string.
4320 2013-10-04  Alan Modra  <amodra@gmail.com>
4322         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4323         insrdi.  Make better use of reg selection to speed exit slightly.
4324         Schedule entry path a little better.  Remove useless "are we done"
4325         checks on entry to main loop.  Handle wrapping around zero address.
4326         Correct main loop count.  Handle single left-over word from main
4327         loop inline rather than by using loop_small.  Remove extra word
4328         case in loop_small caused by wrong loop count.  Add little-endian
4329         support.
4330         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4331         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4332         cache hint.
4333         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4334         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4335         support.  Avoid rlwimi.
4336         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4338 2013-10-04  Alan Modra  <amodra@gmail.com>
4340         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4341         insrdi.  Formatting.
4342         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4343         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4344         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4345         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4346         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4347         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4349 2013-10-04  Alan Modra  <amodra@gmail.com>
4351         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4352         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4353         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4354         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4355         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4356         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4357         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4358         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4359         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4360         use of regs.  Use power7 mtocrf.  Tidy function tails.
4362 2013-10-04  Alan Modra  <amodra@gmail.com>
4364         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4365         Formatting.  Consistently use rXXX register defines or rN defines.
4366         Use early exit labels that avoid restoring unused non-volatile regs.
4367         Make cr field use more consistent with rWORDn compares.  Rename
4368         regs used as shift registers for unaligned loop, using rN defines
4369         for short lifetime/multiple use regs.
4370         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4371         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4372         addi 1,1,64 to pop stack frame.  Simplify return value code.
4373         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4375 2013-10-04  Alan Modra  <amodra@gmail.com>
4377         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4378         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4379         rather than rlwimi.
4380         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4381         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4382         little-endian support.  Correct typos.
4383         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
4384         rather than rlwimi.
4385         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
4386         in loop and entry code to keep "and." results.
4387         (strchr): Add little-endian support.  Comment.  Move cntlzd
4388         earlier in tail.
4389         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4391 2013-10-04  Alan Modra  <amodra@gmail.com>
4393         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4394         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4395         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4396         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4398 2013-10-04  Alan Modra  <amodra@gmail.com>
4400         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4401         (rTMP): Define as r11.
4402         (strcmp): Add little-endian support.  Optimise tail.
4403         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4404         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4405         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4406         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4407         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4408         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4409         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4411 2013-10-04  Alan Modra  <amodra@gmail.com>
4413         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4414         little-endian support.  Remove unnecessary "are we done" tests.
4415         Handle "s" wrapping around zero and extremely large "size".
4416         Correct main loop count.  Handle single left-over word from main
4417         loop inline rather than by using small_loop.  Correct comments.
4418         Delete "zero" tail, use "end_max" instead.
4419         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4421 2013-10-04  Alan Modra  <amodra@gmail.com>
4423         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4424         support.  Don't branch over align.
4425         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4426         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4427         support.  Rearrange tmp reg use to suit.  Comment.
4428         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4430 2013-10-04  Alan Modra  <amodra@gmail.com>
4432         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4434 2013-10-04  Alan Modra  <amodra@gmail.com>
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4437         conditional form of branch and link when obtaining pc.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4440 2013-10-04  Alan Modra  <amodra@gmail.com>
4442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4443         HIWORD/LOWORD.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4447 2013-10-04  Alan Modra  <amodra@gmail.com>
4449         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4450         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4451         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4452         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4453         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4454         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4455         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4456         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4457         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4458         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4460 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4461             Alistair Popple <alistair@ozlabs.au.ibm.com>
4462             Alan Modra <amodra@gmail.com>
4464         [BZ #15723]
4465         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4466         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4467         _dl_hwcap access for little-endian.
4468         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
4469         destroy vmx regs when saving unaligned.
4470         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4471         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4472         destroy vmx regs when saving unaligned.
4474 2013-10-04  Alan Modra  <amodra@gmail.com>
4476         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4477         Don't use a union to pack hi/low value.
4479 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4481         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4482         for little-endian.
4483         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4484         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4485         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4486         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4487         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4489 2013-10-04  Alan Modra  <amodra@gmail.com>
4491         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4492         constants to usual value for .cst8 section, and remove redundant
4493         high address load.
4494         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4495         constant for 0x1p52.  Load little-endian words of double from
4496         correct stack offsets.
4498 2013-10-04  Alan Modra  <amodra@gmail.com>
4500         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4501         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4502         words of double from correct stack offsets.
4503         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4504         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4505         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4506         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4507         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4508         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4509         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4510         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4511         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4512         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4513         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4514         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4515         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4516         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4517         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4518         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4519         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4521 2013-10-04  Alan Modra  <amodra@gmail.com>
4523         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4524         64-bit int/double union.
4525         (_FPU_SETCW): Likewise.
4526         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4527         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4529 2013-10-04  Alan Modra  <amodra@gmail.com>
4531         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4532         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4534 2013-10-04  Alan Modra  <amodra@gmail.com>
4536         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4537         use vector int constants.
4538         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4540 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4542         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4543         array with long long.
4544         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4545         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4546         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4547         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4548         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4549         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4550         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4551         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4552         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4553         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4554         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4555         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4556         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4558 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4560         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4561         (__signbit): Likewise.  Correct for little-endian.
4562         (__signbitl): Call __signbit.
4563         (lrint): Correct for little-endian.
4564         (lrintf): Call lrint.
4566 2013-10-04  Alan Modra  <amodra@gmail.com>
4568         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4569         union 32-bit int array member with 64-bit int array.
4570         (t515, tm256): Double rather than long double.
4571         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4573 2013-10-04  Alan Modra  <amodra@gmail.com>
4575         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4576         Delete.
4577         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4578         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4579         version of math_ldbl.h.
4581 2013-10-04  Alan Modra  <amodra@gmail.com>
4583         [BZ #15734], [BZ #15735]
4584         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4585         all uses of ieee875 long double macros and unions.  Simplify test
4586         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4587         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4588         normalize after ldbl_extract_mantissa, and don't add hidden bit
4589         already handled.  Don't treat low word of ieee854 mantissa like
4590         low word of IBM long double and mask off bit when testing for
4591         zero.
4592         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4593         all uses of ieee875 long double macros and unions.  Simplify tests
4594         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4595         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4596         two1022, instead use their values.  Recognise that tests for large
4597         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4598         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4599         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4600         test for 0.0L and nan.  Correct negation.
4601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4602         ieee875 long double macros and unions.  Correct output for large
4603         magnitude x.  Correct absolute value calculation.
4604         (__erfcl): Likewise.
4605         * math/libm-test.inc: Add tests for errors discovered in IBM long
4606         double versions of fmodl, remainderl, erfl and erfcl.
4608 2013-10-04  Alan Modra  <amodra@gmail.com>
4610         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4611         all uses of ieee854 long double macros and unions.  Simplify tests
4612         for long doubles that are fully specified by the high double.
4613         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4614         Likewise.
4615         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4616         Remove dead code too.
4617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4618         (__ieee754_ynl): Likewise.
4619         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4620         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4622         Remove dead code too.
4623         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4624         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4625         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4626         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4627         Simplify.
4628         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4629         Simplify.
4630         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4631         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4633         Comment on variable precision.
4634         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4635         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4636         Likewise.
4637         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4638         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4639         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4640         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4641         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4643 2013-10-04  Alan Modra  <amodra@gmail.com>
4645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4646         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4647         all uses of ieee854 long double macros and unions.
4648         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4650         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4651         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4652         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4653         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4654         Likewise.
4655         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4656         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4657         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4658         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4659         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4660         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4661         Simplify sign and nan test too.
4662         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4663         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4664         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4665         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4666         Likewise.
4667         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4669         Likewise.
4670         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4671         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4672         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4673         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4674         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4677 2013-10-04  Alan Modra  <amodra@gmail.com>
4679         * stdio-common/printf_size.c (__printf_size): Don't use
4680         union ieee854_long_double in fpnum union.
4681         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4682         signbit macro to retrieve sign from long double.
4683         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4684         retrieve sign from long double.
4685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4686         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4687         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4688         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4689         * math/test-misc.c (main): Don't use union ieee854_long_double.
4691 2013-10-04  Alan Modra  <amodra@gmail.com>
4693         [BZ #15680]
4694         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4695         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4696         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4697         calculation.  Remove unnecessary test for denormal exponent.
4698         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4699         Correct handling of denormals.  Avoid undefined shift behaviour.
4700         Correct normalisation of low mantissa when low double is denormal.
4701         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4702         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4703         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4704         Correct normalisation of low mantissa.  Test for overflow of high
4705         mantissa and normalise.
4706         (ldbl_nearbyint): Use more readable constant for two52.
4707         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4708         (__mpn_construct_long_double): Fix test for overflow of high
4709         mantissa and correct normalisation.  Avoid undefined shift.
4711 2013-10-04  Alan Modra  <amodra@gmail.com>
4713         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4714         (union ibm_extended_long_double): Define as an array of ieee754_double.
4715         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4716         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4717         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4718         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4719         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4720         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4722         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4723         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4724         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4725         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4727 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4729         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4730         page size instead of calling getpagesize.
4732         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4733         (LOCFILE_ALIGN_MASK): Likewise.
4734         (LOCFILE_ALIGN_UP): Likewise.
4735         (LOCFILE_ALIGNED_P): Likewise.
4736         * locale/programs/ld-collate.c (collate_output): Use the new
4737         macros instead of __alignof__ (int32_t).
4738         * locale/weight.h (findidx): Likewise.
4740 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4742         [BZ #431]
4743         * manual/string.texi: Fix strncat and wcsncat.
4745 2013-10-03  Brooks Moses  <bmoses@google.com>
4747         [BZ #15915]
4748         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4749         * Makerules: ...here, and adjust associated comments.
4751 2013-10-02  Will Newton  <will.newton@linaro.org>
4753         * malloc/Makefile: Add tst-pvalloc.
4754         * malloc/tst-pvalloc.c: New file.
4756 2013-10-02  Will Newton  <will.newton@linaro.org>
4758         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4759         improve test coverage.
4761 2013-10-02  Will Newton  <will.newton@linaro.org>
4763         * malloc/Makefile: Add tst-posix_memalign.
4764         * malloc/tst-posix_memalign.c: New file.
4766 2013-10-01  Eric Blake  <eblake@redhat.com>
4768         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4769         Use __THROWNL rather than __THROW on static functions.
4771 2013-09-30  Petr Machata  <pmachata@redhat.com>
4773         * elf/elf.h (R_AARCH64_ABS16): New macro.
4774         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4775         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4776         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4777         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4778         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4779         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4780         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4781         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4782         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4783         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4784         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4785         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4786         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4787         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4788         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4789         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4790         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4791         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4792         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4793         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4794         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4795         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4796         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4797         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4798         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4799         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4800         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4801         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4802         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4803         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4804         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4805         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4806         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4807         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4808         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4809         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4810         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4811         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4812         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4813         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4814         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4815         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4816         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4817         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4818         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4819         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4820         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4821         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4822         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4823         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4824         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4825         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4826         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4827         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4828         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4829         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4830         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4831         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4832         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4833         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4834         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4835         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4836         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4837         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4838         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4839         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4840         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4841         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4842         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4843         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4844         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4845         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4846         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4847         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4848         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4849         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4850         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4851         (R_AARCH64_TLSDESC_LDR): Likewise.
4852         (R_AARCH64_TLSDESC_ADD): Likewise.
4853         (R_AARCH64_TLSDESC_CALL): Likewise.
4855 2013-09-30  Andreas Schwab  <schwab@suse.de>
4857         [BZ #15048]
4858         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4859         the nss database lookup.
4860         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4863 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4865         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4867 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4869         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4870         ${Bash-specific parameter/pattern/string} parameter expansion.
4871         * sysdeps/unix/make-syscalls.sh: Likewise.
4873 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4875         * sysdeps/sh/stackguard-macros.h: New file.
4877 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4880         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4881         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4882         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4883         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4884         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4886 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4888         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4889         Fix thread ID register.
4891 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4893         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4894         [POSIX || UNIX98]: Require rather than permitting all symbols from
4895         <time.h>.
4896         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4897         element of struct sched_param.
4898         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4899         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4900         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4901         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4902         constant.
4904 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4906         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4907         argument calculation.
4909 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4911         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4912         Expect macro.
4913         [POSIX] (pthread_attr_t): Do not require type.
4914         [POSIX] (pthread_cond_t): Likewise.
4915         [POSIX] (pthread_condattr_t): Likewise.
4916         [POSIX] (pthread_key_t): Likewise.
4917         [POSIX] (pthread_mutex_t): Likewise.
4918         [POSIX] (pthread_mutexattr_t): Likewise.
4919         [POSIX] (pthread_once_t): Likewise.
4920         [POSIX] (pthread_t): Likewise.
4921         [POSIX-based standards] (pthread_atfork): Expect function.
4923 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4924             Richard Sandiford  <richard@codesourcery.com>
4926         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4927         (swap_endianness_p): New extern variable.
4928         (set_big_endian): New inline function.
4929         (maybe_swap_uint32): Likewise.
4930         (maybe_swap_uint32_array): Likewise.
4931         (maybe_swap_uint32_obstack): Likewise.
4932         * locale/programs/locfile.c: Include <stdbool.h>.
4933         (swap_endianness_p): New variable.
4934         (add_locale_uint32): Call maybe_swap_uint32.
4935         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4936         (write_locale_data): Call maybe_swap_uint32_array.
4937         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4938         maybe_swap_uint32.
4939         (obstack_int32_grow_fast): Likewise.
4940         (output_weightwc): Call maybe_swap_uint32_obstack.
4941         (collate_output): Likewise.
4942         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4943         (OPT_LITTLE_ENDIAN): Likewise.
4944         (options): Add --little-endian and --big-endian options.
4945         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4946         * locale/programs/locarchive.c: Include "locfile.h".
4947         (GET): New macro.
4948         (SET): Likewise.
4949         (INC): Likewise.
4950         (create_archive): Use the new macros to access fields of
4951         structures directly mapped from or written to locale archives.
4952         (oldlocrecentcmp): Likewise.
4953         (enlarge_archive): Likewise.
4954         (insert_name): Likewise.
4955         (add_alias): Likewise.
4956         (add_locale): Likewise.
4957         (delete_locales_from_archive): Likewise.
4958         (show_archive_content): Likewise.
4959         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4960         locale data.
4962 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4964         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4965         http://www.gnu.org/doc/freemanuals.texi.
4966         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4968 2013-09-24  Will Newton  <will.newton@linaro.org>
4970         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4971         macro.
4973 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4975         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4976         unsigned char.
4978 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4980         * manual/threads.texi (POSIX Threads): Fix a typo.
4982 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4984         [BZ #14547]
4985         * string/tst-strcoll-overflow.c: New test case.
4986         * string/Makefile (xtests): Add tst-strcoll-overflow.
4987         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4988         cache if string sizes may cause integer overflow.
4990         [BZ #14547]
4991         * string/strcoll_l.c (coll_seq): New members rule, idx,
4992         save_idx and back_us.
4993         (get_next_seq_nocache): New function.
4994         (do_compare_nocache): New function.
4995         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4996         when malloc fails.
4998 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5000         [BZ #15754]
5001         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5002         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5003         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5005         [BZ #15754]
5006         * elf/Makefile (tests): Add tst-ptrguard1.
5007         (tests-static): Add tst-ptrguard1-static.
5008         (tst-ptrguard1-ARGS): Define.
5009         (tst-ptrguard1-static-ARGS): Define.
5010         * elf/tst-ptrguard1.c: New file.
5011         * elf/tst-ptrguard1-static.c: New file.
5012         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5013         * sysdeps/i386/stackguard-macros.h: Likewise.
5014         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5015         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5016         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5017         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5018         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5019         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5021 2013-09-23  Hector Marco  <hecmargi@upv.es>
5022             Ismael Ripoll  <iripoll@disca.upv.es>
5023             Carlos O'Donell  <carlos@redhat.com>
5025         [BZ #15754]
5026         * sysdeps/generic/stackguard-macros.h: Define
5027         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5028         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5029         Define __pointer_chk_guard_local.
5030         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5031         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5033 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5035         [BZ #15859]
5036         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5038 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5040         * include/string.h (__ffs): Declare as hidden.
5041         * string/ffs.c (__ffs): Define as hidden.
5042         * sysdeps/i386/ffs.c (__ffs): Likewise.
5043         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5044         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5045         * sysdeps/s390/ffs.c (__ffs): Likewise.
5046         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5048 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5050         * NEWS: Mention malloc probes.
5052         * malloc/arena.c (new_heap): New memory_heap_new probe.
5053         (grow_heap): New memory_heap_more probe.
5054         (shrink_heap): New memory_heap_less probe.
5055         (heap_trim): New memory_heap_free probe.
5056         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5057         (systrim): New memory_sbrk_less probe.
5058         * manual/probes.texi: Document them.
5060         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5061         * manual/probes.texi: Document it.
5063         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5064         (__libc_realloc): Add memory_realloc_retry probe.
5065         (__libc_memalign): Add memory_memalign_retry probe.
5066         (__libc_valloc): Add memory_valloc_retry probe.
5067         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5068         (__libc_calloc): Add memory_calloc_retry probe.
5069         * manual/probes.texi: Document them.
5071         * malloc/arena.c (get_free_list): Add probe
5072         memory_arena_reuse_free_list.
5073         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5074         and memory_arena_reuse.
5075         (arena_get2) [!PER_THREAD]: Likewise.
5076         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5077         memory_arena_reuse_realloc.
5078         * manual/probes.texi: Document them.
5080         * malloc/malloc.c (__libc_free): Add
5081         memory_mallopt_free_dyn_thresholds probe.
5082         (__libc_mallopt): Add multiple memory_mallopt probes.
5083         * manual/probes.texi: Document them.
5085         * malloc/malloc.c: Include stap-probe.h.
5086         (__libc_mallopt): Add memory_mallopt probe.
5087         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5088         * manual/probes.texi: New.
5089         * manual/Makefile (chapters): Add probes.
5090         * manual/threads.texi: Set next node.
5092 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5094         [BZ #15963, #13985]
5095         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5096         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5097         Add `Chinese' to `nan' entry name.
5099 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5101         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5102         (POLYNOMIAL): Likewise.
5103         (TAYLOR_SINCOS): Likewise.
5104         (TAYLOR_SLOW): Likewise.
5105         (__sin): Use TAYLOR_SINCOS.
5106         (__cos): Likewise.
5107         (slow): Use TAYLOR_SLOW.
5108         (sloww): Likewise.
5109         (bsloww): Likewise.
5110         (csloww): Likewise.
5112 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5114         * stdlib/strtod_l.c: Fix buffer overrun.
5116 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5118         * benchtests/Makefile (bench): Add sincos.
5119         * benchtests/bench-sincos.c: New file.
5121         * math/libm-test.inc (cos_test_data): New test inputs.
5122         (sin_test_data): Likewise.
5124         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5125         macro.
5126         (__sin): Use it.
5127         (__cos): Likewise.
5128         (slow1): Likewise.
5129         (slow2): Likewise.
5130         (sloww1): Likewise.
5131         (sloww2): Likewise.
5132         (bsloww1): Likewise.
5133         (bsloww2): Likewise.
5134         (cslow2): Likewise.
5135         (csloww1): Likewise.
5136         (csloww2): Likewise.
5138         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5139         function.
5140         (__sin): Use it.
5141         (__cos): Likewise.
5143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5144         gotos.
5145         (__cos): Likewise.
5147 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5149         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5150         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5151         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5152         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5153         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5154         * elf/cache.c (print_entry): Handle the new cache flags.
5156 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5157             Aldy Hernandez  <aldyh@redhat.com>
5159         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5160         Change condition to [_SOFT_FLOAT].
5161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5173         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5176         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5177         declaration.
5179 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5181         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5182         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5183         (__longjmp): Use LOAD_GP to load saved GPRs.
5184         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5185         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5186         (__sigsetjmp): Use SAVE_GP to save GPRs.
5188         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5189         Do not append -msoft-float.
5190         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5192 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5194         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5196 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5198         [BZ #15966]
5199         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5200         (_FPU_GETCW): Use initial "__" on variable and field names but not
5201         on macro parameter name.
5202         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5203         parentheses around reference to macro parameter.
5205 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5207         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5208         prototype.
5209         (ctype_startup): Use uint32_t in cast and sizeof for
5210         ctype->charnames.
5212 2013-09-11  Jia Liu  <proljc@gmail.com>
5214         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5215         __daddr_t_defined.
5216         [__FreeBSD__]: Likewise.
5218 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5221         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5222         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5223         (strchr): Remove __strchr_sse42 ifunc selection.
5224         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5225         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5227 2013-09-11  Will Newton  <will.newton@linaro.org>
5229         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5230         parameter to RES. Remove hardcoded 1000 value.
5231         * benchtests/bench-skeleton.c (main): Pass RES parameter
5232         to TIMING_INIT and multiply result by 1000.
5234 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5238 2013-09-11  Andreas Schwab  <schwab@suse.de>
5240         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5241         if not defined.
5242         (O_TMPFILE) [__USE_GNU]: Define.
5243         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5244         Define.
5246 2013-09-11  Will Newton  <will.newton@linaro.org>
5248         [BZ #15857]
5249         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5250         does not overflow.
5252 2013-09-11  Will Newton  <will.newton@linaro.org>
5254         [BZ #15856]
5255         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5256         does not overflow.
5258 2013-09-11  Will Newton  <will.newton@linaro.org>
5260         [BZ #15855]
5261         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5262         does not overflow.
5264 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5266         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5267         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5268         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5269         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5270         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5272 2013-09-10  Allan McRae  <allan@archlinux.org>
5274         [BZ #15748]
5275         * manual/arith.texi (Parsing of Floats): Clarify
5276         cross-reference.
5278         [BZ #15849]
5279         * manual/install.texi (Running make install): Mention
5280         --enable-pt-chown.
5281         * INSTALL: Regenerated.
5283 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5285         * csu/init-first.c (_init): Remove the !SHARED condition around
5286         FPU control word initialization.
5287         * elf/dl-support.c (_dl_fpu_control): New variable.
5288         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5289         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5290         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5291         * math/test-fpucw-static.c: New file.
5292         * math/test-fpucw-ieee.c: New file.
5293         * math/test-fpucw-ieee-static.c: New file.
5294         * math/Makefile (tests): Add `test-fpucw-ieee' and
5295         `$(tests-static)'.
5296         (tests-static): New variable.
5297         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5298         dependency to...
5299         [($(build-shared),yes)]
5300         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5301         ... this.
5302         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5303         New dependency.
5305 2013-09-09  Allan McRae  <allan@archlinux.org>
5307         [BZ #15939]
5308         * manual/string.texi (Collation Functions): Fix typo in
5309         strcoll example.
5310         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5312         [BZ #15893]
5313         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5315         [BZ #15892]
5316         * libio/memstream.c (open_memstream): Fix memory leak.
5317         * libio/wmemstream.c (open_wmemstream): Likewise.
5319         [BZ #15895]
5320         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5322 2013-09-09  Will Newton  <will.newton@linaro.org>
5324         * malloc/Makefile: Add tst-realloc to tests.
5325         * malloc/tst-realloc.c: New file.
5327 2013-09-09  Allan McRae  <allan@archlinux.org>
5329         [BZ #15844]
5330         * COPYING: Update from GNU website to fix FSF address.
5331         * COPYING.LIB: Likewise.
5333 2013-09-06  David S. Miller  <davem@davemloft.net>
5335         * po/zh_TW.po: Update Chinese (traditional) translation from
5336         translation project.
5338 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5339             Joseph Myers  <joseph@codesourcery.com>
5341         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5342         "localeinfo.h".
5343         (obstack_chunk_alloc): New macro.
5344         (obstack_chunk_free): Likewise.
5345         (record_offset): New function.
5346         (init_locale_data): Likewise.
5347         (align_locale_data): Likewise.
5348         (add_locale_empty): Likewise.
5349         (add_locale_raw_data): Likewise.
5350         (add_locale_raw_obstack): Likewise.
5351         (add_locale_string): Likewise.
5352         (add_locale_wstring): Likewise.
5353         (add_locale_uint32): Likewise.
5354         (add_locale_uint32_array): Likewise.
5355         (add_locale_char): Likewise.
5356         (start_locale_structure): Likewise.
5357         (end_locale_structure): Likewise.
5358         (start_locale_prelude): Likewise.
5359         (end_locale_prelude): Likewise.
5360         (write_locale_data): Take locale_file structure rather than an
5361         iovec.
5362         * locale/programs/locfile.h: Include "obstack.h".
5363         (struct locale_file): Change to store locale file contents instead
5364         of header.
5365         (init_locale_data): New prototype.
5366         (align_locale_data): Likewise.
5367         (add_locale_empty): Likewise.
5368         (add_locale_raw_data): Likewise.
5369         (add_locale_raw_obstack): Likewise.
5370         (add_locale_string): Likewise.
5371         (add_locale_wstring): Likewise.
5372         (add_locale_uint32): Likewise.
5373         (add_locale_uint32_array): Likewise.
5374         (add_locale_char): Likewise.
5375         (start_locale_structure): Likewise.
5376         (end_locale_structure): Likewise.
5377         (start_locale_prelude): Likewise.
5378         (end_locale_prelude): Likewise.
5379         (write_locale_data): Update prototype.
5380         * locale/programs/3level.h (struct TABLE): Remove result field.
5381         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5382         Use new locale_file interface.
5383         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5384         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5385         * locale/programs/ld-address.c (address_output): Use new
5386         locale_file interface.
5387         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5388         NO_ADD_LOCALE.
5389         (collate_finish): Don't call collseq_table_finalize.
5390         (collate_output): Use new locale_file interface.
5391         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5392         in file.
5393         (NO_FINALIZE): Change to NO_ADD_LOCALE.
5394         (TABLE): Move defines earlier in file.
5395         (ELEMENT): Likewise.
5396         (DEFAULT): Likewise.
5397         (wctrans_table_add): Move macro and inline function earlier in
5398         file.
5399         (struct wctype_table): Move type earlier in file.
5400         (add_locale_wctype_table): New static prototype.
5401         (struct locale_ctype_t): Use logical types instead of struct iovec
5402         pointers for members.
5403         (ctype_output): Use new locale_file interface.
5404         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
5405         new locale_file interface.
5406         (allocate_arrays): Update for use of new locale_file interface.
5407         * locale/programs/ld-identification.c (identification_output): Use
5408         new locale_file interface.
5409         * locale/programs/ld-measurement.c (measurement_output): Likewise.
5410         * locale/programs/ld-messages.c (messages_output): Likewise.
5411         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5412         * locale/programs/ld-name.c (name_output): Likewise.
5413         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5414         * locale/programs/ld-paper.c (paper_output): Likewise.
5415         * locale/programs/ld-telephone.c (telephone_output): Likewise.
5416         * locale/programs/ld-time.c (time_output): Likewise.
5418 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5420         * benchtests/Makefile: Add memrchr benchmark.
5421         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5422         benchmark as memrchr.
5423         * benchtests/bench-memrchr-ifunc.c: New file.
5424         * benchtests/bench-memrchr.c: New file.
5426 2013-09-06   Will Newton  <will.newton@linaro.org>
5428         * benchtests/Makefile (string-bench): Add memcpy.
5430 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
5431             Cong Wang  <amwang@redhat.com>
5433         * sysdeps/unix/sysv/linux/bits/in.h
5434         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5435         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5436         before __USE_KERNEL_IPV6_DEFS uses.
5437         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5438         IPPROTO_BEETPH.
5439         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5440         sockaddr_in6, or ipv6_mreq.
5442 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5444         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5445         memory access for final bytes in some large inputs.
5446         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5448 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5450         * string/test-memrchr.c: New file.
5451         * string/test-memrchr-ifunc.c: New file.
5452         * string/Makefile: Add new memrchr testcase.
5454 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
5456         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5457         fanotify_init returns EPERM.
5459 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5461         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5462         errors.
5463         (top level): Treat second token from macro or constant entries for
5464         allowed headers as allowed.
5465         * include/complex.h: Condition internal declarations on
5466         [!_ISOMAC].
5467         * include/fenv.h: Condition include of <stdbool.h> and internal
5468         declarations on [!_ISOMAC].
5470 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5472         [BZ #15923]
5473         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5475 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5477         * configure.in (--enable-versioning): Remove configure option.
5478         (libc_cv_asm_symver_directive): Remove configure test.
5479         (libc_cv_ld_version_script_option): Likewise.
5480         (VERSIONING): Remove variable and AC_SUBST.
5481         (DO_VERSIONING): Remove AC_DEFINE.
5482         * configure: Regenerated.
5483         * config.h.in (DO_VERSIONING): Remove macro.
5484         * Makerules [$(versioning) = yes]: Change conditionals to
5485         [$(build-shared) = yes].
5486         * config.make.in (versioning): Remove variable.
5487         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5488         [$(build-shared) = yes].
5489         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5490         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5491         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5492         [$(build-shared) = yes].
5493         * extra-lib.mk [$(versioning) = yes]: Likewise.
5494         * hurd/Makefile [$(versioning) = yes]: Likewise.
5495         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5496         [SHARED].
5497         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5498         [SHARED].
5499         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5500         [SHARED && !NO_HIDDEN].
5501         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5502         [SHARED].
5503         [SHARED && DO_VERSIONING]: Likewise..
5504         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5505         [$(build-shared) = yes].
5506         * manual/install.texi (--disable-versioning): Remove
5507         documentation.
5508         * INSTALL: Regenerated.
5509         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5510         to [SHARED].
5511         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5512         [$(build-shared) = yes].
5513         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5514         * sysdeps/i386/i686/multiarch/strstr-c.c
5515         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5516         [SHARED && !NO_HIDDEN].
5517         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5518         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5519         * sysdeps/powerpc/powerpc32/dl-machine.c
5520         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5521         * sysdeps/powerpc/powerpc32/sysdep.h
5522         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5523         to [SHARED && PIC && !NO_HIDDEN].
5524         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5525         conditional to [SHARED].
5527 2013-09-04   Will Newton  <will.newton@linaro.org>
5529         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5530         * benchtests/bench-string.h: Include bench-timing.h instead
5531         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5532         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5533         call to HP_TIMING_DIFF_INIT.
5534         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5535         instead of hp-timing.h macros.
5536         * benchtests/bench-memchr.c: Likewise.
5537         * benchtests/bench-memcmp.c: Likewise.
5538         * benchtests/bench-memcpy.c: Likewise.
5539         * benchtests/bench-memmem.c: Likewise.
5540         * benchtests/bench-memmove.c: Likewise.
5541         * benchtests/bench-memset.c: Likewise.
5542         * benchtests/bench-rawmemchr.c: Likewise.
5543         * benchtests/bench-strcasecmp.c: Likewise.
5544         * benchtests/bench-strcasestr.c: Likewise.
5545         * benchtests/bench-strcat.c: Likewise.
5546         * benchtests/bench-strchr.c: Likewise.
5547         * benchtests/bench-strcmp.c: Likewise.
5548         * benchtests/bench-strcpy.c: Likewise.
5549         * benchtests/bench-strcpy_chk.c: Likewise.
5550         * benchtests/bench-strlen.c: Likewise.
5551         * benchtests/bench-strncasecmp.c: Likewise.
5552         * benchtests/bench-strncat.c: Likewise.
5553         * benchtests/bench-strncmp.c: Likewise.
5554         * benchtests/bench-strncpy.c: Likewise.
5555         * benchtests/bench-strnlen.c: Likewise.
5556         * benchtests/bench-strpbrk.c: Likewise.
5557         * benchtests/bench-strrchr.c: Likewise.
5558         * benchtests/bench-strspn.c: Likewise.
5559         * benchtests/bench-strstr.c: Likewise.
5561 2013-09-04  Will Newton  <will.newton@linaro.org>
5563         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5565 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5567         [BZ #15427]
5568         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5569         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5570         * math/libm-test.inc (lgamma_test_data): Add more tests.
5571         * sysdeps/i386/fpu/libm-test-ulps: Update.
5572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5574 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5576         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5578         Add ifunc.
5579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5580         Add strcmp-sse2-unaligned
5581         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5583 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5585         * Versions.def (libc): Add GLIBC_2.19.
5587 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5589         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5590         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5592 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5594         [BZ #14155]
5595         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5596         intermediate calculations in recurrence.
5597         (__ieee754_ynf): Likewise.
5598         * math/libm-test.inc (jn_test_data): Do not allow spurious
5599         underflow exception.  Add more tests.
5600         (yn_test_data): Add more tests.
5601         * sysdeps/i386/fpu/libm-test-ulps: Update.
5602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5604 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5606         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5608 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5610         * csu/init-first.c: Fix then/than typos.
5611         * locale/programs/ld-collate.c: Likewise.
5612         * locale/programs/linereader.h: Likewise.
5613         * manual/charset.texi: Likewise.
5614         * manual/filesys.texi: Likewise.
5615         * manual/stdio.texi: Likewise.
5616         * manual/string.texi: Likewise.
5617         * stdlib/fmtmsg.c: Likewise.
5618         * sysdeps/i386/stpncpy.S: Likewise.
5619         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5620         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5621         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5622         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5624 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5626         * elf/dl-open.c: Fix typos.
5627         * iconvdata/gbbig5.c: Likewise.
5628         * iconvdata/iso-2022-jp.c: Likewise.
5629         * iconv/gconv_int.h: Likewise.
5630         * iconv/loop.c: Likewise.
5631         * nis/rpcsvc/nis.h: Likewise.
5632         * resolv/ns_name.c: Likewise.
5633         * stdio-common/vfscanf.c: Likewise.
5634         * streams/stropts.h: Likewise.
5635         * sunrpc/rpc_thread.c: Likewise.
5636         * sysdeps/i386/strpbrk.S: Likewise.
5637         * sysdeps/ieee754/k_standard.c: Likewise.
5638         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5640         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5641         * sysdeps/mach/hurd/profil.c: Likewise.
5642         * sysdeps/s390/dl-procinfo.h: Likewise.
5643         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5644         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5645         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5646         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5647         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5649 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5651         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5654 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5656         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5657         aix specific files.
5658         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5659         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5660         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5661         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5662         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5663         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5664         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5665         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5667 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5668             Roland McGrath  <roland@hack.frob.com>
5670         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5671         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5673 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5675         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5676         __executable_start symbol instead of _start.
5678 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5680         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5681         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5682         Move macros to...
5683         * sysdeps/gnu/ldsodefs.h: ... this new file.
5685         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5686         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5687         instead of ELFOSABI_LINUX.
5689         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5690         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5691         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5692         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5693         Likewise.
5694         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5695         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5696         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5697         Likewise.
5698         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5699         (ibm_extended_long_double): Add ieee_nan member.
5700         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5701         (do_test): New function.
5703         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5704         TEST_TRUNC.
5705         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5706         functions, renamed from truncdfsf_test, trunctfsf_test,
5707         trunctfdf_test.
5708         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5709         functions.
5710         (do_test): Run all these.
5712 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5714         * argp/argp-help.c: Fix typos.
5715         * argp/argp-parse.c: Likewise.
5716         * debug/backtracesyms.c: Likewise.
5717         * elf/elf.h: Likewise.
5718         * malloc/malloc.c: Likewise.
5719         * nis/nis_print.c: Likewise.
5720         * resolv/res_comp.c: Likewise.
5721         * stdlib/stdlib.h: Likewise.
5722         * sunrpc/clnt_tcp.c: Likewise.
5723         * sunrpc/clnt_udp.c: Likewise.
5724         * sunrpc/clnt_unix.c: Likewise.
5725         * sysdeps/unix/bsd/ptsname.c: Likewise.
5726         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5727         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5729         Likewise.
5730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5731         Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5733         Likewise.
5734         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5736 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5738         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5741 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5743         [BZ #15897]
5744         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5745         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5746         ($(objpfx)bug-dl-leaf): New rule.
5747         ($(objpfx)bug-dl-leaf.so): Likewise.
5748         ($(objpfx)bug-dl-leaf.out): Likewise.
5749         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5750         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5751         * dlfcn/bug-dl-leaf.c: New test.
5752         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5753         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5754         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5755         (dlclose): Likewise.
5756         (dlmopen): Likewise.
5758 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5760         * include/netdb.h [!_ISOMAC]:
5761         Don't include <tls.h>.
5762         (h_errno, __libc_h_errno): Move declaration and macros out of
5763         [_LIBC_REENTRANT].
5765         * include/resolv.h [_RESOLV_H_]:
5766         Don't include <tls.h>.
5767         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5768         * resolv/res_libc.c: Don't include <tls.h>.
5769         (_res): Use __attribute__ ((nocommon)) in place of
5770         __attribute__ ((section (".bss"))).
5772         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5773         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5775         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5777         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5778         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5780         * resolv/res_mkquery.c: Include <sys/time.h>.
5782         * inet/ifreq.c: Moved to ...
5783         * sysdeps/unix/ifreq.c: ... here.
5784         * inet/ifreq.c: New file, true stub version.
5786         * socket/sa_len.c: New file.
5787         * socket/Makefile (aux): Add it.
5788         * sysdeps/unix/sysv/linux/Makefile
5789         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5790         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5791         and #include <socket/sa_len.c>.
5792         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5793         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5795         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5796         * bits/socket.h: ... here.
5798         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5799         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5800         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5802 2013-08-27  Andreas Schwab  <schwab@suse.de>
5804         [BZ #15736]
5805         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5806         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5807         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5808         * string/test-strcasecmp.c (test_main): Run tests in several
5809         locales.
5810         * string/test-strncasecmp.c (test_main): Likewise.
5812         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5813         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5814         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5815         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5816         (__strncasecmp_ssse3) [PIC]: Likewise.
5818 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5820         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5822         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5823         instead of explicitly declaring xdecrypt.
5824         * nis/nss_nis/nis-publickey.c: Likewise.
5826 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5828         [BZ #15890]
5829         * nscd/aicache.c: Include res_hconf.h.
5830         (addhstaiX): Initialize res_hconf.
5832 2013-08-26  Andreas Schwab  <schwab@suse.de>
5834         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5835         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5837 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5839         * nscd/aicache.c (addhstaiX): Fix indentation.
5841 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5843         * configure.ac: Quote $build_pt_chown test.
5844         * configure: Regenerated.
5846 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5848         [BZ #15532]
5849         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5850         * math/s_cexpf.c (__cexpf): Likewise.
5851         * math/s_cexpl.c (__cexpl): Likewise.
5852         * math/libm-test.inc (cexp_test_data): Correct expected return
5853         value for NaN + i0.  Add another test.
5855 2013-08-22  David S. Miller  <davem@davemloft.net>
5857         * po/ca.po: Update Catalan translation from translation project.
5858         * po/uk.po: Add Ukrainian translations from translation project.
5860 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5862         [BZ #15797]
5863         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5864         is infinite, not alongside NaN test.
5865         * math/s_fdimf.c (__fdimf): Likewise.
5866         * math/s_fdiml.c (__fdiml): Likewise.
5867         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5868         errno is unchanged.
5870 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5872         * argp/argp-help.c: Fix typos.
5873         * crypt/speeds.c: Likewise.
5874         * csu/check_fds.c: Likewise.
5875         * elf/dl-load.c: Likewise.
5876         * elf/dl-open.c: Likewise.
5877         * elf/reldep3.c: Likewise.
5878         * elf/reldep.c: Likewise.
5879         * elf/sprof.c: Likewise.
5880         * iconv/iconv_charmap.c: Likewise.
5881         * iconv/skeleton.c: Likewise.
5882         * iconv/strtab.c: Likewise.
5883         * io/lockf64.c: Likewise.
5884         * libio/libioP.h: Likewise.
5885         * resolv/gai_notify.c: Likewise.
5886         * resolv/ns_name.c: Likewise.
5887         * resolv/ns_samedomain.c: Likewise.
5888         * resolv/res_send.c: Likewise.
5889         * stdlib/random.c: Likewise.
5890         * sunrpc/rpc/xdr.h: Likewise.
5891         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5892         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5893         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5894         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5895         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5896         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5897         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5899         * sysdeps/mach/hurd/check_fds.c: Likewise.
5900         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5901         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5902         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5903         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5904         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5905         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5906         * sysdeps/pthread/aio_notify.c: Likewise.
5907         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5908         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5909         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5910         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5911         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5913 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5915         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5916         version if bit_Slow_SSE4_2 is set.
5917         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5918         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5920 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5922         [BZ #15867]
5923         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5924         trampoline stack frame information.
5925         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5926         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5927         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5928         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5929         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5930         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5931         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5932         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5933         sa_flags value.
5934         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5935         interrupting a syscall and set with option SA_SIGINFO.
5937 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5939         [BZ #15531]
5940         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5941         argument is infinite.
5942         * math/s_cprojf.c (__cprojf): Likewise.
5943         * math/s_cprojl.c (__cprojl): Likewise.
5944         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5945         * math/libm-test.inc (cproj_test_data): Add more tests.
5947         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5949         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5950         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5951         size.  Use __ffs to determine corresponding shift.
5953 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5954             Roland McGrath  <roland@hack.frob.com>
5956         * Makefile (INSTALL): Remove trailing blank lines from output of
5957         makeinfo.
5959 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5961         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5962         Align 32 bit compat elf_greg to 8 bytes.
5964 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5966         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5968 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5970         * string/strcoll_l.c (coll_seq): New structure.
5971         (get_next_seq_cached): New function.
5972         (get_next_seq): New function.
5973         (do_compare): New function.
5974         (STRCOLL): Use GNU style definition.  Simplify implementation
5975         by using get_next_seq, get_next_seq_cached and do_compare.
5977 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5979         [BZ #14699]
5980         CVE-2013-4237
5981         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5982         member.
5983         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5984         member.
5985         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5986         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5987         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5988         conditional.
5989         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5990         GETDENTS_64BIT_ALIGNED.
5991         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5992         * manual/filesys.texi (Reading/Closing Directory): Document
5993         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5994         strongly.
5995         * manual/conf.texi (Limits for Files): Add portability note to
5996         NAME_MAX, PATH_MAX.
5997         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5999 2013-08-13  Andreas Schwab  <schwab@suse.de>
6001         [BZ #15749]
6002         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6003         of fabs.
6004         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6005         LDBL_MAX_EXP >= 16384]: Add tests for it.
6007 2013-08-12  David S. Miller  <davem@davemloft.net>
6009         * version.h (RELEASE): Set to "development".
6010         (VERSION): Set to "2.18.90".
6011         * NEWS: Add 2.19 section.
6013 2013-08-03  David S. Miller  <davem@davemloft.net>
6015         * po/ko.po: Update Korean translation from translation project.
6017 2013-08-01  David S. Miller  <davem@davemloft.net>
6019         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6020         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6021         Bilka.
6023 2013-07-30  David S. Miller  <davem@davemloft.net>
6025         * po/fr.po: Update French translation from translation project.
6027 2013-07-28  David S. Miller  <davem@davemloft.net>
6029         * po/cs.po: Update Czech translation from translation project.
6031         * po/sv.po: Update Swedish translation from translation project.
6033 2013-07-27  David S. Miller  <davem@davemloft.net>
6035         * po/eo.po: Update Esperanto translation from translation project.
6037         * po/vi.po: Update Vietnamese translation from translation project.
6039         * po/de.po: Update German translation from translation project.
6041 2013-07-26  David S. Miller  <davem@davemloft.net>
6043         * po/bg.po: Update Bulgarian translation from translation project.
6045         * po/nl.po: Update Dutch translation from translation project.
6046         * po/pl.po: Update Polish translation from translation project.
6047         * po/ru.po: Update Russian translation from translation project.
6049 2013-07-24  David S. Miller  <davem@davemloft.net>
6051         * po/libc.pot: Update.
6053 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6055         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6056         variable page size.
6057         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6058         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6059         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6061 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6063         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6065 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6066             Andreas Schwab  <schwab@suse.de>
6067             Roland McGrath  <roland@hack.frob.com>
6068             Joseph Myers  <joseph@codesourcery.com>
6069             Carlos O'Donell  <carlos@redhat.com>
6071         [BZ #15755]
6072         * config.h.in: Define HAVE_PT_CHOWN.
6073         * config.make.in (build-pt-chown): New variable.
6074         * configure.in (--enable-pt_chown): New configure option.
6075         * configure: Regenerate.
6076         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6077         build-pt-chown is enabled.
6078         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6079         pt_chown to fix pty ownership.
6080         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6081         CLOSE_ALL_FDS.
6082         * manual/install.texi (Configuring and compiling): Mention
6083         --enable-pt_chown. Add @findex for grantpt.
6084         * INSTALL: Regenerate.
6086 2013-07-20  David S. Miller  <davem@davemloft.net>
6088         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6089         difference between 32-bit and 64-bit.
6091 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6093         [BZ #15711]
6094         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6095         Avoid system header dependency with -ffreestanding.
6096         ($(objpfx)bits/syscall%d): Likewise.
6098 2013-07-13  David S. Miller  <davem@davemloft.net>
6100         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6101         underflows from atanl/atan2l due to bug 15319.
6102         (casinh_test_data): Likewise.
6104 2013-07-07  David S. Miller  <davem@davemloft.net>
6106         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6108 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6110         * sysdeps/i386/fpu/libm-test-ulps: Update.
6111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6113 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6115         * configure.in (--enable-lock-elision): Fix message text.
6116         * INSTALL: Regenerate.
6117         * configure: Regenerate.
6119 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6123 2013-07-03  Andreas Jaeger  <aj@suse.de>
6125         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6126         define.
6127         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6128         (ptrace_peeksiginfo_args): Add.
6129         (__ptrace_peeksiginfo_flags): Add.
6130         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6131         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6134 2013-07-03  Allan McRae  <allan@archlinux.org>
6136         * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 2013-07-02  David S. Miller  <davem@davemloft.net>
6140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6142 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6146 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6148         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6151 2013-07-02  Andi Kleen <ak@linux.intel.com>
6153         * config.h.in (ENABLE_LOCK_ELISION): Add.
6154         * configure.in (--enable-lock-elision): Add option.
6155         * manual/install.texi: Document --enable lock elision.
6156         * configure: Regenerate
6157         * INSTALL: Regenerate.
6159 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6161         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6162         SSE4.2 strcasecmp for libc.a.
6163         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6165 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6167         [BZ #13304]
6168         * soft-fp/op-common.h (_FP_FMA): New macro.
6169         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6170         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6171         (_FP_MUL_MEAT_1_imm): ... here.
6172         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6173         (_FP_MUL_MEAT_1_wide): ... here.
6174         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6175         (_FP_MUL_MEAT_1_hard): ... here.
6176         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6177         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6178         (_FP_MUL_MEAT_2_wide): ... here.
6179         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6180         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6181         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6182         (_FP_MUL_MEAT_2_gmp): ... here.
6183         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6184         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6185         (_FP_MUL_MEAT_4_wide): ... here.
6186         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6187         (_FP_MUL_MEAT_4_gmp): ... here.
6188         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6189         (_FP_WFRACBITS_DW_S): Likewise.
6190         (_FP_WFRACXBITS_DW_S): Likewise.
6191         (_FP_HIGHBIT_DW_S): Likewise.
6192         (FP_FMA_S): Likewise.
6193         (_FP_FRAC_HIGH_DW_S): Likewise.
6194         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6195         (_FP_WFRACBITS_DW_D): Likewise.
6196         (_FP_WFRACXBITS_DW_D): Likewise.
6197         (_FP_HIGHBIT_DW_D): Likewise.
6198         (FP_FMA_D): Likewise.
6199         (_FP_FRAC_HIGH_DW_D): Likewise.
6200         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6201         (_FP_WFRACBITS_DW_E): Likewise.
6202         (_FP_WFRACXBITS_DW_E): Likewise.
6203         (_FP_HIGHBIT_DW_E): Likewise.
6204         (FP_FMA_E): Likewise.
6205         (_FP_FRAC_HIGH_DW_E): Likewise.
6206         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6207         (_FP_WFRACBITS_DW_Q): Likewise.
6208         (_FP_WFRACXBITS_DW_Q): Likewise.
6209         (_FP_HIGHBIT_DW_Q): Likewise.
6210         (FP_FMA_Q): Likewise.
6211         (_FP_FRAC_HIGH_DW_Q): Likewise.
6212         * soft-fp/fmasf4.c: New file.
6213         * soft-fp/fmadf4.c: Likewise.
6214         * soft-fp/fmatf4.c: Likewise.
6216 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6219         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6220         Silvermont.
6221         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6222         macro.
6223         (index_Slow_SSE4_2): Likewise.
6224         (index_Prefer_PMINUB_for_stringop): Likewise.
6225         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6226         bit_Slow_SSE4_2 is set.
6227         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6228         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6230 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6232         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6233         rtld_global._dl_hwcap2.
6234         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6235         POWER8.
6236         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6237         POWER8 feature descriptions defined in _dl_hwcap2.
6238         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6239         string handling for POWER8 feature bits.
6240         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6241         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6242         _dl_powerpc_cap_flags.
6243         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6244         * sysdeps/powerpc/rtld-global-offsets.sym
6245         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6246         _dl_hwcap2 in the rtld_global_ro structure.
6248 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6250         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6251         hardware capabilities in support of AT_HWCAP2.
6252         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6253         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6254         GLRO(dl_hwcap2).
6255         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6256         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6257         explicitly the unknown a_type display mechanism is used.
6258         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6259         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6260         struct member.
6261         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6262         to macro prototype for AT_HWCAP2 support.
6263         * sysdeps/i386/dl-procinfo.h: Likewise.
6264         * sysdeps/s390/dl-procinfo.h: Likewise.
6265         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6266         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6267         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6268         return -1 for unknown a_type display fallback.
6269         * sysdeps/sparc/dl-procinfo.h: Likewise.
6270         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6271         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6273 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6275         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6276         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6278 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6280         [BZ #12492]
6281         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6282         mprotect making __stack_prot writable.
6284 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6285             Joseph Myers  <joseph@codesourcery.com>
6287         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6288         as being properly aligned.
6290 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6292         * dlfcn/modstatic5.c: New file.
6293         * dlfcn/tststatic5.c: New file.
6294         * dlfcn/Makefile (tests): Add tststatic5.
6295         (tests-static): Likewise.
6296         (modules-names): Add modstatic5.
6297         (tststatic5-ENV): New variable.
6298         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6300         [BZ #15022]
6301         * elf/dl-support.c (_dl_main_map): New variable.
6302         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6303         (_dl_nns, _dl_load_adds): Set to 1.
6304         (_dl_initial_searchlist): Refer to _dl_main_map.
6305         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6306         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6307         call to _dl_get_origin.
6308         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6309         around call_map.
6310         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6311         * dlfcn/modstatic3.c: New file.
6312         * dlfcn/tststatic3.c: New file.
6313         * dlfcn/tststatic4.c: New file.
6314         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6315         (tests-static): Likewise.
6316         (modules-names): Add modstatic3.
6317         (tststatic3-ENV, tststatic4-ENV): New variables.
6318         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6319         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6321 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6323         * configure.in (CC): Require GCC version 4.4 or later.
6324         * configure: Regenerated.
6325         * manual/install.texi (Tools for Compilation): Update GCC version
6326         requirement.
6327         * INSTALL: Regenerated.
6329 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6331         [BZ #15674]
6332         * string/test-memcmp.c (check2): New.
6333         (main): Call check2.
6335         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6337 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6339         [BZ #15022]
6340         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6341         over to...
6342         (dl_open_worker) [!SHARED]: ... here.
6344 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6346         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6348 2013-06-25  Richard Henderson  <rth@redhat.com>
6350         * locale/programs/locarchive.c: Include <libc-internal.h>
6352 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6354         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6355         trailing whitespace removed.
6357 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6359         [BZ #10283]
6360         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6361         * locale/programs/locarchive.c: Include libc-mmap.h.
6362         (prepare_address_space): Take two new outputs (the mmap base and len).
6363         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6364         values.
6365         (create_archive): Declare new mmap base and len values for
6366         prepare_address_space, and store the result in ah.
6367         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6368         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6369         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6370         Declare new mmap base and len values for
6371         prepare_address_space, and store the result in new_ah.
6372         (open_archive): Declare new mmap base and len values for
6373         prepare_address_space, and store the result in ah.
6374         (close_archive): If ah->mmap_base is not NULL, use that and
6375         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6376         * sysdeps/generic/libc-mmap.h: New file.
6378 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6380         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6381         (ALIGN_UP): Likewise.
6382         (PTR_ALIGN_DOWN): Likewise.
6383         (PTR_ALIGN_UP): Likewise.
6385 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6387         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6388         entry mapped to PPC_PLATFORM_POWER8.
6389         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6390         POWER8.
6391         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6392         (_dl_string_platform): Add case for exporting platform position for
6393         POWER8.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6395         search path to sysdeps/powerpc/powerpc32/power8 directory.
6396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6397         search path to sysdeps/powerpc/powerpc64/power8 directory.
6398         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6399         power7 directories.
6400         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6401         power7 directories.
6403 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6405         * INSTALL: Regenerate.
6407         * nscd/connections.c (nscd_init): Fix comment.
6409 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
6411         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6413         [BZ #15667]
6414         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6415         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6417 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6419         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6420         DL_DST_REQ_STATIC.
6421         (DL_DST_REQ_STATIC): Remove macro.
6423 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6425         [BZ #7006]
6426         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6427         with a shift of 0 bits.
6429 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
6431         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6432         $(tststatic-ENV).
6434 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6436         [BZ #15655]
6437         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6439 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6441         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6442         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6443         accepts -fno-tree-loop-distribute-patterns.
6444         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6445         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6446         recursive call.
6447         * string/memset.c (memset): Likewise.
6448         * string/test-memmove.c (simple_memmove): Disable loop transformation
6449         to library calls.
6450         * string/test-memset.c (simple_memset): Likewise.
6451         * benchtests/bench-memmove.c (simple_memmove): Likewise.
6452         * benchtests/bench-memset.c (simple_memset): Likewise.
6453         * configure: Regenerated.
6455 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
6457         * math/test-misc.c (main): Ignore fesetround failure when failures
6458         of subsequent rounding tests would be ignored.
6460         [BZ #15654]
6461         * math/fedisblxcpt.c (fedisableexcept): Return 0.
6462         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6463         * math/fegetenv.c (__fegetenv): Return 0.
6464         * math/fegetexcept.c (fegetexcept): Return 0.
6465         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6466         FE_TONEAREST.
6467         * math/feholdexcpt.c (feholdexcept): Return 0.
6468         * math/fesetenv.c (__fesetenv): Return 0.
6469         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6470         argument FE_TONEAREST.
6471         * math/feupdateenv.c (__feupdateenv): Return 0.
6472         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6474 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6476         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6477         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6478         ($(objpfx)rtld-%.os rules): Use them.
6480 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6482         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6483         fields.
6485 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6487         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6488         length of target pattern, then descending length of dependency pattern.
6489         * configure.in (AWK): Require gawk 3.1.2 or newer.
6490         * manual/install.texi (Tools for Compilation): Say that we do.
6491         * configure: Regenerated.
6493         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6494         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6495         * scripts/sysd-rules.awk: ... this new script.
6496         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6497         than a glob-style pattern.
6499 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6501         * math/test-misc.c (main): Do not treat incorrectly rounded
6502         conversions as failure unless ROUNDING_TESTS passes.
6504 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6506         [BZ #15631]
6507         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6508         restore exception state around main square root computation, then
6509         check for inexactness explicitly.
6511         * math/libm-test.inc (fma_test_data): Add another test.
6513 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6515         * manual/threads.texi (Non-POSIX Extensions): New document
6516         node.  Document pthread_getattr_default_np and
6517         pthread_setattr_default_np.
6519         * Versions.def (libpthread): Add GLIBC_2.18.
6520         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6522         Likewise.
6523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6526         Likewise.
6527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6528         Likewise.
6529         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6532         Likewise.
6533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6534         Likewise.
6535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6538         Likewise.
6540 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6543         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6545 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6546             H.J. Lu  <hjl.tools@gmail.com>
6548         [BZ #15627]
6549         * sysdeps/x86_64/rtld-memset.c: Remove file.
6550         * sysdeps/x86_64/rtld-memset.S: New file.
6552 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6554         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6555         (test_in_one_mode): Take arguments for whether the rounding mode
6556         is supported for each floating-point type.
6557         (do_test): Pass new arguments to test_in_one_mode using
6558         ROUNDING_TESTS.
6560 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6562         * posix/tst-waitid.c (do_test): Distinguish different instances of
6563         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6564         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6565         before entering the kernel for waitpid.
6567 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6569         * NEWS: Fix note on clock function precision.  Text by Roland
6570         McGrath.
6572 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6574         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6575         it into place only when and if the sanity check passes.
6577 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6579         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6580         output for whether conversion result is exact.  Take argument
6581         indicating whether type is IBM long double.
6582         (round_for_all): Change need_exact field to ibm_ld.
6583         * stdlib/tst-strtod-round.c (struct exactness): New type.
6584         (struct test): Change bool ld_ok field to struct exactness exact.
6585         (TEST): Update all definitions for change to field.
6586         (tests): Regenerate array contents.
6587         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6588         field value.  Check for IBM long double here.
6589         (do_test): Update calls to test_in_one_mode.
6591 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6593         [BZ #12515]
6594         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6595         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6597 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6599         [BZ #15605]
6600         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6601         generated by the compiler on loop optimizations.
6602         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6603         general definitions.
6605 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6607         * math/bug-nextafter.c: Include <math-tests.h>.
6608         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6609         the relevant type.
6610         * math/bug-nexttoward.c: Include <math-tests.h>.
6611         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6612         the relevant type.
6613         * math/test-misc.c: Include <math-tests.h>.
6614         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6615         the relevant type.
6617 2013-06-12  Andreas Jaeger  <aj@suse.de>
6619         * po/ia.po: Update Interlingua translation from translation
6620         project.
6622 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6624         * include/fenv.h: Include stdbool.h.
6625         (struct rm_ctx): New structure.
6626         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6627         Define macro.
6628         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6629         (SET_RESTORE_ROUNDF): Likewise.
6630         (SET_RESTORE_ROUNDL): Likewise.
6631         (SET_RESTORE_ROUND_NOEX): Likewise.
6632         (SET_RESTORE_ROUND_NOEXF): Likewise.
6633         (SET_RESTORE_ROUND_NOEXL): Likewise.
6634         (SET_RESTORE_ROUND_53BIT): Likewise.
6635         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6636         (libc_feresetround_noexf_ctx): Likewise.
6637         (libc_feresetround_noexl_ctx): Likewise.
6638         (libc_feholdsetround_53bit_ctx): Likewise.
6639         (libc_feresetround_53bit_ctx): Likewise.
6640         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6641         (libc_feholdexcept_setround_sse_ctx): New function.
6642         (libc_fesetenv_sse_ctx): Likewise.
6643         (libc_feupdateenv_sse_ctx): Likewise.
6644         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6645         (libc_feholdexcept_setround_387_ctx): Likewise.
6646         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6647         (libc_feholdsetround_387_prec_ctx): Likewise.
6648         (libc_feholdsetround_387_ctx): Likewise.
6649         (libc_feholdsetround_387_53bit_ctx): Likewise.
6650         (libc_feholdsetround_sse_ctx): Likewise.
6651         (libc_feresetround_sse_ctx): Likewise.
6652         (libc_feresetround_387_ctx): Likewise.
6653         (libc_feupdateenv_387_ctx): Likewise.
6654         (libc_feholdexcept_setroundf_ctx): Define macro.
6655         (libc_fesetenvf_ctx): Likewise.
6656         (libc_feupdateenvf_ctx): Likewise.
6657         (libc_feholdsetroundf_ctx): Likewise.
6658         (libc_feresetroundf_ctx): Likewise.
6659         (libc_feholdexcept_setround_ctx): Likewise.
6660         (libc_fesetenv_ctx): Likewise.
6661         (libc_feupdateenv_ctx): Likewise.
6662         (libc_feholdsetround_ctx): Likewise.
6663         (libc_feresetround_ctx): Likewise.
6664         (libc_feholdexcept_setroundl_ctx): Likewise.
6665         (libc_feupdateenvl_ctx): Likewise.
6666         (libc_feholdsetroundl_ctx): Likewise.
6667         (libc_feresetroundl_ctx): Likewise.
6668         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6669         (libc_feresetround_53bit_ctx): Likewise.
6671 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6673         * locale/iso-639.def: Convert to UTF-8.
6675 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6677         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6678         (EXCEPTION_TESTS_double): Likewise.
6679         (EXCEPTION_TESTS_long_double): Likewise.
6680         (EXCEPTION_TESTS): Likewise.
6681         * math/libm-test.inc (test_exceptions): Only test exceptions if
6682         EXCEPTION_TESTS (FLOAT).
6684 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6686         * benchtests/Makefile (string-bench): Add strcpy_chk and
6687         stpcpy_chk.
6688         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6689         * benchtests/bench-stpcpy_chk.c: New file.
6690         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6691         * benchtests/bench-strcpy_chk.c: New file.
6692         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6693         code.
6694         (do_test): Likewise.
6696 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6698         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6699         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6700         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6701         with tabs where appropriate.
6702         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6703         dl-procinfo.h.
6704         [PPC_PLATFORM_PPC440]: Likewise.
6705         [PPC_PLATFORM_PPC464]: Likewise.
6706         [PPC_PLATFORM_PPC476]: Likewise.
6707         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6708         ppc464, and ppc476 platform strings merging from ports/
6709         dl-procinfo.h.
6711 2013-06-11  Andreas Schwab  <schwab@suse.de>
6713         [BZ #14991]
6714         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6715         (from_ucs4_idx): Regenerate.
6716         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6717         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6718         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6719         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6720         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6721         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6722         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6723         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6724         from FROM_LOOP and TO_LOOP specific macros.
6725         (BODY): Handle combining characters.
6726         * iconvdata/BIG5HKSCS.irreversible: Update.
6727         * iconvdata/BIG5HKSCS.precomposed: New file.
6728         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6729         characters.
6730         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6732 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6734         * include/sys/time.h: Fix indentation and add copyright header.
6736         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6737         (do_test): Likewise.
6738         * string/test-memchr.c (do_one_test): Likewise.
6739         (do_test): Likewise.
6740         * string/test-memcmp.c (do_one_test): Likewise.
6741         (do_test): Likewise.
6742         * string/test-memcpy.c (do_one_test): Likewise.
6743         (do_test): Likewise.
6744         * string/test-memmem.c (do_one_test): Likewise.
6745         (do_test): Likewise.
6746         (do_random_tests): Likewise.
6747         * string/test-memmove.c (do_one_test): Likewise.
6748         (do_test): Likewise.
6749         * string/test-memset.c (do_one_test): Likewise.
6750         (do_test): Likewise.
6751         * string/test-rawmemchr.c (do_one_test): Likewise.
6752         (do_test): Likewise.
6753         * string/test-strcasecmp.c (do_one_test): Likewise.
6754         (do_test): Likewise.
6755         * string/test-strcasestr.c (do_one_test): Likewise.
6756         (do_test): Likewise.
6757         * string/test-strcat.c (do_one_test): Likewise.
6758         (do_test): Likewise.
6759         * string/test-strchr.c (do_one_test): Likewise.
6760         (do_test): Likewise.
6761         * string/test-strcmp.c (do_one_test): Likewise.
6762         (do_test): Likewise.
6763         * string/test-strcpy.c (do_one_test): Likewise.
6764         (do_test): Likewise.
6765         * string/test-string.h: Likewise.
6766         (test_init): Likewise.
6767         * string/test-strlen.c (do_one_test): Likewise.
6768         (do_test): Likewise.
6769         * string/test-strncasecmp.c (do_one_test): Likewise.
6770         (do_test): Likewise.
6771         * string/test-strncat.c (do_one_test): Likewise.
6772         (do_test): Likewise.
6773         * string/test-strncmp.c (do_one_test): Likewise.
6774         (do_test_limit): Likewise.
6775         (do_test): Likewise.
6776         * string/test-strncpy.c (do_one_test): Likewise.
6777         (do_test): Likewise.
6778         * string/test-strnlen.c (do_one_test): Likewise.
6779         (do_test): Likewise.
6780         * string/test-strpbrk.c (do_one_test): Likewise.
6781         (do_test): Likewise.
6782         * string/test-strrchr.c (do_one_test): Likewise.
6783         (do_test): Likewise.
6784         * string/test-strspn.c (do_one_test): Likewise.
6785         (do_test): Likewise.
6786         * string/test-strstr.c (do_one_test): Likewise.
6787         (do_test): Likewise.
6789         * benchtests/Makefile (string-bench): Add string benchmarks.
6790         * benchtests/bench-bcopy-ifunc.c: New file.
6791         * benchtests/bench-bcopy.c: New file.
6792         * benchtests/bench-bzero-ifunc.c: New file.
6793         * benchtests/bench-bzero.c: New file.
6794         * benchtests/bench-memccpy-ifunc.c: New file.
6795         * benchtests/bench-memccpy.c: New file.
6796         * benchtests/bench-memchr-ifunc.c: New file.
6797         * benchtests/bench-memchr.c: New file.
6798         * benchtests/bench-memcmp-ifunc.c: New file.
6799         * benchtests/bench-memcmp.c: New file.
6800         * benchtests/bench-memmem-ifunc.c: New file.
6801         * benchtests/bench-memmem.c: New file.
6802         * benchtests/bench-memmove-ifunc.c: New file.
6803         * benchtests/bench-memmove.c: New file.
6804         * benchtests/bench-mempcpy-ifunc.c: New file.
6805         * benchtests/bench-mempcpy.c: New file.
6806         * benchtests/bench-memset-ifunc.c: New file.
6807         * benchtests/bench-memset.c: New file.
6808         * benchtests/bench-rawmemchr-ifunc.c: New file.
6809         * benchtests/bench-rawmemchr.c: New file.
6810         * benchtests/bench-stpcpy-ifunc.c: New file.
6811         * benchtests/bench-stpcpy.c: New file.
6812         * benchtests/bench-stpncpy-ifunc.c: New file.
6813         * benchtests/bench-stpncpy.c: New file.
6814         * benchtests/bench-strcasecmp-ifunc.c: New file.
6815         * benchtests/bench-strcasecmp.c: New file.
6816         * benchtests/bench-strcasestr-ifunc.c: New file.
6817         * benchtests/bench-strcasestr.c: New file.
6818         * benchtests/bench-strcat-ifunc.c: New file.
6819         * benchtests/bench-strcat.c: New file.
6820         * benchtests/bench-strchr-ifunc.c: New file.
6821         * benchtests/bench-strchr.c: New file.
6822         * benchtests/bench-strchrnul-ifunc.c: New file.
6823         * benchtests/bench-strchrnul.c: New file.
6824         * benchtests/bench-strcmp-ifunc.c: New file.
6825         * benchtests/bench-strcmp.c: New file.
6826         * benchtests/bench-strcpy-ifunc.c: New file.
6827         * benchtests/bench-strcpy.c: New file.
6828         * benchtests/bench-strcspn-ifunc.c: New file.
6829         * benchtests/bench-strcspn.c: New file.
6830         * benchtests/bench-strlen-ifunc.c: New file.
6831         * benchtests/bench-strlen.c: New file.
6832         * benchtests/bench-strncasecmp-ifunc.c: New file.
6833         * benchtests/bench-strncasecmp.c: New file.
6834         * benchtests/bench-strncat-ifunc.c: New file.
6835         * benchtests/bench-strncat.c: New file.
6836         * benchtests/bench-strncmp-ifunc.c: New file.
6837         * benchtests/bench-strncmp.c: New file.
6838         * benchtests/bench-strncpy-ifunc.c: New file.
6839         * benchtests/bench-strncpy.c: New file.
6840         * benchtests/bench-strnlen-ifunc.c: New file.
6841         * benchtests/bench-strnlen.c: New file.
6842         * benchtests/bench-strpbrk-ifunc.c: New file.
6843         * benchtests/bench-strpbrk.c: New file.
6844         * benchtests/bench-strrchr-ifunc.c: New file.
6845         * benchtests/bench-strrchr.c: New file.
6846         * benchtests/bench-strspn-ifunc.c: New file.
6847         * benchtests/bench-strspn.c: New file.
6848         * benchtests/bench-strstr-ifunc.c: New file.
6849         * benchtests/bench-strstr.c: New file.
6851         * benchtests/Makefile: Disable parallel execution of targets.
6852         (string-bench): Add memcpy.
6853         (benchset): New variable to store a list of benchmark sets.
6854         (bench-func): Renamed from bench.
6855         (bench-set): New target.
6856         (bench): Depend on bench-func and bench-set.
6857         * benchtests/README: Add section on benchmark sets.
6858         * benchtests/bench-memcpy-ifunc.c: New file.
6859         * benchtests/bench-memcpy.c: New file.
6860         * benchtests/bench-string.h: New file.
6862 2013-06-11  Andreas Schwab  <schwab@suse.de>
6864         [BZ #15577]
6865         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6866         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6867         values in the triple.
6868         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6869         terminator in the group key.
6871 2013-06-11  Andreas Jaeger  <aj@suse.de>
6873         * po/zh_TW.po: Update Chinese (traditional) translation from
6874         translation project.
6876 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6878         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6879         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6880         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6881         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6882         (clock_getcpuclockid): Likewise.
6883         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6884         Add weak_alias and libc_hidden_def.
6885         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6886         * rt/clock_gettime.c (clock_gettime): Rename to
6887         __clock_gettime.  Add weak_alias and libc_hidden_def.
6888         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6889         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6890         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6891         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6892         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6893         Likewise.
6894         * rt/clock_settime.c (clock_settime): Rename to
6895         __clock_settime.  Add weak_alias and libc_hidden_def.
6896         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6898 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6900         * mach/err_boot.sub: Remove trailing whitespace.
6901         * mach/err_ipc.sub: Likewise.
6902         * mach/err_mach.sub: Likewise.
6904         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6905         (ROUNDING_TESTS_double): Likewise.
6906         (ROUNDING_TESTS_long_double): Likewise.
6907         (ROUNDING_TESTS): Likewise.
6908         * math/libm-test.inc: Include <math-tests.h>.
6909         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6910         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6911         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6912         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6914 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6916         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6917         of assigning.
6919 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6921         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6922         otherwise empty TRANS lines.
6923         * sysdeps/gnu/errlist.c: Regenerated.
6925         * catgets/gencat.c (error_print): Use (void) in function
6926         definition.
6927         * crypt/crypt_util.c (__init_des): Likewise.
6928         * crypt/speeds.c (Stop): Likewise.
6929         (main): Likewise.
6930         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6931         * inet/ruserpass.c (token): Likewise.
6932         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6933         * intl/localealias.c (extend_alias_table): Likewise.
6934         * intl/plural-exp.c (init_germanic_plural): Likewise.
6935         * libio/fcloseall.c (__fcloseall): Likewise.
6936         * libio/genops.c (_IO_flush_all): Likewise.
6937         (_IO_flush_all_linebuffered): Likewise.
6938         (_IO_cleanup): Likewise.
6939         (_IO_iter_begin): Likewise.
6940         (_IO_iter_end): Likewise.
6941         (_IO_list_lock): Likewise.
6942         (_IO_list_unlock): Likewise.
6943         (_IO_list_resetlock): Likewise.
6944         * libio/getchar.c (getchar): Likewise.
6945         * libio/getchar_u.c (getchar_unlocked): Likewise.
6946         * libio/getwchar.c (getwchar): Likewise.
6947         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6948         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6949         * login/getpt.c (__getpt): Likewise.
6950         * login/tst-utmp.c (main): Likewise.
6951         * malloc/hooks.c (__malloc_check_init): Likewise.
6952         * malloc/malloc.c (__malloc_stats): Likewise.
6953         * malloc/mtrace.c (tr_break): Likewise.
6954         (mtrace): Likewise.
6955         (muntrace): Likewise.
6956         * misc/fstab.c (endfsent): Likewise.
6957         * misc/getclktck.c (__getclktck): Likewise.
6958         * misc/getdtsz.c (__getdtablesize): Likewise.
6959         * misc/gethostid.c (gethostid): Likewise.
6960         * misc/getpagesize.c (__getpagesize): Likewise.
6961         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6962         (__get_nprocs): Likewise.
6963         (__get_phys_pages): Likewise.
6964         (__get_avphys_pages): Likewise.
6965         * misc/getttyent.c (getttyent): Likewise.
6966         (setttyent): Likewise.
6967         (endttyent): Likewise.
6968         * misc/getusershell.c (getusershell): Likewise.
6969         (endusershell): Likewise.
6970         (setusershell): Likewise.
6971         (initshells): Likewise.
6972         * misc/hsearch.c (__hdestroy): Likewise.
6973         * misc/sync.c (sync): Likewise.
6974         * misc/syslog.c (closelog_internal): Likewise.
6975         (closelog): Likewise.
6976         * misc/ttyslot.c (ttyslot): Likewise.
6977         * misc/vhangup.c (vhangup): Likewise.
6978         * posix/fork.c (__fork): Likewise.
6979         * posix/getegid.c (__getegid): Likewise.
6980         * posix/geteuid.c (__geteuid): Likewise.
6981         * posix/getgid.c (__getgid): Likewise.
6982         * posix/getpid.c (__getpid): Likewise.
6983         * posix/getppid.c (__getppid): Likewise.
6984         * posix/getuid.c (__getuid): Likewise.
6985         * posix/pause.c (pause): Likewise.
6986         * posix/setpgrp.c (setpgrp): Likewise.
6987         * posix/setsid.c (__setsid): Likewise.
6988         * posix/test-vfork.c (noop): Likewise.
6989         * resolv/gethnamaddr.c (_endhtent): Likewise.
6990         (_gethtent): Likewise.
6991         (ht_endhostent): Likewise.
6992         (gethostent): Likewise.
6993         (dns_service): Likewise.
6994         * stdlib/drand48.c (drand48): Likewise.
6995         * stdlib/lrand48.c (lrand48): Likewise.
6996         * stdlib/mrand48.c (mrand48): Likewise.
6997         * stdlib/rand.c (rand): Likewise.
6998         * stdlib/random.c (__random): Likewise.
6999         * stdlib/setenv.c (clearenv): Likewise.
7000         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7001         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7002         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7003         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7004         (__get_nprocs): Likewise.
7005         (__get_phys_pages): Likewise.
7006         (__get_avphys_pages): Likewise.
7007         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7008         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7009         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7010         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7011         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7012         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7013         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7014         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7015         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7016         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7017         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7018         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7019         * sysdeps/posix/clock.c (clock): Likewise.
7020         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7021         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7022         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7023         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7024         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7025         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7026         (__get_nprocs_conf): Likewise.
7027         (__get_phys_pages): Likewise.
7028         (__get_avphys_pages): Likewise.
7029         * time/clock.c (clock): Likewise.
7030         * time/tzset.c (__tzname_max): Likewise.
7032 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7034         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7035         (__bswap_32): Do not use "register".
7036         * crypt/crypt.c (_ufc_doit_r): Likewise.
7037         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7038         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7039         * gmon/gmon.c (__monstartup): Likewise.
7040         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7041         * hurd/hurdmalloc.c (more_memory): Likewise.
7042         (malloc): Likewise.
7043         (free): Likewise.
7044         (realloc): Likewise.
7045         (malloc_fork_prepare): Likewise.
7046         (malloc_fork_parent): Likewise.
7047         (malloc_fork_child): Likewise.
7048         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7049         (_svcauth_des): Likewise.
7050         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7051         * inet/inet_net.c (inet_network): Likewise.
7052         * inet/inet_netof.c (inet_netof): Likewise.
7053         * inet/rcmd.c (__validuser2_sa): Likewise.
7054         * io/fts.c (fts_open): Likewise.
7055         (fts_load): Likewise.
7056         (fts_close): Likewise.
7057         (fts_read): Likewise.
7058         (fts_children): Likewise.
7059         (fts_build): Likewise.
7060         (fts_stat): Likewise.
7061         (fts_sort): Likewise.
7062         (fts_alloc): Likewise.
7063         (fts_lfree): Likewise.
7064         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7065         (_IO_file_xsgetn): Likewise.
7066         (_IO_file_xsgetn_mmap): Likewise.
7067         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7068         (_IO_cookie_write): Likewise.
7069         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7070         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7071         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7072         * malloc/obstack.c (_obstack_begin): Likewise.
7073         (_obstack_begin_1): Likewise.
7074         (_obstack_newchunk): Likewise.
7075         (_obstack_allocated_p): Likewise.
7076         (obstack_free): Likewise.
7077         (_obstack_memory_used): Likewise.
7078         * misc/getttyent.c (getttynam): Likewise.
7079         (getttyent): Likewise.
7080         (skip): Likewise.
7081         (value): Likewise.
7082         * misc/getusershell.c (initshells): Likewise.
7083         * misc/syslog.c (__vsyslog_chk): Likewise.
7084         * misc/ttyslot.c (ttyslot): Likewise.
7085         * nis/nis_hash.c (__nis_hash): Likewise.
7086         * posix/fnmatch_loop.c (FCT): Likewise.
7087         * posix/getconf.c (print_all): Likewise.
7088         (main): Likewise.
7089         * posix/getopt.c (exchange): Likewise.
7090         * posix/glob.c (globfree): Likewise.
7091         (prefix_array): Likewise.
7092         (__glob_pattern_type): Likewise.
7093         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7094         (NS_GET32): Likewise.
7095         (NS_PUT16): Likewise.
7096         (NS_PUT32): Likewise.
7097         * resolv/gethnamaddr.c (getanswer): Likewise.
7098         (gethostbyname2): Likewise.
7099         (gethostbyaddr): Likewise.
7100         (_gethtent): Likewise.
7101         (_gethtbyname2): Likewise.
7102         (_gethtbyaddr): Likewise.
7103         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7104         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7105         * resolv/res_init.c (__res_vinit): Likewise.
7106         (net_mask): Likewise.
7107         * resolv/res_mkquery.c (outchar): Likewise.
7108         (PRINT): Likewise.
7109         * stdio-common/printf_fp.c (outchar): Likewise.
7110         (PRINT): Likewise.
7111         * stdio-common/printf_fphex.c (outchar): Likewise.
7112         (PRINT): Likewise.
7113         * stdio-common/printf_size.c (outchar): Likewise.
7114         (PRINT): Likewise.
7115         * stdio-common/test_rdwr.c (main): Likewise.
7116         * stdio-common/tfformat.c (matches): Likewise.
7117         * stdio-common/vfprintf.c (outchar): Likewise.
7118         (printf_unknown): Likewise.
7119         (buffered_vfprintf): Likewise.
7120         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7121         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7122         (ReadFile): Likewise.
7123         * stdlib/qsort.c (SWAP): Likewise.
7124         (_quicksort): Likewise.
7125         * stdlib/setenv.c (__add_to_environ): Likewise.
7126         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7127         * stdlib/strtol_l.c (__strtol_l): Likewise.
7128         * stdlib/tst-strtod.c (main): Likewise.
7129         * stdlib/tst-strtol.c (main): Likewise.
7130         * stdlib/tst-strtoll.c (main): Likewise.
7131         * string/bits/string2.h (__strcmp_cc): Likewise.
7132         (__strcmp_cg): Likewise.
7133         (__strcspn_c1): Likewise.
7134         (__strcspn_c2): Likewise.
7135         (__strcspn_c3): Likewise.
7136         (__strspn_c1): Likewise.
7137         (__strspn_c2): Likewise.
7138         (__strspn_c3): Likewise.
7139         (__strsep_1c): Likewise.
7140         (__strsep_2c): Likewise.
7141         (__strsep_3c): Likewise.
7142         * string/memccpy.c (__memccpy): Likewise.
7143         * string/stpcpy.c (__stpcpy): Likewise.
7144         * string/strcmp.c (strcmp): Likewise.
7145         * string/strrchr.c (strrchr): Likewise.
7146         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7147         Likewise.
7148         * sysdeps/mach/hurd/getcwd.c
7149         (_hurd_canonicalize_directory_name_internal): Likewise.
7150         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7151         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7152         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7153         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7154         Likewise, in both definitions.
7155         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7156         definitions.
7157         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7158         64] (__bswap_64): Likewise.
7159         * time/test_time.c (main): Likewise.
7160         * time/tzfile.c (__tzfile_read): Likewise.
7161         (__tzfile_compute): Likewise.
7162         * time/tzset.c (__tzset_parse_tz): Likewise.
7163         (tzset_internal): Likewise.
7164         (compute_change): Likewise.
7165         * wcsmbs/wcscat.c (__wcscat): Likewise.
7166         * wcsmbs/wcschr.c (wcschr): Likewise.
7167         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7168         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7169         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7170         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7171         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7172         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7173         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7174         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7175         * wcsmbs/wmemset.c (wmemset): Likewise.
7177 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7179         * scripts/config.guess: Update to version 2013-05-16.
7180         * scripts/config.sub: Update to version 2013-04-24.
7181         * scripts/install-sh: Update to version 2011-11-20.07.
7182         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7183         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7185 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7187         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7188         * elf/sln.c: Likewise.
7189         * hurd/hurd/ioctl.h: Likewise.
7190         * hurd/hurdmalloc.c: Likewise.
7191         * hurd/xattr.c: Likewise.
7192         * include/shlib-compat.h: Likewise.
7193         * inet/ruserpass.c: Likewise.
7194         * libio/iofgets_u.c: Likewise.
7195         * libio/iofgetws_u.c: Likewise.
7196         * locale/programs/ld-identification.c: Likewise.
7197         * locale/programs/ld-time.c: Likewise.
7198         * mach/msg-destroy.c: Likewise.
7199         * nss/nss_files/files-netgrp.c: Likewise.
7200         * resolv/res_data.c: Likewise.
7201         * soft-fp/op-1.h: Likewise.
7202         * soft-fp/op-2.h: Likewise.
7203         * soft-fp/op-4.h: Likewise.
7204         * soft-fp/op-common.h: Likewise.
7205         * stdio-common/printf_fphex.c: Likewise.
7206         * stdlib/strtod_l.c: Likewise.
7207         * sunrpc/rpc/clnt.h: Likewise.
7208         * sysdeps/generic/framestate.c: Likewise.
7209         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7210         * sysdeps/i386/bsd-setjmp.S: Likewise.
7211         * sysdeps/i386/__longjmp.S: Likewise.
7212         * sysdeps/i386/setjmp.S: Likewise.
7213         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7214         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7215         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7216         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7217         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7218         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7219         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7220         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7221         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7222         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7223         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7224         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7225         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7226         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7227         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7228         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7229         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7230         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7231         * sysdeps/ieee754/support.c: Likewise.
7232         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7233         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7234         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7235         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7236         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7237         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7238         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7239         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7240         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7241         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7242         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7243         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7244         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7245         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7246         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7247         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7248         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7251 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7253         * posix/transbug.c: Remove executable mode.
7255 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7257         * crypt/speeds.c: Remove trailing whitespace.
7258         * dlfcn/default.c: Likewise.
7259         * elf/ifuncdep2.c: Likewise.
7260         * elf/ifuncmain1.c: Likewise.
7261         * elf/ifuncmain1vis.c: Likewise.
7262         * elf/testobj.h: Likewise.
7263         * elf/tst-stackguard1.c: Likewise.
7264         * gmon/sys/gmon.h: Likewise.
7265         * hurd/hurdmsg.c: Likewise.
7266         * hurd/new-fd.c: Likewise.
7267         * hurd/ports-get.c: Likewise.
7268         * iconvdata/ibm1008_420.c: Likewise.
7269         * inet/tst-getni1.c: Likewise.
7270         * inet/tst-getni2.c: Likewise.
7271         * libio/ioungetc.c: Likewise.
7272         * libio/wfiledoalloc.c: Likewise.
7273         * manual/libm-err-tab.pl: Likewise.
7274         * math/w_dremf.c: Likewise.
7275         * misc/ftruncate.c: Likewise.
7276         * posix/bug-glob2.c: Likewise.
7277         * posix/tst-pcre.c: Likewise.
7278         * posix/wait4.c: Likewise.
7279         * resolv/README: Likewise.
7280         * resolv/res_debug.h: Likewise.
7281         * resolv/tst-inet_ntop.c: Likewise.
7282         * setjmp/bug269-setjmp.c: Likewise.
7283         * soft-fp/extended.h: Likewise.
7284         * soft-fp/op-1.h: Likewise.
7285         * soft-fp/op-2.h: Likewise.
7286         * soft-fp/op-4.h: Likewise.
7287         * soft-fp/op-8.h: Likewise.
7288         * soft-fp/testit.c: Likewise.
7289         * stdio-common/bug16.c: Likewise.
7290         * stdlib/random.c: Likewise.
7291         * sunrpc/rpcsvc/rquota.x: Likewise.
7292         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7293         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7295         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7296         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7297         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7298         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7299         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7300         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7301         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7302         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7303         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7304         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7305         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7306         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7307         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7308         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7309         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7310         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7311         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7312         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7313         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7314         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7315         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7316         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7317         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7319         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7320         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7321         * sysdeps/ieee754/s_lib_version.c: Likewise.
7322         * sysdeps/mach/hurd/check_fds.c: Likewise.
7323         * sysdeps/mach/hurd/getsockname.c: Likewise.
7324         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7325         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7326         * sysdeps/powerpc/bits/link.h: Likewise.
7327         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7328         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7329         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7330         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7331         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7332         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7333         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7334         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7335         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7336         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7337         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7338         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7339         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7340         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7341         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7342         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7343         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7344         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7346         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7347         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7348         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7349         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7350         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7351         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7352         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7353         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7354         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7355         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7356         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7357         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7358         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7359         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7360         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7361         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7362         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7363         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7364         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7365         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7366         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7367         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7368         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7369         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7370         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7371         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7372         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7373         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7374         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7375         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7376         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7377         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7378         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7379         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7380         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7381         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7382         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7383         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7384         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7385         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7386         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7387         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7388         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7389         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7390         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7391         * sysdeps/powerpc/sysdep.h: Likewise.
7392         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7393         * sysdeps/s390/s390-64/sub_n.S: Likewise.
7394         * sysdeps/sh/dl-trampoline.S: Likewise.
7395         * sysdeps/sh/memset.S: Likewise.
7396         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7397         * sysdeps/sh/strlen.S: Likewise.
7398         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7399         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7400         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7401         * sysdeps/sparc/sparc32/rem.S: Likewise.
7402         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7403         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7404         * sysdeps/sparc/sparc32/strchr.S: Likewise.
7405         * sysdeps/sparc/sparc32/udiv.S: Likewise.
7406         * sysdeps/sparc/sparc32/urem.S: Likewise.
7407         * sysdeps/sparc/sparc64/add_n.S: Likewise.
7408         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7409         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7410         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7411         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7412         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7413         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7414         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7415         * sysdeps/unix/bsd/times.c: Likewise.
7416         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7417         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7421         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7422         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7423         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7424         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7425         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7426         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7427         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7428         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7429         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7430         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7431         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7432         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7433         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7434         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7435         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7436         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7437         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7439         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7440         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7441         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7442         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7443         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7444         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7445         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7446         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7447         * sysdeps/x86_64/strcspn.S: Likewise.
7449 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7451         * locale/C-translit.h: Revert #include <stdint.h> because this is a
7452         generated file.  Regenerate properly from gen-translit.pl.
7453         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
7454         locale/C-translit.h.
7456 2013-06-05  Andreas Schwab  <schwab@suse.de>
7458         [BZ #15100]
7459         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7460         week as 6 instead of -1.
7461         * time/tst-strptime.c (day_tests): Add test case.
7463 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7465         * sysdeps/generic/math_private.h
7466         (libc_feholdexcept_setround_53bit): Replace with
7467         libc_feholdsetround_53bit.
7468         (libc_feupdateenv_53bit): Replace with
7469         libc_feresetround_53bit.
7470         (SET_RESTORE_ROUND_53BIT): Adjust.
7472 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7474         * string/test-strchrnul.c: Add copyright header.
7476         * posix/tst-getaddrinfo4.c: Increase test timeout.
7478 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7480         [BZ #15536]
7481         * math/libm-test.inc (MAX_EXP): Remove
7482         (MIN_EXP): Define.
7483         (ulp): Use MIN_EXP - MANT_DIG.
7484         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7486 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7488         * po/be.po: Revert last change.
7489         * po/zh_CN.po: Likewise.
7490         * po/header.pot: Likewise.
7492 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7494         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7495         link-libc-deps to empty as target-specific variable.
7496         * Makerules (link-libc-args): New variable.
7497         (libc-for-link): Likewise.
7498         (link-libc-deps): Likewise.
7499         (lib%.so): Depend on $(link-libc-deps).  Link with
7500         $(link-libc-args).
7501         (build-module): Link with $(link-libc-args).
7502         (build-module-asneeded): Likewise.
7503         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7504         list of objects.
7505         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7506         target-specific variable.
7507         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7508         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7509         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7510         libc.
7511         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7512         libc and ld.so.
7513         ($(objpfx)libpcprofile.so): Likewise.
7514         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7515         libc_nonshared.a.
7516         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7517         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7518         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7519         $(link-libc-deps).
7520         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7521         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7522         * login/Makefile ($(objpfx)libutil.so): Likewise.
7523         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7524         * math/Makefile ($(objpfx)libm.so): Likewise.
7525         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7526         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7527         variable instead of depending directly on libc.
7528         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7529         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7530         $(link-libc-deps).
7531         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7532         libc.
7533         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7534         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7535         ($(objpfx)libanl.so): Likewise.
7536         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7537         ld.so.
7538         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7539         $(link-libc-deps).
7540         * sysdeps/i386/fpu/Makefile: Remove file.
7541         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7542         ($(objpfx)libm.so): Remove dependency on ld.so.
7544 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7546         [BZ # 15553]
7547         * nis/yp_xdr.c (XDRMAXNAME): Define.
7548         (XDRMAXRECORD): Define.
7549         (xdr_domainname): Use XDRMAXNAME.
7550         (xdr_mapname): Likewise.
7551         (xdr_peername): Likewise.
7552         (xdr_keydat): Use XDRMAXRECORD.
7553         (xdr_valdat): Likewise.
7555 2013-05-30  Jeff Law  <law@redhat.com>
7557         [BZ #14256]
7558         * manual/errno.texi (ESTALE): Update to account for more than
7559         just NFS file systems.
7560         * sysdeps/gnu/errlist.c: Regenerated.
7562 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7564         [BZ #15465]
7565         * elf/Makefile (tests): Add tst-null-argv.
7566         (modules-names):  Add tst-null-argv-lib.
7567         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7568         (tst-null-argv-ENV): Set environment for tst-null-argv.
7569         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7570         (RTLD_PROGNAME): New macro.
7571         * elf/tst-null-argv.c: New test case.
7572         * elf/tst-null-argv-lib.c: Library for test case.
7573         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7574         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7575         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7576         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7577         * elf/dl-init.c (call_init): Likewise.
7578         (_dl_init): Likewise.
7579         * elf/dl-load.c (print_search_path): Likewise.
7580         (_dl_map_object): Likewise.
7581         * elf/dl-lookup.c (do_lookup_x): Likewise.
7582         (add_dependency): Likewise.
7583         (_dl_lookup_symbol_x): Likewise.
7584         (_dl_debug_bindings): Likewise.
7585         * elf/dl-open.c (_dl_show_scope): Likewise.
7586         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7587         * elf/dl-version.c (match_symbol): Likewise.
7588         (_dl_check_map_versions): Likewise.
7589         * elf/rtld.c (dl_main): Likewise.
7590         (print_unresolved): Use RTLD_PROGNAME.
7591         (print_missing_version): Likewise.
7592         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7593         (elf_machine_rela): Likewise.
7594         * sysdeps/powerpc/powerpc32/dl-machine.c
7595         (__process_machine_rela): Likewise.
7596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7597         Likewise.
7598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7599         Likewise.
7600         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7601         Likewise.
7602         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7603         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7604         Likewise.
7605         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7606         Likewise.
7607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7609 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7611         * po/be.po: Add descriptive title.
7612         * po/zh_CN.po: Likewise.
7613         * po/header.pot: Likewise.
7615 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7617         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7618         error message.
7619         (enlarge_archive): Likewise.
7621 2013-05-28  Ben North  <ben@redfrontdoor.org>
7623         * manual/arith.texi (frexp): It is the magnitude of the return
7624         value which lies in [0.5, 1), not the return value itself.
7626 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7630 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7632         * stdio-common/bug26.c (main): Correct fscanf template.
7634         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7635         declare _dl_skip_args.
7637         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7638         Don't declare.
7640         * manual/platform.texi: Add missing @end deftypefun.
7642 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7644         [BZ #15529]
7645         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7646         bit of mantissa of 2^16382.
7647         * math/libm-test.inc (hypot_test_data): Add more tests.
7649         * math/libm-test.inc: Add drem and pow10 to list of tested
7650         functions.
7651         (pow10_test): New function.
7652         (drem_test): Likewise.
7653         (drem_test_tonearest): Likewise.
7654         (drem_test_towardzero): Likewise.
7655         (drem_test_downward): Likewise.
7656         (drem_test_upward): Likewise.
7657         (main): Call the new functions.
7659         * math/libm-test.inc (finite_test_data): Remove.
7660         (finite_test): Run tests from isfinite_test_data.
7661         (gamma_test_data): Remove.
7662         (gamma_test): Run tests from lgamma_test_data.
7663         * sysdeps/i386/fpu/libm-test-ulps: Update.
7664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7666 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7668         * manual/platform.texi: Add PowerPC PPR function set documentation.
7669         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7670         implementation.
7672 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7674         * math/libm-test.inc (MAX_EXP): Define.
7675         (ULPDIFF): Define.
7676         (ulp): New function.
7677         (check_float_internal): Use ULPDIFF.
7678         (cpow_test): Disable failing test.
7679         (check_ulp): Test ulp() implemetnation.
7680         (main): Call check_ulp before starting tests.
7682 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7684         * math/gen-libm-test.pl (generate_testfile): Do not handle
7685         START_DATA and END_DATA.
7686         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7687         END_DATA.
7688         (acos_tonearest_test_data): Likewise.
7689         (acos_towardzero_test_data): Likewise.
7690         (acos_downward_test_data): Likewise.
7691         (acos_upward_test_data): Likewise.
7692         (acosh_test_data): Likewise.
7693         (asin_test_data): Likewise.
7694         (asin_tonearest_test_data): Likewise.
7695         (asin_towardzero_test_data): Likewise.
7696         (asin_downward_test_data): Likewise.
7697         (asin_upward_test_data): Likewise.
7698         (asinh_test_data): Likewise.
7699         (atan_test_data): Likewise.
7700         (atanh_test_data): Likewise.
7701         (atan2_test_data): Likewise.
7702         (cabs_test_data): Likewise.
7703         (cacos_test_data): Likewise.
7704         (cacosh_test_data): Likewise.
7705         (carg_test_data): Likewise.
7706         (casin_test_data): Likewise.
7707         (casinh_test_data): Likewise.
7708         (catan_test_data): Likewise.
7709         (catanh_test_data): Likewise.
7710         (cbrt_test_data): Likewise.
7711         (ccos_test_data): Likewise.
7712         (ccosh_test_data): Likewise.
7713         (ceil_test_data): Likewise.
7714         (cexp_test_data): Likewise.
7715         (cimag_test_data): Likewise.
7716         (clog_test_data): Likewise.
7717         (clog10_test_data): Likewise.
7718         (conj_test_data): Likewise.
7719         (copysign_test_data): Likewise.
7720         (cos_test_data): Likewise.
7721         (cos_tonearest_test_data): Likewise.
7722         (cos_towardzero_test_data): Likewise.
7723         (cos_downward_test_data): Likewise.
7724         (cos_upward_test_data): Likewise.
7725         (cosh_test_data): Likewise.
7726         (cosh_tonearest_test_data): Likewise.
7727         (cosh_towardzero_test_data): Likewise.
7728         (cosh_downward_test_data): Likewise.
7729         (cosh_upward_test_data): Likewise.
7730         (cpow_test_data): Likewise.
7731         (cproj_test_data): Likewise.
7732         (creal_test_data): Likewise.
7733         (csin_test_data): Likewise.
7734         (csinh_test_data): Likewise.
7735         (csqrt_test_data): Likewise.
7736         (ctan_test_data): Likewise.
7737         (ctan_tonearest_test_data): Likewise.
7738         (ctan_towardzero_test_data): Likewise.
7739         (ctan_downward_test_data): Likewise.
7740         (ctan_upward_test_data): Likewise.
7741         (ctanh_test_data): Likewise.
7742         (ctanh_tonearest_test_data): Likewise.
7743         (ctanh_towardzero_test_data): Likewise.
7744         (ctanh_downward_test_data): Likewise.
7745         (ctanh_upward_test_data): Likewise.
7746         (erf_test_data): Likewise.
7747         (erfc_test_data): Likewise.
7748         (exp_test_data): Likewise.
7749         (exp_tonearest_test_data): Likewise.
7750         (exp_towardzero_test_data): Likewise.
7751         (exp_downward_test_data): Likewise.
7752         (exp_upward_test_data): Likewise.
7753         (exp10_test_data): Likewise.
7754         (exp2_test_data): Likewise.
7755         (expm1_test_data): Likewise.
7756         (fabs_test_data): Likewise.
7757         (fdim_test_data): Likewise.
7758         (finite_test_data): Likewise.
7759         (floor_test_data): Likewise.
7760         (fma_test_data): Likewise.
7761         (fma_towardzero_test_data): Likewise.
7762         (fma_downward_test_data): Likewise.
7763         (fma_upward_test_data): Likewise.
7764         (fmax_test_data): Likewise.
7765         (fmin_test_data): Likewise.
7766         (fmod_test_data): Likewise.
7767         (fpclassify_test_data): Likewise.
7768         (frexp_test_data): Likewise.
7769         (gamma_test_data): Likewise.
7770         (hypot_test_data): Likewise.
7771         (ilogb_test_data): Likewise.
7772         (isfinite_test_data): Likewise.
7773         (isgreater_test_data): Likewise.
7774         (isgreaterequal_test_data): Likewise.
7775         (isinf_test_data): Likewise.
7776         (isless_test_data): Likewise.
7777         (islessequal_test_data): Likewise.
7778         (islessgreater_test_data): Likewise.
7779         (isnan_test_data): Likewise.
7780         (isnormal_test_data): Likewise.
7781         (issignaling_test_data): Likewise.
7782         (isunordered_test_data): Likewise.
7783         (j0_test_data): Likewise.
7784         (j1_test_data): Likewise.
7785         (jn_test_data): Likewise.
7786         (ldexp_test_data): Likewise.
7787         (lgamma_test_data): Likewise.
7788         (lrint_test_data): Likewise.
7789         (lrint_tonearest_test_data): Likewise.
7790         (lrint_towardzero_test_data): Likewise.
7791         (lrint_downward_test_data): Likewise.
7792         (lrint_upward_test_data): Likewise.
7793         (llrint_test_data): Likewise.
7794         (llrint_tonearest_test_data): Likewise.
7795         (llrint_towardzero_test_data): Likewise.
7796         (llrint_downward_test_data): Likewise.
7797         (llrint_upward_test_data): Likewise.
7798         (log_test_data): Likewise.
7799         (log10_test_data): Likewise.
7800         (log1p_test_data): Likewise.
7801         (log2_test_data): Likewise.
7802         (logb_test_data): Likewise.
7803         (logb_downward_test_data): Likewise.
7804         (lround_test_data): Likewise.
7805         (llround_test_data): Likewise.
7806         (modf_test_data): Likewise.
7807         (nearbyint_test_data): Likewise.
7808         (nextafter_test_data): Likewise.
7809         (nexttoward_test_data): Likewise.
7810         (pow_test_data): Likewise.
7811         (pow_tonearest_test_data): Likewise.
7812         (pow_towardzero_test_data): Likewise.
7813         (pow_downward_test_data): Likewise.
7814         (pow_upward_test_data): Likewise.
7815         (remainder_test_data): Likewise.
7816         (remainder_tonearest_test_data): Likewise.
7817         (remainder_towardzero_test_data): Likewise.
7818         (remainder_downward_test_data): Likewise.
7819         (remainder_upward_test_data): Likewise.
7820         (remquo_test_data): Likewise.
7821         (rint_test_data): Likewise.
7822         (rint_tonearest_test_data): Likewise.
7823         (rint_towardzero_test_data): Likewise.
7824         (rint_downward_test_data): Likewise.
7825         (rint_upward_test_data): Likewise.
7826         (round_test_data): Likewise.
7827         (scalb_test_data): Likewise.
7828         (scalbn_test_data): Likewise.
7829         (scalbln_test_data): Likewise.
7830         (signbit_test_data): Likewise.
7831         (sin_test_data): Likewise.
7832         (sin_tonearest_test_data): Likewise.
7833         (sin_towardzero_test_data): Likewise.
7834         (sin_downward_test_data): Likewise.
7835         (sin_upward_test_data): Likewise.
7836         (sincos_test_data): Likewise.
7837         (sinh_test_data): Likewise.
7838         (sinh_tonearest_test_data): Likewise.
7839         (sinh_towardzero_test_data): Likewise.
7840         (sinh_downward_test_data): Likewise.
7841         (sinh_upward_test_data): Likewise.
7842         (sqrt_test_data): Likewise.
7843         (tan_test_data): Likewise.
7844         (tan_tonearest_test_data): Likewise.
7845         (tan_towardzero_test_data): Likewise.
7846         (tan_downward_test_data): Likewise.
7847         (tan_upward_test_data): Likewise.
7848         (tanh_test_data): Likewise.
7849         (tgamma_test_data): Likewise.
7850         (trunc_test_data): Likewise.
7851         (y0_test_data): Likewise.
7852         (y1_test_data): Likewise.
7853         (yn_test_data): Likewise.
7854         (significand_test_data): Likewise.
7856         * math/gen-libm-test.pl (@functions): Remove variable.
7857         (generate_testfile): Don't handle START and END lines.
7858         * math/libm-test.inc (START): New macro.
7859         (END): Likewise.
7860         (END_COMPLEX): Likewise.
7861         (acos_test): Use END macro without arguments.
7862         (acos_test_tonearest): Likewise.
7863         (acos_test_towardzero): Likewise.
7864         (acos_test_downward): Likewise.
7865         (acos_test_upward): Likewise.
7866         (acosh_test): Likewise.
7867         (asin_test): Likewise.
7868         (asin_test_tonearest): Likewise.
7869         (asin_test_towardzero): Likewise.
7870         (asin_test_downward): Likewise.
7871         (asin_test_upward): Likewise.
7872         (asinh_test): Likewise.
7873         (atan_test): Likewise.
7874         (atanh_test): Likewise.
7875         (atan2_test): Likewise.
7876         (cabs_test): Likewise.
7877         (cacos_test): Use END_COMPLEX macro without arguments.
7878         (cacosh_test): Likewise.
7879         (carg_test): Use END macro without arguments.
7880         (casin_test): Use END_COMPLEX macro without arguments.
7881         (casinh_test): Likewise.
7882         (catan_test): Likewise.
7883         (catanh_test): Likewise.
7884         (cbrt_test): Use END macro without arguments.
7885         (ccos_test): Use END_COMPLEX macro without arguments.
7886         (ccosh_test): Likewise.
7887         (ceil_test): Use END macro without arguments.
7888         (cexp_test): Use END_COMPLEX macro without arguments.
7889         (cimag_test): Use END macro without arguments.
7890         (clog_test): Use END_COMPLEX macro without arguments.
7891         (clog10_test): Likewise.
7892         (conj_test): Likewise.
7893         (copysign_test): Use END macro without arguments.
7894         (cos_test): Likewise.
7895         (cos_test_tonearest): Likewise.
7896         (cos_test_towardzero): Likewise.
7897         (cos_test_downward): Likewise.
7898         (cos_test_upward): Likewise.
7899         (cosh_test): Likewise.
7900         (cosh_test_tonearest): Likewise.
7901         (cosh_test_towardzero): Likewise.
7902         (cosh_test_downward): Likewise.
7903         (cosh_test_upward): Likewise.
7904         (cpow_test): Use END_COMPLEX macro without arguments.
7905         (cproj_test): Likewise.
7906         (creal_test): Use END macro without arguments.
7907         (csin_test): Use END_COMPLEX macro without arguments.
7908         (csinh_test): Likewise.
7909         (csqrt_test): Likewise.
7910         (ctan_test): Likewise.
7911         (ctan_test_tonearest): Likewise.
7912         (ctan_test_towardzero): Likewise.
7913         (ctan_test_downward): Likewise.
7914         (ctan_test_upward): Likewise.
7915         (ctanh_test): Likewise.
7916         (ctanh_test_tonearest): Likewise.
7917         (ctanh_test_towardzero): Likewise.
7918         (ctanh_test_downward): Likewise.
7919         (ctanh_test_upward): Likewise.
7920         (erf_test): Use END macro without arguments.
7921         (erfc_test): Likewise.
7922         (exp_test): Likewise.
7923         (exp_test_tonearest): Likewise.
7924         (exp_test_towardzero): Likewise.
7925         (exp_test_downward): Likewise.
7926         (exp_test_upward): Likewise.
7927         (exp10_test): Likewise.
7928         (exp2_test): Likewise.
7929         (expm1_test): Likewise.
7930         (fabs_test): Likewise.
7931         (fdim_test): Likewise.
7932         (finite_test): Likewise.
7933         (floor_test): Likewise.
7934         (fma_test): Likewise.
7935         (fma_test_towardzero): Likewise.
7936         (fma_test_downward): Likewise.
7937         (fma_test_upward): Likewise.
7938         (fmax_test): Likewise.
7939         (fmin_test): Likewise.
7940         (fmod_test): Likewise.
7941         (fpclassify_test): Likewise.
7942         (frexp_test): Likewise.
7943         (gamma_test): Likewise.
7944         (hypot_test): Likewise.
7945         (ilogb_test): Likewise.
7946         (isfinite_test): Likewise.
7947         (isgreater_test): Likewise.
7948         (isgreaterequal_test): Likewise.
7949         (isinf_test): Likewise.
7950         (isless_test): Likewise.
7951         (islessequal_test): Likewise.
7952         (islessgreater_test): Likewise.
7953         (isnan_test): Likewise.
7954         (isnormal_test): Likewise.
7955         (issignaling_test): Likewise.
7956         (isunordered_test): Likewise.
7957         (j0_test): Likewise.
7958         (j1_test): Likewise.
7959         (jn_test): Likewise.
7960         (ldexp_test): Likewise.
7961         (lgamma_test): Likewise.
7962         (lrint_test): Likewise.
7963         (lrint_test_tonearest): Likewise.
7964         (lrint_test_towardzero): Likewise.
7965         (lrint_test_downward): Likewise.
7966         (lrint_test_upward): Likewise.
7967         (llrint_test): Likewise.
7968         (llrint_test_tonearest): Likewise.
7969         (llrint_test_towardzero): Likewise.
7970         (llrint_test_downward): Likewise.
7971         (llrint_test_upward): Likewise.
7972         (log_test): Likewise.
7973         (log10_test): Likewise.
7974         (log1p_test): Likewise.
7975         (log2_test): Likewise.
7976         (logb_test): Likewise.
7977         (logb_test_downward): Likewise.
7978         (lround_test): Likewise.
7979         (llround_test): Likewise.
7980         (modf_test): Likewise.
7981         (nearbyint_test): Likewise.
7982         (nextafter_test): Likewise.
7983         (nexttoward_test): Likewise.
7984         (pow_test): Likewise.
7985         (pow_test_tonearest): Likewise.
7986         (pow_test_towardzero): Likewise.
7987         (pow_test_downward): Likewise.
7988         (pow_test_upward): Likewise.
7989         (remainder_test): Likewise.
7990         (remainder_test_tonearest): Likewise.
7991         (remainder_test_towardzero): Likewise.
7992         (remainder_test_downward): Likewise.
7993         (remainder_test_upward): Likewise.
7994         (remquo_test): Likewise.
7995         (rint_test): Likewise.
7996         (rint_test_tonearest): Likewise.
7997         (rint_test_towardzero): Likewise.
7998         (rint_test_downward): Likewise.
7999         (rint_test_upward): Likewise.
8000         (round_test): Likewise.
8001         (scalb_test): Likewise.
8002         (scalbn_test): Likewise.
8003         (scalbln_test): Likewise.
8004         (signbit_test): Likewise.
8005         (sin_test): Likewise.
8006         (sin_test_tonearest): Likewise.
8007         (sin_test_towardzero): Likewise.
8008         (sin_test_downward): Likewise.
8009         (sin_test_upward): Likewise.
8010         (sincos_test): Likewise.
8011         (sinh_test): Likewise.
8012         (sinh_test_tonearest): Likewise.
8013         (sinh_test_towardzero): Likewise.
8014         (sinh_test_downward): Likewise.
8015         (sinh_test_upward): Likewise.
8016         (sqrt_test): Likewise.
8017         (tan_test): Likewise.
8018         (tan_test_tonearest): Likewise.
8019         (tan_test_towardzero): Likewise.
8020         (tan_test_downward): Likewise.
8021         (tan_test_upward): Likewise.
8022         (tanh_test): Likewise.
8023         (tgamma_test): Likewise.
8024         (trunc_test): Likewise.
8025         (y0_test): Likewise.
8026         (y1_test): Likewise.
8027         (yn_test): Likewise.
8028         (significand_test): Likewise.
8030 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8032         [BZ #15381]
8033         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8035 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8037         [BZ #14894]
8038         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8039         __ppc_mdoio and __ppc_mdoom.
8040         * manual/platform.texi: Document new functions __ppc_yield,
8041         __ppc_mdoio and __ppc_mdoom.
8043 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8045         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8046         (main): Mention "tls" pseudo-hwcap is legacy.
8047         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8049 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8051         * math/gen-libm-test.pl (parse_args): Output only string of
8052         arguments as text for test name, not full call or descriptions of
8053         tests for extra outputs.
8054         (generate_testfile): Do not pass function name to parse_args.
8055         Generate this_func variable from START.
8056         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8057         field to arg_str.
8058         (struct test_ff_f_data): Likewise.
8059         (test_ff_f_data_nexttoward): Likewise.
8060         (struct test_fi_f_data): Likewise.
8061         (struct test_fl_f_data): Likewise.
8062         (struct test_if_f_data): Likewise.
8063         (struct test_fff_f_data): Likewise.
8064         (struct test_c_f_data): Likewise.
8065         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8066         (struct test_fF_f1_data): Likewise.
8067         (struct test_ffI_f1_data): Likewise.
8068         (struct test_c_c_data): Rename test_name field to arg_str.
8069         (struct test_cc_c_data): Likewise.
8070         (struct test_f_i_data): Likewise.
8071         (struct test_ff_i_data): Likewise.
8072         (struct test_f_l_data): Likewise.
8073         (struct test_f_L_data): Likewise.
8074         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8075         and extra2_name.
8076         (COMMON_TEST_SETUP): New macro.
8077         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8078         (COMMON_TEST_CLEANUP): Likewise.
8079         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8080         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8081         macros.
8082         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8083         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8084         macros.
8085         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8086         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8087         cleanup macros.
8088         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8089         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8090         macros.
8091         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8092         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8093         macros.
8094         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8095         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8096         cleanup macros.
8097         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8098         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8099         cleanup macros.
8100         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8101         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8102         cleanup macros.
8103         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8104         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8105         macros.
8106         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8107         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8108         macros.
8109         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8110         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8111         macros.
8112         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8113         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8114         cleanup macros.
8115         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8116         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8117         cleanup macros.
8118         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8119         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8120         macros.
8121         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8122         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8123         cleanup macros.
8124         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8125         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8126         macros.
8127         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8128         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8129         macros.
8130         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8131         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8132         cleanup macros.
8133         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8135 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8137         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8138         to _sifields.sigfault.
8139         (si_addr_lsb): Define new macro.
8140         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8142         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8144 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8146         [BZ #15441]
8147         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8148         returns -1.
8149         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8150         null return -1.
8151         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8152         loading the domain.
8154 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8156         * math/gen-libm-test.pl (parse_args): Do not include expected
8157         result in test name.
8158         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8159         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8161         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8162         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8165 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8167         * benchtests/Makefile: Sort function entries.
8169         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8170         tanh, asinh, acosh, atanh.
8171         * benchtests/acos-inputs: New file.
8172         * benchtests/acosh-inputs: New file.
8173         * benchtests/asin-inputs: New file.
8174         * benchtests/asinh-inputs: New file.
8175         * benchtests/atanh-inputs: New file.
8176         * benchtests/cosh-inputs: New file.
8177         * benchtests/log-inputs: New file.
8178         * benchtests/sinh-inputs: New file.
8179         * benchtests/tanh-inputs: New file.
8181 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8183         [BZ #15339]
8184         * posix/tst-getaddrinfo4.c: New test.
8185         * posix/Makefile (tests): Add it.
8187 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8189         [BZ #15339]
8190         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8191         when no services were used.
8192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8193         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8195 2013-05-21  Andreas Schwab  <schwab@suse.de>
8197         [BZ #15014]
8198         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8199         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8200         successful.
8201         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8202         redundant variable declarations and reallocation of buffer when
8203         parsing as IPv6 address.  Always set NSS status when called from
8204         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8205         buffer too small.  Correct computation of needed size.
8206         * nss/Makefile (tests): Add test-digits-dots.
8207         * nss/test-digits-dots.c: New test.
8209 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8211         * benchtests/Makefile: Remove instructions for adding
8212         benchmark tests.
8213         * benchtests/README: New file to explain how to execute and
8214         enhance the benchmark tests.
8216 2013-05-21  Andreas Schwab  <schwab@suse.de>
8218         [BZ #15493]
8219         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8220         * setjmp/tst-sigsetjmp.c: New test.
8222 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8224         * sysdeps/x86_64/memset.S (memset): New implementation.
8225         (__bzero): Likewise.
8226         (__memset_tail): New function.
8228 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8230         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8231         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8232         __memcpy_sse2_unaligned ifunc selection.
8233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8234         Add memcpy-sse2-unaligned.S.
8235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8236         Add: __memcpy_sse2_unaligned.
8238 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8240         [BZ #15490]
8241         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8242         math_force_eval before restoring floating-point envrionment.
8243         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8244         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8245         Likewise.
8246         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8247         <math_private.h>.
8248         (__nearbyintl): Use math_force_eval before restoring
8249         floating-point environment.
8250         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8252         * math/gen-libm-test.pl (special_functions): Remove.
8253         (parse_args): Don't handle TEST_extra.  Handle functions with no
8254         return value.
8255         * math/libm-test.inc (struct test_sincos_data): Replace with
8256         struct test_fFF_11_data.
8257         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8258         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8259         (sincos_test_data): Change element type to struct
8260         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8261         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8262         RUN_TEST_LOOP_sincos.
8263         * math/README.libm-test: Don't mention special handling of
8264         individual functions.
8265         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8266         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8267         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8268         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8269         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8272         * math/gen-libm-test.pl (get_variable): Remove function.
8273         (parse_args): Don't show pointer parameters to call in test
8274         names.  Use "extra output N" in test names for extra outputs
8275         rather than naming variables.
8277 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8279         [BZ #15488]
8280         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8281         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8282         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8283         double tests.
8284         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8285         disable.
8286         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8287         check_long_double.
8289         * math/gen-libm-test.pl (@tests): Remove variable.
8290         ($count): Likewise.
8291         (new_test): Remove function.
8292         (show_exceptions): New function.
8293         (special_functions): Use show_exceptions instead of new_test.
8294         (parse_args): Likewise.
8295         (generate_testfile): Pass only function name in generated call to
8296         print_max_error or print_complex_max_error.
8297         (get_ulps): Do not handle complex tests specially.
8298         (output_test): Rename to ...
8299         (get_all_ulps_for_test): ... this.  Return a string rather than
8300         printing to a file.  Require ulps to be present.
8301         (output_ulps): Generate arrays rather than #defines.
8302         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8303         (struct ulp_data): New type.
8304         (BUILD_COMPLEX_ULP): Remove macro.
8305         (compare_ulp_data): New function.
8306         (find_ulps): Likewise.
8307         (find_test_ulps): Likewise.
8308         (find_function_ulps): Likewise.
8309         (find_complex_function_ulps): Likewise.
8310         (print_max_error): Determine allowed ulps using
8311         find_function_ulps.
8312         (print_complex_max_error): Determine allowed ulps using
8313         find_complex_function_ulps.
8314         (check_float_internal): Determine max ulps using find_test_ulps.
8315         (check_float): Do not take max_ulp parameter.  Update call to
8316         check_float_internal.
8317         (check_complex): Likewise.
8318         (check_int): Do not take max_ulp parameter.
8319         (check_long): Likewise.
8320         (check_bool): Likewise.
8321         (check_longlong): Likewise.
8322         (struct test_f_f_data): Remove max_ulp field.
8323         (struct test_ff_f_data): Likewise.
8324         (struct test_ff_f_data_nexttoward): Likewise.
8325         (struct test_fi_f_data): Likewise.
8326         (struct test_fl_f_data): Likewise.
8327         (struct test_if_f_data): Likewise.
8328         (struct test_fff_f_data): Likewise.
8329         (struct test_c_f_data): Likewise.
8330         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8331         (struct test_fF_f1_data): Likewise.
8332         (struct test_ffI_f1_data): Likewise.
8333         (struct test_c_c_data): Remove max_ulp field.
8334         (struct test_cc_c_data): Likewise.
8335         (struct test_f_i_data): Likewise.
8336         (struct test_ff_i_data): Likewise.
8337         (struct test_f_l_data): Likewise.
8338         (struct test_f_L_data): Likewise.
8339         (struct test_sincos_data): Likewise.
8340         (RUN_TEST_f_f): Do not handle ulps.
8341         (RUN_TEST_LOOP_f_f): Likewise.
8342         (RUN_TEST_2_f): Likewise.
8343         (RUN_TEST_LOOP_2_f): Likewise.
8344         (RUN_TEST_fff_f): Likewise.
8345         (RUN_TEST_LOOP_fff_f): Likewise.
8346         (RUN_TEST_c_f): Likewise.
8347         (RUN_TEST_LOOP_c_f): Likewise.
8348         (RUN_TEST_f_f1): Likewise.
8349         (RUN_TEST_LOOP_f_f1): Likewise.
8350         (RUN_TEST_fF_f1): Likewise.
8351         (RUN_TEST_LOOP_fF_f1): Likewise.
8352         (RUN_TEST_fI_f1): Likewise.
8353         (RUN_TEST_LOOP_fI_f1): Likewise.
8354         (RUN_TEST_ffI_f1): Likewise.
8355         (RUN_TEST_LOOP_ffI_f1): Likewise.
8356         (RUN_TEST_c_c): Likewise.
8357         (RUN_TEST_LOOP_c_c): Likewise.
8358         (RUN_TEST_cc_c): Likewise.
8359         (RUN_TEST_LOOP_cc_c): Likewise.
8360         (RUN_TEST_f_i): Likewise.
8361         (RUN_TEST_LOOP_f_i): Likewise.
8362         (RUN_TEST_f_i_tg): Likewise.
8363         (RUN_TEST_LOOP_f_i_tg): Likewise.
8364         (RUN_TEST_ff_i_tg): Likewise.
8365         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8366         (RUN_TEST_f_b): Likewise.
8367         (RUN_TEST_LOOP_f_b): Likewise.
8368         (RUN_TEST_f_b_tg): Likewise.
8369         (RUN_TEST_LOOP_f_b_tg): Likewise.
8370         (RUN_TEST_f_l): Likewise.
8371         (RUN_TEST_LOOP_f_l): Likewise.
8372         (RUN_TEST_f_L): Likewise.
8373         (RUN_TEST_LOOP_f_L): Likewise.
8374         (RUN_TEST_sincos): Likewise.
8375         (RUN_TEST_LOOP_sincos): Likewise.
8377 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8379         [BZ #15480]
8380         [BZ #15485]
8381         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8382         main case of finite arguments, set rounding mode to FE_TONEAREST
8383         and discard exceptions.
8384         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8385         exceptions.
8386         (remainder_tonearest_test_data): New variable.
8387         (remainder_test_tonearest): New function.
8388         (remainder_towardzero_test_data): New variable.
8389         (remainder_test_towardzero): New function.
8390         (remainder_downward_test_data): New variable.
8391         (remainder_test_downward): New function.
8392         (remainder_upward_test_data): New variable.
8393         (remainder_test_upward): New function.
8394         (main): Call the new test functions.
8396         * math/libm-test.inc (struct test_f_f1_data): Remove field
8397         extra_init.
8398         (struct test_fF_f1_data): Likewise.
8399         (struct test_ffI_f1_data): Likewise.
8400         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
8401         based on value of EXTRA_EXPECTED.
8402         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8403         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
8404         EXTRA_VAR based on value of EXTRA_EXPECTED.
8405         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8406         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
8407         EXTRA_VAR based on value of EXTRA_EXPECTED.
8408         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8409         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
8410         EXTRA_VAR based on value of EXTRA_EXPECTED.
8411         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8412         * math/gen-libm-test.pl (parse_args): Don't output initializers
8413         for extra output values.
8415         * math/libm-test.inc (check_int): Expect result to be exactly
8416         equal to expected value and do not handle ulps.
8417         (check_long): Likewise.
8418         (check_longlong): Likewise.
8420         * math/libm-test.inc (ceil_test_data): Test for "inexact"
8421         exceptions.
8422         (cimag_test_data): Likewise.
8423         (conj_test_data): Likewise.
8424         (copysign_test_data): Likewise.
8425         (cproj_test_data): Likewise.
8426         (creal_test_data): Likewise.
8427         (fabs_test_data): Likewise.
8428         (fdim_test_data): Likewise.
8429         (finite_test_data): Likewise.
8430         (floor_test_data): Likewise.
8431         (fmax_test_data): Likewise.
8432         (fmin_test_data): Likewise.
8433         (fmod_test_data): Likewise.
8434         (fpclassify_test_data): Likewise.
8435         (frexp_test_data): Likewise.
8436         (ilogb_test_data): Likewise.
8437         (isfinite_test_data): Likewise.
8438         (isgreater_test_data): Likewise.
8439         (isgreaterequal_test_data): Likewise.
8440         (isinf_test_data): Likewise.
8441         (isless_test_data): Likewise.
8442         (islessequal_test_data): Likewise.
8443         (islessgreater_test_data): Likewise.
8444         (isnan_test_data): Likewise.
8445         (isnormal_test_data): Likewise.
8446         (issignaling_test_data): Likewise.
8447         (isunordered_test_data): Likewise.
8448         (ldexp_test_data): Likewise.
8449         (lrint_test_data): Likewise.
8450         (lrint_test_data) [TEST_FLOAT]: Disable one test.
8451         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8452         (lrint_tonearest_test_data): Test for "inexact" exceptions.
8453         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8454         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8455         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8456         test input.
8457         (lrint_towardzero_test_data): Test for "inexact" exceptions.
8458         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8459         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8460         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8461         that test input.
8462         (lrint_downward_test_data): Test for "inexact" exceptions.
8463         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8464         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8465         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8466         test input.
8467         (lrint_upward_test_data): Test for "inexact" exceptions.
8468         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8469         test input.
8470         (llrint_test_data): Test for "inexact" exceptions.
8471         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8472         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8473         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8474         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8475         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8476         (llrint_downward_test_data): Test for "inexact" exceptions.
8477         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8478         (llrint_upward_test_data): Test for "inexact" exceptions.
8479         (logb_test_data): Likewise.
8480         (logb_downward_test_data): Likewise.
8481         (nextafter_test_data): Likewise.
8482         (nexttoward_test_data): Likewise.
8483         (remainder_test_data): Likewise.
8484         (remquo_test_data): Likewise.
8485         (scalbn_test_data): Likewise.
8486         (scalbln_test_data): Likewise.
8487         (signbit_test_data): Likewise.
8488         (sqrt_test_data): Likewise.
8489         (significand_test_data): Likewise.
8491 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8493         [BZ #15424]
8494         * benchtests/bench-modf.c (struct args): Mark arg0 as
8495         volatile.
8496         * scripts/bench.pl: Mark members of struct args as volatile.
8498 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8500         [BZ # 15497]
8501         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8502         negative infinity on POWER6 or lower.
8503         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8505 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8507         [BZ #15442]
8508         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8509         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8510         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8511         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8512         (_FP_SETQNAN): New macro.
8513         (_FP_SETQNAN_SEMIRAW): Likewise.
8514         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8515         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8516         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8517         (FP_EXTEND): Use _FP_FRAC_SNANP.
8518         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8519         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8520         into account.
8521         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8522         New macro.
8523         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8524         Likewise.
8526 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8528         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8529         with DIVIDE_BY_ZERO_EXCEPTION.
8530         (gamma_test_data): Likewise.
8531         (lgamma_test_data): Likewise.
8532         (log_test_data): Likewise.
8533         (log10_test_data): Likewise.
8534         (log2_test_data): Likewise.
8535         (tgamma_test_data): Likewise.
8537         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8538         (acos_test_tonearest): Likewise.
8539         (acos_test_towardzero): Likewise.
8540         (acos_test_downward): Likewise.
8541         (acos_test_upward): Likewise.
8542         (acosh_test): Likewise.
8543         (asin_test): Likewise.
8544         (asin_test_tonearest): Likewise.
8545         (asin_test_towardzero): Likewise.
8546         (asin_test_downward): Likewise.
8547         (asin_test_upward): Likewise.
8548         (asinh_test): Likewise.
8549         (atan_test): Likewise.
8550         (atanh_test): Likewise.
8551         (atan2_test): Likewise.
8552         (cabs_test): Likewise.
8553         (cacos_test): Likewise.
8554         (cacosh_test): Likewise.
8555         (casin_test): Likewise.
8556         (casinh_test): Likewise.
8557         (catan_test): Likewise.
8558         (catanh_test): Likewise.
8559         (cbrt_test): Likewise.
8560         (ccos_test): Likewise.
8561         (ccosh_test): Likewise.
8562         (cexp_test): Likewise.
8563         (clog_test): Likewise.
8564         (clog10_test): Likewise.
8565         (cos_test): Likewise.
8566         (cos_test_tonearest): Likewise.
8567         (cos_test_towardzero): Likewise.
8568         (cos_test_downward): Likewise.
8569         (cos_test_upward): Likewise.
8570         (cosh_test): Likewise.
8571         (cosh_test_tonearest): Likewise.
8572         (cosh_test_towardzero): Likewise.
8573         (cosh_test_downward): Likewise.
8574         (cosh_test_upward): Likewise.
8575         (cpow_test): Likewise.
8576         (csin_test): Likewise.
8577         (csinh_test): Likewise.
8578         (csqrt_test): Likewise.
8579         (ctan_test): Likewise.
8580         (ctan_test_tonearest): Likewise.
8581         (ctan_test_towardzero): Likewise.
8582         (ctan_test_downward): Likewise.
8583         (ctan_test_upward): Likewise.
8584         (ctanh_test): Likewise.
8585         (ctanh_test_tonearest): Likewise.
8586         (ctanh_test_towardzero): Likewise.
8587         (ctanh_test_downward): Likewise.
8588         (ctanh_test_upward): Likewise.
8589         (erf_test): Likewise.
8590         (erfc_test): Likewise.
8591         (exp_test): Likewise.
8592         (exp_test_tonearest): Likewise.
8593         (exp_test_towardzero): Likewise.
8594         (exp_test_downward): Likewise.
8595         (exp_test_upward): Likewise.
8596         (exp10_test): Likewise.
8597         (exp2_test): Likewise.
8598         (expm1_test): Likewise.
8599         (fmod_test): Likewise.
8600         (gamma_test): Likewise.
8601         (hypot_test): Likewise.
8602         (j0_test): Likewise.
8603         (j1_test): Likewise.
8604         (jn_test): Likewise.
8605         (lgamma_test): Likewise.
8606         (log_test): Likewise.
8607         (log10_test): Likewise.
8608         (log1p_test): Likewise.
8609         (log2_test): Likewise.
8610         (logb_test_downward): Likewise.
8611         (pow_test): Likewise.
8612         (pow_test_tonearest): Likewise.
8613         (pow_test_towardzero): Likewise.
8614         (pow_test_downward): Likewise.
8615         (pow_test_upward): Likewise.
8616         (remainder_test): Likewise.
8617         (remquo_test): Likewise.
8618         (sin_test): Likewise.
8619         (sin_test_tonearest): Likewise.
8620         (sin_test_towardzero): Likewise.
8621         (sin_test_downward): Likewise.
8622         (sin_test_upward): Likewise.
8623         (sincos_test): Likewise.
8624         (sinh_test): Likewise.
8625         (sinh_test_tonearest): Likewise.
8626         (sinh_test_towardzero): Likewise.
8627         (sinh_test_downward): Likewise.
8628         (sinh_test_upward): Likewise.
8629         (sqrt_test): Likewise.
8630         (tan_test): Likewise.
8631         (tan_test_tonearest): Likewise.
8632         (tan_test_towardzero): Likewise.
8633         (tan_test_downward): Likewise.
8634         (tan_test_upward): Likewise.
8635         (tanh_test): Likewise.
8636         (tgamma_test): Likewise.
8637         (y0_test): Likewise.
8638         (y1_test): Likewise.
8639         (yn_test): Likewise.
8641         * math/gen-libm-test.pl (adjust_arg): Remove function.
8642         (special_function): Remove argument $in_func.  Only handle
8643         generating output for tables of tests, not inside functions.
8644         (parse_args): Likewise.
8645         (generate_testfile): Remove variable $in_func.  Update call to
8646         parse_args.
8647         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8648         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8649         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8650         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8651         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8652         (MAX_VALUE_INIT): Rename macro to max_value.
8653         (MIN_VALUE_INIT): Rename macro to min_value.
8654         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8655         (plus_zero): Remove variable.
8656         (minus_zero): Likewise.
8657         (plus_infty): Likewise.
8658         (minus_infty): Likewise.
8659         (qnan_value): Likewise.
8660         (max_value): Likewise.
8661         (min_value): Likewise.
8662         (min_subnorm_value): Likewise.
8664 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8666         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8667         uint64_t or uint32_t usage.
8668         * crypt/sha256-block.c: Likewise.
8669         * crypt/sha256-crypt.c: Likewise.
8670         * crypt/sha256.c: Likewise.
8671         * crypt/sha512-block.c: Likewise.
8672         * crypt/sha512-crypt.c: Likewise.
8673         * crypt/sha512.c: Likewise.
8674         * debug/backtrace-tst.c: Likewise.
8675         * debug/pcprofiledump.c: Likewise.
8676         * elf/cache.c: Likewise.
8677         * elf/dl-cache.c: Likewise.
8678         * elf/dl-misc.c: Likewise.
8679         * elf/dl-profile.c: Likewise.
8680         * elf/dl-support.c: Likewise.
8681         * elf/ldconfig.c: Likewise.
8682         * elf/sprof.c: Likewise.
8683         * iconv/dummy-repertoire.c: Likewise.
8684         * iconv/iconv_charmap.c: Likewise.
8685         * iconv/skeleton.c: Likewise.
8686         * iconvdata/8bit-generic.c: Likewise.
8687         * iconvdata/cp737.h: Likewise.
8688         * iconvdata/cp775.h: Likewise.
8689         * iconvdata/ibm1008.h: Likewise.
8690         * iconvdata/ibm1025.h: Likewise.
8691         * iconvdata/ibm1046.h: Likewise.
8692         * iconvdata/ibm1097.h: Likewise.
8693         * iconvdata/ibm1112.h: Likewise.
8694         * iconvdata/ibm1122.h: Likewise.
8695         * iconvdata/ibm1123.h: Likewise.
8696         * iconvdata/ibm1124.h: Likewise.
8697         * iconvdata/ibm1129.h: Likewise.
8698         * iconvdata/ibm1130.h: Likewise.
8699         * iconvdata/ibm1132.h: Likewise.
8700         * iconvdata/ibm1133.h: Likewise.
8701         * iconvdata/ibm1137.h: Likewise.
8702         * iconvdata/ibm1140.h: Likewise.
8703         * iconvdata/ibm1141.h: Likewise.
8704         * iconvdata/ibm1142.h: Likewise.
8705         * iconvdata/ibm1143.h: Likewise.
8706         * iconvdata/ibm1144.h: Likewise.
8707         * iconvdata/ibm1145.h: Likewise.
8708         * iconvdata/ibm1146.h: Likewise.
8709         * iconvdata/ibm1147.h: Likewise.
8710         * iconvdata/ibm1148.h: Likewise.
8711         * iconvdata/ibm1149.h: Likewise.
8712         * iconvdata/ibm1153.h: Likewise.
8713         * iconvdata/ibm1154.h: Likewise.
8714         * iconvdata/ibm1155.h: Likewise.
8715         * iconvdata/ibm1156.h: Likewise.
8716         * iconvdata/ibm1157.h: Likewise.
8717         * iconvdata/ibm1158.h: Likewise.
8718         * iconvdata/ibm1160.h: Likewise.
8719         * iconvdata/ibm1161.h: Likewise.
8720         * iconvdata/ibm1162.h: Likewise.
8721         * iconvdata/ibm1163.h: Likewise.
8722         * iconvdata/ibm1164.h: Likewise.
8723         * iconvdata/ibm1166.h: Likewise.
8724         * iconvdata/ibm1167.h: Likewise.
8725         * iconvdata/ibm12712.h: Likewise.
8726         * iconvdata/ibm1390.h: Likewise.
8727         * iconvdata/ibm1399.h: Likewise.
8728         * iconvdata/ibm16804.h: Likewise.
8729         * iconvdata/ibm4517.h: Likewise.
8730         * iconvdata/ibm4899.h: Likewise.
8731         * iconvdata/ibm4909.h: Likewise.
8732         * iconvdata/ibm4971.h: Likewise.
8733         * iconvdata/ibm5347.h: Likewise.
8734         * iconvdata/ibm803.h: Likewise.
8735         * iconvdata/ibm856.h: Likewise.
8736         * iconvdata/ibm901.h: Likewise.
8737         * iconvdata/ibm902.h: Likewise.
8738         * iconvdata/ibm9030.h: Likewise.
8739         * iconvdata/ibm9066.h: Likewise.
8740         * iconvdata/ibm921.h: Likewise.
8741         * iconvdata/ibm922.h: Likewise.
8742         * iconvdata/ibm9448.h: Likewise.
8743         * iconvdata/isiri-3342.h: Likewise.
8744         * iconvdata/jis0201.h: Likewise.
8745         * include/link.h: Likewise.
8746         * include/netdb.h: Likewise.
8747         * inet/check_native.c: Likewise.
8748         * inet/check_pf.c: Likewise.
8749         * inet/getipv4sourcefilter.c: Likewise.
8750         * inet/getnameinfo.c: Likewise.
8751         * inet/getsourcefilter.c: Likewise.
8752         * inet/htonl.c: Likewise.
8753         * inet/setipv4sourcefilter.c: Likewise.
8754         * inet/setsourcefilter.c: Likewise.
8755         * inet/test-inet6_opt.c: Likewise.
8756         * inet/tst-network.c: Likewise.
8757         * locale/C-collate.c: Likewise.
8758         * locale/C-ctype.c: Likewise.
8759         * locale/C-time.c: Likewise.
8760         * locale/C-translit.h: Likewise.
8761         * locale/loadarchive.c: Likewise.
8762         * locale/programs/3level.h: Likewise.
8763         * locale/programs/charmap.c: Likewise.
8764         * locale/programs/charmap.h: Likewise.
8765         * locale/programs/ld-address.c: Likewise.
8766         * locale/programs/ld-collate.c: Likewise.
8767         * locale/programs/ld-ctype.c: Likewise.
8768         * locale/programs/ld-identification.c: Likewise.
8769         * locale/programs/ld-measurement.c: Likewise.
8770         * locale/programs/ld-messages.c: Likewise.
8771         * locale/programs/ld-monetary.c: Likewise.
8772         * locale/programs/ld-name.c: Likewise.
8773         * locale/programs/ld-numeric.c: Likewise.
8774         * locale/programs/ld-paper.c: Likewise.
8775         * locale/programs/ld-telephone.c: Likewise.
8776         * locale/programs/ld-time.c: Likewise.
8777         * locale/programs/linereader.c: Likewise.
8778         * locale/programs/locale.c: Likewise.
8779         * locale/programs/locarchive.c: Likewise.
8780         * locale/programs/locfile.h: Likewise.
8781         * locale/programs/repertoire.c: Likewise.
8782         * locale/programs/simple-hash.c: Likewise.
8783         * locale/programs/simple-hash.h: Likewise.
8784         * malloc/memusage.c: Likewise.
8785         * malloc/memusagestat.c: Likewise.
8786         * nis/nis_defaults.c: Likewise.
8787         * nis/nis_hash.c: Likewise.
8788         * nis/nis_print.c: Likewise.
8789         * nis/nis_xdr.c: Likewise.
8790         * nscd/connections.c: Likewise.
8791         * nscd/hstcache.c: Likewise.
8792         * nscd/nscd_gethst_r.c: Likewise.
8793         * nscd/nscd_getserv_r.c: Likewise.
8794         * nscd/nscd_helper.c: Likewise.
8795         * nscd/servicescache.c: Likewise.
8796         * nss/makedb.c: Likewise.
8797         * nss/nss_db/db-XXX.c: Likewise.
8798         * nss/nss_db/db-initgroups.c: Likewise.
8799         * nss/nss_db/db-netgrp.c: Likewise.
8800         * nss/nss_files/files-network.c: Likewise.
8801         * nss/nss_files/files-parse.c: Likewise.
8802         * posix/bug-regex5.c: Likewise.
8803         * posix/fnmatch_loop.c: Likewise.
8804         * posix/regcomp.c: Likewise.
8805         * posix/regexec.c: Likewise.
8806         * posix/tst-rfc3484-2.c: Likewise.
8807         * posix/tst-rfc3484-3.c: Likewise.
8808         * posix/tst-rfc3484.c: Likewise.
8809         * resolv/nss_dns/dns-canon.c: Likewise.
8810         * resolv/nss_dns/dns-network.c: Likewise.
8811         * resolv/res_init.c: Likewise.
8812         * resolv/res_mkquery.c: Likewise.
8813         * resolv/tst-aton.c: Likewise.
8814         * stdlib/cxa_atexit.c: Likewise.
8815         * stdlib/cxa_finalize.c: Likewise.
8816         * stdlib/gen-fpioconst.c: Likewise.
8817         * stdlib/strtol_l.c: Likewise.
8818         * string/tst-endian.c: Likewise.
8819         * sunrpc/auth_des.c: Likewise.
8820         * sunrpc/clnt_udp.c: Likewise.
8821         * sunrpc/rtime.c: Likewise.
8822         * sunrpc/svcauth_des.c: Likewise.
8823         * sunrpc/xdr.c: Likewise.
8824         * sunrpc/xdr_intXX_t.c: Likewise.
8825         * sunrpc/xdr_rec.c: Likewise.
8826         * sysdeps/generic/ldconfig.h: Likewise.
8827         * sysdeps/generic/ldsodefs.h: Likewise.
8828         * sysdeps/generic/memusage.h: Likewise.
8829         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8830         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8831         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8832         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8833         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8834         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8835         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8836         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8837         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8839         * sysdeps/posix/getaddrinfo.c: Likewise.
8840         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8841         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8842         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8843         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8844         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8845         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8846         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8847         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8848         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8849         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8850         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8851         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8852         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8853         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8854         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8855         * sysdeps/x86_64/dl-tls.h: Likewise.
8856         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8857         * time/alt_digit.c: Likewise.
8858         * time/era.c: Likewise.
8859         * wcsmbs/tst-c16c32-1.c: Likewise.
8861 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8863         * math/libm-test.inc (struct test_sincos_data): New type.
8864         (RUN_TEST_LOOP_sincos): New macro.
8865         (sincos_test_data): New variable.
8866         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8868 2013-05-16  Richard Henderson  <rth@redhat.com>
8870         * math/atest-exp2.c (LIMB64): New macro.
8871         (CONSTSZ): New macro.
8872         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8873         (hexdig): Move ...
8874         (print_mpn_fp): ... to function scope.
8875         (read_mpn_hex): Remove.
8876         (get_log2): Remove.
8877         (exp2_mpn): Use mp_log2.
8878         (main): Use mp_exp1.
8880 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8882         * math/libm-test.inc: Remove comment about not testing "inexact"
8883         exceptions.
8884         (INEXACT_EXCEPTION): New macro.
8885         (NO_INEXACT_EXCEPTION): Likewise.
8886         (INVALID_EXCEPTION_OK): Update value.
8887         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8888         (OVERFLOW_EXCEPTION_OK): Likewise.
8889         (UNDERFLOW_EXCEPTION_OK): Likewise.
8890         (IGNORE_ZERO_INF_SIGN): Likewise.
8891         (ERRNO_UNCHANGED): Likewise.
8892         (ERRNO_EDOM): Likewise.
8893         (ERRNO_ERANGE): Likewise.
8894         (test_exceptions): Handle testing "inexact" exceptions.
8895         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8896         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8897         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8898         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8899         INEXACT_EXCEPTION.
8900         (rint_towardzero_test_data): Likewise.
8901         (rint_downward_test_data): Likewise.
8902         (rint_upward_test_data): Likewise.
8904         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8905         with OVERFLOW_EXCEPTION.
8906         (exp10_test_data): Likewise.
8907         (exp2_test_data): Likewise.
8908         (expm1_test_data): Likewise.
8909         (lgamma_test_data): Likewise.
8910         (pow_test_data): Likewise.
8911         (tgamma_test_data): Likewise.
8912         (yn_test_data): Remove duplicate test of overflow.
8914         * math/libm-test.inc (struct test_cc_c_data): New type.
8915         (RUN_TEST_LOOP_cc_c): New macro.
8916         (cpow_test_data): New variable.
8917         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8919         * math/libm-test.inc (struct test_f_L_data): New type.
8920         (RUN_TEST_LOOP_f_L): New macro.
8921         (llrint_test_data): New variable.
8922         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8923         (llrint_tonearest_test_data): New variable.
8924         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8925         (llrint_towardzero_test_data): New variable.
8926         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8927         (llrint_downward_test_data): New variable.
8928         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8929         (llrint_upward_test_data): New variable.
8930         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8931         (llround_test_data): New variable.
8932         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8934 2013-05-13  Peter Collingbourne  <pcc@google.com>
8936         * math/atest-exp2.c (get_log2): Remove const attribute.
8938 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8940         * math/libm-test.inc (struct test_f_l_data): New type.
8941         (RUN_TEST_LOOP_f_l): New macro.
8942         (lrint_test_data): New variable.
8943         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8944         (lrint_tonearest_test_data): New variable.
8945         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8946         (lrint_towardzero_test_data): New variable.
8947         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8948         (lrint_downward_test_data): New variable.
8949         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8950         (lrint_upward_test_data): New variable.
8951         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8952         (lround_test_data): New variable.
8953         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8955 2013-05-15  Peter Collingbourne  <pcc@google.com>
8957         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8958         (EXTRACT_WORDS64) Use where appropriate.
8959         (INSERT_WORDS64) Likewise.
8961         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8962         constraints with x constraints.
8963         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8965         * malloc/obstack.c (_obstack_compat): Add initializer.
8967 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8969         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8970         si_trapno and add si_addr_lsb to _sifields.sigfault.
8971         (si_trapno): Remove macro.
8972         (si_addr_lsb): Define new macro.
8973         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8975 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8977         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8978         instead of TEST_f_l.
8979         (llrint_test_tonearest): Likewise.
8980         (llrint_test_towardzero): Likewise.
8981         (llrint_test_downward): Likewise.
8982         (llrint_test_upward): Likewise.
8983         (llround_test): Likewise.
8985         * math/libm-test.inc (struct test_f_i_data): Add comment.
8986         (RUN_TEST_LOOP_f_b): New macro.
8987         (RUN_TEST_LOOP_f_b_tg): Likewise.
8988         (finite_test_data): New variable.
8989         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8990         (isfinite_test_data): New variable.
8991         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8992         (isinf_test_data): New variable.
8993         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8994         (isnan_test_data): New variable.
8995         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8996         (isnormal_test_data): New variable.
8997         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8998         (issignaling_test_data): New variable.
8999         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9000         (signbit_test_data): New variable.
9001         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9003         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9004         with INVALID_EXCEPTION.
9005         (acosh_test_data): Likewise.
9006         (asin_test_data): Likewise.
9007         (atanh_test_data): Likewise.
9008         (fmod_test_data): Likewise.
9009         (log_test_data): Likewise.
9010         (log10_test_data): Likewise.
9011         (log2_test_data): Likewise.
9012         (pow_test_data): Likewise.
9013         (sqrt_test_data): Likewise.
9014         (y0_test_data): Likewise.
9015         (y1_test_data): Likewise.
9016         (yn_test_data): Likewise.
9018         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9019         function contents.
9021         * math/libm-test.inc (struct test_ff_i_data): New type.
9022         (RUN_TEST_LOOP_ff_i_tg): New macro.
9023         (isgreater_test_data): New variable.
9024         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9025         (isgreaterequal_test_data): New variable.
9026         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9027         (isless_test_data): New variable.
9028         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9029         (islessequal_test_data): New variable.
9030         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9031         (islessgreater_test_data): New variable.
9032         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9033         (isunordered_test_data): New variable.
9034         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9036 2013-05-14  David S. Miller  <davem@davemloft.net>
9038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9040 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9042         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9044         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9045         extra_test to int.
9046         (struct test_f_i_data): Change type of max_ulp to int.
9048         * math/libm-test.inc (test_ffI_f1_data): New type.
9049         (RUN_TEST_LOOP_ffI_f1): New macro.
9050         (remquo_test_data): New variable.
9051         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9053         * setjmp/tst-setjmp-fp.c: New file.
9054         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9055         (link-libm): New variable.
9056         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9058         * math/libm-test.inc (struct test_f_i_data): New type.
9059         (RUN_TEST_LOOP_f_i): New macro.
9060         (RUN_TEST_LOOP_f_i_tg): Likewise.
9061         (fpclassify_test_data): New variable.
9062         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9063         (ilogb_test_data): New variable.
9064         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9066         * math/libm-test.inc (scalbln_test): Correct function name in END
9067         call.
9069         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9070         (RUN_TEST_LOOP_fI_f1): New macro.
9071         (frexp_test_data): New variable.
9072         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9074         * math/libm-test.inc (struct test_fF_f1_data): New type.
9075         (RUN_TEST_LOOP_fF_f1): New macro.
9076         (modf_test_data): New variable.
9077         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9079         * math/libm-test.inc (struct test_f_f1_data): New type.
9080         (RUN_TEST_LOOP_f_f1): New macro.
9081         (gamma_test_data): New variable.
9082         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9083         (lgamma_test_data): New variable.
9084         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9086 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9088         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9089         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9090         (main): Comment "tls" pseudo-hwcap.
9092 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9094         * math/libm-test.inc (struct test_fl_f_data): New type.
9095         (RUN_TEST_LOOP_fl_f): New variable.
9096         (scalbln_test_data): New variable.
9097         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9099         * math/libm-test.inc (struct test_fi_f_data): New type.
9100         (RUN_TEST_LOOP_fi_f): New macro.
9101         (ldexp_test_data): New variable.
9102         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9103         (scalbn_test_data): New variable.
9104         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9106         * math/libm-test.inc (struct test_c_f_data): New type.
9107         (RUN_TEST_LOOP_c_f): New macro.
9108         (cabs_test_data): New variable.
9109         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9110         (carg_test_data): New variable.
9111         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9112         (cimag_test_data): New variable.
9113         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9114         (creal_test_data): New variable.
9115         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9117         * math/libm-test.inc (struct test_if_f_data): New type.
9118         (RUN_TEST_LOOP_if_f): New macro.
9119         (jn_test_data): New variable.
9120         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9121         (yn_test_data): New variable.
9122         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9124         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9126 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9128         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9129         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9131 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9133         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9134         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9135         (bench-deps): Add bench-timing.h.
9136         * benchtests-bench-skeleton.c: Include bench-timing.h.
9137         (main): Use TIMING_* macros instead of clock_gettime.
9138         * benchtests/bench-timing.h: New file.
9140         [BZ #14582]
9141         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9142         Renamed from _LIB_VERSION.
9143         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9145 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9147         * math/libm-test.inc (struct test_fff_f_data): New type.
9148         (RUN_TEST_LOOP_fff_f): New macro.
9149         (fma_test_data): New variable.
9150         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9151         (fma_towardzero_test_data): New variable.
9152         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9153         (fma_downward_test_data): New variable.
9154         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9155         (fma_upward_test_data): New variable.
9156         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9158         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9159         (struct test_c_c_data): New type.
9160         (RUN_TEST_LOOP_c_c): New macro.
9161         (cacos_test_data): New variable.
9162         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9163         (cacosh_test_data): New variable.
9164         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9165         (casin_test_data): New variable.
9166         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9167         (casinh_test_data): New variable.
9168         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9169         (catan_test_data): New variable.
9170         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9171         (catanh_test_data): New variable.
9172         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9173         (ccos_test_data): New variable.
9174         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9175         (ccosh_test_data): New variable.
9176         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9177         (cexp_test_data): New variable.
9178         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9179         (clog_test_data): New variable.
9180         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9181         (clog10_test_data): New variable.
9182         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9183         (conj_test_data): New variable.
9184         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9185         (cproj_test_data): New variable.
9186         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9187         (csin_test_data): New variable.
9188         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9189         (csinh_test_data): New variable.
9190         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9191         (csqrt_test_data): New variable.
9192         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9193         (ctan_test_data): New variable.
9194         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9195         (ctan_tonearest_test_data): New variable.
9196         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9197         (ctan_towardzero_test_data): New variable.
9198         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9199         (ctan_downward_test_data): New variable.
9200         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9201         (ctan_upward_test_data): New variable.
9202         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9203         (ctanh_test_data): New variable.
9204         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9205         (ctanh_tonearest_test_data): New variable.
9206         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9207         (ctanh_towardzero_test_data): New variable.
9208         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9209         (ctanh_downward_test_data): New variable.
9210         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9211         (ctanh_upward_test_data): New variable.
9212         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9213         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9214         of BUILD_COMPLEX.
9216         * math/libm-test.inc (struct test_ff_f_data): New type.
9217         (struct test_ff_f_data_nexttoward): Likewise.
9218         (RUN_TEST_LOOP_2_f): New macro.
9219         (RUN_TEST_LOOP_ff_f): Likewise.
9220         (atan2_test_data): New variable.
9221         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9222         (copysign_test_data): New variable.
9223         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9224         (fdim_test_data): New variable.
9225         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9226         (fmax_test_data): New variable.
9227         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9228         (fmin_test_data): New variable.
9229         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9230         (fmod_test_data): New variable.
9231         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9232         (hypot_test_data): New variable.
9233         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9234         (nextafter_test_data): New variable.
9235         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9236         (nexttoward_test_data): New variable.
9237         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9238         (pow_test_data): New variable.
9239         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9240         (pow_tonearest_test_data): New variable.
9241         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9242         (pow_towardzero_test_data): New variable.
9243         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9244         (pow_downward_test_data): New variable.
9245         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9246         (pow_upward_test_data): New variable.
9247         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9248         (remainder_test_data): New variable.
9249         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9250         (scalb_test_data): New variable.
9251         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9252         * sysdeps/i386/fpu/libm-test-ulps: Update.
9254 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9256         * math/libm-test.inc (fma_test): Use max_value instead of local
9257         variable fltmax.
9258         (nextafter_test): Likewise.
9260         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9261         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9262         (acos_downward_test_data): New variable.
9263         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9264         (acos_upward_test_data): New variable.
9265         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9266         (acosh_test_data): New variable.
9267         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9268         (asin_test_data): New variable.
9269         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9270         (asin_tonearest_test_data): New variable.
9271         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9272         (asin_towardzero_test_data): New variable.
9273         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9274         (asin_downward_test_data): New variable.
9275         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9276         (asin_upward_test_data): New variable.
9277         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9278         (asinh_test_data): New variable.
9279         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9280         (atan_test_data): New variable.
9281         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9282         (atanh_test_data): New variable.
9283         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9284         (cbrt_test_data): New variable.
9285         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9286         (ceil_test_data): New variable.
9287         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9288         (cos_test_data): New variable.
9289         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9290         (cos_tonearest_test_data): New variable.
9291         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9292         (cos_towardzero_test_data): New variable.
9293         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9294         (cos_downward_test_data): New variable.
9295         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9296         (cos_upward_test_data): New variable.
9297         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9298         (cosh_test_data): New variable.
9299         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9300         (cosh_tonearest_test_data): New variable.
9301         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9302         (cosh_towardzero_test_data): New variable.
9303         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9304         (cosh_downward_test_data): New variable.
9305         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9306         (cosh_upward_test_data): New variable.
9307         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9308         (erf_test_data): New variable.
9309         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9310         (erfc_test_data): New variable.
9311         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9312         (exp_test_data): New variable.
9313         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9314         (exp_tonearest_test_data): New variable.
9315         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9316         (exp_towardzero_test_data): New variable.
9317         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9318         (exp_downward_test_data): New variable.
9319         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9320         (exp_upward_test_data): New variable.
9321         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9322         (exp10_test_data): New variable.
9323         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9324         (exp2_test_data): New variable.
9325         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9326         (expm1_test_data): New variable.
9327         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9328         (fabs_test_data): New variable.
9329         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9330         (floor_test_data): New variable.
9331         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9332         (j0_test_data): New variable.
9333         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9334         (j1_test_data): New variable.
9335         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9336         (log_test_data): New variable.
9337         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9338         (log10_test_data): New variable.
9339         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9340         (log1p_test_data): New variable.
9341         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9342         (log2_test_data): New variable.
9343         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9344         (logb_test_data): New variable.
9345         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9346         (logb_downward_test_data): New variable.
9347         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9348         (nearbyint_test_data): New variable.
9349         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9350         (rint_test_data): New variable.
9351         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9352         (rint_tonearest_test_data): New variable.
9353         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9354         (rint_towardzero_test_data): New variable.
9355         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9356         (rint_downward_test_data): New variable.
9357         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9358         (rint_upward_test_data): New variable.
9359         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9360         (round_test_data): New variable.
9361         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9362         (sin_test_data): New variable.
9363         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9364         (sin_tonearest_test_data): New variable.
9365         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9366         (sin_towardzero_test_data): New variable.
9367         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9368         (sin_downward_test_data): New variable.
9369         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9370         (sin_upward_test_data): New variable.
9371         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9372         (sinh_test_data): New variable.
9373         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9374         (sinh_tonearest_test_data): New variable.
9375         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9376         (sinh_towardzero_test_data): New variable.
9377         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9378         (sinh_downward_test_data): New variable.
9379         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9380         (sinh_upward_test_data): New variable.
9381         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9382         (sqrt_test_data): New variable.
9383         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9384         (tan_test_data): New variable.
9385         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9386         (tan_tonearest_test_data): New variable.
9387         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9388         (tan_towardzero_test_data): New variable.
9389         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9390         (tan_downward_test_data): New variable.
9391         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9392         (tan_upward_test_data): New variable.
9393         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9394         (tanh_test_data): New variable.
9395         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9396         (tgamma_test_data): New variable.
9397         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9398         (trunc_test_data): New variable.
9399         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9400         (y0_test_data): New variable.
9401         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9402         (y1_test_data): New variable.
9403         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9404         (significand_test_data): New variable.
9405         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9407 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
9409         [BZ #12387]
9410         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9412 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9414         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9416 2013-05-10  Andreas Jaeger  <aj@suse.de>
9418         [BZ #15448]
9419         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9420         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9422 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9424         * math/gen-libm-test.pl (adjust_arg): New function.
9425         (special_functions): Handle generating output in both functions
9426         and arrays.
9427         (parse_args): Likewise.
9428         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
9429         $in_func argument to parse_args.
9430         * math/libm-test.inc (struct test_f_f_data): New type.
9431         (IF_ROUND_INIT_): New macro.
9432         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9433         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9434         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9435         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9436         (ROUND_RESTORE_): Likewise.
9437         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9438         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9439         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9440         (ROUND_RESTORE_FE_UPWARD): Likewise.
9441         (RUN_TEST_LOOP_f_f): New macro.
9442         (acos_test_data): New variable.
9443         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9444         (acos_tonearest_test_data): New variable.
9445         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9447 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9449         * benchtests/bench-skeleton.c (startup): Fix coding style.
9451 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #6809]
9454         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9455         negative infinity argument.
9456         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9457         negative infinity argument.
9458         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9459         negative infinity argument.
9460         * math/libm-test.inc (tgamma_test): Expect errno to be set for
9461         domain errors.
9463 2013-05-10  Florian Weimer  <fweimer@redhat.com>
9465         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9466         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9467         * iconv/iconv_prog.c (main): Likewise.
9468         * locale/programs/charmap-dir.c (charmap_readdir)
9469         (fopen_uncompressed): Likewise.
9470         * locale/programs/locfile.c (siblings_uncached)
9471         (write_locale_data): Use lstat64 instead of lstat.
9472         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9473         stat.
9475 2013-05-10  Andreas Jaeger  <aj@suse.de>
9477         [BZ #15395]
9478         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9479         localization.
9480         Include <locale.h>.
9482 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9484         * elf/dl-close.c (_dl_close_worker): Add comments.
9486 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9488         [BZ #15359]
9489         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9490         high part of pi/2.
9491         (__ieee754_rem_pio2l): Update comments.
9493         [BZ #15429]
9494         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9495         high part of pi/2.
9496         (__ieee754_rem_pio2l): Update comments.
9498         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9499         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9501         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9502         M_PI_4l.
9504         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9505         (M_PI_34_LOG10El): Likewise.
9506         (M_PI2_LOG10El): Likewise.
9507         (M_PI4_LOG10El): Likewise.
9508         (M_PI_LOG10El): Likewise.
9510 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9514 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9516         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9517         (MINUS_ZERO_INIT): Likewise.
9518         (PLUS_INFTY_INIT): Likewise.
9519         (MINUS_INFTY_INIT): Likewise.
9520         (QNAN_VALUE_INIT): Likewise.
9521         (MAX_VALUE_INIT): Likewise.
9522         (MIN_VALUE_INIT): Likewise.
9523         (MIN_SUBNORM_VALUE_INIT): Likewise.
9524         (plus_zero): Initialize with PLUS_ZERO_INIT.
9525         (minus_zero): Initialize with MINUS_ZERO_INIT.
9526         (plus_infty): Initialize with PLUS_INFTY_INIT.
9527         (minus_infty): Initialize with MINUS_INFTY_INIT.
9528         (qnan_value): Initialize with QNAN_VALUE_INIT.
9529         (max_value): Initialize with MAX_VALUE_INIT.
9530         (min_value): Initialize with MIN_VALUE_INIT.
9531         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9533         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9534         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9535         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9536         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9538         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9539         (RUN_TEST_2_f): Likewise.
9540         (RUN_TEST_ff_f): Likewise.
9541         (RUN_TEST_fi_f): Likewise.
9542         (RUN_TEST_fl_f): Likewise.
9543         (RUN_TEST_fff_f): Likewise.
9544         (RUN_TEST_c_f): Likewise.
9545         (RUN_TEST_f_f1): Likewise.
9546         (RUN_TEST_fF_f1): Likewise.
9547         (RUN_TEST_fI_f1): Likewise.
9548         (RUN_TEST_ffI_f1): Likewise.
9549         (RUN_TEST_c_c): Likewise.
9550         (RUN_TEST_cc_c): Likewise.
9551         (RUN_TEST_f_i): Likewise.
9552         (RUN_TEST_f_i_tg): Likewise.
9553         (RUN_TEST_ff_i_tg): Likewise.
9554         (RUN_TEST_f_b): Likewise.
9555         (RUN_TEST_f_b_tg): Likewise.
9556         (RUN_TEST_f_l): Likewise.
9557         (RUN_TEST_f_L): Likewise.
9558         (RUN_TEST_sincos): Likewise.
9559         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9560         whether to show exceptions.  Do not include ");\n" in return
9561         value.
9562         (special_functions): Output call to RUN_TEST_sincos instead of
9563         check_float calls.  Update calls to new_test.
9564         (parse_args): Output call to single RUN_TEST_* macro instead of
9565         check_* calls and other assignments.  Update calls to new_test.
9567         [BZ #2546]
9568         [BZ #2560]
9569         [BZ #5159]
9570         [BZ #15426]
9571         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9572         input to result for tgamma overflow.
9573         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9574         (gamma_coeff): New variable.
9575         (NCOEFF): New macro.
9576         (gamma_positive): New function.
9577         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9578         underflow here.  Use gamma_positive instead of exp (lgamma) for
9579         other arguments.
9580         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9581         (gamma_coeff): New variable.
9582         (NCOEFF): New macro.
9583         (gammaf_positive): New function.
9584         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9585         underflow here.  Use gamma_positive instead of exp (lgamma) for
9586         other arguments.
9587         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9588         (gamma_coeff): New variable.
9589         (NCOEFF): New macro.
9590         (gammal_positive): New function.
9591         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9592         underflow here.  Use gamma_positive instead of exp (lgamma) for
9593         other arguments.
9594         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9595         (gamma_coeff): New variable.
9596         (NCOEFF): New macro.
9597         (gammal_positive): New function.
9598         (__ieee754_gammal_r): Handle positive infinity, overflow and
9599         underflow here.  Handle NaN the same as positive infinity.  Remove
9600         check x < 0xffffffff for negative integers.  Use gamma_positive
9601         instead of exp (lgamma) for other arguments.
9602         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9603         (gamma_coeff): New variable.
9604         (NCOEFF): New macro.
9605         (gammal_positive): New function.
9606         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9607         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9608         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9609         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9610         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9611         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9612         * sysdeps/generic/math_private.h (__gamma_productf): New
9613         prototype.
9614         (__gamma_product): Likewise.
9615         (__gamma_productl): Likewise.
9616         * math/Makefile (libm-calls): Add gamma_product.
9617         * math/libm-test.inc (tgamma_test): Add more tests.
9618         * sysdeps/i386/fpu/libm-test-ulps: Update.
9619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9621 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9623         * benchtests/bench-skeleton.c (main): Preheat CPU.
9625 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9627         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9629 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9631         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9632         and _dl_skip_args_internal.
9634 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9636         * manual/message.texi (Message Translation): Talk about users.
9637         Message to key mapping impacts design.
9639 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9641         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9643         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9645         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9646         * sysdeps/wordsize-64/glob64.c: ... here.
9648         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9649         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9650         New macros.
9652         * debug/getlogin_r_chk.c: Moved to ...
9653         * login/getlogin_r_chk.c: ... here.
9654         * debug/Makefile (routines): Move getlogin_r_chk to ...
9655         * login/Makefile (routines): ... here.
9656         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9657         * login/Versions (libc: GLIBC_2.4): ... here.
9659         * io/poll.c (__poll): Renamed from poll.
9660         Add libc_hidden_def.
9661         (poll): Define as weak alias.
9663         * debug/ptsname_r_chk.c: Moved to ...
9664         * login/ptsname_r_chk.c: ... here.
9665         * debug/Makefile (routines): Move ptsname_r_chk to ...
9666         * login/Makefile (routines): ... here.
9667         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9668         * login/Versions (libc: GLIBC_2.4): ... here.
9670         * posix/getlogin.c: Moved to ...
9671         * login/getlogin.c: ... here.
9672         * posix/getlogin_r.c: Moved to ...
9673         * login/getlogin_r.c: ... here.
9674         * posix/getlogin_r.c: Moved to ...
9675         * login/getlogin_r.c: ... here.
9676         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9677         * login/Makefile (routines): ... here.
9678         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9679         * login/Versions (libc: GLIBC_2.0): ... here.
9681         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9682         (setrlimit): Define as weak alias.
9684         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9685         Call __ names for open, ftruncate, and close.
9686         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9687         (truncate): Define as weak alias.
9689 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9691         * math/gen-libm-test.pl (parse_args): Initialize x before each
9692         test of frexp, modf and remquo.
9694         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9695         test signgam value.
9697 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9699         [BZ #15418]
9700         [BZ #15419]
9701         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9702         internal tests.
9703         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9705 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9707         * elf/dl-writev.h: New file.
9708         * elf/dl-misc.c: Include it.
9709         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9710         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9712 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9714         * math/libm-test.inc (noXFails): Remove variable.
9715         (noXPasses): Likewise.
9716         (BUILD_COMPLEX_INT): Remove macro.
9717         (print_screen): Remove xfail argument.
9718         (print_screen_max_error): Likewise.
9719         (update_stats): Likewise.
9720         (print_max_error): Likewise.  Update calls to other affected
9721         functions.
9722         (print_complex_max_error): Likewise.
9723         (test_single_exception): Update calls to print_screen.
9724         (test_single_errno): Likewise.
9725         (check_float_internal): Remove xfail argument.  Update calls to
9726         other affected functions.
9727         (check_float): Likewise.
9728         (check_complex): Likewise.
9729         (check_int): Likewise.
9730         (check_long): Likewise.
9731         (check_bool): Likewise.
9732         (check_longlong): Likewise.
9733         (main): Don't print noXFails and noXPasses.
9734         * math/gen-libm-test.pl (top level): Don't mention expected
9735         failure handling in comment.
9736         (new_test): Don't handle expected failures.
9737         (parse_args): Don't mention expected failure handling in comment.
9738         (generate_testfile): Don't handle expected failures.
9739         (parse_ulps): Likewise.
9740         (print_ulps_file): Likewise.
9741         (get_failure): Remove function.
9742         (output_test): Don't handle expected failures.
9743         * make/README.libm-test: Don't mention expected failure handling.
9745         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9746         (minus_zero): Likewise.
9747         (plus_infty): Likewise.
9748         (minus_infty): Likewise.
9749         (qnan_value): Likewise.
9750         (max_value): Likewise.
9751         (min_value): Likewise.
9752         (min_subnorm_value): Likewise.
9753         (initialize): Do not initialize those variables dynamically.
9755 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9757         * io/open.c (__open_2): Moved to ...
9758         * io/open_2.c: ... this new file.
9759         * io/open64.c (__open64_2): Moved to ...
9760         * io/open64_2.c: ... this new file.
9761         * io/openat.c (__openat_2): Moved to ...
9762         * io/openat_2.c: ... this new file.
9763         * io/openat64.c (__openat64_2): Moved to ...
9764         * io/openat64_2.c: ... this new file.
9765         * io/Makefile (routines): Add them.
9766         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9767         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9768         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9769         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9770         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9771         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9772         (__openat64): Add hidden_ver.
9773         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9774         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9776         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9777         Separately conditionalize setting of GLRO(dl_sysinfo) so
9778         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9779         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9781 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9783         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9784         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9785         definition.
9786         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9787         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9788         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9789         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9790         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9792 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9794         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9795         test signgam value.
9797         * math/libm-test.inc (hypot_test): Do not use
9798         IGNORE_ZERO_INF_SIGN.
9800 2013-05-03  Andreas Jaeger  <aj@suse.de>
9802         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9803         Linux 3.9.
9804         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9805         (PF_MAX): Adjust for VSOCK change.
9807 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9811 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9813         [BZ #15264]
9814         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9815         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9816         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9818 2013-05-02  David S. Miller  <davem@davemloft.net>
9820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9822 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9824         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9826 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9828         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9830 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9832         [BZ #14952]
9833         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9834         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9835         Use __attribute__ ((__gnu_inline__)).
9836         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9837         Don't use __attribute__ ((__gnu_inline__)).
9839 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9841         [BZ #15423]
9842         * math/s_catan.c (__catan): Handle small real or imaginary part of
9843         input specially to avoid spurious underflow.
9844         * math/s_catanf.c (__catanf): Likewise.
9845         * math/s_catanh.c (__catanh): Likewise.
9846         * math/s_catanhf.c (__catanhf): Likewise.
9847         * math/s_catanhl.c (__catanhl): Likewise.
9848         * math/s_catanl.c (__catanl): Likewise.
9849         * math/libm-test.inc (catan_test): Add more tests.
9850         (catanh_test): Likewise.
9851         * sysdeps/i386/fpu/libm-test-ulps: Update.
9852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9854 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9858 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9860         [BZ #15416]
9861         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9862         accurately for denominator in atan2.
9863         * math/s_catanf.c (__catanf): Likewise.
9864         * math/s_catanh.c (__catanh): Likewise.
9865         * math/s_catanhf.c (__catanhf): Likewise.
9866         * math/s_catanhl.c (__catanhl): Likewise.
9867         * math/s_catanl.c (__catanl): Likewise.
9868         * math/libm-test.inc (catan_test): Add more tests.
9869         (catanh_test): Likewise.
9870         * sysdeps/i386/fpu/libm-test-ulps: Update.
9871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9873 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9875         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9877         * benchtests/Makefile (bench): Remove slow benchmarks.
9878         * benchtests/atan-inputs: Add slow benchmark inputs.
9879         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9880         (BENCH_FUNC): Accept variant offset.
9881         (VARIANT): Define.
9882         * benchtests/bench-skeleton.c (main): Run benchmark for each
9883         variant.
9884         * benchtests/cos-inputs: Add slow benchmark inputs.
9885         * benchtests/exp-inputs: Likewise.
9886         * benchtests/pow-inputs: Likewise.
9887         * benchtests/sin-inputs: Likewise.
9888         * benchtests/slowatan-inputs: Remove.
9889         * benchtests/slowatan.c: Remove.
9890         * benchtests/slowcos-inputs: Remove.
9891         * benchtests/slowcos.c: Remove.
9892         * benchtests/slowexp-inputs: Remove.
9893         * benchtests/slowexp.c: Remove.
9894         * benchtests/slowpow-inputs: Remove.
9895         * benchtests/slowpow.c: Remove.
9896         * benchtests/slowsin-inputs: Remove.
9897         * benchtests/slowsin.c: Remove.
9898         * benchtests/slowtan-inputs: Remove.
9899         * benchtests/slowtan.c: Remove.
9900         * benchtests/tan-inputs: Add slow benchmark inputs.
9901         * scripts/bench.pl: Parse comments and directives.
9903         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9904         in CPPFLAGS.
9905         ($(objpfx)bench-%.c): Remove *-ITER.
9906         * benchtests/bench-modf.c: Remove definition of ITER.
9907         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9908         (main): Loop for DURATION seconds instead of fixed number of
9909         iterations.
9910         * scripts/bench.pl: Don't expect iterations in parameters.
9912 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9914         * io/fchdir.c (__fchdir): Renamed from fchdir.
9915         (fchdir): Define as weak alias.
9917 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9919         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9920         (ERRNO_EDOM): Likewise.
9921         (ERRNO_ERANGE): Likewise.
9922         (noErrnoTests): New variable.
9923         (init_max_error): Set errno to 0.
9924         (test_single_errno): New function.
9925         (test_errno): Likewise.
9926         (check_float_internal): Call test_errno.  Set errno to 0.
9927         (check_complex): Refer to errno tests in comment.
9928         (check_int): Call test_errno.  Set errno to 0.
9929         (check_long): Likewise.
9930         (check_bool): Likewise.
9931         (check_longlong): Likewise.
9932         (cos_test): Use ERRNO_* flags for errno tests instead of
9933         check_int.
9934         (expm1_test): Likewise.
9935         (fmod_test): Likewise.
9936         (ilogb_test): Likewise.
9937         (lgamma_test): Likewise.
9938         (pow_test): Likewise.
9939         (remainder_test): Likewise.
9940         (sin_test): Likewise.
9941         (tan_test): Likewise.
9942         (yn_test): Likewise.
9943         (initialize): Set errno to 0.
9944         (main): Print number of errno tests.
9945         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9947 2013-04-29  Andreas Jaeger  <aj@suse.de>
9949         [BZ #15084]
9950         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9951         and RES_USEVC.
9953         [BZ #15085]
9954         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9955         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9956         unimplemented.
9958         [BZ #15380]
9959         * stdlib/random.c (__initstate): Return NULL if
9960         __initstate fails.
9962         [BZ #15086]
9963         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9964         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9965         RES_SNGLKUPREOP.
9967 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9971 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9973         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9974         of individual tests.
9975         (casin_test): Likewise.
9976         (casinh_test): Likewise.
9978 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9980         [BZ #15409]
9981         * math/s_catan.c (__catan): Handle arguments with large real or
9982         imaginary part separately without squaring.
9983         * math/s_catanf.c (__catanf): Likewise.
9984         * math/s_catanh.c (__catanh): Likewise.
9985         * math/s_catanhf.c (__catanhf): Likewise.
9986         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9987         and redefine.
9988         (__catanhl): Handle arguments with large real or imaginary part
9989         separately without squaring.
9990         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9991         and redefine.
9992         (__catanl): Handle arguments with large real or imaginary part
9993         separately without squaring.
9994         * math/libm-test.inc (catan_test): Add more tests.
9995         (catanh_test): Likewise.
9996         * sysdeps/i386/fpu/libm-test-ulps: Update.
9997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9999 2013-04-27  Andreas Jaeger  <aj@suse.de>
10001         [BZ #15007]
10002         * stdlib/stdlib.h: Update guards for qecvt.
10003         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10004         <stdlib.h>.
10006 2013-04-27  Allan McRae  <allan@archlinux.org>
10008         * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10012         [BZ #15406]
10013         * math/s_catan.c: Include <float.h>.
10014         (__catan): Ensure underflow exception occurs for underflowed
10015         result.
10016         * math/s_catanf.c: Include <float.h>.
10017         (__catanf): Ensure underflow exception occurs for underflowed
10018         result.
10019         * math/s_catanh.c: Include <float.h>.
10020         (__catanh): Ensure underflow exception occurs for underflowed
10021         result.
10022         * math/s_catanhf.c: Include <float.h>.
10023         (__catanhf): Ensure underflow exception occurs for underflowed
10024         result.
10025         * math/s_catanhl.c: Include <float.h>.
10026         (__catanhl): Ensure underflow exception occurs for underflowed
10027         result.
10028         * math/s_catanl.c: Include <float.h>.
10029         (__catanl): Ensure underflow exception occurs for underflowed
10030         result.
10031         * math/libm-test.inc (catan_test): Add more tests.
10032         (catanh_test): Likewise.
10034         [BZ #15405]
10035         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10036         underflowed result.
10037         * math/s_ccoshf.c (__ccoshf): Likewise.
10038         * math/s_ccoshl.c (__ccoshl): Likewise.
10039         * math/s_csin.c (__csin): Likewise.
10040         * math/s_csinf.c (__csinf): Likewise.
10041         * math/s_csinh.c (__csinh): Likewise.
10042         * math/s_csinhf.c (__csinhf): Likewise.
10043         * math/s_csinhl.c (__csinhl): Likewise.
10044         * math/s_csinl.c (__csinl): Likewise.
10045         * math/libm-test.inc (ccos_test): Add more tests.
10046         (ccosh_test): Likewise.
10047         (csin_test): Likewise.
10048         (csinh_test): Likewise.
10050 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10052         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10053         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10054         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10055         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10056         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10057         powerpc/power5+/fpu folders.
10058         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10061 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10065 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10067         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10068         additions to variable.
10069         [$(config-machine) = x86_64] (modules-names): Likewise.
10070         ($(objpfx)tst-audit3): Remove dependency.
10071         ($(objpfx)tst-audit3.out): Likewise.
10072         ($(objpfx)tst-audit4): Likewise.
10073         ($(objpfx)tst-audit4.out): Likewise.
10074         ($(objpfx)tst-audit5): Likewise.
10075         ($(objpfx)tst-audit5.out): Likewise.
10076         ($(objpfx)tst-audit6): Likewise.
10077         ($(objpfx)tst-audit6.out): Likewise.
10078         ($(objpfx)tst-audit7): Likewise.
10079         ($(objpfx)tst-audit7.out): Likewise.
10080         (tst-audit3-ENV): Remove variable.
10081         (tst-audit4-ENV): Likewise.
10082         (tst-audit5-ENV): Likewise.
10083         (tst-audit6-ENV): Likewise.
10084         (tst-audit7-ENV): Likewise.
10085         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10086         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10087         addition to variable.
10088         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10089         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10090         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10091         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10092         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10093         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10094         tst-audit3, tst-audit4 and tst-audit5.
10095         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10096         tst-audit6 and tst-audit7.
10097         [$(subdir) = elf] (modules-names): Add audit modules for those
10098         tests.
10099         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10100         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10101         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10102         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10103         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10104         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10105         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10106         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10107         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10108         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10109         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10110         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10111         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10112         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10113         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10114         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10115         Likewise.
10116         [$(subdir) = elf && $(config-cflags-avx) = yes]
10117         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10118         [$(subdir) = elf && $(config-cflags-avx) = yes]
10119         (CFLAGS-tst-auditmod4a.c): Likewise.
10120         [$(subdir) = elf && $(config-cflags-avx) = yes]
10121         (CFLAGS-tst-auditmod4b.c): Likewise.
10122         [$(subdir) = elf && $(config-cflags-avx) = yes]
10123         (CFLAGS-tst-auditmod6b.c): Likewise.
10124         [$(subdir) = elf && $(config-cflags-avx) = yes]
10125         (CFLAGS-tst-auditmod6c.c): Likewise.
10126         [$(subdir) = elf && $(config-cflags-avx) = yes]
10127         (CFLAGS-tst-auditmod7b.c): Likewise.
10128         * elf/tst-audit3.c: Move to ...
10129         * sysdeps/x86_64/tst-audit3.c: ... here.
10130         * elf/tst-audit4.c: Move to ...
10131         * sysdeps/x86_64/tst-audit4.c: ... here.
10132         * elf/tst-audit5.c: Move to ...
10133         * sysdeps/x86_64/tst-audit5.c: ... here.
10134         * elf/tst-audit6.c: Move to ...
10135         * sysdeps/x86_64/tst-audit6.c: ... here.
10136         * elf/tst-audit7.c: Move to ...
10137         * sysdeps/x86_64/tst-audit7.c: ... here.
10138         * elf/tst-auditmod3a.c: Move to ...
10139         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10140         * elf/tst-auditmod3b.c: Move to ...
10141         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10142         * elf/tst-auditmod4a.c: Move to ...
10143         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10144         * elf/tst-auditmod4b.c: Move to ...
10145         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10146         * elf/tst-auditmod5a.c: Move to ...
10147         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10148         * elf/tst-auditmod5b.c: Move to ...
10149         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10150         * elf/tst-auditmod6a.c: Move to ...
10151         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10152         * elf/tst-auditmod6b.c: Move to ...
10153         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10154         * elf/tst-auditmod6c.c: Move to ...
10155         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10156         * elf/tst-auditmod7a.c: Move to ...
10157         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10158         * elf/tst-auditmod7b.c: Move to ...
10159         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10161 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10163         [BZ #15366]
10164         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10165         define unconditionally.
10166         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10167         define unconditionally.
10168         (INT8_C, INT16_C, etc.): Likewise.
10170 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10172         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10173         __ehdr_start with hidden visibility.
10175         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10177 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10179         * math/libm-test.inc (cos_test): Use accurate hex constants.
10180         (sincost_test): Likewise.
10182 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10184         * math/libm-test.inc (catan_test): Add more tests.
10185         (catanh_test): Likewise.
10187         * math/s_catanf.c (__catanf): Use suffixed floating-point
10188         constants.
10189         * math/s_catanhf.c (__catanhf): Likewise.
10190         * math/s_catanhl.c (__catanhl): Likewise.
10191         * math/s_catanl.c (__catanl): Likewise.
10193         [BZ #15394]
10194         * math/s_catan.c (__catan): Calculate imaginary part of result
10195         with log1p not log unless computing log of number close to 0.
10196         * math/s_catanf.c (__catanf): Likewise.
10197         * math/s_catanl.c (__catanl): Likewise.
10198         * math/s_catanh.c (__catanh): Calculate real part of result with
10199         log1p not log unless computing log of number close to 0.
10200         * math/s_catanhf.c (__catanhf): Likewise.
10201         * math/s_catanhl.c (__catanhl): Likewise.
10202         * math/libm-test.inc (catan_test): Add more tests.
10203         (catanh_test): Likewise.
10204         * sysdeps/i386/fpu/libm-test-ulps: Update.
10205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10207 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10209         * benchtests/Makefile: Mention files in which fast and slow
10210         paths of math functions are implemented.
10212 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10214         * sysdeps/posix/timespec_get.c: New file.
10216 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10218         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10219         POWER.
10220         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10221         for POWER.
10222         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10223         powerpc/power5/fpu folders.
10224         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10225         * benchtests/Makefile: Add modf testcase.
10226         * benchtests/bench-modf.c: New file: Benchmark test for mo
10228 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10230         [BZ #14888]
10231         * time/Makefile (tests): Add tst-strptime-whitespace.
10232         * time/strptime_l.c (get_number): Use ISSPACE.
10233         (__strptime_internal): Likewise.
10234         * time/tst-strptime-whitespace.c: New test case.
10236 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10238         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10239         member.
10240         (_nss_files_init): Set it here.
10242 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10244         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10245         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10246         unsigned.
10248 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10250         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10252 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10254         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10255         size just once.
10257 2013-04-21  David S. Miller  <davem@davemloft.net>
10259         * po/ru.po: Update Russion translation from translation project.
10261 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10263         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10264         and setfsgid.
10266 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10268         * configure.in: Remove i386 configure warning. Remove i386 case.
10269         * configure: Regenerate.
10270         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10271         Add example to error message.
10272         * sysdeps/i386/configure: Regenerate.
10274 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10276         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10277         slowtan.
10278         * benchtests/cos-inputs: New file.
10279         * benchtests/slowcos-inputs: New file.
10280         * benchtests/slowcos.c: New file.
10281         * benchtests/slowtan-inputs: New file.
10282         * benchtests/slowtan.c: New file.
10283         * benchtests/tan-inputs: New file.
10285 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10287         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10288         considered kosher.
10290 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10292         * benchtests/Makefile: Include cppflags-iterator.mk to add
10293         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10295         * Makefile.in (bench-clean): New target.
10296         * benchtests/Makefile (bench-clean): Likewise.
10298 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10300         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10302 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10304         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10306 2013-04-15  Andreas Schwab  <schwab@suse.de>
10308         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10310         * nscd/pwdcache.c (cache_addpw): Likewise.
10311         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10312         more than recsize.
10314 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10316         * benchtests/Makefile (bench): Write all output to
10317         bench-out.tmp together.
10319 2013-04-15  Andreas Schwab  <schwab@suse.de>
10321         * nscd/nscd.c (main): Don't fork again after closing files.
10323 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10325         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10327         * benchtests/Rules (bench-deps): Collect dependencies into a
10328         single variable.  Add Makefile to dependencies.
10329         ($(objpfx)bench-%.c): Depend on bench-deps.
10331 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10332             Xavier Roche  <roche+kml2@exalead.com>
10334         [BZ #15361]
10335         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10336         just that it's a file descriptor.
10337         * manual/llio.texi (Synchronizing AIO Operations): Update description
10338         for EBADF error from aio_fsync.
10340 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10342         * Rules (bench): Move target definition...
10343         * benchtests/Makefile: ... here.
10345 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10347         * math/libm-test.inc (cos_test): Fix PI/2 test.
10348         (sincos_test): Likewise.
10349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10350         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10352 2013-04-11  Andreas Schwab  <schwab@suse.de>
10354         [BZ #13988]
10355         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10356         accept exponent character only when digits were seen.
10357         * stdio-common/Makefile (tests): Add bug26.
10358         * stdio-common/bug26.c: New file.
10360         [BZ #14293]
10361         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10362         non-freeable.
10364 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10366         * Makeconfig (rtld-prefix): Define built linker prefix.
10367         * Rules (run-bench): Use it.
10368         * math/Makefile (run-regen-ulps): Likewise.
10370         * Rules (bench): Remove eval.
10372 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10373             Roland McGrath  <roland@hack.frob.com>
10374             Ondrej Bilka  <neleai@seznam.cz>
10376         [BZ #15346]
10377         * time/getdate.c: Include ctype.h and alloca.h.
10378         (__getdate_r): Trim leading and trailing spaces of input.
10379         * time/tst-getdate.c (tests): Add tests with leading and
10380         trailing spaces.
10382 2013-04-08  Roland McGrath  <roland@hack.frob.com>
10384         [BZ #14280]
10385         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10386         when computing value.
10388 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10390         * math/README.libm-test (How can I generate "libm-test-ulps"?):
10391         Use testrun.sh to run libm tests.
10393         [BZ #15309]
10394         * elf/dl-open.c (dl_open_worker): memset all of seen array.
10396 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
10398         [BZ #15264]
10399         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10401 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10403         * Makefile.in (regen-ulps): New target.
10404         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10405         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10406         [ifneq (no,$(PERL)] (regen-ulps): New target.
10407         [ifeq (no,$(PERL)] (regen-ulps): New target.
10408         * math/libm-test.inc (ulps_file_name): Define.
10409         (output_dir): New variable.
10410         (options): Add "output-dir" option.
10411         (parse_opt): Handle 'o' case.
10412         (main): If output_dir is non-NULL use it as a prefix
10413         otherwise use "".
10414         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10416 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10418         [BZ #10060, #10062]
10419         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10420         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10421         fail configure if __sync_val_compare_and_swap is not inlined.
10422         * sysdeps/i386/configure: Regenerate.
10423         * configure.in: Build for i686 when configured for i386.
10424         * configure: Regenerate.
10425         * README: Remove i386 reference.
10427 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
10429         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10430         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10432 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
10434         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10435         (lmsnanval): New variables.
10436         (F): Add conversion tests.
10437         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10438         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10440         * stdio-common/tstdiomisc.c (F): Properly collect individual
10441         tests' results.
10443         [BZ #14686, #15336]
10444         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10445         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10446         Instead, use input NaN values or generate a qNaN by arithmetic
10447         operation.  Also fix bugs to comply with the standard.
10448         * math/libm-test.inc (remainder_test): Add more tests.
10450         [BZ #15335, #15342]
10451         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10452         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10453         input NaN values or generate a qNaN by arithmetic operation.
10455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10456         unreachable code.
10458         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10459         definitions.
10461 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
10463         [BZ #14478]
10464         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10465         underflowed result.
10466         * math/s_cexpf.c (__cexpf): Likewise.
10467         * math/s_cexpl.c (__cexpl): Likewise.
10468         * math/libm-test.inc (cexp_test): Add more tests.
10470 2013-04-03  Andreas Schwab  <schwab@suse.de>
10472         [BZ #15330]
10473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10474         order arrays from heap if bigger than alloca cutoff.
10476 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10478         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10479         (SNAN_TESTS_double): Refer to GCC PR56831.
10480         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10481         GCC PR56828.
10483 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10485         * Rules (bench): Move bench.out after the run is complete.
10487         * Rules (bench): Echo currently running benchmark.
10489         * benchtests/Makefile (bench): Add atan and slowatan.
10490         * benchtests/atan-inputs: New file.
10491         * benchtests/slowatan-inputs: New file.
10492         * benchtests/slowatan.c: New file.
10494         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10495         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10496         its value.
10498         [BZ #15305]
10499         * sysdeps/unix/sysv/linux/kernel-features.h
10500         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10501         __ASSUME_XFS_RESTRICTED_CHOWN.
10502         * sysdeps/unix/sysv/linux/pathconf.c
10503         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10504         Save and restore errno.
10506 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10508         [BZ #15327]
10509         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10510         arguments using __kernel_casinh.
10511         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10512         arguments using __kernel_casinhf.
10513         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10514         arguments using __kernel_casinhl.
10515         * math/libm-test.inc (cacosh_test): Add more tests.
10516         * sysdeps/i386/fpu/libm-test-ulps: Update.
10517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10519 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10521         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10524         * bench/Makefile (bench): Add sin and slowsin.
10525         * benchtests/sin-inputs: New file.
10526         * benchtests/slowsin-inputs: New file.
10527         * benchtests/slowsin.c: New file.
10529         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10530         (bench): Add slowexp and slowpow.
10531         (exp-ITER): Increase iterations.
10532         (pow-ITER): Likewise.
10533         * benchtests/exp-inputs: Change input.
10534         * benchtests/pow-inputs: Likewise.
10535         * benchtests/slowexp-inputs: New file.
10536         * benchtests/slowexp.c: New file.
10537         * benchtests/slowpow-inputs: New file.
10538         * benchtests/slowpow.c: New file.
10540 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10542         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10543         instructions.
10544         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10545         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10546         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10547         * benchtests/Makefile: Add rint benchtest.
10548         * benchtests/rint-inputs: Input for rint benchtest.
10550 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10552         * Versions.def (libm): Add GLIBC_2.18.
10553         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10554         hidden libm prototypes.
10555         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10556         * math/Makefile (libm-calls): Add s_issignaling.
10557         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10558         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10559         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10560         declaration.
10561         * math/math.h [__USE_GNU] (issignaling): New macro.
10562         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10563         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10564         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10565         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10566         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10567         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10568         * manual/arith.texi (issignaling): New section.
10569         * manual/libm-err-tab.pl (@all_functions): Update comment.
10570         * math/gen-libm-test.pl (parse_args): Apply special handling for
10571         issignaling.
10572         * math/libm-test.inc (print_float, issignaling_test): New
10573         functions.
10574         (check_float_internal): Add issignaling checks.
10575         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10576         default definition.
10577         * sysdeps/powerpc/math-tests.h: New file.
10578         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10579         tests.
10580         * math/test-snan.c (TEST_FUNC): Likewise.
10582 2013-03-30  David S. Miller  <davem@davemloft.net>
10584         * po/de.po: Update from translation team.
10586 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10588         [BZ #10357]
10589         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10590         imaginary part less than 1.0 and real part less than 0.5
10591         specially.
10592         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10593         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10594         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10595         (cacos_test): Add more tests.
10596         (casin_test): Likewise.
10597         (casinh_test): Likewise.
10598         * sysdeps/i386/fpu/libm-test-ulps: Update.
10599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10601 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10603         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10604         ONE with its value.
10606         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10607         (__pow_mp): Replace ONE and MONE with their values.
10608         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10609         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10610         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10611         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10612         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10615         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10617         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10618         (__pow_mp): Replace ZERO and MZERO with their values.
10619         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10620         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10621         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10623         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10624         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10625         (__sqr): Likewise.
10627         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10629         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10631 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10633         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10634         Declare with __attribute__ ((weak)).
10635         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10636         Call __call_tls_dtors only if it's not NULL.
10638 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10640         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10641         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10642         magic __ehdr_start linker symbol if it's defined.
10643         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10644         them up here if it was already done.
10646         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10647         (_dl_aux_init): Use const in cast when setting it.
10648         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10649         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10650         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10652         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10653         Declare them here.
10654         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10655         * csu/libc-tls.c: Nor here.
10656         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10658         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10659         (__libc_message): Never call vsyslog.
10661 2013-03-28  Alan Modra  <amodra@gmail.com>
10663         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10664         Define as empty.
10665         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10666         Likewise.
10668 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10670         [BZ #15214]
10671         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10672         underflow.
10673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10675 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10677         [BZ #15304]
10678         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10679         Don't add gid passed as argument.
10681         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10683 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10685         [BZ #15307]
10686         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10687         imaginary part between 1.0 and 1.5 and real part less than 0.5
10688         specially.
10689         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10690         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10691         * math/libm-test.inc (cacos_test): Add more tests.
10692         (casin_test): Likewise.
10693         (casinh_test): Likewise.
10694         * sysdeps/i386/fpu/libm-test-ulps: Update.
10695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10699         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10700         constants.
10701         (norm): Likewise.
10702         (denorm): Likewise.
10703         (__dbl_mp): Likewise.
10704         (add_magnitudes): Likewise.
10705         (sub_magnitudes): Likewise.
10706         (__add): Likewise.
10707         (__sub): Likewise.
10708         (__mul): Likewise.
10709         (__sqr): Likewise.
10710         (__inv): Likewise.
10711         (__dvd): Likewise.
10713         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10714         commented code.
10715         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10716         (__dubcos): Likewise.
10717         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10718         (__ieee754_acos): Likewise.
10719         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10720         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10721         (__exp1): Likewise.
10722         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10724         (log1): Likewise.
10725         (my_log2): Likewise.
10726         (checkint): Likewise.
10727         * sysdeps/ieee754/dbl-64/e_remainder.c
10728         (__ieee754_remainder): Likewise.
10729         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10730         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10731         (bsloww): Likewise.
10732         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10734         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10735         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10736         MANTISSA_STORE_T to store computations on mantissa.  Use
10737         macros for rounding and division.
10738         (denorm): Likewise.
10739         (__dbl_mp): Likewise.
10740         (add_magnitudes): Likewise.
10741         (sub_magnitudes): Likewise.
10742         (__mul): Likewise.
10743         (__sqr): Likewise.
10744         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10745         powers of two in terms of TWOPOW macro.
10746         (mp_no): Make type of mantissa as MANTISSA_T.
10747         [!RADIXI]: Define RADIXI.
10748         [!TWO52]: Define TWO52.
10749         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10751 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10753         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10754         llroundl symbol when building for PPC32.
10756 2013-03-24  Mark H Weaver  <mhw@netris.org>
10758         * manual/arith.texi (Normalization Functions): Fix prototypes for
10759         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10761 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10763         [BZ #13889]
10764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10765         high value to check if expl overflow.
10766         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10767         to check for underflow and overflow.
10768         * math/libm-test.inc: Add exp test.
10770 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10772         [BZ #11120]
10773         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10774         with NOT_IN_libc.
10776 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10778         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10779         symbol.
10781 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10783         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10784         wrap blocks consisting of several statements.
10786         * sysdeps/generic/math-tests.h: New file.
10787         * sysdeps/i386/fpu/math-tests.h: Likewise.
10788         * math/test-snan.c: Include it.
10789         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10791 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10793         [BZ #15285]
10794         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10795         (__ieee754_j0l): Do not improve calculations using cos of twice
10796         input for inputs above LDBL_MAX / 2.0L.
10797         (__ieee754_y0l): Likewise.
10798         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10799         (__ieee754_j1l): Do not improve calculations using cos of twice
10800         input for inputs above LDBL_MAX / 2.0L.
10801         (__ieee754_y1l): Likewise.
10802         * math/libm-test.inc (j0_test): Add another test.
10803         (j1_test): Likewise.
10804         (y0_test): Likewise.
10805         (y1_test): Likewise.
10806         * sysdeps/i386/fpu/libm-test-ulps: Update.
10808 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10810         * Rules ($(objpfx)bench-%.c): Include code from a C source
10811         file.
10813 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10815         [BZ #15287]
10816         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10817         imaginary part 1.0 and real part less than 0.5 specially.
10818         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10819         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10820         * math/libm-test.inc (cacos_test): Add more tests.
10821         (casin_test): Likewise.
10822         (casinh_test): Likewise.
10823         * sysdeps/i386/fpu/libm-test-ulps: Update.
10824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10826 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10828         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10829         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10831 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10833         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10834         * config.make.in (config-cflags-sse4): Remove variable.
10835         (config-cflags-avx): Likewise.
10836         (config-cflags-sse2avx): Likewise.
10837         (config-cflags-novzeroupper): Likewise.
10838         (config-asflags-i686): Likewise.
10839         (have-mfma4): Likewise.
10840         (have-as-vis3): Likewise.
10841         (MIG): Likewise.
10842         * configure.in (MIG): Do not AC_SUBST.
10843         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10844         (libc_cv_cc_sse4): Do not AC_SUBST.
10845         (libc_cv_cc_avx): Likewise.
10846         (libc_cv_cc_sse2avx): Likewise.
10847         (libc_cv_cc_novzeroupper): Likewise.
10848         (libc_cv_cc_fma4): Likewise.
10849         (libc_cv_as_i686): Likewise.
10850         (libc_cv_sparc_as_vis3): Likewise.
10851         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10852         LIBC_CONFIG_VAR.
10853         (config-asflags-i686): Likewise.
10854         (config-cflags-avx): Likewise.
10855         (config-cflags-sse2avx): Likewise.
10856         (have-mfma4): Likewise.
10857         (config-cflags-novzeroupper): Likewise.
10858         * sysdeps/mach/configure.in (MIG): Likewise.
10859         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10860         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10861         LIBC_CONFIG_VAR.
10862         (config-cflags-avx): Likewise.
10863         (config-cflags-sse2avx): Likewise.
10864         (have-mfma4): Likewise.
10865         (config-cflags-novzeroupper): Likewise.
10866         * configure: Regenerated.
10867         * sysdeps/i386/configure: Likewise.
10868         * sysdeps/mach/configure: Likewise.
10869         * sysdeps/sparc/configure: Likewise.
10870         * sysdeps/x86_64/configure: Likewise.
10872 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10874         [BZ #14812]
10875         * locale/programs/localedef.c (options): Put N_ translation marker
10876         on argument names, not just descriptions.
10878 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10880         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10882 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10884         [BZ #14176]
10885         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10887 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10889         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10890         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10891         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10892         [!BEFORE_ABORT] (before_abort): New function.
10893         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10894         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10895         (writev_for_fatal): New function.
10896         (WRITEV_FOR_FATAL): New macro; call that.
10897         (backtrace_and_maps): New function.
10898         (BEFORE_ABORT): New macro; call that.
10899         (struct str_list): Type removed.
10900         (__libc_message, __libc_fatal): Functions removed.
10901         Include <sysdeps/posix/libc_fatal.c> instead.
10903 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10905         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10906         constants.
10907         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10908         double constants.
10910 2013-03-19  Andreas Schwab  <schwab@suse.de>
10912         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10913         * sysdeps/gnu/configure: Regenerate.
10915         * configure.in: Substitute libc_cv_rtlddir.
10916         * configure: Regenerate.
10917         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10918         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10919         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10920         * elf/Makefile (install-others, CFLAGS-interp.c)
10921         (ldso_install, common-ldd-rewrite): Likewise.
10922         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10923         $(inst_slibdir)/$(rtld-installed-name).
10924         * scripts/rellns-sh: Add -p option.
10925         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10926         for source.
10928 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10930         * manual/nptl.texi: Renamed to ...
10931         * manual/threads.texi: ... this.
10932         * manual/Makefile (chapters): Update.
10934 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10936         [BZ #14812]
10937         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10938         on argument names, not just descriptions.
10939         * malloc/memusagestat.c (options): Likewise.
10940         * nss/getent.c (options): Likewise.
10942 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10944         [BZ #14812]
10945         * iconv/iconv_prog.c (options): Put N_ translation marker
10946         on argument names, not just descriptions.
10947         * iconv/iconvconfig.c (options): Likewise.
10949 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10951         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10952         implementation which is faster on all x86_64 architectures.
10953         Tested on AMD, Intel Nehalem, SNB, IVB.
10954         * sysdeps/x86_64/strnlen.S: Likewise.
10956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10957         Remove all multiarch strlen and strnlen versions.
10958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10959         Remove strlen and strnlen related parts.
10961         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10962         Inline strlen part.
10963         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10965         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10966         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10967         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10968         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10969         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10970         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10972 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10974         * manual/memory.texi (Malloc Tunable Parameters):
10975         Sort parameters alphabetically. Add comments for missing entries.
10977 2013-03-17  David S. Miller  <davem@davemloft.net>
10979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10981 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10983         [BZ #15283]
10984         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10985         for arguments at most half maximum finite value.
10986         * math/libm-test.inc (j0_test): Add more tests.
10987         (j1_test): Likewise.
10988         (y0_test): Likewise.
10989         (y1_test): Likewise.
10990         * sysdeps/i386/fpu/libm-test-ulps: Update.
10991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10993         [BZ #14155]
10994         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10995         1 / x and functions P and Q for arguments above 0x1p256L.
10996         (__ieee754_y0l): Likewise.
10997         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10998         (__ieee754_y1l): Likewise.
10999         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11000         (j1_test): Likewise.
11001         (y0_test): Likewise.
11002         (y1_test): Likewise.
11004 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11006         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11007         variable.
11009 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11011         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11012         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11013         zero since it's initialized to EXEC_PAGESIZE.
11015         * sysdeps/unix/sysv/linux/ldsodefs.h
11016         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11017         * sysdeps/generic/ldsodefs.h: ... here.
11019 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11021         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11023         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11024         math/test-snan.c.
11025         * math/test-snan.c: Renamed from
11026         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11027         * math/Makefile (tests): Add test-snan.
11028         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11029         test-powerpc-snan.
11031         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11032         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11033         functions.
11034         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11035         __builtin_nan family of functions.
11036         * math/libm-test.inc (initialize): Initialize qnan_value with
11037         __builtin_nan family of functions.
11038         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11039         Remove variables.
11040         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11041         Remove functions.
11042         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11043         storage class.  Initialize qNaN_var and sNaN_var with
11044         __builtin_nan and __builtin_nans families of functions,
11045         respectively.
11047         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11048         (sqrt_test): Remove duplicate test with qNaN input.
11049         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11050         (round_test, signbit_test, significand_test): Note missing +/-Inf
11051         as well as qNaN tests.
11053         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11054         qNaN_var.  Fix a few strings, too.
11055         * math/libm-test.inc (nan_value): Rename to qnan_value.
11056         * math/gen-libm-test.pl (%beautify): Adjust to that.
11057         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11058         * math/test-misc.c (main): Likewise.
11059         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11060         to __qnan_bytes, and __qnan_union, respectively.
11061         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11062         Likewise.
11063         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11064         and lqnanval, respectively.
11065         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11066         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11067         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11068         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11070         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11071         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11072         doubles.
11074         * math/test-misc.c (main): Fix copy'n'pastos.
11075         * misc/tst-efgcvt.c (special): Likewise.
11077         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11078         Remove declarations.
11080 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11082         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11083         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11084         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11085         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11087 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11089         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11090         macro to return vdso values correctly in IFUNC implementations.
11091         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11092         Optimization by using IFUNC.
11094 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11095             Richard Henderson  <rth@redhat.com>
11096             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11098         * Makefile.in (bench): New target.
11099         * NEWS: Mention the benchmark framework.
11100         * Rules (bench): Likewise.
11101         (binaries-bench): Generate binaries for functions to
11102         benchmark.
11103         * benchtests/Makefile: New makefile for benchmark tests.
11104         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11105         programs.
11106         * benchtests/exp-inputs: New input file for EXP function.
11107         * benchtests/pow-inputs: New input file for POW function.
11108         * scripts/bench.pl: New script to generate source files for
11109         benchmark programs.
11111 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11113         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11114         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11115         computations on mantissa.  Use macros for rounding and
11116         division.
11117         (denorm): Likewise.
11118         (__dbl_mp): Likewise.
11119         (add_magnitudes): Likewise.
11120         (sub_magnitudes): Likewise.
11121         (__mul): Likewise.
11122         (__sqr): Likewise.
11123         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11124         powers of two in terms of TWOPOW macro.
11125         (mp_no): Make type of mantissa as MANTISSA_T.
11126         [!RADIXI]: Define RADIXI.
11127         [!TWO52]: Define TWO52.
11128         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11130         * manual/nptl.texi (cindex): Modify threads to pthreads.
11132 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11134         * sysdeps/x86_64/preconfigure: Regenerated.
11136 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11138         [BZ #14155]
11139         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11140         0x1p28 and above.
11141         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11142         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11143         0x1p28 and above.
11144         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11145         * math/libm-test.inc (j0_test): Do not allow one spurious
11146         underflow exception.
11147         (y1_test): Likewise.
11149 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11151         * manual/Makefile (chapters): Add nptl.
11152         * manual/debug.texi (Debugging Support): Add link to Threads
11153         chapter.
11154         * manual/nptl.texi: New file.
11156         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11158 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11160         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11161         for non-NULL pointer before the memory validity test. Pointed
11162         out by Holger Brunck <holger.brunck@keymile.com>.
11164 2013-03-13  Andreas Schwab  <schwab@suse.de>
11166         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11167         instead of .os.
11169 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11171         * timezone/zic.c: Update from tzcode 2013b.
11173 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11175         * manual/install.texi (Configuring and compiling):
11176         Mention i686 and i586.
11177         * INSTALL: Regenerate.
11179 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11181         * sysdeps/init_array/elf-init.c: New file.
11182         * csu/elf-init.c
11183         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11184         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11186         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11187         __gmon_start__ as global, but as static with a .preinit_array pointer.
11188         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11189         * sysdeps/init_array/crti.S: New file, empty except for comments.
11190         * sysdeps/init_array/crtn.S: Likewise.
11192 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11194         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11195         definining bcopy.
11196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11197         Remove Prefer_SSE_for_memop.
11198         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11199         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11200         HAS_PREFER_SSE_FOR_MEMOP.
11201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11202         memset-x86-64.
11203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11204         Remove bzero, memset ifunc support.
11205         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11206         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11207         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11208         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11210 2013-03-11  Andreas Schwab  <schwab@suse.de>
11212         [BZ #15234]
11213         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11214         by SHLIB_COMPAT.
11215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11216         (GLIBC_2.16): Remove pthread_atfork.
11218 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11220         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11221         (ptestcases.h): Likewise.
11223 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11225         * Makeconfig ($(common-objpfx)config.status): Depend on
11226         sysdeps/*/preconfigure{,.in} too.
11228 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11230         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11231         (__free_hook): Use void * instead of __malloc_ptr_t.
11232         (__malloc_hook): Likewise.
11233         (__realloc_hook): Likewise.
11234         (__memalign_hook): Likewise.
11235         (__after_morecore_hook): Likewise.
11236         * malloc/arena.c (save_malloc_hook): Likewise.
11237         (save_free_hook): Likewise.
11238         * malloc/hooks.c (malloc_hook_ini): Likewise.
11239         (realloc_hook_ini): Likewise.
11240         (memalign_hook_ini): Likewise.
11241         * malloc/malloc.c (malloc_hook_ini): Likewise.
11242         (realloc_hook_ini): Likewise.
11243         (memalign_hook_ini): Likewise.
11244         (__free_hook): Likewise.
11245         (__malloc_hook): Likewise.
11246         (__realloc_hook): Likewise.
11247         (__memalign_hook): Likewise.
11248         (__libc_malloc): Likewise.
11249         (__libc_free): Likewise.
11250         (__libc_realloc): Likewise.
11251         (__libc_memalign): Likewise.
11252         (__libc_valloc): Likewise.
11253         (__libc_pvalloc): Likewise.
11254         (__libc_calloc): Likewise.
11255         (__posix_memalign): Likewise.
11256         * malloc/morecore.c (__sbrk): Likewise.
11257         (__default_morecore): Likewise.
11259         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11261         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11262         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11263         __malloc_ptrdiff_t.
11265         * malloc/malloc.h (__malloc_size_t): Remove macro.
11266         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11267         __malloc_size_t.
11268         (old_memalign_hook): Likewise.
11269         (old_realloc_hook): Likewise.
11270         (struct hdr): Likewise.
11271         (flood): Likewise.
11272         (mallochook): Likewise.
11273         (memalignhook): Likewise.
11274         (reallochook): Likewise.
11275         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11276         (tr_old_realloc_hook): Likewise.
11277         (tr_old_memalign_hook): Likewise.
11278         (tr_mallochook): Likewise.
11279         (tr_reallochook): Likewise.
11280         (tr_memalignhook): Likewise.
11282 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11284         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11285         default_ldbl_pack and using as default implementation.
11286         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11287         implementation.
11288         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11289         redundant definition.
11290         (ldbl_insert_mantissa): Likewise.
11291         (ldbl_canonicalize): Likewise.
11292         (ldbl_nearbyint): Likewise.
11293         (ldbl_pack): Rename to ldbl_pack_ppc.
11294         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11295         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11296         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11298 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11301         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11302         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11303         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11305         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11306         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11307         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11309 2013-03-07  Andreas Jaeger  <aj@suse.de>
11311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11312         bits/mman-linux.h.
11314 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11316         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11317         Include mpa.h and declare __MPEXP.
11318         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11319         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11320         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11321         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11322         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11323         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11324         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11326         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11327         (__slowpow): Use long double EXPL and LOGL functions to
11328         compute POW.
11329         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11330         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11331         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11332         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11333         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11334         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11337         intermediate variable to calculate exponent.
11338         (__sqr): Likewise.
11339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11340         Likewise.
11341         (__sqr): Likewise.
11343         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11344         [!NO__SQR]: Define __sqr.
11345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11346         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11347         sysdeps/ieee754/dbl-64/mpa.c.
11348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11350         [BZ #12723]
11351         * posix/Makefile (tests): Add tst-pathconf.
11352         * posix/tst-pathconf.c: New test case.
11353         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11354         _PC_PIPE_BUF.
11355         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11357 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11359         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11361 2013-03-06  Andreas Jaeger  <aj@suse.de>
11363         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11364         definition via __MAP_ANONYMOUS.
11366         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11367         it's not part of Linux headers.
11369         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11370         (MAP_HUGE_MASK): Define.
11372         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11373         Define.
11374         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11375         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11376         Define.
11377         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11378         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11379         Define.
11380         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11381         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11382         Define.
11383         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11385         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11386         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11387         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11388         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11389         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11390         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11392         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11393         Handle f2fs.
11395         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11396         Handle f2fs and efivarfs.
11398         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11399         f2fs.
11401         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11402         (EFIVARFS_MAGIC): Add.
11403         (F2FS_LINK_MAX): Add.
11405 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11407         * stdio-common/vfprintf.c: Replace __builtin_expect with
11408         __glibc_unlikely.
11410 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
11412         [BZ #13550]
11413         * sysdeps/generic/bp-sym.h: Remove file.
11414         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11415         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11416         <bp-sym.h> and <bp-asm.h>.
11417         (__longjmp): Don't use BP_SYM.
11418         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11419         and <bp-asm.h>.
11420         (memcpy): Don't use BP_SYM.
11421         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11422         <bp-sym.h> and <bp-asm.h>.
11423         (memcpy): Don't use BP_SYM.
11424         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11425         <bp-asm.h>.
11426         (memcpy): Don't use BP_SYM.
11427         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11428         <bp-asm.h>.
11429         (memset): Don't use BP_SYM.
11430         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11431         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11432         (__bzero): Don't use BP_SYM.
11433         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11434         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11435         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11436         <bp-sym.h> and <bp-asm.h>.
11437         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11438         pointers.
11439         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11440         <bp-sym.h> and <bp-asm.h>.
11441         (memcpy): Don't use BP_SYM.
11442         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11443         <bp-sym.h> and <bp-asm.h>.
11444         (memset): Don't use BP_SYM.
11445         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11446         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11447         (__bzero): Don't use BP_SYM.
11448         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11449         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11450         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11451         <bp-sym.h> and <bp-asm.h>.
11452         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11453         pointers.
11454         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11455         <bp-sym.h> and <bp-asm.h>.
11456         (memcpy): Don't use BP_SYM.
11457         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11458         <bp-sym.h> and <bp-asm.h>.
11459         (memset): Don't use BP_SYM.
11460         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11461         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11462         (__bzero): Don't use BP_SYM.
11463         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11464         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11465         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11466         <bp-sym.h> and <bp-asm.h>.
11467         (__memchr): Don't use BP_SYM.
11468         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11469         <bp-sym.h> and <bp-asm.h>.
11470         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11471         pointers.
11472         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11473         <bp-sym.h> and <bp-asm.h>.
11474         (memcpy): Don't use BP_SYM.
11475         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11476         <bp-sym.h> and <bp-asm.h>.
11477         (__mempcpy): Don't use BP_SYM.
11478         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11479         <bp-sym.h> and <bp-asm.h>.
11480         (__memrchr): Don't use BP_SYM.
11481         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11482         <bp-sym.h> and <bp-asm.h>.
11483         (memset): Don't use BP_SYM.
11484         (__bzero): Likewise.
11485         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11486         <bp-sym.h> and <bp-asm.h>.
11487         (__rawmemchr): Don't use BP_SYM.
11488         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11489         <bp-sym.h> and <bp-asm.h>.
11490         (__STRCMP): Don't use BP_SYM.
11491         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11492         <bp-sym.h> and <bp-asm.h>.
11493         (strchr): Don't use BP_SYM.
11494         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11495         <bp-sym.h> and <bp-asm.h>.
11496         (__strchrnul): Don't use BP_SYM.
11497         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11498         <bp-sym.h> and <bp-asm.h>.
11499         (strlen): Don't use BP_SYM.
11500         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11501         <bp-sym.h> and <bp-asm.h>.
11502         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11503         pointers.
11504         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11505         <bp-sym.h> and <bp-asm.h>.
11506         (__strnlen): Don't use BP_SYM.
11507         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11508         <bp-sym.h> and <bp-asm.h>.
11509         (__GI__setjmp): Don't use BP_SYM.
11510         (_setjmp): Likewise.
11511         (__sigsetjmp): Likewise.
11512         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11513         (L(start_addresses)): Don't use BP_SYM.
11514         (_start): Likewise.
11515         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11516         <bp-asm.h>.
11517         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11518         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11519         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11520         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11521         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11522         <bp-asm.h>.
11523         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11524         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11525         about bounded pointers.
11526         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11527         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11528         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11529         <bp-asm.h>.
11530         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11531         about bounded pointers.  Remove GKM FIXME comments.
11532         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11533         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11534         <bp-asm.h>.
11535         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11536         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11537         Remove GKM FIXME comments.
11538         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11539         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11540         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11541         <bp-asm.h>.
11542         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11543         about bounded pointers.  Remove GKM FIXME comment.
11544         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11545         and <bp-asm.h>.
11546         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11547         pointers.
11548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11549         <bp-sym.h> and <bp-asm.h>.
11550         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11552         <bp-sym.h> and <bp-asm.h>.
11553         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11554         comment.
11556 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11558         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11559         call free(NULL).
11561 2013-03-05  David S. Miller  <davem@davemloft.net>
11563         * po/es.po: Update from translation team.
11565 2013-03-05  Andreas Jaeger  <aj@suse.de>
11567         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11568         <bits/mman-linux.h>.
11569         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11570         is fine.
11571         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11572         <bits/mman-linux.h> to end of file.
11573         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11574         is fine.
11575         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11576         <bits/mman-linux.h> to end of file.
11577         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11578         is fine.
11579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11580         <bits/mman-linux.h> to end of file.
11582         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11583         (MCL_CURRENT, MCL_FUTURE): Define here.
11585 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11587         [BZ #15232]
11588         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11589         attribute_hidden.
11590         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11592 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11594         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11595         fourth parameter needed for rt_sigprocmask syscall.
11596         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11597         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11598         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11599         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11600         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11601         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11603 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11605         [BZ #13550]
11606         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11607         comment about bounded pointers.
11608         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11609         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11611 2013-03-04  Andreas Jaeger  <aj@suse.de>
11613         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11614         common definitions.
11616         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11617         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11618         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11619         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11620         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11621         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11623 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11625         [BZ #15055]
11626         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11627         __ieee754_sqrl instead of __sqrl.
11629 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11631         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11632         * sysdeps/powerpc/fpu_control.h: ... here.
11633         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11634         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11635         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11636         * sysdeps/powerpc/bits/mathinline.h: ... here.
11638 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11640         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11641         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11642         to just [NEED_DL_SYSINFO_DSO].
11643         * elf/dl-support.c: Likewise.
11644         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11645         * elf/rtld.c (dl_main): Likewise.
11646         * elf/setup-vdso.h (setup_vdso): Likewise.
11647         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11648         * sysdeps/unix/sysv/linux/dl-sysdep.c
11649         (_dl_discover_osversion): Likewise.
11651 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11653         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11654         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11656 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11658         * NEWS: Mention libm performance improvements and non-x86 PI
11659         futex support.
11661         * csu/libc-start.c (__pthread_initialize_minimal): Change
11662         function arguments.
11663         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11665 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11667         [BZ #13550]
11668         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11669         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11670         <bp-sym.h> and <bp-asm.h>.
11671         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11672         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11673         and <bp-asm.h>.
11674         (memcpy): Don't use BP_SYM.
11675         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11676         <bp-asm.h>.
11677         (__mpn_add_n): Don't use BP_SYM.
11678         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11679         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11680         and <bp-asm.h>.
11681         (__mpn_addmul_1): Don't use BP_SYM.
11682         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11683         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11684         <bp-sym.h>.
11685         (_setjmp): Don't use BP_SYM.
11686         (__novmx_setjmp): Likewise.
11687         (__GI__setjmp): Likewise.
11688         (__vmx_setjmp): Likewise.
11689         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11690         <bp-sym.h>.
11691         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11692         (__bzero): Don't use BP_SYM.
11693         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11694         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11695         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11696         <bp-sym.h> and <bp-asm.h>.
11697         (memcpy): Don't use BP_SYM.
11698         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11699         <bp-sym.h> and <bp-asm.h>.
11700         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11702         <bp-sym.h> and <bp-asm.h>.
11703         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11704         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11705         <bp-asm.h>.
11706         (__mpn_lshift): Don't use BP_SYM.
11707         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11708         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11709         <bp-asm.h>.
11710         (memset): Don't use BP_SYM.
11711         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11712         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11713         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11714         <bp-asm.h>.
11715         (__mpn_mul_1): Don't use BP_SYM.
11716         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11717         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11718         <bp-sym.h> and <bp-asm.h>.
11719         (memcmp): Don't use BP_SYM.
11720         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11721         <bp-sym.h> and <bp-asm.h>.
11722         (memcpy): Don't use BP_SYM.
11723         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11724         <bp-sym.h> and <bp-asm.h>.
11725         (memset): Don't use BP_SYM.
11726         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11727         <bp-sym.h> and <bp-asm.h>.
11728         (strncmp): Don't use BP_SYM.
11729         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11730         <bp-sym.h> and <bp-asm.h>.
11731         (memcpy): Don't use BP_SYM.
11732         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11733         <bp-sym.h> and <bp-asm.h>.
11734         (memset): Don't use BP_SYM.
11735         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11736         <bp-sym.h> and <bp-asm.h>.
11737         (__memchr): Don't use BP_SYM.
11738         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11739         <bp-sym.h> and <bp-asm.h>.
11740         (memcmp): Don't use BP_SYM.
11741         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11742         <bp-sym.h> and <bp-asm.h>.
11743         (memcpy): Don't use BP_SYM.
11744         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11745         <bp-sym.h> and <bp-asm.h>.
11746         (__mempcpy): Don't use BP_SYM.
11747         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11748         <bp-sym.h> and <bp-asm.h>.
11749         (__memrchr): Don't use BP_SYM.
11750         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11751         <bp-sym.h> and <bp-asm.h>.
11752         (memset): Don't use BP_SYM.
11753         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11754         <bp-sym.h> and <bp-asm.h>.
11755         (__rawmemchr): Don't use BP_SYM.
11756         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11757         <bp-sym.h> and <bp-asm.h>.
11758         (__STRCMP): Don't use BP_SYM.
11759         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11760         <bp-sym.h> and <bp-asm.h>.
11761         (strchr): Don't use BP_SYM.
11762         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11763         <bp-sym.h> and <bp-asm.h>.
11764         (__strchrnul): Don't use BP_SYM.
11765         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11766         <bp-sym.h> and <bp-asm.h>.
11767         (strlen): Don't use BP_SYM.
11768         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11769         <bp-sym.h> and <bp-asm.h>.
11770         (strncmp): Don't use BP_SYM.
11771         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11772         <bp-sym.h> and <bp-asm.h>.
11773         (__strnlen): Don't use BP_SYM.
11774         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11775         <bp-asm.h>.
11776         (__mpn_rshift): Don't use BP_SYM.
11777         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11778         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11779         <bp-sym.h> and <bp-asm.h>.
11780         (__sigsetjmp): Don't use BP_SYM.
11781         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11782         (L(start_addresses)): Don't use BP_SYM.
11783         (_start): Likewise.
11784         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11785         <bp-asm.h>.
11786         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11787         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11788         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11789         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11790         <bp-asm.h>.
11791         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11792         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11793         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11794         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11795         <bp-asm.h>.
11796         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11797         comments.
11798         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11799         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11800         <bp-asm.h>.
11801         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11802         FIXME comments.
11803         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11804         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11805         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11806         <bp-asm.h>.
11807         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11808         comment.
11809         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11810         and <bp-asm.h>.
11811         (strncmp): Don't use BP_SYM,
11812         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11813         <bp-asm.h>.
11814         (__mpn_sub_n): Don't use BP_SYM.
11815         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11816         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11817         and <bp-asm.h>.
11818         (__mpn_submul_1): Don't use BP_SYM.
11819         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11821         <bp-sym.h> and <bp-asm.h>.
11822         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11824         <bp-sym.h> and <bp-asm.h>.
11825         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11826         comment.
11828 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11831         Use ZK to minimize writes to Z.
11832         (sub_magnitudes): Simplify code a bit.
11833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11834         Use ZK to minimize writes to Z.
11835         (sub_magnitudes): Simplify code a bit.
11837 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11839         * csu/gmon-start.c: Add special exception to license text.
11841 2013-02-27  Richard Henderson  <rth@redhat.com>
11843         * scripts/config.guess: Update from config.git.
11844         * scripts/config.sub: Likewise.
11846 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11848         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11850         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11852         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11854         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11856         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11858 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11860         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11861         [$(build-shared = yes].
11863 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11865         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11866         (__mul): Reduce iterations for calculating mantissa.
11868         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11869         MPTWO.
11870         (__mpranred): Likewise.
11872         [BZ #15160]
11873         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11874         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11876 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11878         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11879         Define __attribute__.
11881 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11883         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11884         unused.
11885         * posix/regex_internal.h (__attribute): Remove.
11886         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11887         (re_string_context_at): Likewise.
11888         (bitset_not): Use __attribute__ and mark function as possibly
11889         unused.
11890         (bitset_merge): Likewise.
11891         (bitset_mask): Likewise.
11892         (re_string_char_size_at): Likewise.
11893         (re_string_wchar_at): Likewise.
11894         (re_string_elem_size_at): Likewise.
11896 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11898         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11899         code.
11900         (cc32): Likewise.
11902         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11903         (__acr): Likewise.
11904         (__cpy): Likewise.
11905         (norm): Likewise.
11906         (denorm): Likewise.
11907         (__dbl_mp): Likewise.
11908         (add_magnitudes): Likewise.
11909         (sub_magnitudes): Likewise.
11910         (__mul): Likewise.
11911         (__inv): Likewise.
11913         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11914         style.
11916         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11917         style.
11919         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11920         code.
11922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11923         up changes with default code.
11924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11925         Likewise.
11927 2013-02-24  Allan McRae  <allan@archlinux.org>
11929         * manual/socket.texi (The Internet Namespace): Order menu items
11930         to match that in the file.
11932         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11933         node listing of the info page menu.
11935 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11937         [BZ #13550]
11938         * sysdeps/i386/bp-asm.h: Remove file.
11939         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11940         (PARMS): Do not use macros from bp-asm.h.
11941         (S1): Likewise.
11942         (S2): Likewise.
11943         (SIZE): Likewise.
11944         (__mpn_add_n): Do not use BP_SYM
11945         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11946         "bp-asm.h".
11947         (PARMS): Do not use macros from bp-asm.h.
11948         (S1): Likewise.
11949         (SIZE): Likewise.
11950         (__mpn_addmul_1): Do not use BP_SYM
11951         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11952         "bp-asm.h".
11953         (PARMS): Do not use macros from bp-asm.h.
11954         (SIGMSK): Likewise.
11955         (_setjmp): Likewise.  Do not use BP_SYM.
11956         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11957         "bp-asm.h".
11958         (PARMS): Do not use macros from bp-asm.h.
11959         (SIGMSK): Likewise.
11960         (setjmp): Likewise.  Do not use BP_SYM.
11961         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11962         "bp-asm.h".
11963         (PARMS): Do not use macros from bp-asm.h.
11964         (__frexp): Do not use BP_SYM.
11965         (frexp): Likewise.
11966         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11967         "bp-asm.h".
11968         (PARMS): Do not use macros from bp-asm.h.
11969         (__frexpf): Do not use BP_SYM.
11970         (frexpf): Likewise.
11971         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11972         "bp-asm.h".
11973         (PARMS): Do not use macros from bp-asm.h.
11974         (__frexpl): Do not use BP_SYM.
11975         (frexpl): Likewise.
11976         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11977         "bp-asm.h".
11978         (PARMS): Do not use macros from bp-asm.h.
11979         (__remquo): Do not use BP_SYM.
11980         (remquo): Likewise.
11981         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11982         "bp-asm.h".
11983         (PARMS): Do not use macros from bp-asm.h.
11984         (__remquof): Do not use BP_SYM.
11985         (remquof): Likewise.
11986         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11987         "bp-asm.h".
11988         (PARMS): Do not use macros from bp-asm.h.
11989         (__remquol): Do not use BP_SYM.
11990         (remquol): Likewise.
11991         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11992         "bp-asm.h".
11993         (PARMS): Do not use macros from bp-asm.h.
11994         (DEST): Likewise.
11995         (SRC): Likewise.
11996         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11997         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11998         "bp-asm.h".
11999         (PARMS): Do not use macros from bp-asm.h.
12000         (strlen): Do not use BP_SYM.
12001         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12002         "bp-asm.h".
12003         (PARMS): Do not use macros from bp-asm.h.
12004         (S1): Likewise.
12005         (S2): Likewise.
12006         (SIZE): Likewise.
12007         (__mpn_add_n): Do not use BP_SYM.
12008         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12009         "bp-asm.h".
12010         (PARMS): Do not use macros from bp-asm.h.
12011         (S1): Likewise.
12012         (SIZE): Likewise.
12013         (__mpn_addmul_1): Do not use BP_SYM.
12014         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12015         weak_alias.
12016         (bzero): Likewise.
12017         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12018         "bp-asm.h".
12019         (PARMS): Do not use macros from bp-asm.h.
12020         (S): Likewise.
12021         (SIZE): Likewise.
12022         (__mpn_lshift): Do not use BP_SYM.
12023         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12024         "bp-asm.h".
12025         (PARMS): Do not use macros from bp-asm.h.
12026         (DEST): Likewise.
12027         (SRC): Likewise.
12028         (LEN): Likewise.
12029         (memcpy): Likewise.  Do not use BP_SYM.
12030         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12031         libc_hidden_def and weak_alias.
12032         (mempcpy): Do not use BP_SYM in weak_alias.
12033         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12034         "bp-asm.h".
12035         (PARMS): Do not use macros from bp-asm.h.
12036         (DEST): Likewise.
12037         (LEN): Likewise.
12038         [!BZERO_P] (CHR): Likewise.
12039         (memset): Likewise.  Do not use BP_SYM.
12040         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12041         "bp-asm.h".
12042         (PARMS): Do not use macros from bp-asm.h.
12043         (S1): Likewise.
12044         (SIZE): Likewise.
12045         (__mpn_mul_1): Do not use BP_SYM.
12046         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12047         "bp-asm.h".
12048         (PARMS): Do not use macros from bp-asm.h.
12049         (S): Likewise.
12050         (SIZE): Likewise.
12051         (__mpn_rshift): Do not use BP_SYM.
12052         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12053         "bp-asm.h".
12054         (PARMS): Do not use macros from bp-asm.h.
12055         (STR): Likewise.
12056         (CHR): Likewise.
12057         (strchr): Likewise.  Do not use BP_SYM.
12058         (index): Do not use BP_SYM in weak_alias.
12059         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12060         "bp-asm.h".
12061         (PARMS): Do not use macros from bp-asm.h.
12062         (DEST): Likewise.
12063         (SRC): Likewise.
12064         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12065         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12066         "bp-asm.h".
12067         (PARMS): Do not use macros from bp-asm.h.
12068         (strlen): Do not use BP_SYM.
12069         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12070         "bp-asm.h".
12071         (PARMS): Do not use macros from bp-asm.h.
12072         (S1): Likewise.
12073         (S2): Likewise.
12074         (SIZE): Likewise.
12075         (__mpn_sub_n): Do not use BP_SYM.
12076         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12077         "bp-asm.h".
12078         (PARMS): Do not use macros from bp-asm.h.
12079         (S1): Likewise.
12080         (SIZE): Likewise.
12081         (__mpn_submul_1): Do not use BP_SYM.
12082         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12083         "bp-asm.h".
12084         (PARMS): Do not use macros from bp-asm.h.
12085         (S1): Likewise.
12086         (S2): Likewise.
12087         (SIZE): Likewise.
12088         (__mpn_add_n): Do not use BP_SYM.
12089         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12090         weak_alias.
12091         (bzero): Likewise.
12092         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12093         "bp-asm.h".
12094         (PARMS): Do not use macros from bp-asm.h.
12095         (BLK2): Likewise.
12096         (LEN): Likewise.
12097         (memcmp): Do not use BP_SYM.
12098         (bcmp): Do not use BP_SYM in weak_alias.
12099         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12100         "bp-asm.h".
12101         (PARMS): Do not use macros from bp-asm.h.
12102         (DEST): Likewise.
12103         (SRC): Likewise.
12104         (LEN): Likewise.
12105         (memcpy): Likewise.  Do not use BP_SYM.
12106         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12107         "bp-asm.h".
12108         (PARMS): Do not use macros from bp-asm.h.
12109         (DEST): Likewise.
12110         (SRC): Likewise.
12111         (LEN): Likewise.
12112         (memmove): Likewise.  Do not use BP_SYM.
12113         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12114         "bp-asm.h".
12115         (PARMS): Do not use macros from bp-asm.h.
12116         (DEST): Likewise.
12117         (SRC): Likewise.
12118         (LEN): Likewise.
12119         (__mempcpy): Likewise.  Do not use BP_SYM.
12120         (mempcpy): Do not use BP_SYM in weak_alias.
12121         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12122         "bp-asm.h".
12123         (PARMS): Do not use macros from bp-asm.h.
12124         (DEST): Likewise.
12125         (LEN): Likewise.
12126         [!BZERO_P] (CHR): Likewise.
12127         (memset): Likewise.  Do not use BP_SYM.
12128         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12129         "bp-asm.h".
12130         (PARMS): Do not use macros from bp-asm.h.
12131         (STR2): Likewise.
12132         (strcmp): Do not use BP_SYM.
12133         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12134         "bp-asm.h".
12135         (PARMS): Do not use macros from bp-asm.h.
12136         (STR): Likewise.
12137         (DELIM): Likewise.
12138         [USE_AS_STRTOK_R] (SAVE): Likewise.
12139         (FUNCTION): Likewise.  Do not use BP_SYM.
12140         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12141         aliases.
12142         (strtok_r): Likewise.
12143         (__GI___strtok_r): Likewise.
12144         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12145         (PARMS): Do not use macros from bp-asm.h.
12146         (S): Likewise.
12147         (SIZE): Likewise.
12148         (__mpn_lshift): Do not use BP_SYM.
12149         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12150         (PARMS): Do not use macros from bp-asm.h.
12151         (STR): Likewise.
12152         (CHR): Likewise.
12153         (__memchr): Do not use BP_SYM.
12154         (memchr): Do not use BP_SYM in weak_alias.
12155         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12156         (PARMS): Do not use macros from bp-asm.h.
12157         (BLK2): Likewise.
12158         (LEN): Likewise.
12159         (memcmp): Do not use BP_SYM.
12160         (bcmp): Do not use BP_SYM in weak_alias.
12161         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12162         (PARMS): Do not use macros from bp-asm.h.
12163         (S1): Likewise.
12164         (SIZE): Likewise.
12165         (__mpn_mul_1): Do not use BP_SYM.
12166         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12167         "bp-asm.h".
12168         (PARMS): Do not use macros from bp-asm.h.
12169         (STR): Likewise.
12170         (CHR): Likewise.
12171         (__rawmemchr): Do not use BP_SYM.
12172         (rawmemchr): Do not use BP_SYM in weak_alias.
12173         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12174         (PARMS): Do not use macros from bp-asm.h.
12175         (S): Likewise.
12176         (SIZE): Likewise.
12177         (__mpn_rshift): Do not use BP_SYM.
12178         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12179         (PARMS): Do not use macros from bp-asm.h.
12180         (SIGMSK): Likewise.
12181         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12182         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12183         (_start): Do not use BP_SYM.
12184         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12185         (PARMS): Do not use macros from bp-asm.h.
12186         (DEST): Likewise.
12187         (SRC): Likewise.
12188         (__stpcpy): Likewise.  Do not use BP_SYM.
12189         (stpcpy): Do not use BP_SYM in weak_alias.
12190         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12191         "bp-asm.h".
12192         (PARMS): Do not use macros from bp-asm.h.
12193         (DEST): Likewise.
12194         (SRC): Likewise.
12195         (LEN): Likewise.
12196         (__stpncpy): Likewise.  Do not use BP_SYM.
12197         (stpncpy): Do not use BP_SYM in weak_alias.
12198         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12199         (PARMS): Do not use macros from bp-asm.h.
12200         (STR): Likewise.
12201         (CHR): Likewise.
12202         (strchr): Likewise.  Do not use BP_SYM.
12203         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12204         "bp-asm.h".
12205         (PARMS): Do not use macros from bp-asm.h.
12206         (STR): Likewise.
12207         (CHR): Likewise.
12208         (__strchrnul): Likewise.  Do not use BP_SYM.
12209         (strchrnul): Do not use BP_SYM in weak_alias.
12210         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12211         "bp-asm.h".
12212         (PARMS): Do not use macros from bp-asm.h.
12213         (STOP): Likewise.
12214         (strcspn): Do not use BP_SYM.
12215         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12216         "bp-asm.h".
12217         (PARMS): Do not use macros from bp-asm.h.
12218         (STR): Likewise.
12219         (STOP): Likewise.
12220         (strpbrk): Likewise.  Do not use BP_SYM.
12221         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12222         "bp-asm.h".
12223         (PARMS): Do not use macros from bp-asm.h.
12224         (STR): Likewise.
12225         (CHR): Likewise.
12226         (strrchr): Likewise.  Do not use BP_SYM.
12227         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12228         (PARMS): Do not use macros from bp-asm.h.
12229         (SKIP): Likewise.
12230         (strspn): Do not use BP_SYM.
12231         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12232         (PARMS): Do not use macros from bp-asm.h.
12233         (STR): Likewise.
12234         (DELIM): Likewise.
12235         (SAVE): Likewise.
12236         (FUNCTION): Likewise.  Do not use BP_SYM.
12237         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12238         aliases.
12239         (strtok_r): Likewise.
12240         (__GI___strtok_r): Likewise.
12241         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12242         (PARMS): Do not use macros from bp-asm.h.
12243         (S1): Likewise.
12244         (S2): Likewise.
12245         (SIZE): Likewise.
12246         (__mpn_sub_n): Do not use BP_SYM.
12247         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12248         "bp-asm.h".
12249         (PARMS): Do not use macros from bp-asm.h.
12250         (S1): Likewise.
12251         (SIZE): Likewise.
12252         (__mpn_submul_1): Do not use BP_SYM.
12253         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12254         <bp-sym.h>.
12255         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12256         and <bp-asm.h>.
12257         (PARMS): Do not use macros from bp-asm.h.
12258         (FLAGS): Likewise.
12259         (PTID): Likewise.
12260         (TLS): Likewise.
12261         (CTID): Likewise.
12262         (__clone): Do not use BP_SYM.
12263         (clone): Do not use BP_SYM in weak_alias.
12264         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12265         and <bp-asm.h>.
12266         (PARMS): Do not use macros from bp-asm.h.
12267         (LEN): Likewise.
12268         (__mmap64): Do not use BP_SYM.
12269         (mmap64): Do not use BP_SYM in weak_alias.
12270         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12271         <bp-sym.h> and <bp-asm.h>.
12272         (PARMS): Do not use macros from bp-asm.h.
12273         (__posix_fadvise64_l64): Do not use BP_SYM.
12274         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12275         (PARMS): Do not use macros from bp-asm.h.
12276         (NSOPS): Likewise.
12277         (semtimedop): Do not use BP_SYM.
12278         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12279         and <bp-asm.h>.
12281 2013-02-21  Allan McRae  <allan@archlinux.org>
12283         * manual/message.texi (Charset conversion in gettext):
12284         Move @end statement to beginning of line.
12286 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12289         static.
12290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12291         Likewise.
12293         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12294         (denorm): Likewise.
12295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12298 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12300         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12301         tail-call to the resolved function if pltexit isn't needed.
12303 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12306         or Y being zero as being unlikely.
12307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12308         Likewise.
12310 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12312         * manual/nss.texi (System Databases and Name Service Switch):
12313         Remove frobnicate @pxref.
12315 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12317         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12318         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12320 2013-02-20  Petr Machata  <pmachata@redhat.com>
12322         * elf/elf.h (R_ARM_TARGET1): New macro.
12323         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12324         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12325         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12326         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12327         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12328         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12329         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12330         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12331         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12332         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12333         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12334         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12335         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12336         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12337         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12338         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12339         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12340         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12341         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12342         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12343         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12344         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12345         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12346         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12347         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12348         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12349         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12350         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12351         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12352         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12353         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12354         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12355         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12356         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12357         (R_ARM_THM_GOT_BREL12): Likewise.
12358         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12359         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12360         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12361         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12362         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12363         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12364         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12365         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12366         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12368 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12370         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12371         __attribute_used__ to __attribute__ ((unused)).
12373 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12376         powerpc mpa.c.
12377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12378         comment formatting.
12379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12381 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
12383         [BZ #13550]
12384         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12385         Remove macro.
12386         (ENTER): Remove both macro definitions.
12387         (LEAVE): Likewise.
12388         (CHECK_BOUNDS_LOW): Likewise.
12389         (CHECK_BOUNDS_HIGH): Likewise.
12390         (CHECK_BOUNDS_BOTH): Likewise.
12391         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12392         (RETURN_BOUNDED_POINTER): Likewise.
12393         (RETURN_NULL_BOUNDED_POINTER): Likewise.
12394         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12395         (POP_ERRNO_LOCATION_RETURN): Likewise.
12396         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12397         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12398         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12399         macros.
12400         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12401         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12402         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12403         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12404         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12405         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12406         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12407         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12408         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12409         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12410         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12411         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12412         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12413         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12414         removed macros.
12415         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12416         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12417         macros.
12418         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12419         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12420         * sysdeps/i386/i586/memset.S (memset): Likewise.
12421         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12422         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12423         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12424         macros.
12425         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12426         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12427         Change uses of L(2) to L(out).
12428         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12429         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12430         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12431         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12432         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12433         removed macros.
12434         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12435         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12436         macros.
12437         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12438         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12439         (RETURN): Do not use macro LEAVE.
12440         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12441         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12442         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12443         * sysdeps/i386/i686/memset.S (memset): Likewise.
12444         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12445         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12446         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12447         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12448         Likewise.
12449         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12450         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
12451         L(1_2) and L(1_3) into L(1).
12452         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12453         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12454         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12455         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12456         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12457         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12458         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12459         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12460         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12461         macros.
12462         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12463         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12464         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12465         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12466         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12467         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12468         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12469         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12470         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12471         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12472         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12473         * sysdeps/i386/strspn.S (strspn): Likewise.
12474         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12475         conditional code.
12476         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12477         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12478         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12479         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12480         L(1_3) into L(1_1).
12481         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12482         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12483         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12484         macros.
12485         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12487 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12489         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12490         macro.
12492 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12494         * math/atest-exp.c (exp_mpn): Remove ROUND.
12495         * math/atest-exp2.c (exp_mpn): Likewise.
12496         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12498         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12499         * stdlib/tst-tls-atexit-lib.c: Likewise.
12500         * stdlib/tst-tls-atexit.c: Likewise.
12502 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12504         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12505         and __attribute_alloc_size__.
12507 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12509         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12510         __attribute_alloc_size__.
12511         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12512         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12514 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12516         * include/programs/xmalloc.h: New file.
12517         * catgets/gencat.c: Include it.
12518         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12519         * elf/pldd.c: Likewise.
12520         * iconv/iconv_charmap.c: Likewise.
12521         * iconv/iconvconfig.c: Likewise.
12522         * iconv/strtab.c: Likewise.
12523         * locale/programs/locale.c: Likewise.
12524         * locale/programs/localedef.h: Likewise.
12525         * locale/programs/simple-hash.c: Likewise.
12526         * nscd/nscd.h: Likewise.
12527         * nss/makedb.c: Likewise.
12528         * sysdeps/generic/ldconfig.h: Likewise.
12530 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12532         * Versions.def: Add GLIBC_2.18.
12533         * include/link.h (struct link_map): New member l_tls_dtor_count.
12534         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12535         (__call_tls_dtors): Likewise.
12536         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12537         __cxa_thread_atexit_impl.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12539         Likewise.
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12541         Likewise.
12542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12543         Likewise.
12544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12548         Likewise.
12549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12550         Likewise.
12551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12553         Likewise.
12554         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12555         (tests): Add test case tst-tls-atexit.
12556         (modules-names): Add shared library for tst-tls-atexit.
12557         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12558         (GLIBC_PRIVATE): Add __call_tls_dtors.
12559         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12560         for libstdc++.
12561         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12562         * stdlib/tst-tls-atexit.c: New test case.
12563         * stdlib/tst-tls-atexit-lib.c: New test case.
12565         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12567         * elf/Versions (ld): Add _dl_find_dso_for_object.
12568         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12569         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12570         (dl_open_worker): Use _dl_find_dso_for_object.
12571         * elf/dl-sym.c (do_sym): Likewise.
12572         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12574 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12576         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12577         Syntactic changes only.
12578         (_dl_runtime_profile): Do a tail-call to the resolved function.
12580 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12582         [BZ #13550]
12583         * sysdeps/x86_64/bp-asm.h: Remove file.
12584         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12585         <bp-sym.h> and <bp-asm.h>.
12586         (__clone): Do not use BP_SYM.
12587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12588         <bp-sym.h> and <bp-asm.h>.
12589         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12590         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12591         "bp-asm.h".
12592         (_setjmp): Do not use BP_SYM.
12593         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12594         "bp-asm.h".
12595         (setjmp): Do not use BP_SYM.
12596         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12597         libc_hidden_def.
12598         (mempcpy): Do not use BP_SYM in weak_alias.
12599         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12600         "bp-asm.h".
12601         (strchr): Do not use BP_SYM.
12602         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12603         "bp-asm.h".
12604         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12605         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12606         (_start): Do not use BP_SYM.
12607         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12608         "bp-asm.h".
12609         (strcat): Do not use BP_SYM.
12610         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12611         "bp-asm.h".
12612         (STRCMP): Do not use BP_SYM.
12613         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12614         "bp-asm.h".
12615         (STRCPY): Do not use BP_SYM.
12616         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12617         "bp-asm.h".
12618         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12619         "bp-asm.h".
12620         (FUNCTION): Do not use BP_SYM.
12621         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12622         weak_alias.
12623         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12625 2013-02-17  Andreas Jaeger  <aj@suse.de>
12627         * time/Versions: Sort entries.
12628         * string/Versions: Likewise.
12629         * resolv/Versions: Likewise.
12630         * posix/Versions: Likewise.
12631         * iconv/Versions: Likewise.
12632         * elf/Versions: Likewise.
12633         * wcsmbs/Versions: Likewise.
12635 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12637         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12638         loop termination condition.
12640         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12641         variable to calculate EZ.
12642         (__sqr): Likewise.
12644         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12645         the lower precision input.
12647 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12649         [BZ #13550]
12650         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12651         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12652         (run-via-rtld-prefix): Do not handle %-bp tests.
12653         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12654         (all-object-suffixes): Remove .ob.
12655         (bppfx): Remove variable.
12656         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12657         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12658         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12659         [$(build-bounded) = yes] (libtype.ob): Likewise.
12660         * Makerules (elide-routines.ob): Remove variable.
12661         (do-tests-clean): Do not handle *-bp.out.
12662         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12663         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12664         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12665         (tests): Do not include $(tests-bp.out).
12666         (xtests): Do not include $(xtests-bp.out).
12667         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12668         [$(build-bounded) = yes] ($(addprefix
12669         $(objpfx),$(binaries-bounded))): Remove rule.
12670         ($(objpfx)%-bp.out): Remove rule.
12671         * config.make.in (build-bounded): Remove variable.
12672         * crypt/Makefile [$(build-bounded) = yes]
12673         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12674         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12675         append to variable.
12676         [$(build-bounded) = yes] (install-lib): Likewise.
12677         [$(build-bounded) = yes] (generated): Likewise.
12678         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12679         Remove rule.
12680         * intl/Makefile [$(build-bounded) = yes]
12681         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12682         * math/Makefile [$(build-bounded) = yes]
12683         ($(tests:%=$(objpfx)%-bp): Likewise.
12684         * misc/Makefile [$(build-bounded) = yes]
12685         ($(objpfx)tst-tsearch-bp): Likewise.
12686         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12687         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12688         Remove dependency.
12689         * string/Makefile (o-objects.ob): Remove variable.
12690         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12691         (CFLAGS-.ob): Remove variable.
12692         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12693         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12694         both definitions of variable.
12695         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12696         (ASFLAGS-.ob): Remove variable.
12698 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12700         [BZ #13550]
12701         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12702         Remove __BOUNDED_POINTERS__ from condition.
12703         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12704         * string/bits/string2.h [!__NO_STRING_INLINES &&
12705         !__BOUNDED_POINTERS__]: Likewise.
12706         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12707         Likewise.
12708         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12709         Remove conditional code.
12710         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12711         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12712         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12713         condition.
12715         [BZ #13550]
12716         * csu/libc-start.c: Do not include <bp-sym.h>.
12717         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12718         * elf/dl-open.c: Do not include <bp-sym.h>.
12719         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12720         * math/fegetenv.c: Do not include <bp-sym.h>.
12721         (fegetenv): Do not use BP_SYM in versioned symbols.
12722         * nptl/sysdeps/pthread/bits/libc-lockP.h
12723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12724         <bp-sym.h>.
12725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12726         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12728         (__pthread_mutex_destroy): Likewise.
12729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12730         (__pthread_mutex_lock): Likewise.
12731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12732         (__pthread_mutex_trylock): Likewise.
12733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12734         (__pthread_mutex_unlock): Likewise.
12735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12736         (__pthread_mutexattr_init): Likewise.
12737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12738         (__pthread_mutexattr_destroy): Likewise.
12739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12740         (__pthread_mutexattr_settype): Likewise.
12741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12742         (__pthread_rwlock_init): Likewise.
12743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12744         (__pthread_rwlock_destroy): Likewise.
12745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12746         (__pthread_rwlock_rdlock): Likewise.
12747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12748         (__pthread_rwlock_tryrdlock): Likewise.
12749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12750         (__pthread_rwlock_wrlock): Likewise.
12751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12752         (__pthread_rwlock_trywrlock): Likewise.
12753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12754         (__pthread_rwlock_unlock): Likewise.
12755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12756         (__pthread_key_create): Likewise.
12757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12758         (__pthread_setspecific): Likewise.
12759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12760         (__pthread_getspecific): Likewise.
12761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12762         Likewise.
12763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12764         (_pthread_cleanup_push_defer): Likewise.
12765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12766         (_pthread_cleanup_pop_restore): Likewise.
12767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12768         (pthread_setcancelstate): Likewise.
12769         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12770         <bp-sym.h>.
12771         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12772         (memchr): Do not use BP_SYM in weak_alias.
12773         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12774         (fegetenv): Do not use BP_SYM in versioned symbols.
12775         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12776         (fesetenv): Do not use BP_SYM in versioned symbols.
12777         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12778         (feupdateenv): Do not use BP_SYM in versioned symbols.
12779         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12780         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12781         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12782         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12783         (open64): Do not use BP_SYM in weak_alias.
12784         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12785         (fegetenv): Do not use BP_SYM in versioned symbols.
12786         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12787         (fesetenv): Do not use BP_SYM in versioned symbols.
12788         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12789         (feupdateenv): Do not use BP_SYM in versioned symbols.
12790         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12791         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12792         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12793         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12794         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12795         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12796         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12797         <bp-sym.h>.
12798         (__libc_start_main): Do not use BP_SYM.
12800 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12803         redundant return line.
12804         (norm): Likewise.
12805         (denorm): Likewise.
12806         (dbl_mp): Likewise.
12807         (sub_magnitudes): Likewise.
12808         (__add): Likewise.
12809         (__sub): Likewise.
12810         (__mul): Likewise.
12811         (__inv): Likewise.
12812         (__dvd): Likewise.
12813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12814         (norm): Likewise.
12815         (denorm): Likewise.
12816         (dbl_mp): Likewise.
12817         (sub_magnitudes): Likewise.
12818         (__add): Likewise.
12819         (__sub): Likewise.
12820         (__mul): Likewise.
12821         (__inv): Likewise.
12822         (__dvd): Likewise.
12824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12825         instead of __mul.
12826         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12827         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12828         (cc32): Likewise.
12830         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12831         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12833         of __mul for squares.
12834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12835         function
12836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12837         Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12839         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12841 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #13550]
12844         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12845         code.
12846         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12847         prototype or function definition.  Rename ubp_* variables and
12848         parameters.  Remove argv definitions conditional on
12849         [__BOUNDED_POINTERS__].
12850         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12851         * elf/dl-runtime.c (_dl_fixup): Likewise.
12852         * include/set-hooks.h (RUN_HOOK): Likewise.
12853         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12854         definition.
12855         * string/strcpy.c (strcpy): Do not use __unbounded.
12856         * sysdeps/generic/frame.h (struct layout): Likewise.
12857         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12858         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12859         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12860         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12861         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12862         (__backtrace): Likewise.
12863         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12864         use __ptrvalue.
12865         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12866         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12867         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12868         Likewise.
12869         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12870         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12871         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12872         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12873         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12874         Do not use __unbounded.
12875         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12876         Rename __unboundedrlimits parameter to rlimits in prototype.
12877         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12878         Do not use __unbounded.
12879         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12880         not use __ptrvalue.
12881         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12882         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12883         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12884         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12885         __ptrvalue or __unbounded.
12886         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12887         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12888         use __unbounded.
12889         (__new_msgctl): Do not use __ptrvalue.
12890         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12891         __unbounded.
12892         (__libc_msgrcv): Do not use __ptrvalue.
12893         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12894         startup_info): Do not use __unbounded.
12895         (__libc_start_main): Likewise.  Rename ubp_* variables and
12896         parameters.  Remove argv definitions conditional on
12897         [__BOUNDED_POINTERS__].
12898         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12899         __ptrvalue.
12900         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12901         use __unbounded.
12902         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12903         or __ptrvalue.
12904         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12905         use __unbounded.
12906         (__new_shmctl): Do not use __ptrvalue.
12907         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12908         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12909         Likewise.
12910         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12911         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12912         (__libc_sigaction): Likewise.
12913         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12914         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12915         Likewise.
12916         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12918 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12920         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12922         * string/mempcpy.c: Implement by calling memcpy.
12924 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12929         evaluation.
12931         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12932         values in the mantissa.
12934         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12935         minimize writes to Z.
12936         (sub_magnitudes): Simplify code a bit.
12938 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12940         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12941         from the message.  The linker prefixes all warnings with that already.
12943 2013-02-12  Andreas Schwab  <schwab@suse.de>
12945         [BZ #15078]
12946         * posix/regexec.c (extend_buffers): Add parameter min_len.
12947         (check_matching): Pass minimum needed length.
12948         (clean_state_log_if_needed): Likewise.
12949         (get_subexp): Likewise.
12950         * posix/Makefile (tests): Add bug-regex34.
12951         (bug-regex34-ENV): Define.
12952         * posix/bug-regex34.c: New file.
12954         [BZ #11561]
12955         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12956         elements compare against the byte sequence of it, not its name.
12957         * posix/Makefile (tests): Add bug-regex35.
12958         (bug-regex35-ENV): Define.
12959         * posix/bug-regex35.c: New file.
12961 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12963         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12964         comment.
12965         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12966         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12967         (CHECK_EOL): Add undef.
12969 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12971         * bits/stdlib-bsearch.h: New file.
12972         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12973         * stdlib/stdlib.h: Likewise.
12975 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12977         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12978         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12979         declaration.
12980         * manual/search.texi (Array Search Function): Add missing const in
12981         lfind prototype.
12982         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12983         declaration to use rlim_t.
12984         (Basic Scheduling Functions): Remove erroneous const from
12985         sched_getparam prototype.  Remove erroneous * from
12986         sched_get_priority_max and sched_get_priority_min prototypes.
12987         (Resource Usage): Fix summary @comment on vtimes to refer to
12988         sys/vtimes.h rather than vtimes.h.
12989         Add missing *s in vtimes prototype.
12990         (Limits on Resources): Fix ulimit prototype to return long int.
12991         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12992         prototypes to use long int rather than double.
12993         (BSD Random): Fix initstate and setstate to use char *, not void *.
12994         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12995         prototype to make second argument 'struct aiocb64 *const[]'.
12996         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12997         (Status of AIO Operations): Remove erroneous const in aio_return and
12998         aio_return64 prototypes.
12999         (Synchronizing I/O): Fix sync prototype to return void.
13000         * manual/startup.texi (Suboptions): Remove an erroneous const in
13001         getsubopt prototype.
13002         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13003         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13004         use size_t rather than int.
13005         (Scanning All Users): Likewise for getpwent_r.
13006         (Setting Groups): Add missing const to setgroups prototype.
13007         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13008         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13009         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13010         'const void *' rather than 'const char *'.
13011         (Host Address Functions): Likewise for inet_ntop.
13012         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13013         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13014         ssize_t for return value.
13015         (Sending Data): Likewise for send, sendto, sendmsg.
13016         (Socket Option Functions): Add a missing const in setsockopt prototype.
13017         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13018         use wchar_t for the argument.
13019         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13020         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13021         take no arguments.
13022         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13023         double/float/long double for second argument.
13024         Fix return types of significand, significandf, significandl.
13025         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13026         argument in fchmod prototype.
13027         (File Owner): Use uid_t and gid_t in fchown prototype.
13028         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13029         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13030         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13031         use 'const struct dirent **' as argument types to CMP function pointer
13032         argument.
13033         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13034         (File Times): Fix summary magic @comment for struct utimbuf and utime
13035         to refer to utime.h, not time.h.
13036         * manual/string.texi (Argz Functions): Add missing const in
13037         argz_extract and argz_next prototypes.
13038         (Finding Tokens in a String): Likewise for basename.
13039         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13040         (Copying and Concatenation): Fix typo in wmemmove prototype.
13041         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13042         (Signal Stack): Remove erroneous const in sigstack prototype.
13043         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13044         prototype.
13045         (Simple Calendar Time): Likewise for stime.
13046         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13047         prototype.
13048         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13049         say sys/sysctl.h instead.
13050         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13051         and vsyslog prototypes.
13053 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13055         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13056         Remove.
13058 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13060         * misc/sys/mman.h: Fix typo in mremap comment.
13062 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13064         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13065         the '\0' terminator.
13067 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13069         [BZ #13550]
13070         * debug/segfault.c: Don't include <bp-checks.h>.
13071         * sysdeps/generic/bp-checks.h: Remove file.
13072         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13073         (__GETDENTS): Don't use CHECK_N.
13074         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13075         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13076         (__getgroups): Don't use CHECK_N.
13077         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13078         (setgroups): Don't use CHECK_N.
13079         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13080         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13081         (__libc_msgrcv): Don't use CHECK_N.
13082         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13083         (__libc_msgsnd): Don't use CHECK_N.
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13085         <bp-checks.h>.
13086         (__libc_pread): Don't use CHECK_N.
13087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13088         include <bp-checks.h>.
13089         (__libc_pread64): Don't use CHECK_N.
13090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13091         include <bp-checks.h>.
13092         (__libc_pwrite): Don't use CHECK_N.
13093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13094         include <bp-checks.h>.
13095         (__libc_pwrite64): Don't use CHECK_N.
13096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13097         <bp-checks.h>.
13098         (__libc_pread): Don't use CHECK_N.
13099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13100         include <bp-checks.h>.
13101         (__libc_pread64): Don't use CHECK_N.
13102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13103         include <bp-checks.h>.
13104         (__libc_pwrite): Don't use CHECK_N.
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13106         include <bp-checks.h>.
13107         (__libc_pwrite64): Don't use CHECK_N.
13108         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13109         (do_pread): Don't use CHECK_N.
13110         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13111         (do_pread64): Don't use CHECK_N.
13112         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13113         (do_pwrite): Don't use CHECK_N.
13114         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13115         (do_pwrite64): Don't use CHECK_N.
13116         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13117         (__libc_readv): Don't use CHECK_N.
13118         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13119         (semop): Don't use CHECK_N.
13120         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13121         <bp-checks.h>.
13122         (semtimedop): Don't use CHECK_N.
13123         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13124         (__libc_pread): Don't use CHECK_N.
13125         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13126         <bp-checks.h>.
13127         (__libc_pread64): Don't use CHECK_N.
13128         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13129         <bp-checks.h>.
13130         (__libc_pwrite): Don't use CHECK_N.
13131         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13132         <bp-checks.h>.
13133         (__libc_pwrite64): Don't use CHECK_N.
13134         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13135         <bp-checks.h>.
13136         (__libc_msgrcv): Don't use CHECK_N.
13137         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13138         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13139         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13140         (__libc_writev): Don't use CHECK_N.
13142 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13144         * string/strcpy.c: Removed unused variable.
13146         * Makeconfig (+sysdep-includes): Define with := rather than =.
13147         Use an existing include/ subdir of each sysdeps dir before it.
13149 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13151         * nscd/connection.c (register_traced_file): Comment function.
13152         [HAVE_INOTIFY] (union __inev): Define.
13153         [HAVE_INOTIFY] (inotify_check_files): New function.
13154         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13155         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13156         clear_db_cache.
13157         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13159 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13161         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13162         loaded if not already and that a failure is permanent.
13164 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13166         [BZ #15006]
13167         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13168         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13170 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13172         [BZ #13550]
13173         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13174         (CHECK_1_NULL_OK): Likewise.
13175         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13176         (__fxstat): Do not use CHECK_1.
13177         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13178         <bp-checks.h>.
13179         (___fxstat64): Do not use CHECK_1.
13180         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13181         <bp-checks.h>.
13182         (__fxstatat): Do not use CHECK_1.
13183         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13184         <bp-checks.h>.
13185         (__fxstatat64): Do not use CHECK_1.
13186         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13187         <bp-checks.h>.
13188         (__fxstat): Do not use CHECK_1.
13189         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13190         <bp-checks.h>.
13191         (__fxstatat): Do not use CHECK_1.
13192         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13193         <bp-checks.h>.
13194         (__getresgid): Do not use CHECK_1.
13195         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13196         <bp-checks.h>.
13197         (__getresuid): Do not use CHECK_1.
13198         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13199         <bp-checks.h>.
13200         (__lxstat): Do not use CHECK_1.
13201         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13202         <bp-checks.h>.
13203         (__old_msgctl): Do not use CHECK_1.
13204         (__new_msgctl): Likewise.
13205         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13206         <bp-checks.h>.
13207         (__new_setrlimit): Do not use CHECK_1.
13208         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13209         <bp-checks.h>.
13210         (__old_shmctl): Do not use CHECK_1.
13211         (__new_shmctl): Likewise.
13212         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13213         <bp-checks.h>.
13214         (__xstat): Do not use CHECK_1.
13215         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13216         (__lxstat): Do not use CHECK_1.
13217         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13218         <bp-checks.h>.
13219         (___lxstat64): Do not use CHECK_1.
13220         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13221         (__old_msgctl): Do not use CHECK_1.
13222         (__new_msgctl): Likewise.
13223         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13224         <bp-checks.h>.
13225         (__gettimeofday): Do not use CHECK_1.
13226         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13227         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13228         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13229         <bp-checks.h>.
13230         (__gettimeofday): Do not use CHECK_1.
13231         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13232         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13233         (__new_shmctl): Do not use CHECK_1.
13234         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13235         <bp-checks.h>.
13236         (do_sigtimedwait): Do not use CHECK_1.
13237         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13238         <bp-checks.h>.
13239         (do_sigwaitinfo): Do not use CHECK_1.
13240         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13241         <bp-checks.h>.
13242         (msgctl): Do not use CHECK_1.
13243         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13244         <bp-checks.h>.
13245         (shmctl): Do not use CHECK_1.
13246         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13247         (ustat): Do not use CHECK_1.
13248         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13249         <bp-checks.h>.
13250         (__fxstat): Do not use CHECK_1.
13251         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13252         <bp-checks.h>.
13253         (__fxstatat): Do not use CHECK_1.
13254         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13255         <bp-checks.h>.
13256         (__lxstat): Do not use CHECK_1.
13257         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13258         <bp-checks.h>.
13259         (__xstat): Do not use CHECK_1.
13260         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13261         (__xstat): Do not use CHECK_1.
13262         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13263         (___xstat64): Do not use CHECK_1.
13265         [BZ #13550]
13266         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13267         definitions.
13268         (CHECK_BOUNDS_HIGH): Likewise.
13269         * string/strcpy.c: Do not include <bp-checks.h>.
13270         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13272 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13274         * nscd/nscd-client.h (__nscd_drop_map_ref):
13275         Add __attribute__ ((unused)).
13276         * nis/nss-nisplus.h (niserr2nss): Likewise.
13278         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13279         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13281         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13282         Remove inline keyword.
13283         * include/rounding-mode.h (round_away): Likewise.
13284         * libio/wfileops.c (adjust_wide_data): Likewise.
13285         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13286         (__m128i_strloadu_tolower): Likewise.
13287         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13288         (__m128i_strloadu_tolower): Likewise.
13289         * time/mktime.c (ydhms_diff): Likewise.
13290         * locale/elem-hash.h (elem_hash): Likewise.
13291         * locale/setlocale.c (setdata): Likewise.
13292         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13293         (re_string_wchar_at): Likewise.
13294         (bitset_not, bitset_merge, bitset_mask): Likewise.
13295         [!(__GNUC__ > 3)] (inline): Remove macro.
13296         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13297         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13298         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13299         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13300         * string/memcmp.c (memcmp_bytes): Likewise.
13301         * locale/programs/locarchive.c (compute_hashval): Likewise.
13302         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13303         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13304         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13305         * nss/getent.c (print_rpc, print_protocols): Likewise.
13306         (print_passwd, print_group, print_aliases): Likewise.
13307         * nis/nss-nisplus.h (niserr2nss): Likewise.
13308         * nscd/connections.c (restart_p): Likewise.
13309         Change return type to bool.
13311 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13313         * Makeconfig (all-Depend-files): Add existing
13314         $(sorted-subdirs:=/Depend) files.
13315         (all-subdirs): Remove nss.
13316         * sysdeps/unix/inet/Subdirs: Add it here instead.
13317         * hesiod/Depend: New file.
13319         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13320         instead of calling alloca.
13322         * io/lseek.c (__lseek): Rename to __libc_lseek.
13323         Define __lseek as an alias.
13325         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13327 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13329         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13330         else clause and remove check for non-standard endianness.
13332 2013-02-04  David S. Miller  <davem@davemloft.net>
13334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13336 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13338         [BZ #13550]
13339         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13340         (__ubp_memchr): Remove prototype.
13341         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13342         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13343         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13344         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13345         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13346         Remove alias.
13347         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13348         (__ubp_memchr): Likewise.
13349         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13350         (__ubp_memchr): Likewise.
13351         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13352         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13353         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13354         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13355         CHECK_STRING.
13356         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13357         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13358         (__getcwd): Do not use CHECK_STRING.
13359         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13360         <bp-checks.h>.
13361         (__real_chown): Do not use CHECK_STRING.
13362         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13363         <bp-checks.h>.
13364         (fchownat): Do not use CHECK_STRING.
13365         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13366         CHECK_STRING.
13367         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13368         <bp-checks.h>.
13369         (__lchown): Do not use CHECK_STRING.
13370         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13371         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13372         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13373         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13375         include <bp-checks.h>.
13376         (truncate64): Do not use CHECK_STRING.
13377         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13378         <bp-checks.h>.
13379         (__real_chown): Do not use CHECK_STRING.
13380         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13381         <bp-checks.h>.
13382         (__lchown): Do not use CHECK_STRING.
13383         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13384         <bp-checks.h>.
13385         (__chown): Do not use CHECK_STRING.
13386         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13387         <bp-checks.h>.
13388         (truncate64): Do not use CHECK_STRING.
13389         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13390         Likewise.
13391         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13392         (__xmknod): Do not use CHECK_STRING.
13393         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13394         <bp-checks.h>.
13395         (__xmknodat): Do not use CHECK_STRING.
13396         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13397         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13399 2013-02-04  Andreas Schwab  <schwab@suse.de>
13401         [BZ #14142]
13402         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13403         * include/netdb.h: Likewise for h_errno.
13404         * elf/tst-stackguard1.c: Include <tls.h>.
13406 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
13408         * elf/link.h (struct link_map): Extend the l_addr comment.
13409         * include/link.h (struct link_map): Likewise.
13411 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
13413         [BZ #13550]
13414         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13415         (BOUNDED_1): Remove macro.
13416         * debug/backtrace.c: Don't include <bp-checks.h>.
13417         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13418         (__backtrace): Likewise.
13419         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13420         <bp-checks.h>.
13421         (__backtrace): Don't use BOUNDED_1.
13422         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13423         <bp-checks.h>.
13424         (__backtrace): Don't use BOUNDED_1.
13425         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13426         (__backtrace): Don't use BOUNDED_1.
13427         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13428         (shmat): Don't use BOUNDED_N.
13430 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
13432         [BZ #13550]
13433         * sysdeps/generic/bp-start.h: Remove file.
13434         * csu/libc-start.c: Don't include <bp-start.h>.
13435         (LIBC_START_MAIN): Set up __environ directly instead of using
13436         INIT_ARGV_and_ENVIRON.
13437         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13438         <bp-start.h>.
13440         [BZ #13550]
13441         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13442         definitions.
13443         (CHECK_FCNTL): Likewise.
13444         (CHECK_N_PAGES): Likewise.
13446         [BZ #13550]
13447         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13448         definitions.
13449         (CHECK_SIGSET_NULL_OK): Likewise.
13450         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13451         <bp-checks.h>.
13452         (sigpending): Don't use CHECK_SIGSET.
13453         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13454         <bp-checks.h>.
13455         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13456         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13457         <bp-checks.h>.
13458         (do_sigsuspend): Don't use CHECK_SIGSET.
13459         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13460         use CHECK_SIGSET.
13461         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13462         (do_sigwait): Don't use CHECK_SIGSET.
13463         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13464         use CHECK_SIGSET.
13465         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13466         include <bp-checks.h>.
13467         (sigpending): Don't use CHECK_SIGSET.
13468         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13469         include <bp-checks.h>.
13470         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13471         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13472         <bp-checks.h>.
13473         (sigpending): Don't use CHECK_SIGSET.
13474         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13475         <bp-checks.h>.
13476         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13478         [BZ #13550]
13479         * sysdeps/generic/bp-semctl.h: Remove file.
13480         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13481         <bp-checks.h> and <bp-semctl.h>.
13482         (__old_semctl): Don't use CHECK_SEMCTL.
13483         (__new_semctl): Likewise.
13484         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13485         and <bp-semctl.h>.
13486         (__old_semctl): Don't use CHECK_SEMCTL.
13487         (__new_semctl): Likewise.
13488         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13489         <bp-checks.h> and <bp-semctl.h>.
13490         (__old_semctl): Don't use CHECK_SEMCTL.
13491         (__new_semctl): Likewise.
13492         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13493         <bp-checks.h> and <bp-semctl.h>.
13494         (semctl): Don't use CHECK_SEMCTL.
13496         [BZ #13550]
13497         * Makerules (elide-bp-thunks): Remove variable.
13498         (elide-routines.oS): Don't use $(elide-bp-thunks).
13499         (elide-routines.os): Likewise.
13500         (elide-routines.o): Likewise.
13501         (elide-routines.op): Likewise.
13502         (elide-routines.og): Likewise.
13503         (objects): Don't use $(bp-thunks).
13504         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13505         include.
13506         (common-generated): Do not add s-proto-bp.d.
13507         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13508         (int): Likewise.
13509         (typ): Likewise.
13510         Do not generate makefile rules for bounded-pointer thunks.
13511         * sysdeps/generic/bp-thunks.h: Remove file.
13512         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13513         * sysdeps/unix/s-proto-bp.S: Likewise.
13515         [BZ #15062]
13516         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13517         parts of result separately when argument is not close to line from
13518         -i to i and one part of argument is small.
13519         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13520         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13521         * math/libm-test.inc (cacos_test): Add more tests.
13522         (casin_test): Likewise.
13523         (casinh_test): Likewise.
13524         * sysdeps/i386/fpu/libm-test-ulps: Update.
13525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13527 2013-01-31  David S. Miller  <davem@davemloft.net>
13529         * po/de.po: Update from translation team.
13531 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13533         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13535 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13537         * configure.in (_AC_PROG_CC_C89): New definition.
13538         * configure: Regenerate.
13540         * configure.in (AC_PROG_CPP): New definition.
13541         * configure: Regenerate.
13543 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13545         * debug/tst-backtrace.h: New file.
13546         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13547         (ret): Remove variable.
13548         (x): Likewise.
13549         (FAIL): Remove macro.
13550         (NO_INLINE): Likewise.
13551         (fn1): Use match function instead of strstr.
13552         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13553         (ret): Remove variable.
13554         (x): Likewise.
13555         (FAIL): Remove macro.
13556         (NO_INLINE): Likewise.
13557         (fn): Use match function instead of strstr.
13558         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13559         (ret): Remove variable.
13560         (x): Likewise.
13561         (FAIL): Remove macro.
13562         (NO_INLINE): Likewise.
13563         (handle_signal): Use match function instead of strstr.
13564         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13565         (ret): Remove variable.
13566         (x): Likewise.
13567         (FAIL): Remove macro.
13568         (NO_INLINE): Likewise.
13569         (handle_signal): Use match function instead of strstr.
13571 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13573         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13575 2013-01-23  David S. Miller  <davem@davemloft.net>
13577         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13578         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13579         argument of CAS if possible.
13580         * sysdeps/sparc/sparc64/bits/atomic.h
13581         (__arch_compare_and_exchange_val_32_acq): Likewise.
13582         (__arch_compare_and_exchange_val_64_acq): Likewise.
13584 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13586         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13587         * sysdeps/posix/ulimit.c: ... this.
13588         Include <limits.h>.
13589         * sysdeps/unix/bsd/ulimit.c: Remove file.
13591 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13593         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13594         (LDFLAGS-tst-array5): Likewise.
13596 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13598         [BZ #15036]
13599         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13600         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13601         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13602         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13604 2013-01-21  David S. Miller  <davem@davemloft.net>
13606         * sysdeps/sparc/backtrace.c: New file.
13607         * sysdeps/sparc/sparc32/backtrace.h: New file.
13608         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13609         * sysdeps/sparc/sparc64/backtrace.h: New file.
13610         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13611         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13612         -funwind-tables.
13614 2013-01-21  Andreas Schwab  <schwab@suse.de>
13616         [BZ #15020]
13617         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13618         closed its stdout.
13620 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13623         "mpa2.h".
13624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13626 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13627             Mark Mitchell  <mark@codesourcery.com>
13628             Tom de Vries  <tom@codesourcery.com>
13629             Paul Pluzhnikov  <ppluzhnikov@google.com>
13631         * debug/tst-backtrace2.c: New file.
13632         * debug/tst-backtrace3.c: Likewise.
13633         * debug/tst-backtrace4.c: Likewise.
13634         * debug/tst-backtrace5.c: Likewise.
13635         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13636         (CFLAGS-tst-backtrace3.c): Likewise.
13637         (CFLAGS-tst-backtrace4.c): Likewise.
13638         (CFLAGS-tst-backtrace5.c): Likewise.
13639         (LDFLAGS-tst-backtrace2): Likewise.
13640         (LDFLAGS-tst-backtrace3): Likewise.
13641         (LDFLAGS-tst-backtrace4): Likewise.
13642         (LDFLAGS-tst-backtrace5): Likewise.
13643         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13644         tst-backtrace4 and tst-backtrace5.
13646 2013-01-18  Anton Blanchard  <anton@samba.org>
13647             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13649         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13650         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13651         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13652         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13654         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13655         "+r" and remove output regs list as redundant.  Add explicit inline
13656         asm to specify register of return val to work around compiler codegen
13657         bug.  Remove (int) cast on return value.  Add return type parameter to
13658         use in macro so that this macro does not truncate return value for
13659         64-bit values.
13660         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13661         pass to INTERNAL_VSYSCALL_NCS.
13662         (INLINE_VSYSCALL): Add 'long int' as return type to
13663         INTERNAL_VSYSCALL_NCS macro invocation.
13664         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13665         INTERNAL_VSYSCALL_NCS macro invocation.
13666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13668 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13670         [BZ #14496]
13671         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13672         Fix application of SIMD FP exception mask.
13674         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13675         mp_no from a power of two.
13676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13677         __mpexp_twomm1.  Use __pow_mp.
13679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13680         multiplication.
13682 2013-01-17  David S. Miller  <davem@davemloft.net>
13684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13686 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13688         [BZ #15023]
13689         * include/complex.h: Condition contents on [!_COMPLEX_H].
13690         (__kernel_casinhf): New prototype.
13691         (__kernel_casinh): Likewise.
13692         (__kernel_casinhl): Likewise.
13693         * math/Makefile (libm_calls): Add k_casinh.
13694         * math/k_casinh.c: New file.
13695         * math/k_casinhf.c: Likewise.
13696         * math/k_casinhl.c: Likewise.
13697         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13698         finite nonzero arguments.
13699         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13700         finite nonzero arguments.
13701         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13702         finite nonzero arguments.
13703         * math/s_casinh.c: Do not include <float.h>.
13704         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13705         * math/s_casinhf.c: Do not include <float.h>.
13706         (__casinhf): Move code for finite nonzero arguments to
13707         k_casinhf.c.
13708         * math/s_casinhl.c: Do not include <float.h>.
13709         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13710         redefine.
13711         (__casinhl): Move code for finite nonzero arguments to
13712         k_casinhl.c.
13713         * math/libm-test.inc (cacos_test): Add more tests.
13714         * sysdeps/i386/fpu/libm-test-ulps: Update.
13715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13717 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13719         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13720         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13721         [!HAVE_MREMAP]: Remove [defined linux] case.
13722         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13724 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13726         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13728 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13730         * elf/elf.h (R_386_SIZE32): New relocation.
13731         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13732         R_386_SIZE32.
13733         (elf_machine_rela): Likewise.
13734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13735         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13737 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13739         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13740         (FP_FAST_FMA): Do not define.
13741         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13742         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13743         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13744         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13745         !_SOFT_FLOAT]: Likewise.
13746         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13747         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13748         value.
13749         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13750         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13751         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13752         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13753         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13754         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13755         file.
13757 2013-01-16  Andreas Schwab  <schwab@suse.de>
13759         [BZ #14327]
13760         * include/stdlib.h (__mktemp): Add declaration.
13761         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13762         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13764 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13766         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13767         definitions.
13768         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13769         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13770         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13771         definitions here.
13772         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13773         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13774         definitions.
13775         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13776         and ONE.
13777         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13778         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13779         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13780         definitions.
13781         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13782         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13783         definitions.
13784         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13786         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13788 2013-01-15  David S. Miller  <davem@davemloft.net>
13790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13791         trunc{,f} to libm-sysdep_routes.
13792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13794         file.
13795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13797         file.
13798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13799         file.
13800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13802         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13803         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13804         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13805         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13806         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13807         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13810         nearbyint{,f} to libm-sysdep_routes.
13811         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13813         New file.
13814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13815         file.
13816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13817         New file.
13818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13819         file.
13820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13822         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13823         file.
13824         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13825         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13826         file.
13827         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13828         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13829         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13831         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13832         libc_feholdexcept and libc_fesetenv.
13834 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13836         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13838 2013-01-14  David S. Miller  <davem@davemloft.net>
13840         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13841         (SPARC_ASM_VIS2_IFUNC): Likewise.
13842         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13844         use of 'siam' instruction.
13845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13846         Likewise.
13847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13848         Likewise.
13849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13850         Likewise.
13851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13856         file.
13857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13858         file.
13859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13860         file.
13861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13862         file.
13863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13868         new VIS2 routines.
13869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13872         Likewise.
13873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13878         routines to libm-sysdep_routines.
13879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13882         fdim/fdimf to libm-sysdep_routines.
13883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13884         file.
13885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13887         file.
13888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13891         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13892         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13893         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13894         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13896 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13898         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13899         to optimize copies.
13901         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13906         local variable MPTWO.
13907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13908         Likewise.
13910 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13912         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13913         GLOB_NOESCAPE.
13915 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13917         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13919 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13921         * manual/pattern.texi (glob_t): Document gl_flags.
13922         (glob64_t): Likewise.
13924 2013-01-11  David S. Miller  <davem@davemloft.net>
13926         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13927         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13928         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13929         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13930         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13931         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13932         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13933         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13934         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13935         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13936         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13937         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13938         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13940         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13941         sparc V9 rather than using V8 code.
13942         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13943         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13945         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13946         Move to...
13947         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13948         Here.
13950 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13952         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13953         not in the main loop.
13954         * configure: Regenerated.
13956 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13958         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13959         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13960         to just #else.
13961         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13962         [!__GLIBC_HAVE_LONG_LONG] case.
13963         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13964         condition to just #else.
13965         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13966         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13967         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13968         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13969         unconditional.
13970         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13971         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13972         #elif condition to just #else.
13973         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13974         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13975         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13976         #elif condition to just #else.
13978 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13980         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13981         (EF_MIPS_ARCH_64): Fix value.
13982         (EF_MIPS_ARCH_32R2): New.
13983         (EF_MIPS_ARCH_64R2): New.
13985 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13987         * Makeconfig (+link-pie-before-libc): New.
13988         (+link-pie-after-libc): Likewise.
13989         (+link-pie-tests): Likewise.
13990         (+link-pie): Rewritten.
13991         (link-before-libc): Remove $(config-LDFLAGS).
13992         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13993         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13994         (config-LDFLAGS): Renamed to ...
13995         (rtld-LDFLAGS): This.
13996         (rtld-tests-LDFLAGS): New macro.
13997         (link-libc-rpath-link): Likewise.
13998         (link-libc-tests-rpath-link): Likewise.
13999         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14000         (link-libc): Prepand $(link-libc-rpath-link).
14001         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14002         (test-program-prefix): New macro.
14003         (test-via-rtld-prefix): Likewise.
14004         (test-program-cmd): Likewise.
14005         (host-test-program-cmd): Likewise.
14006         * Makefile ($(common-objpfx)testrun.sh): Replace
14007         $(run-program-prefix) with $(test-program-prefix).
14008         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14009         $(rtld-LDFLAGS).
14010         ($(common-objpfx)shlib.lds): Likewise.
14011         (build-module-helper): Likewise.
14012         ($(common-objpfx)format.lds): Likewise.
14013         * Rules (binaries-pie-tests): New.
14014         (binaries-pie-notests): Likewise.
14015         (binaries-pie): Rewritten.
14016         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14017         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14018         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14019         (make-test-out): Replace $(host-built-program-cmd) with
14020         $(host-test-program-cmd).
14021         * config.make.in (build-hardcoded-path-in-tests): New variable.
14022         * configure.in (--enable-hardcoded-path-in-tests): New configure
14023         option.
14024         (hardcoded_path_in_tests): New AC_SUBST.
14025         * configure: Regenerated.
14026         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14027         $(built-program-cmd) with $(test-program-cmd).
14028         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14029         (test_program_cmd): This.
14030         * elf/Makefile ($(objpfx)order.out): Run test with
14031         $(test-program-prefix).
14032         ($(objpfx)order2.out): Likewise.
14033         ($(objpfx)tst-initorder.out): Likewise.
14034         ($(objpfx)tst-initorder2.out): Likewise.
14035         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14036         $(test-program-cmd).
14037         ($(objpfx)tst-array1-static.out): Likewise.
14038         ($(objpfx)tst-array2.out): Likewise.
14039         ($(objpfx)tst-array3.out): Likewise.
14040         ($(objpfx)tst-array4.out): Likewise.
14041         ($(objpfx)tst-array5.out): Likewise.
14042         ($(objpfx)tst-array5-static.out): Likewise.
14043         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14044         $(test-program-cmd).
14045         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14046         $(run-program-prefix) with $(test-program-prefix).
14047         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14048         (test_program_prefix): This.
14049         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14050         $(run-program-prefix) with $(test-program-prefix).
14051         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14052         (test_program_prefix): This.
14053         * iconvdata/tst-tables.sh: Likewise.
14054         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14055         $(run-program-prefix) with $(test-program-prefix).
14056         ($(objpfx)tst-translit.out): Likewise.
14057         ($(objpfx)tst-gettext2.out): Likewise.
14058         ($(objpfx)tst-gettext4.out): Likewise.
14059         ($(objpfx)tst-gettext6.out): Likewise.
14060         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14061         (test_program_prefix): This.
14062         * intl/tst-gettext2.sh: Likewise.
14063         * intl/tst-gettext4.sh  Likewise.
14064         * intl/tst-gettext6.sh: Likewise.
14065         * intl/tst-translit.sh: Likewise.
14066         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14067         with $(test-program-cmd).
14068         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14069         $(run-program-prefix) with $(test-program-prefix).
14070         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14071         (test_program_prefix): This.
14072         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14073         $(run-program-prefix) with $(test-program-prefix).
14074         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14075         (test_program_prefix): This.
14076         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14077         * posix/Makefile ($(objpfx)globtest.out): Replace
14078         $(run-via-rtld-prefix) and $(test-wrapper) with
14079         $(test-program-prefix) and $(test-via-rtld-prefix).
14080         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14081         $(test-program-prefix).
14082         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14083         $(host-test-program-cmd).
14084         (tst-spawn-ARGS): Likewise.
14085         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14086         $(test-program-prefix).
14087         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14088         (test_via_rtld_prefix): This.
14089         (test_wrapper): Renamed to ...
14090         (test_program_prefix): This.
14091         (run_program_prefix): Replaced by test_program_prefix.
14092         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14093         (test_program_prefix): This.
14094         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14095         with $(host-test-program-cmd).
14096         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14097         $(run-program-prefix) with $(test-program-prefix).
14098         ($(objpfx)tst-printf.out): Likewise.
14099         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14100         $(test-program-cmd).
14101         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14102         (test_program_prefix): This.
14103         * stdio-common/tst-unbputc.sh: Likewise.
14104         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14105         $(run-program-prefix) with $(test-program-prefix).
14106         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14107         (test_program_prefix): This.
14108         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14109         $(built-program-cmd) with $(test-program-cmd).
14111 2013-01-11  Andreas Jaeger  <aj@suse.de>
14113         [BZ #15003]
14114         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14115         value. Sync with Linux 3.7.
14117 2013-01-10  David S. Miller  <davem@davemloft.net>
14119         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14120         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14121         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14123 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14125         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14126         never set.
14127         * configure: Regenerated.
14129 2013-01-10  David S. Miller  <davem@davemloft.net>
14131         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14132         sparc V9 rather than using V8 code.
14133         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14134         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14136 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14138         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14139         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14140         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14141         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14142         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14143         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14144         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14145         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14146         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14147         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14148         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14149         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14150         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14151         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14152         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14153         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14154         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14155         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14156         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14157         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14158         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14159         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14160         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14161         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14162         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14163         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14164         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14166 2013-01-10  David S. Miller  <davem@davemloft.net>
14168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14170 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14172         * posix/Makefile (tests-static): New variable.
14173         (tests): Add $(tests-static).
14174         (tst-exec-static-ARGS): New variable.
14175         (tst-spawn-static-ARGS): Likewise.
14176         * posix/tst-exec-static.c: New file.
14177         * posix/tst-spawn-static.c: Likewise.
14178         * posix/tst-exec.c: Support run directly.
14179         * posix/tst-spawn.c: Likewise.
14181 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14183         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14184         long.
14185         * math/bits/mathcalls.h (llrint): Likewise.
14186         (llround): Likewise.
14187         * stdlib/stdlib.h (struct drand48_data): Likewise.
14188         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14189         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14190         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14191         Likewise.
14192         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14193         Likewise.
14194         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14195         (elf_greg_t): Likewise.
14196         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14197         (__jmp_buf): Likewise.
14198         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14199         definitions.
14200         (llrint): Likewise, for all definitions.
14201         (llrintl): Likewise.
14203         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14204         Remove [__GNUC__] condition.
14205         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14206         condition to just [__USE_ISOC99].
14207         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14209 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14211         [BZ #14200]
14212         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14213         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14214         defined.
14215         (_POSIX_V6_ILP32_OFF32): Likewise.
14216         (_XBS5_ILP32_OFF32): Likewise.
14217         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14218         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14220 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14222         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14225         doubles __mpexp_twomm1.  Adjust usage.
14226         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14227         Remove.
14229 2013-01-10  Andreas Schwab  <schwab@suse.de>
14231         [BZ #14964]
14232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14233         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14235 2013-01-09  David S. Miller  <davem@davemloft.net>
14237         [BZ #15003]
14238         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14239         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14240         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14241         TCP_FASTOPEN): Define.
14242         (tcp_repair_opt): New structure.
14243         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14244         enum values.
14245         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14246         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14247         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14248         (tcp_cookie_transactions): New structure.
14250 2013-01-09  Anton Blanchard  <anton@samba.org>
14252         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14253         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14254         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14255         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14257 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14259         * include/features.h (__USE_ANSI): Remove.
14261 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14263         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14265         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14267 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14269         * sysdeps/s390/fpu/libm-test-ulps: Update.
14271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14273         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14274         (__acr): Likewise.
14275         (__cpy): Likewise.
14276         (norm): Likewise.
14277         (denorm): Likewise.
14278         (__mp_dbl): Likewise.
14279         (__dbl_mp): Likewise.
14280         (add_magnitudes): Likewise.
14281         (sub_magnitudes): Likewise.
14282         (__add): Likewise.
14283         (__sub): Likewise.
14284         (__mul): Likewise.
14285         (__inv): Likewise.
14286         (__dvd): Likewise.
14287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14288         (__acr): Likewise.
14289         (__cpy): Likewise.
14290         (norm): Likewise.
14291         (denorm): Likewise.
14292         (__mp_dbl): Likewise.
14293         (__dbl_mp): Likewise.
14294         (add_magnitudes): Likewise.
14295         (sub_magnitudes): Likewise.
14296         (__add): Likewise.
14297         (__sub): Likewise.
14298         (__mul): Likewise.
14299         (__inv): Likewise.
14300         (__dvd): Likewise.
14301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14302         (__acr): Likewise.
14303         (__cpy): Likewise.
14304         (norm): Likewise.
14305         (denorm): Likewise.
14306         (__mp_dbl): Likewise.
14307         (__dbl_mp): Likewise.
14308         (add_magnitudes): Likewise.
14309         (sub_magnitudes): Likewise.
14310         (__add): Likewise.
14311         (__sub): Likewise.
14312         (__mul): Likewise.
14313         (__inv): Likewise.
14314         (__dvd): Likewise.
14316 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14318         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14319         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14320         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14321         2 && __USE_EXTERN_INLINES]: Likewise.
14323 2013-01-08  Andreas Jaeger  <aj@suse.de>
14325         [BZ# 14985]
14326         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14327         Remove.
14328         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14329         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14331 2013-01-07  Anton Blanchard  <anton@samba.org>
14333         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14334         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14335         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14336         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14337         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14338         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14339         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14340         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14341         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14342         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14343         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14344         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14345         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14346         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14347         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14348         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14349         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14350         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14351         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14352         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14353         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14354         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14355         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14356         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14357         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14358         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14359         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14360         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14362         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14363         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14365         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14366         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14367         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14368         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14369         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14370         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14371         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14373         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14374         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14375         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14377 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14379         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14380         (__MALLOC_PMT): Likewise.
14381         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14382         [__GNUC__], only on [_LIBC].
14383         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14384         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14385         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14386         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14387         forward declaration.
14388         (realloc_hook_ini): Likewise.
14389         (memalign_hook_ini): Likewise.
14390         (__libc_memalign): Do not use __MALLOC_PMT in variable
14391         declaration.
14392         (__libc_valloc): Likewise.
14393         (__libc_pvalloc): Likewise.
14394         (__libc_calloc): Likewise.
14395         (__posix_memalign): Likewise.
14397         [BZ #14996]
14398         * math/s_casinh.c: Include <float.h>.
14399         (__casinh): Do not do computation with squaring and square root
14400         for large arguments.
14401         * math/s_casinhf.c: Include <float.h>.
14402         (__casinhf): Do not do computation with squaring and square root
14403         for large arguments.
14404         * math/s_casinhl.c: Include <float.h>.
14405         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14406         (__casinhl): Do not do computation with squaring and square root
14407         for large arguments.
14408         * math/libm-test.inc (casin_test): Add more tests.
14409         (casinh_test): Likewise.
14410         * sysdeps/i386/fpu/libm-test-ulps: Update.
14411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14413 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
14415         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14416         (__x86_64_raw_data_cache_size): Likewise.
14417         (__x86_64_data_cache_size_half): Likewise.
14418         (__x86_64_raw_data_cache_size_half): Likewise.
14419         (__x86_64_shared_cache_size): Likewise.
14420         (__x86_64_raw_shared_cache_size): Likewise.
14421         (__x86_64_shared_cache_size_half): Likewise.
14422         (__x86_64_raw_shared_cache_size_half): Likewise.
14423         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14424         to ...
14425         (__x86_data_cache_size): This.
14426         (__x86_64_raw_data_cache_size): Renamed to ...
14427         (__x86_raw_data_cache_size): This.
14428         (__x86_64_data_cache_size_half): Renamed to ...
14429         (__x86_data_cache_size_half): This.
14430         (__x86_64_raw_data_cache_size_half): Renamed to ...
14431         (__x86_raw_data_cache_size_half): This.
14432         (__x86_64_shared_cache_size): Renamed to ...
14433         (__x86_shared_cache_size): This.
14434         (__x86_64_raw_shared_cache_size): Renamed to ...
14435         (__x86_raw_shared_cache_size): This.
14436         (__x86_64_shared_cache_size_half): Renamed to ...
14437         (__x86_shared_cache_size_half): This.
14438         (__x86_64_raw_shared_cache_size_half): Renamed to ...
14439         (__x86_raw_shared_cache_size_half): This.
14440         * sysdeps/x86_64/memcpy.S: Updated.
14441         * sysdeps/x86_64/memset.S: Likewise.
14442         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14443         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14444         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14446 2013-01-04  David S. Miller  <davem@davemloft.net>
14448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14450 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
14452         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14453         1 to avoid redefinition warning.
14454         (__USE_GNU): Don't define.
14455         (init_signaling_nan): Protoize.
14457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14459 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14461         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14463         (__cpymn): Likewise.
14464         (norm): Remove commented code.
14465         (denorm): Likewise.
14466         (__mp_dbl): Likewise.
14467         (__inv): Likewise.
14468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14469         (__cpymn): Likewise.
14470         (norm): Remove commented code.
14471         (denorm): Likewise.
14472         (__mp_dbl): Likewise.
14473         (__inv): Likewise.
14475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14476         mp_no value for 1.0 and 2.0.
14477         (norm): Use RADIXI instead of radixi.d.
14478         (denorm): Likewise.
14479         (__mul): Use 0.0 instead of zero.d.
14480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14481         mp_no value for 1.0 and 2.0.
14482         (norm): Use RADIXI instead of radixi.d.
14483         (denorm): Likewise.
14484         (__mul): Use 0.0 instead of zero.d.
14486 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14488         [BZ #14994]
14489         * math/s_casinh.c (__casinh): Reduce finite argument to first
14490         quadrant then set signs of results at the end.
14491         * math/s_casinhf.c (__casinhf): Likewise.
14492         * math/s_casinhl.c (__casinhl): Likewise.
14493         * math/libm-test.inc (casin_test): Add more tests.
14494         (casinh_test): Likewise.
14495         * sysdeps/i386/fpu/libm-test-ulps: Update.
14496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14498 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14500         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14502         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14504         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14505         declarations.
14506         (denorm): Likewise.
14507         (__mp_dbl): Likewise.
14508         (__inv): Likewise.
14510         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14511         and adjust the header comment.
14513         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14514         variable name from declaration.
14516 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14519         Initialize COMMON_CPUID_INDEX_7 element.
14520         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14521         (CPUID_RTM): Likewise.
14522         (HAS_RTM): Likewise.
14523         (COMMON_CPUID_INDEX_7): New enum.
14525 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14527         [BZ #14981]
14528         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14529         size is zero, record memory as freed.
14531 2013-01-03  Andreas Jaeger  <aj@suse.de>
14533         * po/ia.po: Add new Interlingua translation.
14535 2012-01-03  Allan McRae  <allan@archlinux.org>
14537         * locale/programs/localedef.c: Fix description of '--posix' flag.
14539 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14541         * NEWS: Update dates in second copyright notice.
14542         * README: Update copyright dates in example.
14543         * manual/libc.texinfo: Update copyright dates.
14544         * scripts/test-installation.pl: Update copyright date in --version
14545         output.
14547         * hurd/ctty-input.c: Fix copyright notice formatting.
14548         * hurd/ctty-output.c: Likewise.
14549         * hurd/dtable.c: Likewise.
14550         * hurd/hurd-raise.c: Likewise.
14551         * hurd/hurdprio.c: Likewise.
14552         * hurd/msgportdemux.c: Likewise.
14553         * misc/sys/file.h: Likewise.
14554         * misc/sys/ioctl.h: Likewise.
14555         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14556         * sysdeps/mach/hurd/chdir.c: Likewise.
14557         * sysdeps/mach/hurd/fchdir.c: Likewise.
14558         * sysdeps/mach/hurd/rename.c: Likewise.
14559         * sysdeps/mach/hurd/rmdir.c: Likewise.
14560         * sysdeps/mach/hurd/seekdir.c: Likewise.
14561         * sysdeps/mach/hurd/setsid.c: Likewise.
14562         * sysdeps/posix/wait3.c: Likewise.
14564         * All files with FSF copyright notices: Update copyright dates
14565         using scripts/update-copyrights.
14566         * intl/plural.c: Regenerated.
14567         * locale/programs/charmap-kw.h: Likewise.
14568         * locale/programs/locfile-kw.h: Likewise.
14570 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14572         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14573         four values.
14575         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14576         calculation loop and add branch prediction.
14578         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14579         check access beyond bounds of m1np.
14581         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14582         MPTWO.
14583         (__inv): Remove local variable MPTWO to use the global
14584         constant.
14585         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14587         variable MPTWO.
14588         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14589         MP3HALFS static const.
14591 2013-01-01  David S. Miller  <davem@davemloft.net>
14593         * po/ca.po: Update from translation team.
14595 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14597         * scripts/update-copyrights: New file.
14598         * Makeconfig: Reformat copyright notice.
14599         * ctype/ctype.h: Likewise.
14600         * debug/swprintf_chk.c: Likewise.
14601         * elf/dl-cache.c: Likewise.
14602         * elf/dl-debug.c: Likewise.
14603         * elf/dl-object.c: Likewise.
14604         * grp/initgroups.c: Likewise.
14605         * hurd/Makefile: Likewise.
14606         * hurd/hurd/signal.h: Likewise.
14607         * hurd/hurdfault.c: Likewise.
14608         * hurd/hurdioctl.c: Likewise.
14609         * hurd/hurdlookup.c: Likewise.
14610         * hurd/intr-msg.c: Likewise.
14611         * iconv/gconv_open.c: Likewise.
14612         * libio/swprintf.c: Likewise.
14613         * locale/lc-ctype.c: Likewise.
14614         * locale/nl_langinfo.c: Likewise.
14615         * mach/Machrules: Likewise.
14616         * mach/Makefile: Likewise.
14617         * malloc/obstack.h: Likewise.
14618         * manual/Makefile: Likewise.
14619         * manual/tsort.awk: Likewise.
14620         * misc/bits/stab.def: Likewise.
14621         * nis/nis_print_group_entry.c: Likewise.
14622         * nis/nis_table.c: Likewise.
14623         * nis/nss_compat/compat-pwd.c: Likewise.
14624         * nis/nss_compat/compat-spwd.c: Likewise.
14625         * po/Makefile: Likewise.
14626         * posix/fnmatch.c: Likewise.
14627         * posix/regex.h: Likewise.
14628         * resolv/Makefile: Likewise.
14629         * resolv/nss_dns/dns-network.c: Likewise.
14630         * resolv/res_hconf.c: Likewise.
14631         * scripts/gen-sorted.awk: Likewise.
14632         * soft-fp/soft-fp.h: Likewise.
14633         * stdio-common/printf.h: Likewise.
14634         * stdlib/monetary.h: Likewise.
14635         * stdlib/random.c: Likewise.
14636         * stdlib/random_r.c: Likewise.
14637         * sysdeps/generic/Makefile: Likewise.
14638         * sysdeps/gnu/Makefile: Likewise.
14639         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14641         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14643         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14644         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14645         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14646         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14647         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14648         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14649         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14650         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14651         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14652         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14653         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14654         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14655         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14656         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14657         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14658         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14659         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14660         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14661         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14662         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14663         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14664         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14665         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14666         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14667         * sysdeps/mach/hurd/errnos.awk: Likewise.
14668         * sysdeps/mach/hurd/fork.c: Likewise.
14669         * sysdeps/mach/hurd/getcwd.c: Likewise.
14670         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14671         * sysdeps/mach/hurd/mmap.c: Likewise.
14672         * sysdeps/mach/hurd/utimes.c: Likewise.
14673         * sysdeps/mach/hurd/xmknod.c: Likewise.
14674         * sysdeps/posix/profil.c: Likewise.
14675         * sysdeps/posix/readdir_r.c: Likewise.
14676         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14677         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14678         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14679         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14681         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14682         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14683         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14685         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14686         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14687         * sysdeps/pthread/lio_listio.c: Likewise.
14688         * sysdeps/sparc/dl-procinfo.h: Likewise.
14689         * sysdeps/unix/i386/sysdep.S: Likewise.
14690         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14691         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14692         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14693         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14695         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14696         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14697         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14698         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14699         * sysdeps/wordsize-32/divdi3.c: Likewise.
14700         * time/sys/time.h: Likewise.
14701         * wcsmbs/Makefile: Likewise.
14703 2013-01-01  David S. Miller  <davem@davemloft.net>
14705         * po/fr.po: Update from translation team.
14707         * catgets/gencat.c: Update copyright year.
14708         * csu/version.c: Likewise.
14709         * debug/catchsegv.sh: Likewise.
14710         * debug/pcprofiledump.c: Likewise.
14711         * debug/xtrace.sh: Likewise.
14712         * elf/ldconfig.c: Likewise.
14713         * elf/ldd.bash.in: Likewise.
14714         * elf/pldd.c: Likewise.
14715         * elf/sotruss.ksh: Likewise.
14716         * elf/sprof.c: Likewise.
14717         * iconv/iconv_prog.c: Likewise.
14718         * iconv/iconvconfig.c: Likewise.
14719         * locale/programs/locale.c: Likewise.
14720         * locale/programs/localedef.c: Likewise.
14721         * login/programs/pt_chown.c: Likewise.
14722         * malloc/memusage.sh: Likewise.
14723         * malloc/memusagestat.c: Likewise.
14724         * malloc/mtrace.pl: Likewise.
14725         * nscd/nscd.c: Likewise.
14726         * nss/getent.c: Likewise.
14727         * nss/makedb.c: Likewise.
14728         * posix/getconf.c: Likewise.
14730 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14732         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14733         numbers.
14735 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14737         * math/bits/mathcalls.h (modf): Use __nonnull.
14739 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14741         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14742         (split): Use macro CN instead of the bare value.
14743         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14744         could be used.
14745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14746         instead of the bare value.
14747         (power1): Likewise.
14749 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14751         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14752         __ATAN_TWOM.
14753         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14755         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14756         their values.
14757         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14758         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14759         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14760         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14762 2012-12-28  Andreas Jaeger  <aj@suse.de>
14764         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14765         values are from Linux 3.7.
14767         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14768         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14770 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14772         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14773         TRUE case.
14775         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14776         (norm): Likewise.
14777         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14778         variables with preprocessor constants.
14779         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14780         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14781         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14783 2012-12-27  Bruno Haible  <bruno@clisp.org>
14785         [BZ #14317]
14786         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14787         only if needed.
14789 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14792         and use variable directly.
14793         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14795         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14796         MPONE.
14797         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14798         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14799         variable MPONE.
14800         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14802         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14803         include directive.  Remove local variable MPONE.
14804         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14805         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14806         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14808 2012-12-25  David S. Miller  <davem@davemloft.net>
14810         * version.h (RELEASE): Set to "development".
14811         (VERSION): Set to "2.17.90".
14812         * NEWS: Add 2.18 section.
14814 2012-12-21  David S. Miller  <davem@davemloft.net>
14816         * po/hr.po: Update from translation team.
14818 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14820         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14822 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14824         * NEWS:  Mention new memcpy for MIPS.
14826 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14828         * manual/contrib.texi (Contributors): Spelling correction.
14830 2012-12-15  David S. Miller  <davem@davemloft.net>
14832         * po/ru.po: Update from translation team.
14834 2012-12-13  David S. Miller  <davem@davemloft.net>
14836         * NEWS: Mention IFUNC testsuite enhancements.
14838         * po/pl.po: Update from translation team.
14839         * po/bg.po: Likewise.
14841         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14842         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14844 2012-12-11  David S. Miller  <davem@davemloft.net>
14846         * po/sv.po: Update from translation team.
14848         * po/vi.po: Update from translation team.
14850         * po/cs.po: Update from translation team.
14852         * po/de.po: Update from translation team.
14853         * po/eo.po: Likewise.
14854         * po/nl.po: Likewise.
14856 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14858         [BZ #14246]
14859         * manual/argp.texi (Argp Helper Functions): Move node to follow
14860         Argp Parsing State.
14862         [BZ #14872]
14863         * manual/conf.texi (Limits on File System Capacity): Mention if
14864         terminating null is included in the max size.
14866 2012-12-10  Andreas Jaeger  <aj@suse.de>
14868         * po/cs.po: Update from translation team.
14870 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14872         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14873         void pointer and cast to uintptr_t.
14874         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14875         path.
14876         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14877         * sysdeps/s390/s390-64/memset.S: Likewise.
14879 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14881         [BZ #14833]
14882         * menual/message.texi (Message Translation): Fix typos.
14883         (Helper programs for gettext): Likewise.
14885 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14887         [BZ #14898]
14888         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14889         Change to -1.
14891 2012-12-07  David S. Miller  <davem@davemloft.net>
14893         * po/libc.pot: Update.
14895 2012-12-07  Richard Henderson  <rth@redhat.com>
14897         [BZ #10114]
14898         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14899         normal/normal case to before the switch.
14900         (_FP_DIV): Likewise.
14902 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14903             Mike Frysinger  <vapier@gentoo.org>
14905         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14906         check for __NR_fadvise64_64.
14908 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14910         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14911         0, not just to plain "0" as a statement.
14912         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14913         with cw.
14915 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14917         * NEWS: Use sourceware.org in Bugzilla URL.
14919 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14922         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14924         * stdio-common/tst-put-error.c (do_test): Add newline to the
14925         padded test to ensure flush.
14927 2012-12-05  Jeff Law  <law@redhat.com>
14929         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14931 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14933         * README: Don't refer to ports add-on as distributed separately.
14934         Mention AArch64 in list of systems supported in the ports add-on.
14936         * LICENSES: Add more non-FSF copyright and license notices.
14938         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14939         ((unused)).
14941         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14943         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14944         10000 as width of padded output.
14946 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14948         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14950         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14951         variable LX with __attribute__ ((unused)).
14952         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14953         Likewise.
14954         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14957         with __attribute__ ((unused)).
14959 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14961         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14963 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14965         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14966         (CFLAGS-nldbl-acos.c): New variable.
14967         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14968         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14969         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14970         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14971         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14972         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14973         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14974         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14975         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14976         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14977         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14978         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14979         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14980         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14981         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14982         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14983         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14984         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14985         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14986         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14987         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14988         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14989         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14990         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14991         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14992         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14993         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14994         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14995         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14996         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14997         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14998         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14999         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15000         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15001         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15002         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15003         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15004         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15005         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15006         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15007         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15008         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15009         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15010         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15011         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15012         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15013         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15014         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15015         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15016         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15017         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15018         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15019         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15020         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15021         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15022         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15023         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15024         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15025         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15026         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15027         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15028         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15029         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15030         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15031         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15032         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15033         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15034         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15035         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15036         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15037         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15038         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15039         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15040         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15041         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15042         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15043         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15044         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15045         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15046         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15047         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15048         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15049         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15050         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15051         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15052         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15053         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15054         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15055         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15056         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15057         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15058         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15059         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15060         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15061         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15062         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15063         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15066         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15068         [BZ #14914]
15069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15070         whole low double instead of just low 47 bits when splitting values
15071         into two parts.
15073 2012-12-03  Allan McRae  <allan@archlinux.org>
15075         * manual/stdio.texi (Predefined Printf Handlers): Remove
15076         @hsep and @vsep usage.
15078 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15080         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15081         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15083 2012-12-03  Jeff Law  <law@redhat.com>
15085         * time/sys/time.h (settimeofday): Do not mark TV argument
15086         as __nonnull.
15088 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15090         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15091         when currently writing and seek to current position when not.
15092         * libio/Makefile (tests): Remove bug-fclose1.
15093         * libio/bug-fclose1.c: Delete.
15095 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15097         * manual/arith.texi (feenableexcept): Fix typo.
15098         (fedisableexcept): Likewise.
15100 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15102         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15103         second, differently-typed declaration, rather than a cast.
15105 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15107         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15108         * include/rpc/svc.h: ... here.
15110 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15112         [BZ #13013]
15113         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15114         depending n and resplen2 to catch cases where answer
15115         equals answerp2.
15117 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15119         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15120         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15122 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15124         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15126 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15128         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15130 2012-11-28  Jeff Law  <law@redhat.com>
15132         [BZ #13761]
15133         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15134         dataset_temporary.  Track alloca usage into alloca_used.
15135         If dataset is large allocate and release it via malloc/free.
15137 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15139         [BZ #14197]
15140         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15142 2012-11-28  David S. Miller  <davem@davemloft.net>
15144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15146 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15148         [BZ #14803]
15149         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15150         of pi/2 rounded to nearest to 64 bits.
15151         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15152         nearest to 64 bits.
15153         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15154         bits.
15156 2012-11-28  Jeff Law <law@redhat.com>
15157             Martin Osvald <mosvald@redhat.com>
15159         [BZ #14889]
15160         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15161         * sunrpc/svc.c: Include time.h.
15162         (__svc_accept_failed): New function.
15163         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15164         any reason other than EINTR, call __svc_accept_failed.
15165         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15166         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15168 2012-11-28  Andreas Schwab  <schwab@suse.de>
15170         * scripts/abilist.awk: Also handle indirect functions in .opd
15171         section.
15173 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15175         [BZ #13881]
15176         * sysdeps/x86/fpu/powl_helper.c: New file.
15177         * sysdeps/x86/fpu/Makefile: Likewise.
15178         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15179         (p3): New object.
15180         (__ieee754_powl): Use __powl_helper for finite arguments except
15181         integer exponents below 8.
15182         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15183         (p3): New object.
15184         (__ieee754_powl): Use __powl_helper for finite arguments except
15185         integer exponents below 8.
15186         * math/libm-test.inc (pow_test): Add more tests and enable some
15187         previously disabled tests.
15188         * sysdeps/i386/fpu/libm-test-ulps: Update.
15189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15191 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15192             Carlos O'Donell  <carlos_odonell@mentor.com>
15194         * nss/makedb.c (is_prime): Assert that input is odd and greater
15195         than 4.  Note that fact in a comment too.
15196         (next_prime): Add 4 to input.
15198 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15200         [BZ #11741]
15201         * libio/Makefile (tests): Add test case tst-fwrite-error.
15202         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15203         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15204         * libio/tst-fwrite-error.c: New test case.
15206 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15208         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15209         before casting to void *.
15210         * include/libc-internal.h (__pointer_type): New macro.
15211         (__integer_if_pointer_type_sub): Likewise.
15212         (__integer_if_pointer_type): Likewise.
15213         (cast_to_integer): Likewise.
15214         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15215         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15216         before casting to atomic64_t.
15217         (atomic_exchange_acq): Likewise.
15218         (__arch_exchange_and_add_body): Likewise.
15219         (__arch_add_body): Likewise.
15220         (atomic_add_negative): Likewise.
15221         (atomic_add_zero): Likewise.
15223 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15225         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15226         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15227         (add_fdes): Likewise.
15228         (linear_search_fdes): Likewise.
15229         (binary_search_unencoded_fdes): Likewise.
15231 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15233         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15235 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15237         * configure.in: Autodetect C++ header directories.
15238         * configure: Regenerated.
15240 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15242         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15244 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15248 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15250         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15251         LDBL_MANT_DIG == 106]: Disable some tests.
15252         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15253         Likewise.
15254         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15255         Likewise.
15257         [BZ #14871]
15258         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15259         input for small inputs.  Return +/- pi/2 for large inputs.
15260         * math/libm-test.inc (atan_test): Add more tests.
15262         * sysdeps/generic/unwind-dw2-fde-glibc.c
15263         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15264         __attribute__ ((unused)).
15266         [BZ #14645]
15267         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15268         x * y if x and y are nonzero and z is zero.
15270         [BZ #14811]
15271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15272         nonzero exponents with absolute value below 0x1p-117 to +/-
15273         0x1p-117.
15275         [BZ #14869]
15276         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15277         up arguments below 2**-450, not just those below 2**-500.
15278         * math/libm-test.inc (hypot_test): Add another test.
15280         [BZ #14868]
15281         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15282         Return a+b for ratio over 2**120, not 2**60.
15283         * math/libm-test.inc (hypot_test): Add another test.
15285         * math/libm-test.inc (clog_test): Use
15286         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15287         (clog10_test): Likewise.
15289         [BZ #6778]
15290         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15292 2012-11-22  Andreas Schwab  <schwab@suse.de>
15294         * sysdeps/i386/fpu/libm-test-ulps: Update.
15296 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15298         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15299         printf output with newline.
15301 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15303         [BZ #14865]
15304         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15305         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15306         -z nodlopen, -z initfirst and -z execstack support.
15307         * configure: Regenerated.
15309         * elf/elf.h (DF_1_NODIRECT): New macro.
15310         (DF_1_IGNMULDEF): Likewise.
15311         (DF_1_NOKSYMS): Likewise.
15312         (DF_1_NOHDR): Likewise.
15313         (DF_1_EDITED): Likewise.
15314         (DF_1_NORELOC): Likewise.
15315         (DF_1_SYMINTPOSE): Likewise.
15316         (DF_1_GLOBAUDIT): Likewise.
15317         (DF_1_SINGLETON): Likewise.
15318         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15319         DT_1_SUPPORTED_MASK bits.
15320         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15322 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15324         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15326 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15328         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15329         macro.
15331         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15332         (sendmmsg): Move declarations...
15333         * socket/sys/socket.h: ... here.
15334         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15335         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15336         include it from...
15337         * socket/recvmmsg.c: ... this new file.
15338         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15339         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15340         definition of __sendmmsg hidden.
15341         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15342         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15343         Move ENOSYS stub into and include it from...
15344         * socket/sendmmsg.c: ... this new file.
15345         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15346         (sysdep_routines): Move recvmmsg and sendmmsg...
15347         * socket/Makefile (routines): ... here.
15348         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15349         (GLIBC_PRIVATE): Add __sendmmsg.
15350         * include/sys/socket.h (__sendmmsg): Add declarations.
15351         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15352         sendmmsg.
15354 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15356         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15357         variable I1 with __attribute__ ((unused)).
15358         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15360 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15362         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15363         DUMMY variables with __attribute__ ((unused)).
15365         * bits/byteswap.h: Include <bits/types.h>.
15366         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15368 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15370         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15371         string_t.  Do not manually set errno.
15372         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15373         length with __strnlen.  Make sure to both set errno and return it on
15374         failure.
15376 2012-11-19  David S. Miller  <davem@davemloft.net>
15378         With help from Joseph Myers.
15379         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15380         very large arguments properly.
15381         * math/libm-test.inc (atan_test): New tests.
15382         (atan2_test): New tests.
15383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15386 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15388         [BZ #14856]
15389         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15390         Define to 3.
15392         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15393         [POSIX] (EADDRNOTAVAIL): Likewise.
15394         [POSIX] (EAFNOSUPPORT): Likewise.
15395         [POSIX] (EALREADY): Likewise.
15396         [POSIX] (ECONNABORTED): Likewise.
15397         [POSIX] (ECONNREFUSED): Likewise.
15398         [POSIX] (ECONNRESET): Likewise.
15399         [POSIX] (EDESTADDRREQ): Likewise.
15400         [POSIX] (EDQUOT): Likewise.
15401         [POSIX] (EHOSTUNREACH): Likewise.
15402         [POSIX] (EIDRM): Likewise.
15403         [POSIX] (EISCONN): Likewise.
15404         [POSIX] (ELOOP): Likewise.
15405         [POSIX] (EMULTIHOP): Likewise.
15406         [POSIX] (ENETDOWN): Likewise.
15407         [POSIX] (ENETUNREACH): Likewise.
15408         [POSIX] (ENOBUFS): Likewise.
15409         [POSIX] (ENODATA): Likewise.
15410         [POSIX] (ENOLINK): Likewise.
15411         [POSIX] (ENOMSG): Likewise.
15412         [POSIX] (ENOPROTOOPT): Likewise.
15413         [POSIX] (ENOSR): Likewise.
15414         [POSIX] (ENOSTR): Likewise.
15415         [POSIX] (ENOTCONN): Likewise.
15416         [POSIX] (ENOTSOCK): Likewise.
15417         [POSIX] (EOPNOTSUPP): Likewise.
15418         [POSIX] (EOVERFLOW): Likewise.
15419         [POSIX] (EPROTO): Likewise.
15420         [POSIX] (EPROTONOSUPPORT): Likewise.
15421         [POSIX] (EPROTOTYPE): Likewise.
15422         [POSIX] (ESTALE): Likewise.
15423         [POSIX] (ETIME): Likewise.
15424         [POSIX] (ETXTBSY): Likewise.
15425         [POSIX] (EWOULDBLOCK): Likewise.
15426         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15427         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15428         [POSIX] (SEEK_CUR): Likewise.
15429         [POSIX] (SEEK_END): Likewise.
15430         [POSIX || UNIX98] (mode_t): Do not require.
15431         [POSIX] (off_t): Likewise.
15432         [POSIX] (pid_t): Likewise.
15433         [POSIX] (sys/stat.h): Do not allow header.
15434         [POSIX] (unistd.h): Likewise.
15435         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15436         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15437         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15438         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15439         require.
15440         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15441         sigevent): Specify elements.
15442         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15443         entry.
15444         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15445         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15447         * conform/data/cpio.h-data [POSIX]: Disable whole file.
15448         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15449         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15450         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15451         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15452         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15453         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15454         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15456         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15457         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15458         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15459         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15460         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15461         Likewise.
15462         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15463         Likewise.
15464         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15465         Likewise.
15466         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15467         Likewise.
15468         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15469         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15470         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15471         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15473         Specify lower bound on value.
15474         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15475         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15476         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15479         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15480         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15481         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15482         value.
15483         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15484         as optional.
15485         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15486         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15487         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15488         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15489         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15490         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15492         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15493         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15494         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15495         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15496         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15497         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15498         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15499         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15500         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15501         entry.
15502         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15503         optional.
15504         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15505         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15506         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15507         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15508         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15509         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15510         Likewise.
15511         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15512         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15513         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15514         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15515         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15516         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15517         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15518         as optional.
15519         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15520         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15521         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15522         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15523         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15524         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15525         specify as optional.
15526         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15527         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15528         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15529         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15530         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15531         [XPG3] (NL_LANGMAX): Likewise.
15532         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15533         [POSIX || XPG3] (NL_NMAX): Likewise.
15534         [POSIX || XPG3] (NL_SETMAX): Likewise.
15535         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15536         [XPG3] (NZERO): Likewise.
15537         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15538         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15539         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15540         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15541         (REG_ERANGE): Expect.
15542         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15543         optional-constant.
15544         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15545         Use (void) in prototype.
15546         [POSIX] (*_t): Allow.
15547         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15548         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15549         (WRDE_BADVAL): Expect.
15551         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15552         expect.
15553         [XPG3 || XPG4] (O_RSYNC): Likewise.
15554         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15555         Likewise.
15556         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15557         [XPG3 || XPG4] (sigqueue): Likewise.
15558         [XPG3 || XPG4] (sigtimedwait): Likewise.
15559         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15560         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15561         [XPG3 || XPG4] (vsnprintf): Likewise.
15562         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15563         Likewise.
15564         [XPG3 || XPG4] (blksize_t): Likewise.
15565         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15566         Likewise.
15567         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15568         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15569         [XPG3 || XPG4] (struct itimerspec): Likewise.
15570         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15571         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15572         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15573         [XPG3 || XPG4] (clockid_t): Likewise.
15574         [XPG3 || XPG4] (timer_t): Likewise.
15575         [XPG3 || XPG4] (clock_getres): Likewise.
15576         [XPG3 || XPG4] (clock_gettime): Likewise.
15577         [XPG3 || XPG4] (clock_settime): Likewise.
15578         [XPG3 || XPG4] (nanosleep): Likewise.
15579         [XPG3 || XPG4] (timer_create): Likewise.
15580         [XPG3 || XPG4] (timer_delete): Likewise.
15581         [XPG3 || XPG4] (timer_gettime): Likewise.
15582         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15583         [XPG3 || XPG4] (timer_settime): Likewise.
15584         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15585         [XPG3 || XPG4] (getlogin_r): Likewise.
15586         [XPG3 || XPG4] (pread): Likewise.
15587         [XPG3 || XPG4] (pthread_atfork): Likewise.
15588         [XPG3 || XPG4] (pwrite): Likewise.
15590         [BZ #14835]
15591         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15592         <bits/siginfo.h>.
15594 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15596         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15597         finalizing MALLSTREAM.
15599         * sysdeps/mach/hurd/syncfs.c: New file.
15601 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15603         [BZ #14719]
15604         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15605         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15607         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15608         (_nss_dns_gethostbyname4_r): Likewise.
15609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15610         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15612 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15614         [BZ #13763]
15615         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15617 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15619         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15620         * elf/cache.c (print_entry): Print ",AArch64" for
15621         FLAG_AARCH64_LIB64
15623         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15624         * elf/cache.c (print_entry): Print ",hard-float" for
15625         FLAG_ARM_LIBHF.
15627 2012-11-18  David S. Miller  <davem@davemloft.net>
15629         With help from Joseph Myers.
15630         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15631         cutoff to 2**-13.
15632         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15633         cutoff to 2**-25.
15634         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15635         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15636         small.
15637         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15638         * math/libm-test.inc (y0_test): New tests.
15639         (y1_test): New tests.
15640         * sysdeps/i386/fpu/libm-test-ulps: Update.
15641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15644 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15646         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15647         64-bit targets.
15648         * configure: Regenerated.
15650 2012-11-17  David S. Miller  <davem@davemloft.net>
15652         [BZ #14811]
15653         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15654         nonzero exponents with absolute value below 0x1p-128 to +/-
15655         0x1p-128.
15657 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15659         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15661         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15663         * posix/getconf-speclist.c: New file.
15664         * posix/posix-envs.def: Likewise.
15665         * posix/confstr.c (START_ENV_GROUP): New macro.
15666         (END_ENV_GROUP): Likewise.
15667         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15668         (KNOWN_PRESENT_ENV_STRING): Likewise.
15669         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15670         (UNKNOWN_ENVIRONMENT): Likewise.
15671         (confstr): Include posix-envs.def instead of handling
15672         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15673         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15674         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15675         (END_ENV_GROUP): Likewise.
15676         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15677         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15678         (UNKNOWN_ENVIRONMENT): Likewise.
15679         (__sysconf): Include posix-envs.def instead of handling associated
15680         cases directly here.
15681         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15682         preprocessing getconf-speclist.c rather than running getconf or
15683         generating empty file.
15685 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15687         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15689 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15691         [BZ #14672]
15692         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15694 2012-11-16  David S. Miller  <davem@davemloft.net>
15696         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15697         smaller than LDBL_EPSILON/2.0L, just return xm1.
15699 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15701         * elf/tst-array1.c (init): Set constructor priority to 1000.
15702         (fini): Set destructor priority to 1000.
15703         * elf/tst-array2dep.c: Likewise.
15705 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15707         [BZ #11741]
15708         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15709         (_IO_new_file_xsputn): Also return EOF if none of the input
15710         data was written when overflow failed.
15711         * libio/iopadn.c (_IO_padn): Likewise.
15712         * libio/iowpadn.c (_IO_wpadn): Likewise.
15713         * stdio-common/tst-put-error.c: Add copyright notice.
15714         (do_test): Add case for printing padded string.
15715         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15716         _IO_padn returned error.
15717         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15718         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15719         return EOF.
15721 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15723         * libio/libioP.h: Add comment note that the references to C++
15724         bits are now obsolete.
15726 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15728         * math/libm-test.inc (check_complex): Use asprintf.
15730 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15732         * debug/pcprofiledump.c (print_version): Update copyright year.
15733         * malloc/memusagestat.c (print_version): Likewise.
15735 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15737         [BZ #14831]
15738         * elf/Makefile (tests): Add tst-audit8.
15739         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15740         ($(objpfx)tst-audit8.out): New target.
15741         (tst-audit8-ENV): New variable.
15742         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15743         audit if l_reloc_result is NULL.
15744         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15745         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15746         * elf/tst-audit8.c: New file.
15748 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15750         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15751         * misc/Makefile (CFLAGS-select.c): Define.
15752         * posix/Makefile (CFLAGS-pause.c): Define.
15754 2012-11-13  David S. Miller  <davem@davemloft.net>
15756         * crypt/Makefile: Move test targets after toplevel Rules
15757         inclusion.  Grab any necessary sysdep routines when linking.
15758         * crypt/md5.c (md5_process_block): Remove define, we will always
15759         name it __md5_process_block.
15760         (md5_finish_ctx): Update md5_process_block call.
15761         (md5_stream): Likewise.
15762         (md5_process_bytes): Likewise.
15763         (md5_process_block): Rename to __md5_process_block and move to ...
15764         * crypt/md5-block.c: ... here.
15765         * crypt/sha256.c (sha256_process_block): Move to ...
15766         * crypt/sha256-block.c: ... here.
15767         * crypt/sha512.c (sha512_process_block): Move to ...
15768         * crypt/sha512-block.c: ... here.
15769         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15770         path.
15771         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15772         * sysdeps/sparc/sparc64/multiarch/Makefile
15773         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15774         crypt subdir.
15775         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15776         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15777         multiarch changes.
15778         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15779         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15780         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15781         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15782         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15783         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15784         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15785         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15786         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15787         file.
15788         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15789         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15790         file.
15791         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15793 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15795         * timezone/tzselect.ksh: Update from tzcode git revision
15796         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15797         * timezone/zdump.c: Likewise.
15798         * timezone/zic.c: Likewise.
15799         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15800         in TZVERSION setting, not $(PKGVERSION).
15801         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15802         REPORT_BUGS_TO settings.
15804         [BZ #14838]
15805         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15806         macro.
15808 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15810         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15811         detection to immediately after _FP_ROUND().
15812         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15813         bits are 0.
15815 2012-11-11  David S. Miller  <davem@davemloft.net>
15817         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15818         inttypes.h
15819         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15820         __close rather than their public counterparts.
15822 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15824         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15825         file.
15826         [UNIX98] (sem_timedwait): Do not expect.
15827         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15828         [XPG4 || UNIX98] (sockatmark): Do not expect.
15829         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15830         (clock_getcpuclockid): Do not expect.
15831         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15832         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15833         Do not expect.
15834         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15835         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15836         [UNIX98] (vwscanf): Likewise.
15837         [UNIX98] (vswscanf): Likewise.
15839 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15841         * timezone/version.h: Remove file.
15842         * timezone/README: Do not refer to version.h.
15843         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15844         $(objpfx)version.h.
15845         ($(objpfx)zdump.o): Likewise.
15846         ($(objpfx)version.h): New target.
15848         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15849         2012i.
15850         * timezone/README: Don't mention modification to tzselect.ksh.
15851         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15852         work on unmodified tzselect.ksh.  Substitute version numbers in
15853         tzselect.ksh.
15855         * Makefile (format-me): Remove.
15856         (INSTALL): Adjust indentation.  Use commands directly instead of
15857         using $(format-me).
15859         * aclocal.m4 (ACX_PKGVERSION): New macro.
15860         (ACX_BUGURL): Likewise.
15861         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15862         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15863         (REPORT_BUGS_TO): Likewise.
15864         * configure: Regenerated.
15865         * config.h.in (PKGVERSION): New macro.
15866         (REPORT_BUGS_TO): Likewise.
15867         * config.make.in (PKGVERSION): New variable.
15868         (PKGVERSION_TEXI): Likewise.
15869         (REPORT_BUGS_TO): Likewise.
15870         (REPORT_BUGS_TEXI): Likewise.
15871         * Makefile (format-me): Use -I$(common-objpfx)manual.
15872         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15873         ($(common-objpfx)manual/%): New target.
15874         (manual/%): Remove target.
15875         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15876         (print_version): Use PKGVERSION.
15877         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15878         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15879         and REPORT_BUGS_TO.
15880         ($(objpfx)xtrace): Likewise.
15881         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15882         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15883         (print_version): Use PKGVERSION.
15884         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15885         (do_version): Use PKGVERSION.
15886         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15887         REPORT_BUGS_TO.
15888         (common-ldd-rewrite): Likewise.
15889         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15890         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15891         (print_version): Use PKGVERSION.
15892         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15893         * elf/pldd.c (argp_program_bug_address): Remove variable.
15894         (more_help): New function.
15895         (argp): Use more_help.
15896         (print_version): Use PKGVERSION.
15897         * elf/sln.c (main): Use PKGVERSION.
15898         (usage): Use REPORT_BUGS_TO.
15899         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15900         (top level): Use PKGVERSION.
15901         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15902         (print_version): Use PKGVERSION.
15903         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15904         (print_version): Use PKGVERSION.
15905         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15906         (print_version): Use PKGVERSION.
15907         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15908         (print_version): Use PKGVERSION.
15909         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15910         (print_version): Use PKGVERSION.
15911         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15912         (print_version): Use PKGVERSION.
15913         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15914         and BUGURL.
15915         ($(objpfx)memusage): Likewise.
15916         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15917         (do_version): Use PKGVERSION.
15918         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15919         (print_version): Use PKGVERSION.
15920         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15921         ($PKGVERSION): New variable.
15922         ($REPORT_BUGS_TO): Likewise.
15923         (usage): Use $REPORT_BUGS_TO.
15924         (top level): Use $PKGVERSION.
15925         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15926         ($(objpfx)pkgvers.texi): New rule.
15927         ($(objpfx)stamp-pkgvers): Likewise.
15928         * manual/install.texi: Include pkgvers.texi.
15929         (--with-pkgversion): Document new configure option.
15930         (--with-bugurl): Likewise.
15931         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15932         than necessarily for this particular distribution.  Use
15933         REPORT_BUGS_TO for where to report bugs.
15934         * INSTALL: Regenerated.
15935         * manual/libc.texinfo: Include pkgvers.texi.
15936         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15937         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15938         (print_version): Use PKGVERSION.
15939         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15940         (print_version): Use PKGVERSION.
15941         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15942         (print_version): Use PKGVERSION.
15943         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15944         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15945         macro.
15946         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15947         (print_version): Use PKGVERSION.
15948         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15949         (print_version): Use PKGVERSION.
15950         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15951         and PKGVERSION.
15953         * timezone/checktab.awk: Update from tzcode 2012i.
15954         * timezone/ialloc.c: Likewise.
15955         * timezone/private.h: Likewise.
15956         * timezone/scheck.c: Likewise.
15957         * timezone/tzfile.h: Likewise.
15958         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15959         (TZVERSION): Hardcode tzcode version number.
15960         * timezone/zdump.c: Update from tzcode 2012i.
15961         * timezone/zic.c: Likewise.
15962         * timezone/version.h: New file.
15963         * timezone/README: Describe version.h.  Update upstream location.
15965         [BZ #14824]
15966         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15967         (mktemp): Enable declaration.
15968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15969         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15971         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15972         Likewise.
15973         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15974         Likewise.
15975         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15976         Likewise.
15977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15978         Likewise.
15979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15980         Likewise.
15981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15982         Likewise.
15984         [BZ #14821]
15985         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15986         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15987         for copies of such integer values.
15988         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15989         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15991 2012-11-09  Andreas Jaeger  <aj@suse.de>
15993         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15994         definitions and declarations that are provided by
15995         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15997 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15999         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16000         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16001         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16002         definition.
16004 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16006         * elf/elf.h: Update comment before AArch64 relocations.
16008 2012-11-07  David S. Miller  <davem@davemloft.net>
16010         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16011         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16012         (__start_context): Declare.
16013         (__makecontext_ret): Delete.
16014         (__makecontext): Hook up __start_context instead of
16015         __makecontext_ret.
16016         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16017         (sysdep_routines): Add __start_context when in stdlib.
16019 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16021         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16022         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16023         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16024         hardcoded "nm".
16025         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16026         (READELF): New variable.  Use it instead of hardcoded "readelf".
16028 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16030         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16031         * sysdeps/x86/Makefile: Here.
16032         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16033         * sysdeps/x86/tst-xmmymm.sh: This.
16035 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16037         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16038         expectations.
16039         [UNIX98] (pthread_barrier_t): Do not expect.
16040         [UNIX98] (pthread_barrierattr_t): Likewise.
16041         [UNIX98] (pthread_spinlock_t): Likewise.
16042         [UNIX98] (pthread_barrier_destroy): Likewise.
16043         [UNIX98] (pthread_barrier_init): Likewise.
16044         [UNIX98] (pthread_barrier_wait): Likewise.
16045         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16046         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16047         [UNIX98] (pthread_barrierattr_init): Likewise.
16048         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16049         [UNIX98] (pthread_getcpuclockid): Likewise.
16050         [UNIX98] (pthread_mutex_timedlock): Likewise.
16051         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16052         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16053         [UNIX98] (pthread_sigmask): Likewise.
16054         [UNIX98] (pthread_spin_destroy): Likewise.
16055         [UNIX98] (pthread_spin_init): Likewise.
16056         [UNIX98] (pthread_spin_lock): Likewise.
16057         [UNIX98] (pthread_spin_trylock): Likewise.
16058         [UNIX98] (pthread_spin_unlock): Likewise.
16059         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16060         Do not expect.
16061         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16062         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16063         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16064         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16065         [XPG3 || XPG4] (pthread_key_t): Likewise.
16066         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16067         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16068         [XPG3 || XPG4] (pthread_once_t): Likewise.
16069         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16070         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16071         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16072         [XPG3 || XPG4] (pthread_t): Likewise.
16074         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16075         not expect.
16076         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16078         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16079         Change function return type to int.
16081         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16082         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16083         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16084         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16085         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16086         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16087         [!POSIX] (posix_madvise): Likewise.
16088         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16089         && !UNIX98].
16090         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16091         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16092         (mode_t): Likewise.
16093         (posix_mem_offset): Likewise.
16094         (posix_typed_mem_get_info): Likewise.
16095         (posix_typed_mem_open): Likewise.
16097         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16098         Change condition to [XOPEN2K8].
16100         * conform/conformtest.pl: Preprocess allow-header data with -x c
16101         instead of from stdin.
16102         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16103         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16104         [C99-based standards] (cerfc): Likewise.
16105         [C99-based standards] (cexp2): Likewise.
16106         [C99-based standards] (cexpm1): Likewise.
16107         [C99-based standards] (clog10): Likewise.
16108         [C99-based standards] (clog1p): Likewise.
16109         [C99-based standards] (clog2): Likewise.
16110         [C99-based standards] (clgamma): Likewise.
16111         [C99-based standards] (ctgamma): Likewise.
16112         [C99-based standards] (cerff): Likewise.
16113         [C99-based standards] (cerfcf): Likewise.
16114         [C99-based standards] (cexp2f): Likewise.
16115         [C99-based standards] (cexpm1f): Likewise.
16116         [C99-based standards] (clog10f): Likewise.
16117         [C99-based standards] (clog1pf): Likewise.
16118         [C99-based standards] (clog2f): Likewise.
16119         [C99-based standards] (clgammaf): Likewise.
16120         [C99-based standards] (ctgammaf): Likewise.
16121         [C99-based standards] (cerfl): Likewise.
16122         [C99-based standards] (cerfcl): Likewise.
16123         [C99-based standards] (cexp2l): Likewise.
16124         [C99-based standards] (cexpm1l): Likewise.
16125         [C99-based standards] (clog10l): Likewise.
16126         [C99-based standards] (clog1pl): Likewise.
16127         [C99-based standards] (clog2l): Likewise.
16128         [C99-based standards] (clgammal): Likewise.
16129         [C99-based standards] (ctgammal): Likewise.
16130         * conform/data/inttypes.h-data [C99-based standards]: Include
16131         stdint.h-data.  Remove all expectations for stdint.h contents.
16132         [C99-based standards] (PRI*): Do not allow.
16133         [C99-based standards] (SCN*): Likewise.
16134         [C99-based standards] (*_t): Likewise.
16135         [C99-based-standards] (PRId8): Expect macro.
16136         [C99-based-standards] (PRIi8): Likewise.
16137         [C99-based-standards] (PRIo8): Likewise.
16138         [C99-based-standards] (PRIu8): Likewise.
16139         [C99-based-standards] (PRIx8): Likewise.
16140         [C99-based-standards] (PRIX8): Likewise.
16141         [C99-based-standards] (SCNd8): Likewise.
16142         [C99-based-standards] (SCNi8): Likewise.
16143         [C99-based-standards] (SCNo8): Likewise.
16144         [C99-based-standards] (SCNu8): Likewise.
16145         [C99-based-standards] (SCNx8): Likewise.
16146         [C99-based-standards] (PRIdLEAST8): Likewise.
16147         [C99-based-standards] (PRIiLEAST8): Likewise.
16148         [C99-based-standards] (PRIoLEAST8): Likewise.
16149         [C99-based-standards] (PRIuLEAST8): Likewise.
16150         [C99-based-standards] (PRIxLEAST8): Likewise.
16151         [C99-based-standards] (PRIXLEAST8): Likewise.
16152         [C99-based-standards] (SCNdLEAST8): Likewise.
16153         [C99-based-standards] (SCNiLEAST8): Likewise.
16154         [C99-based-standards] (SCNoLEAST8): Likewise.
16155         [C99-based-standards] (SCNuLEAST8): Likewise.
16156         [C99-based-standards] (SCNxLEAST8): Likewise.
16157         [C99-based-standards] (PRIdFAST8): Likewise.
16158         [C99-based-standards] (PRIiFAST8): Likewise.
16159         [C99-based-standards] (PRIoFAST8): Likewise.
16160         [C99-based-standards] (PRIuFAST8): Likewise.
16161         [C99-based-standards] (PRIxFAST8): Likewise.
16162         [C99-based-standards] (PRIXFAST8): Likewise.
16163         [C99-based-standards] (SCNdFAST8): Likewise.
16164         [C99-based-standards] (SCNiFAST8): Likewise.
16165         [C99-based-standards] (SCNoFAST8): Likewise.
16166         [C99-based-standards] (SCNuFAST8): Likewise.
16167         [C99-based-standards] (SCNxFAST8): Likewise.
16168         [C99-based-standards] (PRId16): Likewise.
16169         [C99-based-standards] (PRIi16): Likewise.
16170         [C99-based-standards] (PRIo16): Likewise.
16171         [C99-based-standards] (PRIu16): Likewise.
16172         [C99-based-standards] (PRIx16): Likewise.
16173         [C99-based-standards] (PRIX16): Likewise.
16174         [C99-based-standards] (SCNd16): Likewise.
16175         [C99-based-standards] (SCNi16): Likewise.
16176         [C99-based-standards] (SCNo16): Likewise.
16177         [C99-based-standards] (SCNu16): Likewise.
16178         [C99-based-standards] (SCNx16): Likewise.
16179         [C99-based-standards] (PRIdLEAST16): Likewise.
16180         [C99-based-standards] (PRIiLEAST16): Likewise.
16181         [C99-based-standards] (PRIoLEAST16): Likewise.
16182         [C99-based-standards] (PRIuLEAST16): Likewise.
16183         [C99-based-standards] (PRIxLEAST16): Likewise.
16184         [C99-based-standards] (PRIXLEAST16): Likewise.
16185         [C99-based-standards] (SCNdLEAST16): Likewise.
16186         [C99-based-standards] (SCNiLEAST16): Likewise.
16187         [C99-based-standards] (SCNoLEAST16): Likewise.
16188         [C99-based-standards] (SCNuLEAST16): Likewise.
16189         [C99-based-standards] (SCNxLEAST16): Likewise.
16190         [C99-based-standards] (PRIdFAST16): Likewise.
16191         [C99-based-standards] (PRIiFAST16): Likewise.
16192         [C99-based-standards] (PRIoFAST16): Likewise.
16193         [C99-based-standards] (PRIuFAST16): Likewise.
16194         [C99-based-standards] (PRIxFAST16): Likewise.
16195         [C99-based-standards] (PRIXFAST16): Likewise.
16196         [C99-based-standards] (SCNdFAST16): Likewise.
16197         [C99-based-standards] (SCNiFAST16): Likewise.
16198         [C99-based-standards] (SCNoFAST16): Likewise.
16199         [C99-based-standards] (SCNuFAST16): Likewise.
16200         [C99-based-standards] (SCNxFAST16): Likewise.
16201         [C99-based-standards] (PRId32): Likewise.
16202         [C99-based-standards] (PRIi32): Likewise.
16203         [C99-based-standards] (PRIo32): Likewise.
16204         [C99-based-standards] (PRIu32): Likewise.
16205         [C99-based-standards] (PRIx32): Likewise.
16206         [C99-based-standards] (PRIX32): Likewise.
16207         [C99-based-standards] (SCNd32): Likewise.
16208         [C99-based-standards] (SCNi32): Likewise.
16209         [C99-based-standards] (SCNo32): Likewise.
16210         [C99-based-standards] (SCNu32): Likewise.
16211         [C99-based-standards] (SCNx32): Likewise.
16212         [C99-based-standards] (PRIdLEAST32): Likewise.
16213         [C99-based-standards] (PRIiLEAST32): Likewise.
16214         [C99-based-standards] (PRIoLEAST32): Likewise.
16215         [C99-based-standards] (PRIuLEAST32): Likewise.
16216         [C99-based-standards] (PRIxLEAST32): Likewise.
16217         [C99-based-standards] (PRIXLEAST32): Likewise.
16218         [C99-based-standards] (SCNdLEAST32): Likewise.
16219         [C99-based-standards] (SCNiLEAST32): Likewise.
16220         [C99-based-standards] (SCNoLEAST32): Likewise.
16221         [C99-based-standards] (SCNuLEAST32): Likewise.
16222         [C99-based-standards] (SCNxLEAST32): Likewise.
16223         [C99-based-standards] (PRIdFAST32): Likewise.
16224         [C99-based-standards] (PRIiFAST32): Likewise.
16225         [C99-based-standards] (PRIoFAST32): Likewise.
16226         [C99-based-standards] (PRIuFAST32): Likewise.
16227         [C99-based-standards] (PRIxFAST32): Likewise.
16228         [C99-based-standards] (PRIXFAST32): Likewise.
16229         [C99-based-standards] (SCNdFAST32): Likewise.
16230         [C99-based-standards] (SCNiFAST32): Likewise.
16231         [C99-based-standards] (SCNoFAST32): Likewise.
16232         [C99-based-standards] (SCNuFAST32): Likewise.
16233         [C99-based-standards] (SCNxFAST32): Likewise.
16234         [C99-based-standards] (PRId64): Likewise.
16235         [C99-based-standards] (PRIi64): Likewise.
16236         [C99-based-standards] (PRIo64): Likewise.
16237         [C99-based-standards] (PRIu64): Likewise.
16238         [C99-based-standards] (PRIx64): Likewise.
16239         [C99-based-standards] (PRIX64): Likewise.
16240         [C99-based-standards] (SCNd64): Likewise.
16241         [C99-based-standards] (SCNi64): Likewise.
16242         [C99-based-standards] (SCNo64): Likewise.
16243         [C99-based-standards] (SCNu64): Likewise.
16244         [C99-based-standards] (SCNx64): Likewise.
16245         [C99-based-standards] (PRIdLEAST64): Likewise.
16246         [C99-based-standards] (PRIiLEAST64): Likewise.
16247         [C99-based-standards] (PRIoLEAST64): Likewise.
16248         [C99-based-standards] (PRIuLEAST64): Likewise.
16249         [C99-based-standards] (PRIxLEAST64): Likewise.
16250         [C99-based-standards] (PRIXLEAST64): Likewise.
16251         [C99-based-standards] (SCNdLEAST64): Likewise.
16252         [C99-based-standards] (SCNiLEAST64): Likewise.
16253         [C99-based-standards] (SCNoLEAST64): Likewise.
16254         [C99-based-standards] (SCNuLEAST64): Likewise.
16255         [C99-based-standards] (SCNxLEAST64): Likewise.
16256         [C99-based-standards] (PRIdFAST64): Likewise.
16257         [C99-based-standards] (PRIiFAST64): Likewise.
16258         [C99-based-standards] (PRIoFAST64): Likewise.
16259         [C99-based-standards] (PRIuFAST64): Likewise.
16260         [C99-based-standards] (PRIxFAST64): Likewise.
16261         [C99-based-standards] (PRIXFAST64): Likewise.
16262         [C99-based-standards] (SCNdFAST64): Likewise.
16263         [C99-based-standards] (SCNiFAST64): Likewise.
16264         [C99-based-standards] (SCNoFAST64): Likewise.
16265         [C99-based-standards] (SCNuFAST64): Likewise.
16266         [C99-based-standards] (SCNxFAST64): Likewise.
16267         [C99-based-standards] (PRIdMAX): Likewise.
16268         [C99-based-standards] (PRIiMAX): Likewise.
16269         [C99-based-standards] (PRIoMAX): Likewise.
16270         [C99-based-standards] (PRIuMAX): Likewise.
16271         [C99-based-standards] (PRIxMAX): Likewise.
16272         [C99-based-standards] (PRIXMAX): Likewise.
16273         [C99-based-standards] (SCNdMAX): Likewise.
16274         [C99-based-standards] (SCNiMAX): Likewise.
16275         [C99-based-standards] (SCNoMAX): Likewise.
16276         [C99-based-standards] (SCNuMAX): Likewise.
16277         [C99-based-standards] (SCNxMAX): Likewise.
16278         [C99-based-standards] (PRIdPTR): Likewise.
16279         [C99-based-standards] (PRIiPTR): Likewise.
16280         [C99-based-standards] (PRIoPTR): Likewise.
16281         [C99-based-standards] (PRIuPTR): Likewise.
16282         [C99-based-standards] (PRIxPTR): Likewise.
16283         [C99-based-standards] (PRIXPTR): Likewise.
16284         [C99-based-standards] (SCNdPTR): Likewise.
16285         [C99-based-standards] (SCNiPTR): Likewise.
16286         [C99-based-standards] (SCNoPTR): Likewise.
16287         [C99-based-standards] (SCNuPTR): Likewise.
16288         [C99-based-standards] (SCNxPTR): Likewise.
16289         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16290         allow.
16291         * conform/data/stdint.h-data: Update comments to clarify
16292         requirements.
16293         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16294         type.
16295         [C99-based standards] (INT8_MAX): Likewise.
16296         [C99-based standards] (INT16_MIN): Likewise.
16297         [C99-based standards] (INT16_MAX): Likewise.
16298         [C99-based standards] (INT32_MIN): Likewise.
16299         [C99-based standards] (INT32_MAX): Likewise.
16300         [C99-based standards] (INT64_MIN): Likewise.
16301         [C99-based standards] (INT64_MAX): Likewise.
16302         [C99-based standards] (UINT8_MAX): Likewise.
16303         [C99-based standards] (UINT16_MAX): Likewise.
16304         [C99-based standards] (UINT32_MAX): Likewise.
16305         [C99-based standards] (UINT64_MAX): Likewise.
16306         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16307         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16308         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16309         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16310         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16311         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16312         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16313         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16314         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16315         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16316         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16317         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16318         [C99-based standards] (INT_FAST8_MIN): Likewise.
16319         [C99-based standards] (INT_FAST8_MAX): Likewise.
16320         [C99-based standards] (INT_FAST16_MIN): Likewise.
16321         [C99-based standards] (INT_FAST16_MAX): Likewise.
16322         [C99-based standards] (INT_FAST32_MIN): Likewise.
16323         [C99-based standards] (INT_FAST32_MAX): Likewise.
16324         [C99-based standards] (INT_FAST64_MIN): Likewise.
16325         [C99-based standards] (INT_FAST64_MAX): Likewise.
16326         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16327         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16328         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16329         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16330         [C99-based standards] (INTPTR_MIN): Likewise.
16331         [C99-based standards] (INTPTR_MAX): Likewise.
16332         [C99-based standards] (UINTPTR_MAX): Likewise.
16333         [C99-based standards] (INTMAX_MIN): Likewise.
16334         [C99-based standards] (INTMAX_MAX): Likewise.
16335         [C99-based standards] (UINTMAX_MAX): Likewise.
16336         [C99-based standards] (PTRDIFF_MIN): Likewise.
16337         [C99-based standards] (PTRDIFF_MAX): Likewise.
16338         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16339         [C99-based standards] (SIZE_MAX): Likewise.
16340         [C99-based standards] (WCHAR_MAX): Likewise.
16341         [C99-based standards] (WINT_MAX): Likewise.
16342         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16343         constraint on value.
16344         [C99-based standards] (WCHAR_MIN): Likewise.
16345         [C99-based standards] (WINT_MIN): Likewise.
16346         [C99-based standards] (*_t): Allow.
16347         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16348         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16349         Include math.h-data and complex.h-data.  Remove all expectations
16350         of math.h and complex.h contents.
16351         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16352         at end of line.
16353         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16354         (struct tm): Expect tag.
16355         [C99-based-standards] (wcstof): Expect function.
16356         [C99-based-standards] (wcstold): Likewise.
16357         [C99-based-standards] (wcstoll): Likewise.
16358         [C99-based-standards] (wcstoull): Likewise.
16359         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16360         macro-int-constant.  Specify type.
16361         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16362         constraint on value.
16363         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16364         Specify type.
16365         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16366         Specify value.
16367         [ISO C standards]: Do not allow headers.
16368         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16369         wcs[abcdefghijklmnopqrstuvwxyz]*.
16370         [ISO C standards] (*_t): Do not allow.
16371         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16372         Expect function.
16373         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16374         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16375         Specify type.
16376         [ISO C standards]: Do not allow headers.
16377         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16378         is[abcdefghijklmnopqrstuvwxyz]*.
16379         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16380         to[abcdefghijklmnopqrstuvwxyz]*.
16381         [ISO C standards] (*_t): Do not allow.
16382         * conform/data/stdalign.h-data: New file.
16383         * conform/data/stdbool.h-data: Likewise.
16384         * conform/data/stdnoreturn.h-data: Likewise.
16386 2012-11-07  Roland McGrath  <roland@hack.frob.com>
16388         [BZ #14815]
16389         * manual/filesys.texi (Directory Entries): Typo fix.
16390         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16392 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16394         * elf/elf.h (EM_AARCH64): New macro.
16395         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16396         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16397         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16398         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16399         (R_AARCH64_TLSDESC): Likewise.
16400         (NT_ARM_TLS): Likewise.
16401         (NT_ARM_HW_BREAK): Likewise.
16402         (NT_ARM_HW_WATCH): Likewise.
16404 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16406         [BZ #14811]
16407         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16408         (__ieee754_powl): Saturate nonzero exponents with absolute value
16409         below 0x1p-79 to +/- 0x1p-79.
16410         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16411         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16412         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16413         nonzero exponents with absolute value below 0x1p-32 to +/-
16414         0x1p-32.
16415         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16416         (__ieee754_powl): Saturate nonzero exponents with absolute value
16417         below 0x1p-79 to +/- 0x1p-79.
16418         * math/libm-test.inc (pow_test): Add more tests.
16420 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16422         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16423         _dl_s390_cap_flags with kernel. Increase string length.
16424         (_dl_s390_platforms): Add z196 and zEC12.
16426 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16428         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16429         Change XOPEN21K to XOPEN2K.
16431 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
16433         * string/memmove.c: Use memcpy when possible.
16435 2012-11-06  Andreas Jaeger  <aj@suse.de>
16437         * po/eo.po: Update from translation team.
16439 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #14793]
16442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16443         exponent and small x and y exponents, scale x or y up.  Increase
16444         by 2 the exponent used in scaling up.
16445         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16447         * math/libm-test.inc (fma_test): Add more tests.
16448         (fma_test_towardzero): Likewise.
16449         (fma_test_downward): Likewise.
16450         (fma_test_upward): Likewise.
16452 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
16454         [BZ #14805]
16455         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16456         fenv_t *.
16458         [BZ #14801]
16459         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16460         namespace for names of struct fields.
16461         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16462         fenv_t fields.
16463         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16464         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16466 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16468         [BZ #3665]
16469         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16471 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16473         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16474         PTR_DEMANGLE.
16476         [BZ #5246]
16477         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16478         PTR_DEMANGLE.
16480 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16482         [BZ #14797]
16483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16484         definitely overflow as x * y not x * y + z.
16485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16487         * math/libm-test.inc (fma_test): Add more tests.
16488         (fma_test_towardzero): Likewise.
16489         (fma_test_downward): Likewise.
16490         (fma_test_upward): Likewise.
16492 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16494         [BZ #157]
16496         * include/stub-tag.h: Remove file.
16497         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16498         '#include' of it.
16499         * manual/maint.texi (Porting): Don't reference it.
16500         * Makerules ($(objpfx)stubs): Likewise.
16501         * dirent/closedir.c: Don't include <stub-tag.h>.
16502         * dirent/dirfd.c: Likewise.
16503         * dirent/fdopendir.c: Likewise.
16504         * dirent/getdents.c: Likewise.
16505         * dirent/getdents64.c: Likewise.
16506         * dirent/opendir.c: Likewise.
16507         * dirent/readdir.c: Likewise.
16508         * dirent/readdir64.c: Likewise.
16509         * dirent/readdir64_r.c: Likewise.
16510         * dirent/readdir_r.c: Likewise.
16511         * dirent/rewinddir.c: Likewise.
16512         * dirent/seekdir.c: Likewise.
16513         * dirent/telldir.c: Likewise.
16514         * gmon/profil.c: Likewise.
16515         * grp/setgroups.c: Likewise.
16516         * inet/if_index.c: Likewise.
16517         * io/access.c: Likewise.
16518         * io/chdir.c: Likewise.
16519         * io/chmod.c: Likewise.
16520         * io/chown.c: Likewise.
16521         * io/close.c: Likewise.
16522         * io/dup.c: Likewise.
16523         * io/dup2.c: Likewise.
16524         * io/dup3.c: Likewise.
16525         * io/euidaccess.c: Likewise.
16526         * io/faccessat.c: Likewise.
16527         * io/fchdir.c: Likewise.
16528         * io/fchmod.c: Likewise.
16529         * io/fchmodat.c: Likewise.
16530         * io/fchown.c: Likewise.
16531         * io/fchownat.c: Likewise.
16532         * io/fcntl.c: Likewise.
16533         * io/flock.c: Likewise.
16534         * io/fstatfs.c: Likewise.
16535         * io/fstatfs64.c: Likewise.
16536         * io/fstatvfs.c: Likewise.
16537         * io/fstatvfs64.c: Likewise.
16538         * io/futimens.c: Likewise.
16539         * io/fxstat.c: Likewise.
16540         * io/fxstat64.c: Likewise.
16541         * io/fxstatat.c: Likewise.
16542         * io/fxstatat64.c: Likewise.
16543         * io/getcwd.c: Likewise.
16544         * io/isatty.c: Likewise.
16545         * io/lchmod.c: Likewise.
16546         * io/lchown.c: Likewise.
16547         * io/link.c: Likewise.
16548         * io/linkat.c: Likewise.
16549         * io/lseek.c: Likewise.
16550         * io/lseek64.c: Likewise.
16551         * io/lxstat64.c: Likewise.
16552         * io/mkdir.c: Likewise.
16553         * io/mkdirat.c: Likewise.
16554         * io/mkfifo.c: Likewise.
16555         * io/mkfifoat.c: Likewise.
16556         * io/open.c: Likewise.
16557         * io/open64.c: Likewise.
16558         * io/openat.c: Likewise.
16559         * io/openat64.c: Likewise.
16560         * io/pipe.c: Likewise.
16561         * io/pipe2.c: Likewise.
16562         * io/poll.c: Likewise.
16563         * io/posix_fadvise.c: Likewise.
16564         * io/posix_fadvise64.c: Likewise.
16565         * io/posix_fallocate.c: Likewise.
16566         * io/posix_fallocate64.c: Likewise.
16567         * io/read.c: Likewise.
16568         * io/readlink.c: Likewise.
16569         * io/readlinkat.c: Likewise.
16570         * io/rmdir.c: Likewise.
16571         * io/sendfile.c: Likewise.
16572         * io/sendfile64.c: Likewise.
16573         * io/statfs.c: Likewise.
16574         * io/statfs64.c: Likewise.
16575         * io/statvfs.c: Likewise.
16576         * io/statvfs64.c: Likewise.
16577         * io/symlink.c: Likewise.
16578         * io/symlinkat.c: Likewise.
16579         * io/ttyname.c: Likewise.
16580         * io/ttyname_r.c: Likewise.
16581         * io/umask.c: Likewise.
16582         * io/unlink.c: Likewise.
16583         * io/unlinkat.c: Likewise.
16584         * io/utime.c: Likewise.
16585         * io/utimensat.c: Likewise.
16586         * io/write.c: Likewise.
16587         * io/xmknod.c: Likewise.
16588         * io/xmknodat.c: Likewise.
16589         * io/xstat.c: Likewise.
16590         * io/xstat64.c: Likewise.
16591         * login/getpt.c: Likewise.
16592         * login/grantpt.c: Likewise.
16593         * login/unlockpt.c: Likewise.
16594         * math/e_acoshl.c: Likewise.
16595         * math/e_acosl.c: Likewise.
16596         * math/e_asinl.c: Likewise.
16597         * math/e_atan2l.c: Likewise.
16598         * math/e_atanhl.c: Likewise.
16599         * math/e_coshl.c: Likewise.
16600         * math/e_expl.c: Likewise.
16601         * math/e_fmodl.c: Likewise.
16602         * math/e_gammal_r.c: Likewise.
16603         * math/e_hypotl.c: Likewise.
16604         * math/e_j0l.c: Likewise.
16605         * math/e_j1l.c: Likewise.
16606         * math/e_jnl.c: Likewise.
16607         * math/e_lgammal_r.c: Likewise.
16608         * math/e_log10l.c: Likewise.
16609         * math/e_log2l.c: Likewise.
16610         * math/e_logl.c: Likewise.
16611         * math/e_powl.c: Likewise.
16612         * math/e_rem_pio2l.c: Likewise.
16613         * math/e_sinhl.c: Likewise.
16614         * math/e_sqrtl.c: Likewise.
16615         * math/fclrexcpt.c: Likewise.
16616         * math/fedisblxcpt.c: Likewise.
16617         * math/feenablxcpt.c: Likewise.
16618         * math/fegetenv.c: Likewise.
16619         * math/fegetexcept.c: Likewise.
16620         * math/fegetround.c: Likewise.
16621         * math/feholdexcpt.c: Likewise.
16622         * math/fesetenv.c: Likewise.
16623         * math/fesetround.c: Likewise.
16624         * math/feupdateenv.c: Likewise.
16625         * math/fgetexcptflg.c: Likewise.
16626         * math/fraiseexcpt.c: Likewise.
16627         * math/fsetexcptflg.c: Likewise.
16628         * math/ftestexcept.c: Likewise.
16629         * math/k_cosl.c: Likewise.
16630         * math/k_rem_pio2l.c: Likewise.
16631         * math/k_sinl.c: Likewise.
16632         * math/k_tanl.c: Likewise.
16633         * math/s_asinhl.c: Likewise.
16634         * math/s_atanl.c: Likewise.
16635         * math/s_cbrtl.c: Likewise.
16636         * math/s_erfl.c: Likewise.
16637         * math/s_expm1l.c: Likewise.
16638         * math/s_log1pl.c: Likewise.
16639         * math/s_tanhl.c: Likewise.
16640         * misc/acct.c: Likewise.
16641         * misc/brk.c: Likewise.
16642         * misc/chflags.c: Likewise.
16643         * misc/chroot.c: Likewise.
16644         * misc/fchflags.c: Likewise.
16645         * misc/fgetxattr.c: Likewise.
16646         * misc/flistxattr.c: Likewise.
16647         * misc/fremovexattr.c: Likewise.
16648         * misc/fsetxattr.c: Likewise.
16649         * misc/fsync.c: Likewise.
16650         * misc/ftruncate.c: Likewise.
16651         * misc/futimes.c: Likewise.
16652         * misc/futimesat.c: Likewise.
16653         * misc/getdomain.c: Likewise.
16654         * misc/getdtsz.c: Likewise.
16655         * misc/gethostid.c: Likewise.
16656         * misc/gethostname.c: Likewise.
16657         * misc/getloadavg.c: Likewise.
16658         * misc/getpagesize.c: Likewise.
16659         * misc/getsysstats.c: Likewise.
16660         * misc/getxattr.c: Likewise.
16661         * misc/gtty.c: Likewise.
16662         * misc/ioctl.c: Likewise.
16663         * misc/lgetxattr.c: Likewise.
16664         * misc/listxattr.c: Likewise.
16665         * misc/llistxattr.c: Likewise.
16666         * misc/lremovexattr.c: Likewise.
16667         * misc/lsetxattr.c: Likewise.
16668         * misc/lutimes.c: Likewise.
16669         * misc/madvise.c: Likewise.
16670         * misc/mincore.c: Likewise.
16671         * misc/mlock.c: Likewise.
16672         * misc/mlockall.c: Likewise.
16673         * misc/mmap.c: Likewise.
16674         * misc/mprotect.c: Likewise.
16675         * misc/msync.c: Likewise.
16676         * misc/munlock.c: Likewise.
16677         * misc/munlockall.c: Likewise.
16678         * misc/munmap.c: Likewise.
16679         * misc/preadv.c: Likewise.
16680         * misc/preadv64.c: Likewise.
16681         * misc/ptrace.c: Likewise.
16682         * misc/pwritev.c: Likewise.
16683         * misc/pwritev64.c: Likewise.
16684         * misc/readv.c: Likewise.
16685         * misc/reboot.c: Likewise.
16686         * misc/remap_file_pages.c: Likewise.
16687         * misc/removexattr.c: Likewise.
16688         * misc/revoke.c: Likewise.
16689         * misc/select.c: Likewise.
16690         * misc/setdomain.c: Likewise.
16691         * misc/setegid.c: Likewise.
16692         * misc/seteuid.c: Likewise.
16693         * misc/sethostid.c: Likewise.
16694         * misc/sethostname.c: Likewise.
16695         * misc/setregid.c: Likewise.
16696         * misc/setreuid.c: Likewise.
16697         * misc/setxattr.c: Likewise.
16698         * misc/sstk.c: Likewise.
16699         * misc/stty.c: Likewise.
16700         * misc/swapoff.c: Likewise.
16701         * misc/swapon.c: Likewise.
16702         * misc/sync.c: Likewise.
16703         * misc/syncfs.c: Likewise.
16704         * misc/syscall.c: Likewise.
16705         * misc/truncate.c: Likewise.
16706         * misc/ualarm.c: Likewise.
16707         * misc/usleep.c: Likewise.
16708         * misc/ustat.c: Likewise.
16709         * misc/utimes.c: Likewise.
16710         * misc/vhangup.c: Likewise.
16711         * misc/writev.c: Likewise.
16712         * posix/_exit.c: Likewise.
16713         * posix/alarm.c: Likewise.
16714         * posix/execve.c: Likewise.
16715         * posix/fexecve.c: Likewise.
16716         * posix/fork.c: Likewise.
16717         * posix/fpathconf.c: Likewise.
16718         * posix/getaddrinfo.c: Likewise.
16719         * posix/getegid.c: Likewise.
16720         * posix/geteuid.c: Likewise.
16721         * posix/getgid.c: Likewise.
16722         * posix/getgroups.c: Likewise.
16723         * posix/getlogin.c: Likewise.
16724         * posix/getlogin_r.c: Likewise.
16725         * posix/getpgid.c: Likewise.
16726         * posix/getpid.c: Likewise.
16727         * posix/getppid.c: Likewise.
16728         * posix/getresgid.c: Likewise.
16729         * posix/getresuid.c: Likewise.
16730         * posix/getsid.c: Likewise.
16731         * posix/getuid.c: Likewise.
16732         * posix/glob64.c: Likewise.
16733         * posix/nanosleep.c: Likewise.
16734         * posix/pathconf.c: Likewise.
16735         * posix/pause.c: Likewise.
16736         * posix/posix_madvise.c: Likewise.
16737         * posix/pread.c: Likewise.
16738         * posix/pread64.c: Likewise.
16739         * posix/pwrite.c: Likewise.
16740         * posix/pwrite64.c: Likewise.
16741         * posix/sched_getaffinity.c: Likewise.
16742         * posix/sched_getp.c: Likewise.
16743         * posix/sched_gets.c: Likewise.
16744         * posix/sched_primax.c: Likewise.
16745         * posix/sched_primin.c: Likewise.
16746         * posix/sched_rr_gi.c: Likewise.
16747         * posix/sched_setaffinity.c: Likewise.
16748         * posix/sched_setp.c: Likewise.
16749         * posix/sched_sets.c: Likewise.
16750         * posix/sched_yield.c: Likewise.
16751         * posix/setgid.c: Likewise.
16752         * posix/setlogin.c: Likewise.
16753         * posix/setpgid.c: Likewise.
16754         * posix/setresgid.c: Likewise.
16755         * posix/setresuid.c: Likewise.
16756         * posix/setsid.c: Likewise.
16757         * posix/setuid.c: Likewise.
16758         * posix/sleep.c: Likewise.
16759         * posix/spawni.c: Likewise.
16760         * posix/sysconf.c: Likewise.
16761         * posix/times.c: Likewise.
16762         * posix/wait.c: Likewise.
16763         * posix/wait3.c: Likewise.
16764         * posix/wait4.c: Likewise.
16765         * posix/waitpid.c: Likewise.
16766         * resolv/gai_sigqueue.c: Likewise.
16767         * resource/getpriority.c: Likewise.
16768         * resource/getrlimit.c: Likewise.
16769         * resource/getrusage.c: Likewise.
16770         * resource/nice.c: Likewise.
16771         * resource/setpriority.c: Likewise.
16772         * resource/setrlimit.c: Likewise.
16773         * resource/ulimit.c: Likewise.
16774         * rt/aio_cancel.c: Likewise.
16775         * rt/aio_fsync.c: Likewise.
16776         * rt/aio_read.c: Likewise.
16777         * rt/aio_sigqueue.c: Likewise.
16778         * rt/aio_suspend.c: Likewise.
16779         * rt/aio_write.c: Likewise.
16780         * rt/clock_getres.c: Likewise.
16781         * rt/clock_gettime.c: Likewise.
16782         * rt/clock_nanosleep.c: Likewise.
16783         * rt/clock_settime.c: Likewise.
16784         * rt/lio_listio.c: Likewise.
16785         * rt/mq_close.c: Likewise.
16786         * rt/mq_getattr.c: Likewise.
16787         * rt/mq_notify.c: Likewise.
16788         * rt/mq_open.c: Likewise.
16789         * rt/mq_receive.c: Likewise.
16790         * rt/mq_send.c: Likewise.
16791         * rt/mq_setattr.c: Likewise.
16792         * rt/mq_timedreceive.c: Likewise.
16793         * rt/mq_timedsend.c: Likewise.
16794         * rt/mq_unlink.c: Likewise.
16795         * rt/shm_open.c: Likewise.
16796         * rt/shm_unlink.c: Likewise.
16797         * rt/timer_create.c: Likewise.
16798         * rt/timer_delete.c: Likewise.
16799         * rt/timer_getoverr.c: Likewise.
16800         * rt/timer_gettime.c: Likewise.
16801         * rt/timer_settime.c: Likewise.
16802         * setjmp/__longjmp.c: Likewise.
16803         * setjmp/setjmp.c: Likewise.
16804         * signal/kill.c: Likewise.
16805         * signal/killpg.c: Likewise.
16806         * signal/raise.c: Likewise.
16807         * signal/sigaction.c: Likewise.
16808         * signal/sigaltstack.c: Likewise.
16809         * signal/sigblock.c: Likewise.
16810         * signal/sigignore.c: Likewise.
16811         * signal/sigintr.c: Likewise.
16812         * signal/signal.c: Likewise.
16813         * signal/sigpause.c: Likewise.
16814         * signal/sigpending.c: Likewise.
16815         * signal/sigqueue.c: Likewise.
16816         * signal/sigreturn.c: Likewise.
16817         * signal/sigset.c: Likewise.
16818         * signal/sigsetmask.c: Likewise.
16819         * signal/sigstack.c: Likewise.
16820         * signal/sigsuspend.c: Likewise.
16821         * signal/sigtimedwait.c: Likewise.
16822         * signal/sigvec.c: Likewise.
16823         * signal/sigwait.c: Likewise.
16824         * signal/sigwaitinfo.c: Likewise.
16825         * signal/sysv_signal.c: Likewise.
16826         * socket/accept.c: Likewise.
16827         * socket/accept4.c: Likewise.
16828         * socket/bind.c: Likewise.
16829         * socket/connect.c: Likewise.
16830         * socket/getpeername.c: Likewise.
16831         * socket/getsockname.c: Likewise.
16832         * socket/getsockopt.c: Likewise.
16833         * socket/isfdtype.c: Likewise.
16834         * socket/listen.c: Likewise.
16835         * socket/recv.c: Likewise.
16836         * socket/recvfrom.c: Likewise.
16837         * socket/recvmsg.c: Likewise.
16838         * socket/send.c: Likewise.
16839         * socket/sendmsg.c: Likewise.
16840         * socket/sendto.c: Likewise.
16841         * socket/setsockopt.c: Likewise.
16842         * socket/shutdown.c: Likewise.
16843         * socket/sockatmark.c: Likewise.
16844         * socket/socket.c: Likewise.
16845         * socket/socketpair.c: Likewise.
16846         * stdio-common/ctermid.c: Likewise.
16847         * stdio-common/cuserid.c: Likewise.
16848         * stdio-common/remove.c: Likewise.
16849         * stdio-common/rename.c: Likewise.
16850         * stdio-common/renameat.c: Likewise.
16851         * stdio-common/tempname.c: Likewise.
16852         * stdlib/getcontext.c: Likewise.
16853         * stdlib/makecontext.c: Likewise.
16854         * stdlib/setcontext.c: Likewise.
16855         * stdlib/swapcontext.c: Likewise.
16856         * stdlib/system.c: Likewise.
16857         * streams/fattach.c: Likewise.
16858         * streams/fdetach.c: Likewise.
16859         * streams/getmsg.c: Likewise.
16860         * streams/getpmsg.c: Likewise.
16861         * streams/putmsg.c: Likewise.
16862         * streams/putpmsg.c: Likewise.
16863         * sysdeps/unix/bsd/getpt.c: Likewise.
16864         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16865         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16866         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16870         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16871         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16872         * sysvipc/msgctl.c: Likewise.
16873         * sysvipc/msgget.c: Likewise.
16874         * sysvipc/msgrcv.c: Likewise.
16875         * sysvipc/msgsnd.c: Likewise.
16876         * sysvipc/semctl.c: Likewise.
16877         * sysvipc/semget.c: Likewise.
16878         * sysvipc/semop.c: Likewise.
16879         * sysvipc/semtimedop.c: Likewise.
16880         * sysvipc/shmat.c: Likewise.
16881         * sysvipc/shmctl.c: Likewise.
16882         * sysvipc/shmdt.c: Likewise.
16883         * sysvipc/shmget.c: Likewise.
16884         * termios/tcdrain.c: Likewise.
16885         * termios/tcflow.c: Likewise.
16886         * termios/tcflush.c: Likewise.
16887         * termios/tcgetattr.c: Likewise.
16888         * termios/tcgetpgrp.c: Likewise.
16889         * termios/tcsendbrk.c: Likewise.
16890         * termios/tcsetattr.c: Likewise.
16891         * termios/tcsetpgrp.c: Likewise.
16892         * time/adjtime.c: Likewise.
16893         * time/clock.c: Likewise.
16894         * time/getitimer.c: Likewise.
16895         * time/gettimeofday.c: Likewise.
16896         * time/setitimer.c: Likewise.
16897         * time/settimeofday.c: Likewise.
16898         * time/stime.c: Likewise.
16899         * time/time.c: Likewise.
16901 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16903         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16904         /usr/old/bin.
16906         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16907         instead of spaces.
16908         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16910 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16912         [BZ #14796]
16913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16914         FE_TONEAREST before applying Dekker multiplication and Knuth
16915         addition.  Clear inexact exceptions and check for exact zero
16916         results afterwards.
16917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16918         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16920         * math/libm-test.inc (fma_test): Add more tests.
16921         (fma_test_towardzero): Likewise.
16922         (fma_test_downward): Likewise.
16923         (fma_test_upward): Likewise.
16924         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16925         function.
16926         (libc_fesetround): New macro.
16927         (libc_fesetroundf): Likewise.
16928         (libc_fesetroundl): Likewise.
16929         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16930         function.
16931         (libc_fesetround_387): Likewise.
16932         (libc_fesetroundf): New macro.
16933         (libc_fesetround): Likewise.
16934         (libc_fesetroundl): Likewise.
16935         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16936         function.
16937         (libc_fesetroundf): New macro.
16938         (libc_fesetround): Likewise.
16939         (libc_fesetroundl): Likewise.
16940         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16941         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16942         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16943         libm_hidden_ver.
16944         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16945         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16946         libm_hidden_def.
16947         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16948         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16949         libm_hidden_ver.
16950         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16951         libm_hidden_def.
16953         [BZ #3439]
16954         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16955         integer constant usable in #if and use that to give value to enum
16956         constant.
16957         (FE_DIVBYZERO): Likewise.
16958         (FE_UNDERFLOW): Likewise.
16959         (FE_OVERFLOW): Likewise.
16960         (FE_INVALID): Likewise.
16961         (FE_INVALID_SNAN): Likewise.
16962         (FE_INVALID_ISI): Likewise.
16963         (FE_INVALID_IDI): Likewise.
16964         (FE_INVALID_ZDZ): Likewise.
16965         (FE_INVALID_IMZ): Likewise.
16966         (FE_INVALID_COMPARE): Likewise.
16967         (FE_INVALID_SOFTWARE): Likewise.
16968         (FE_INVALID_SQRT): Likewise.
16969         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16970         (FE_TONEAREST): Likewise.
16971         (FE_TOWARDZERO): Likewise.
16972         (FE_UPWARD): Likewise.
16973         (FE_DOWNWARD): Likewise.
16974         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16975         (FE_DIVBYZERO): Likewise.
16976         (FE_OVERFLOW): Likewise.
16977         (FE_UNDERFLOW): Likewise.
16978         (FE_INEXACT): Likewise.
16979         (FE_TONEAREST): Likewise.
16980         (FE_DOWNWARD): Likewise.
16981         (FE_UPWARD): Likewise.
16982         (FE_TOWARDZERO): Likewise.
16983         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16984         (FE_UNDERFLOW): Likewise.
16985         (FE_OVERFLOW): Likewise.
16986         (FE_DIVBYZERO): Likewise.
16987         (FE_INVALID): Likewise.
16988         (FE_TONEAREST): Likewise.
16989         (FE_TOWARDZERO): Likewise.
16990         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16991         (FE_OVERFLOW): Likewise.
16992         (FE_UNDERFLOW): Likewise.
16993         (FE_DIVBYZERO): Likewise.
16994         (FE_INEXACT): Likewise.
16995         (FE_TONEAREST): Likewise.
16996         (FE_TOWARDZERO): Likewise.
16997         (FE_UPWARD): Likewise.
16998         (FE_DOWNWARD): Likewise.
16999         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17000         (FE_DIVBYZERO): Likewise.
17001         (FE_OVERFLOW): Likewise.
17002         (FE_UNDERFLOW): Likewise.
17003         (FE_INEXACT): Likewise.
17004         (FE_TONEAREST): Likewise.
17005         (FE_DOWNWARD): Likewise.
17006         (FE_UPWARD): Likewise.
17007         (FE_TOWARDZERO): Likewise.
17009 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17011         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17013 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17015         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17016         commands.  Quote $PWD.
17017         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17018         -x" by "export".
17019         (remove_newlines): Remove.
17021 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17023         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17024         * stdlib/stdlib.h (atof): Moved to ...
17025         * include/bits/stdlib-float.h: Here.  New file.
17026         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17027         * stdlib/bits/stdlib-float.h: New file.
17028         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17029         -mno-sse -mno-mmx.
17030         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17031         <xmmintrin.h>.
17033 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17035         * conform/conformtest.pl (@headers): Add fenv.h.
17036         * conform/data/fenv.h-data: New file.
17037         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17038         include of <math/fenv.h>.
17040         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17041         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17042         && !UNIX98].  Enables tests for XOPEN2K8.
17043         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17044         POSIX2008]: Likewise.
17046         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17047         (struct rusage): Do not expect type or its members.
17049         [BZ #3439]
17050         * math/math.h (FP_NAN): Define macro to integer constant usable in
17051         #if and use that to give value to enum constant.
17052         (FP_INFINITE): Likewise.
17053         (FP_ZERO): Likewise.
17054         (FP_SUBNORMAL): Likewise.
17055         (FP_NORMAL): Likewise.
17057 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17059         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17060         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17061         arguments.
17063 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17065         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17066         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17067         autoconf-time if not.
17068         * configure.in: Remove AC_PREREQ.
17070 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17072         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17073         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17074         of the internal implementation.
17076 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17078         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17079         except include of <misc/sys/syslog.h>.
17081 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17084         function returns with a NULL context exit with zero.
17086 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17088         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17090 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17092         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17093         (run_program_cmd): This.
17094         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17095         (tst_langinfo): New variable.  Use it.
17097 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17099         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17100         floating point opcodes.
17102 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17104         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17105         variable.
17107         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17109         * sysdeps/mach/hurd/powerpc: Remove directory.
17110         * sysdeps/mach/powerpc: Likewise.
17112 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17114         * scripts/check-local-headers.sh: Ignore c++ headers.
17116 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17118         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17119         __libc_cleanup_region_start argument.
17121 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17123         [BZ #14784]
17124         [BZ #14785]
17125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17126         x * y using scaling, not as x * y + z.
17127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17129         * math/libm-test.inc (fma_test): Add more tests.
17130         (fma_test_towardzero): Likewise.
17131         (fma_test_downward): Likewise.
17132         (fma_test_upward): Likewise.
17134 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17136         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17138 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17140         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17141         New variable.
17143 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17145         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17147 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17150         Fix sort order.
17151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17152         Likewise.
17154 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17157         Fix the order of the list for glibc 2.17.
17158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17159         Likewise.
17161 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17165 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17167         [BZ #14610]
17168         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17169         for low part of x being zero before using __atanl (y).
17170         * math/libm-test.inc (atan2_test): Add another test.
17172         * manual/install.texi (Configuring and compiling): Document
17173         general use of test-wrapper and test-wrapper-env.
17174         * INSTALL: Regenerated.
17176         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17177         (__fma): Do not extract and scale down low bits on after-rounding
17178         systems when result rounded to normal precision would have normal
17179         exponent.
17180         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17181         (__fmal): Do not extract and scale down low bits on after-rounding
17182         systems when result rounded to normal precision would have normal
17183         exponent.
17184         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17185         (__fmal): Do not extract and scale down low bits on after-rounding
17186         systems when result rounded to normal precision would have normal
17187         exponent.
17188         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17189         macro.
17190         (fma_test): Add more tests.
17191         (fma_test_towardzero): Likewise.
17192         (fma_test_downward): Likewise.
17193         (fma_test_upward): Likewise.
17195 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17197         * sysdeps/i386/tininess.h: Renamed to ...
17198         * sysdeps/x86/tininess.h: This.
17199         * sysdeps/x86_64/tininess.h: Removed.
17201 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17203         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17204         input.  Use $(build-program-cmd).
17205         ($(objpfx)tst-array1-static.out): Likewise.
17206         ($(objpfx)tst-array2.out): Likewise.
17207         ($(objpfx)tst-array3.out): Likewise.
17208         ($(objpfx)tst-array4.out): Likewise.
17209         ($(objpfx)tst-array5.out): Likewise.
17210         ($(objpfx)tst-array5-static.out): Likewise.
17212 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17214         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17215         if defined.
17217         * nss/nsswitch.h (nss_interface_function): Provide new
17218         macro for use with NSS functions.
17219         * grp/initgroups.c: Use new macro.
17220         * nss/getXXbyYY.c: Likewise.
17221         * nss/getXXbyYY_r.c: Likewise.
17222         * nss/getXXent.c: Likewise.
17223         * nss/getXXent_r.c: Likewise.
17224         * sysdeps/posix/getaddrinfo.c: Likewise.
17226 2012-10-30  Andreas Jaeger  <aj@suse.de>
17228         * po/ru.po: Update Russion translation from translation project.
17230 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17232         [BZ #14152]
17233         [BZ #14783]
17234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17235         result and shift together with sticky bit instead of replicating
17236         round-to-nearest rounding.
17237         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17238         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17239         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17240         missing underflow exceptions.
17241         (fma_test_towardzero): Add more tests.
17242         (fma_test_downward): Likewise.
17243         (fma_test_upward): Likewise.
17245         [BZ #14047]
17246         * sysdeps/generic/tininess.h: New file.
17247         * sysdeps/i386/tininess.h: Likewise.
17248         * sysdeps/sh/tininess.h: Likewise.
17249         * sysdeps/x86_64/tininess.h: Likewise.
17250         * stdlib/tst-strtod-underflow.c: Likewise.
17251         * stdlib/tst-tininess.c: Likewise.
17252         * stdlib/strtod_l.c: Include <tininess.h>.
17253         (round_and_return): Do not set errno for exact underflow cases.
17254         Force an underflow exception when setting errno for underflow.
17255         Determine underflow based on rounding to normal precision if
17256         TININESS_AFTER_ROUNDING.
17257         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17258         ERANGE for exact underflow cases.
17259         * stdlib/Makefile (tests): Add tst-tininess and
17260         tst-strtod-underflow.
17261         ($(objpfx)tst-tininess): Use $(link-libm).
17262         ($(objpfx)tst-strtod-underflow): Likewise.
17264 2012-10-30  Andreas Jaeger  <aj@suse.de>
17266         [BZ#14767]
17267         * elf/Makefile (tests): Remove conditional for have-initfini-array
17268         since this is now always required and the variable does not exist
17269         anymore.
17270         (tests-static): Likewise.
17271         (modules-names): Likewise.
17273         * po/eo.po: Add Esperanto translation from translation project.
17275         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17276         merged with constructor/destructor.
17277         (init_array): Likewise.
17278         * elf/tst-array2dep.c (fini_array): Likewise.
17279         (init_array): Likewise.
17281 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17283         * manual/message.texi: Delete @cartouche tags.
17285 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17287         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17288         EOPNOTSUPP.
17289         * sysdeps/mach/hurd/fsync.c: Likewise.
17291         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17292         [_POSIX_REALTIME_SIGNALS]: Change condition to
17293         [_POSIX_REALTIME_SIGNALS > 0].
17295 2012-10-27  Andreas Jaeger  <aj@suse.de>
17297         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17298         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17300         [__WORDSIZE != 64]: Likewise.
17302 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17304         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17305         *  iconvdata/tst-tables.sh: Likewise.
17307 2012-10-25  David S. Miller  <davem@davemloft.net>
17309         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17310         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17311         of strtoull.
17313         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17314         ifunc-impl-list.c
17315         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17316         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17317         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17318         file.
17320 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17323         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17324         __getdirentries.
17326 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17327             Jim Blandy  <jimb@codesourcery.com>
17329         * scripts/cross-test-ssh.sh: New file.
17330         * manual/install.texi (Configuring and compiling): Document use of
17331         cross-test-ssh.sh.
17332         * INSTALL: Regenerated.
17334 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17336         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17337         EOPNOTSUPP.
17339 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17341         * Makeconfig (run-program-prefix): Fix comment.
17343 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17344             Jim Blandy  <jimb@codesourcery.com>
17346         * Makeconfig (test-wrapper): New variable,
17347         (test-wrapper-env): Likewise.
17348         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17349         (run-built-tests): Define to yes.
17350         (run-program-prefix): Use $(test-wrapper).
17351         (built-program-cmd): Likewise.
17352         * Rules (make-test-out): Use $(test-wrapper-env) and
17353         $(host-built-program-cmd).
17354         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17355         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17356         tst-pathopt.sh.
17357         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17358         $(test-wrapper-env) to tst-rtld-load-self.sh.
17359         ($(objpfx)order2.out): Use $(test-wrapper).
17360         ($(objpfx)tst-initorder.out): Likewise.
17361         ($(objpfx)tst-initorder2.out): Likewise.
17362         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17363         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17364         (test_wrapper_env): New variable.  Use it to run ld.so.
17365         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17366         Use it to run ld.so.
17367         (test_wrapper_env): Likewise.
17368         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17369         $(test-wrapper) to run-iconv-test.sh.
17370         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17371         (ICONV): Use $test_wrapper.
17372         * posix/Makefile ($(objpfx)globtest.out): Pass
17373         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17374         globtest.sh, not $(run-program-prefix).
17375         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17376         (test_wrapper): Likewise.
17377         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17378         set together with run_via_rtld_prefix.
17379         (run_program_prefix): Define in terms of test_wrapper and
17380         run_via_rtld_prefix.
17382 2012-10-24  Roland McGrath  <roland@hack.frob.com>
17384         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17385         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17386         Targets removed.
17388         [BZ #14743]
17389         * include/time.h: Remove librt_hidden_proto (clock_gettime).
17390         Declare __clock_getres, __clock_gettime, __clock_settime,
17391         __clock_nanosleep, and __clock_getcpuclockid.
17392         * rt/clock_gettime.c: Define __clock_gettime as an alias.
17393         Remove librt_hidden_def (clock_gettime).
17394         * sysdeps/unix/clock_gettime.c: Likewise.
17395         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17396         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17397         * rt/clock_getres.c: Define __clock_getres as an alias.
17398         * sysdeps/posix/clock_getres.c: Likewise.
17399         * rt/clock_settime.c: Define __clock_settime as an alias.
17400         * sysdeps/unix/clock_settime.c: Likewise.
17401         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17402         * sysdeps/unix/clock_nanosleep.c: Likewise.
17403         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17404         * rt/clock-compat.c: New file.
17405         * rt/Makefile (librt-routines): Add clock-compat and move
17406         $(clock-routines) to ...
17407         (routines): ... here, new variable.
17408         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17409         Don't add get_clockfreq here.
17410         * rt/Versions (libc: GLIBC_2.17): New version set.
17411         Add clock_* symbols here.
17412         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
17413         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17414         (GLIBC_2.17): Add clock_* symbols.
17415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17419         Likewise.
17420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17421         Likewise.
17422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17426         * NEWS: Mention the move.
17428         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17429         Use __open, __read, __close rather than their public counterparts.
17430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17431         (__get_clockfreq_via_cpuinfo): Likewise.
17432         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17433         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17435         * config.h.in (HAVE_IFUNC): New #undef.
17436         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17437         was successful.
17438         * configure: Regenerated.
17440 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17442         * configure.in: Move READELF check to start of file.
17443         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17444         libc_cv_asm_gnu_indirect_function in the process.
17445         * configure: Regenerated.
17447 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
17449         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17450         send the output to /dev/null.
17451         (libc_cv_cc_with_libunwind): Likewise.
17452         (libc_cv_as_noexecstack): Likewise.
17453         * configure: Regenerate.
17455 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17457         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17459         * posix/globtest.sh (TMPDIR): Do not set.
17460         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17461         (testout): Likewise.
17463 2012-10-24  Andreas Jaeger  <aj@suse.de>
17465         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17466         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17467         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17468         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17469         posix_fadvise64, posix_fallocate64.
17471         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17472         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17473         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17474         Likewise.
17475         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17476         Likewise.
17477         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17479         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17480         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17481         <bits/fcntl-linux.h>.
17482         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17484         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17485         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17486         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17487         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17488         [__WORDSIZE != 64]: Likewise.
17490 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17492         * Makeconfig (run-built-tests): New variable.
17493         * Rules [$(cross-compiling) = yes]: Change condition to
17494         [$(run-built-tests) = no].
17495         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17496         to [$(run-built-tests) = yes].
17497         * elf/Makefile [$(cross-compiling) = no]: Likewise
17498         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17499         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17500         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17501         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17502         * io/Makefile [$(cross-compiling) = no]: Likewise.
17503         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17504         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17505         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17506         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17507         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17508         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17509         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17510         * string/Makefile [$(cross-compiling) = no]: Likewise.
17512         * posix/Makefile ($(objpfx)globtest.out): Pass
17513         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17514         $(rtld-installed-name).
17515         * posix/globtest.sh (elf_objpfx): Remove variable.
17516         (rtld_installed_name): Likewise.
17517         (library_path): Likewise.
17518         (run_program_prefix): New variable.  Use for running globtest
17519         binary.
17521 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17522             Joseph Myers  <joseph@codesourcery.com>
17524         * Makeconfig (host-built-program-cmd): New variable.
17525         * elf/Makefile (tst-stackguard1-ARGS): Use
17526         $(host-built-program-cmd).
17527         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17528         (tst-spawn-ARGS): Likewise.
17529         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17531 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17532             Jim Blandy  <jimb@codesourcery.com>
17534         * Makeconfig (run-via-rtld-prefix): New variable.
17535         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17536         (built-program-cmd): Likewise.
17538 2012-10-22  Andreas Jaeger  <aj@suse.de>
17540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17541         __O_RSYNC if it exists, otherwise to O_SYNC.
17543 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17544             Joseph Myers  <joseph@codesourcery.com>
17546         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17547         /dev/null.
17548         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17549         from /dev/null
17550         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17551         /dev/null.
17553 2012-10-22  Andreas Jaeger  <aj@suse.de>
17555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17556         Define always.
17557         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17560         bits/fcntl-linux.h.
17562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17563         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17565         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17566         to __O_LARGEFILE.
17567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17568         to __O_LARGEFILE.
17570 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17571             Joseph Myers  <joseph@codesourcery.com>
17573         * config.make.in (NM): New variable.
17575 2012-10-21  Andreas Jaeger  <aj@suse.de>
17577         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17578         definitions and declarations that are provided by
17579         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17581 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17583         [BZ #14683]
17584         * elf/Makefile (tests-static): Add tst-leaks1-static.
17585         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17586         ($(objpfx)tst-leaks1-static): New rule.
17587         ($(objpfx)tst-leaks1-static-mem): Likewise.
17588         (tst-leaks1-static-ENV): New macro.
17589         * elf/dl-open.c (dl_open_worker): Check the main application
17590         only if SHARED is defined.
17591         * elf/tst-leaks1-static.c: New file.
17593 2012-10-20  Andreas Jaeger  <aj@suse.de>
17595         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17596         generic values for Linux.
17597         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17598         and declarations that are provided by <bits/fcntl-linux.h> and
17599         include <bits/fcntl-linux.h>.
17600         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17601         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17603 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17605         * io/fcntl.h: Move include of <bits/types.h> to the top and
17606         include it unconditionally.
17608 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17610         * wcsmbs/Makefile (tests-ifunc): New variable.
17611         (tests): Add $(tests-ifunc).
17612         * wcsmbs/test-wcschr-ifunc.c: New file.
17613         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17614         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17615         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17616         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17617         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17619         * string/Makefile (tests-ifunc): New variable.
17620         (tests): Add $(tests-ifunc).
17621         * string/test-memccpy.c (TEST_NAME): New macro.
17622         * string/test-memchr.c (TEST_NAME): Likewise.
17623         * string/test-memcmp.c (TEST_NAME): Likewise.
17624         * string/test-memcpy.c (TEST_NAME): Likewise.
17625         * string/test-memmem.c (TEST_NAME): Likewise.
17626         * string/test-memmove.c (TEST_NAME): Likewise.
17627         * string/test-memset.c (TEST_NAME): Likewise.
17628         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17629         * string/test-stpcpy.c (TEST_NAME): Likewise.
17630         * string/test-stpncpy.c (TEST_NAME): Likewise.
17631         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17632         * string/test-strcasestr.c (TEST_NAME): Likewise.
17633         * string/test-strcat.c (TEST_NAME): Likewise.
17634         * string/test-strchr.c (TEST_NAME): Likewise.
17635         * string/test-strcmp.c(TEST_NAME): Likewise.
17636         * string/test-strcpy.c (TEST_NAME): Likewise.
17637         * string/test-strcspn.c (TEST_NAME): Likewise.
17638         * string/test-strlen.c (TEST_NAME): Likewise.
17639         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17640         * string/test-strncmp.c (TEST_NAME): Likewise.
17641         * string/test-strncpy.c (TEST_NAME): Likewise.
17642         * string/test-strnlen.c (TEST_NAME): Likewise.
17643         * string/test-strpbrk.c (TEST_NAME): Likewise.
17644         * string/test-strrchr.c (TEST_NAME): Likewise.
17645         * string/test-strspn.c (TEST_NAME): Likewise.
17646         * string/test-strstr.c (TEST_NAME): Likewise.
17647         * string/test-bcopy-ifunc.c: New file.
17648         * string/test-bzero-ifunc.c: Likewise.
17649         * string/test-memccpy-ifunc.c: Likewise.
17650         * string/test-memchr-ifunc.c: Likewise.
17651         * string/test-memcmp-ifunc.c: Likewise.
17652         * string/test-memcpy-ifunc.c: Likewise.
17653         * string/test-memmem-ifunc.c: Likewise.
17654         * string/test-memmove-ifunc.c: Likewise.
17655         * string/test-mempcpy-ifunc.c: Likewise.
17656         * string/test-memset-ifunc.c: Likewise.
17657         * string/test-rawmemchr-ifunc.c: Likewise.
17658         * string/test-stpcpy-ifunc.c: Likewise.
17659         * string/test-stpncpy-ifunc.c: Likewise.
17660         * string/test-strcasecmp-ifunc.c: Likewise.
17661         * string/test-strcasestr-ifunc.c: Likewise.
17662         * string/test-strcat-ifunc.c: Likewise.
17663         * string/test-strchr-ifunc.c: Likewise.
17664         * string/test-strchrnul-ifunc.c: Likewise.
17665         * string/test-strcmp-ifunc.c: Likewise.
17666         * string/test-strcpy-ifunc.c: Likewise.
17667         * string/test-strcspn-ifunc.c: Likewise.
17668         * string/test-strlen-ifunc.c: Likewise.
17669         * string/test-strncasecmp-ifunc.c: Likewise.
17670         * string/test-strncat-ifunc.c: Likewise.
17671         * string/test-strncmp-ifunc.c: Likewise.
17672         * string/test-strncpy-ifunc.c: Likewise.
17673         * string/test-strnlen-ifunc.c: Likewise.
17674         * string/test-strpbrk-ifunc.c: Likewise.
17675         * string/test-strrchr-ifunc.c: Likewise.
17676         * string/test-strspn-ifunc.c: Likewise.
17677         * string/test-strstr-ifunc.c: Likewise.
17679         * debug/Makefile (tests-ifunc): New variable.
17680         (tests): Add $(tests-ifunc).
17681         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17682         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17683         * debug/test-stpcpy_chk-ifunc.c: New file.
17684         * debug/test-strcpy_chk-ifunc.c: Likewise.
17686 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17688         [BZ #13601]
17689         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17690         header is not read in.
17692 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17694         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17695         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17696         directly.  Pass built executable to script as
17697         $(built-program-cmd).
17698         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17699         $testprogram without using LD_LIBRARY_PATH and $ldso.
17701         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17702         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17703         $(rtld-installed-name).
17704         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17705         (rtld_installed_name): Likewise.
17706         (library_path): Likewise.
17707         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17708         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17709         $(run-program-prefix) to tst-tables.sh.
17710         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17711         it to run tst-table-from and tst-table-to.
17712         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17713         Pass it to tst-table.sh.
17714         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17715         $(run-program-prefix) to tst-gettext.sh.
17716         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17717         tst-translit.sh.
17718         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17719         tst-gettext2.sh.
17720         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17721         to run tst-gettext.
17722         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17723         to run tst-gettext2.
17724         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17725         to run tst-translit.
17726         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17727         $(run-program-prefix) to tst-mtrace.sh.
17728         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17729         to run tst-mtrace.
17730         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17731         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17732         $(rtld-installed-name).
17733         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17734         (rtld_installed_name): Likewise.
17735         (run_program_prefix): New variable.  Use it to run wordexp-test.
17737         * Makeconfig (ARCH): Remove all definitions.
17738         (machine): Likewise.
17739         [ARCH]: Remove conditional code.
17740         [!objdir]: Give error.
17741         [!objdir] (objpfx): Remove.
17742         [!objdir] (common-objpfx): Likewise.
17743         [!objdir] (common-objdir): Likewise.
17744         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17745         AC_CONFIG_FILES call.
17746         * configure: Regenerated.
17748         [BZ #13888]
17749         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17750         or TMPDIR.
17751         (testout): Likewise.
17753         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17754         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17755         $(rtld-installed-name).
17756         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17757         (rtld_installed_name): Likwise.
17758         (runit): Remove function.
17759         (run_getconf): New variable,  Use it for running getconf binary.
17761 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17763         [BZ #14716]
17764         * string/test-memmem.c (check_result): New function.
17765         (do_one_test): Use it.
17766         (check1): New function.
17767         (test_main): Use it.
17769 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17771         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17773 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17775         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17776         (_G_LSEEK64): Likewise.
17777         (_G_MMAP64): Likewise.
17778         (_G_FSTAT64): Likewise.
17779         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17780         (_G_LSEEK64): Likewise.
17781         (_G_MMAP64): Likewise.
17782         (_G_FSTAT64): Likewise.
17783         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17784         unconditional.  Call __mmap64 directly.
17785         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17786         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17787         __lseek64 directly.
17788         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17789         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17790         __mmap64 directly.
17791         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17792         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17793         __lseek64 directly.
17794         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17795         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17796         __lseek64 directly.
17797         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17798         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17799         __lseek64 directly.
17800         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17801         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17802         __fxstat64 directly.
17803         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17804         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17805         unconditional.
17806         (freopen64) [!_G_OPEN64]: Remove conditional code.
17807         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17808         unconditional.
17809         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17810         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17811         unconditional.
17812         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17813         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17814         unconditional.
17815         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17816         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17817         unconditional.
17818         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17819         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17820         unconditional.
17821         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17822         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17823         unconditional.
17824         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17825         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17826         unconditional.
17827         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17829 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17831         [BZ #12140]
17832         * manual/memory.texi (Malloc Tunable Parameters): Add note
17833         about free list pointers overwriting some perturb bytes.
17834         Wording suggested by Roland McGrath.
17836 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17838         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17839         (lgamma_test): Likewise.
17840         (tgamma_test): Likewise.
17842 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17844         [BZ #14700]
17845         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17846         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17848 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17850         * NEWS: Mention BZ #14716.
17851         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17852         when removing AVAILABLE1_USES_J macro.
17854 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17856         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17857         (__bswap_64): __uint64_t for unsigned 64-bit int.
17859 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17861         * include/string.h (memmem): Declare libc hidden alias.
17862         * string/memmem.c (memmem): Define libc hidden alias.
17863         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17864         __read, __close instead of open, read, close.
17866 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17868         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17869         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17870         global and hidden.
17871         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17872         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17873         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17874         Likewise.
17875         (__rawmemchr_sse2): Likewise.
17876         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17877         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17878         (__strchr_sse2): Likewise.
17879         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17880         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17881         (__strcasecmp_sse2): Likewise.
17882         (__strncasecmp_sse2): Likewise.
17883         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17884         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17885         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17886         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17887         (__strrchr_sse2): Likewise.
17888         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17889         ifunc-impl-list.c.
17890         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17891         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17892         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17893         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17894         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17895         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17896         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17897         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17898         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17899         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17900         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17901         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17902         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17903         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17904         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17905         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17906         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17907         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17908         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17909         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17910         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17911         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17912         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17913         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17914         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17915         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17916         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17917         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17918         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17919         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17921         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17922         global and hidden.
17923         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17924         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17925         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17926         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17927         Likewise.
17928         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17929         Likewise.
17930         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17931         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17932         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17933         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17934         ifunc-impl-list.c.
17935         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17936         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17937         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17938         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17939         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17940         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17941         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17942         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17943         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17944         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17945         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17946         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17947         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17948         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17949         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17950         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17951         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17952         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17953         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17954         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17955         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17956         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17957         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17958         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17959         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17960         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17961         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17962         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17963         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17964         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17965         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17966         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17967         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17968         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17969         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17970         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17971         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17972         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17973         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17974         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17975         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17977         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17978         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17979         * include/ifunc-impl-list.h: New file.
17980         * misc/ifunc-impl-list.c: Likewise.
17981         * misc/Makefile (routines): Add ifunc-impl-list.
17982         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17983         * string/test-string.h: Include <ifunc-impl-list.h>.
17984         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17985         impl_array): New variables.
17986         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17987         are defined.
17988         (test_init): Call __libc_ifunc_impl_list to initialize
17989         func_list if TEST_IFUNC and TEST_NAME are defined.
17991         * string/Makefile (strop-tests): Add bcopy and bzero.
17992         * string/test-bcopy.c: New file.
17993         * string/test-bzero.c: Likewise.
17994         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17995         defined.
17996         * string/test-memset.c: Support bzero test if TEST_BZERO is
17997         defined.
17998         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17999         __libc_memmove.
18000         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18001         __libc_memset.
18002         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18003         of memset.
18005 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18007         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18008         * configure: Regenerated.
18010         * Makeconfig (+link-static-before-libc): Don't include
18011         $(link-static-libc).
18013         * libio/libio.h (_IO_pos_t): Remove.
18015 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18017         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18018         McGrath.
18020 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18022         * crypt/crypt-entry.c: Include fips-private.h.
18023         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18024         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18025         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18026         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18028 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18030         * crypt/crypt-private.h: Include stdbool.h.
18031         (_ufc_setup_salt_r): Return bool.
18032         * crypt/crypt-entry.c: Include errno.h.
18033         (__crypt_r): Return NULL with EINVAL for bad salt.
18034         * crypt/crypt_util.c (bad_for_salt): New.
18035         (_ufc_setup_salt_r): Check that salt is long enough and within
18036         the specified alphabet.
18037         * crypt/badsalttest.c: New file.
18038         * crypt/Makefile (tests): Add it.
18039         ($(objpfx)badsalttest): New.
18041 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18043         * NEWS: Add entry for BZ #14602.
18045 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18047         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18048         type-generic.
18049         * math/libm-test.inc: Update comment listing what functions and
18050         macros are tested.
18051         (isgreater_test): New function.
18052         (isgreaterequal_test): Likewise.
18053         (isless_test): Likewise.
18054         (islessequal_test): Likewise.
18055         (islessgreater_test): Likewise.
18056         (isunordered_test): Likewise.
18057         (main): Call the new functions.
18059 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18061         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18062         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18063         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18064         * sysdeps/i386/configure: Regenerated.
18065         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18066         * sysdeps/mach/configure: Regenerated.
18067         * sysdeps/mach/hurd/configure: Regenerated.
18068         * sysdeps/powerpc/configure: Regenerated.
18069         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18070         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18071         * sysdeps/s390/s390-32/configure: Regenerated.
18072         * sysdeps/s390/s390-64/configure: Regenerated.
18073         * sysdeps/sh/configure: Regenerated.
18074         * sysdeps/sparc/configure: Regenerated.
18075         * sysdeps/unix/sysv/linux/configure: Regenerated.
18076         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18077         * sysdeps/x86_64/configure: Regenerated.
18079         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18080         defined.  Don't check if MAP is NULL.
18082 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18084         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18085         (_G_stat64): Likewise.
18086         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18087         (_G_stat64): Likewise.
18088         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18089         instead of struct _G_stat64.
18090         * libio/fileops.c (mmap_remap_check): Likewise.
18091         (decide_maybe_mmap): Likewise.
18092         (_IO_new_file_seekoff): Likewise.
18093         (_IO_file_stat): Likewise.
18094         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18095         _G_off64_t.
18096         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18097         instead of struct _G_stat64.
18098         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18100 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18102         [BZ #14602]
18103         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18104         Replace with ...
18105         (CHECK_EOL): New macro.
18106         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18107         CHECK_EOL.
18108         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18109         Replace with CHECK_EOL.
18110         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18111         Replace with CHECK_EOL.
18113 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18115         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18116         type-generic.
18117         * math/libm-test.inc: Update comment listing what functions and
18118         macros are tested.
18119         (finite_test): New function.
18120         (isinf_test): Likewise.
18121         (isnan_test): Likewise.
18122         (fpclassify_test): Test subnormal input.
18123         (isfinite_test): Likewise.
18124         (isnormal_test): Likewise.
18125         (main): Call the new functions.
18127 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18129         [BZ #14660]
18130         * Makerules (%.dynsym): Force C locale when running
18131         $(OBJDUMP) --dynamic-syms.
18133 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18135         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18136         <stdint.h>.
18138 2012-10-06  David S. Miller  <davem@davemloft.net>
18140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18141         upper 32-bits of the length value in %o2 since we use branch-on-register
18142         tests which consider the entire 64-bit register.
18144 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18146         * string/test-strstr.c (check2): Add a test for page boundary.
18148 2012-10-05  David S. Miller  <davem@davemloft.net>
18150         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18151         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18152         file.
18153         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18154         sysdep_routines.
18155         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18156         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18157         and bzero when HWCAP_SPARC_CRYPTO is present.
18159 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18161         [BZ #14602]
18162         * string/test-strstr.c (check2): New function.
18163         (test_main): Call check2.
18165         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18166         and bug-strchr1.
18167         * string/bug-strcasestr1.c (do_test): Moved to ...
18168         * string/test-strcasestr.c (check1): Here.  New function.
18169         (do_one_test): Break out result checking code into ...
18170         (check_result): This.  New function.
18171         (do_one_test): Call check_result.
18172         (test_main): Call check1.
18173         * string/bug-strchr1.c (do_test): Moved to ...
18174         * string/test-strchr.c (check1): Here.  New function.
18175         (do_one_test): Break out result checking code into ...
18176         (check_result): This.  New function.
18177         (do_one_test): Call check_result.
18178         (test_main): Call check1.
18179         * string/bug-strstr1.c (main): Moved to ...
18180         * string/test-strstr.c (check1): Here.  New function.
18181         (do_one_test): Break out result checking code into ...
18182         (check_result): This.  New function.
18183         (do_one_test): Call check_result.
18184         (test_main): Call check1.
18185         * string/bug-strcasestr1.c: Removed.
18186         * string/bug-strchr1.c: Likewise.
18187         * string/bug-strstr1.c: Likewise.
18189         * elf/Makefile (dl-routines): Add hwcaps.
18190         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18191         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18192         (_dl_important_hwcaps): Moved to ...
18193         * elf/dl-hwcaps.c: Here.  New file.
18194         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18196         [BZ #14557]
18197         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18198         if IS_IN_rtld isn't defined.
18200         * elf/dl-support.c (_dl_sysinfo_map): New.
18201         Include "get-dynamic-info.h" and "setup-vdso.h".
18202         (_dl_non_dynamic_init): Call setup_vdso.
18203         * elf/dynamic-link.h: Don't include <assert.h>.
18204         (elf_get_dynamic_info): Moved to ...
18205         * elf/get-dynamic-info.h: Here.  New file.
18206         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18207         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18208         * elf/setup-vdso.h: Here.  New file.
18209         * elf/rtld.c: Include "setup-vdso.h".
18210         (dl_main): Call setup_vdso.
18212 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18214         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18215         creal in comment listing functions tested.  List finite, isinf,
18216         isnan, isless, islessequal, isgreater, isgreaterequal,
18217         islessgreater, isunordered, lgamma_r and pow10 as functions and
18218         macros not tested.  Mention which functions not tested are aliases
18219         for other functions.  Fix typo.  Note that signs of NaNs are not
18220         tested.
18222         * scripts/config.guess: Update from config.git.
18223         * scripts/config.sub: Likewise.
18225 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18227         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18228         * misc/madvise.c (madvise): Renamed to __madvise.
18229         Make madvise a weak alias.
18230         * include/sys/mman.h: Declare __madvise.
18231         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18232         * sysdeps/unix/syscalls.list
18233         (madvise): Make __madvise the strong name, and madvise a weak alias.
18234         * sysdeps/unix/sysv/linux/syscalls.list
18235         (madvise, mmap): Remove redundant entries.
18236         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18237         * malloc/malloc.c (mtrim): Likewise.
18238         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18240 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18242         * sysdeps/mach/hurd/dl-cache.c: File removed.
18243         * config.h.in (USE_LDCONFIG): New #undef.
18244         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18245         * configure: Regenerated.
18246         * elf/Makefile (dl-routines): Add dl-cache only under
18247         [$(use-ldconfig) = yes].
18248         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18249         cache on [USE_LDCONFIG].
18250         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18251         [USE_LDCONFIG].
18252         * elf/rtld.c (dl_main): Likewise.
18254 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18256         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18257         _SC_LEVEL4_CACHE_LINESIZE.
18259 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18261         * sysdeps/unix/bsd/confstr.h: File removed.
18263 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18265         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18266         sys/sdt-config.h.
18268 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18270         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18271         Make 'mapoff' field ElfW(Off) rather than off_t.
18273 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18275         * nscd/Makefile: Remove nscd-cflags and all its users.
18276         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18277         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18279         [BZ #10631]
18280         * malloc.c (malloc_printerr): Clarify error message.
18282 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18284         [BZ #14648]
18285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18286         Set bit_FMA_Usable if FMA is supported.
18287         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18288         macro.
18289         (bit_FMA4_Usable): Updated.
18290         (index_FMA_Usable): New macro.
18291         (CPUID_FMA): Likewise
18292         (HAS_FMA): Defined with bit_FMA_Usable.
18294 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18296         * bits/types.h (__swblk_t): Type removed.
18297         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18298         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18300         (__SWBLK_T_TYPE): Likewise.
18301         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18302         (__SWBLK_T_TYPE): Likewise.
18303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18304         (__SWBLK_T_TYPE): Likewise.
18305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18306         (__SWBLK_T_TYPE): Likewise.
18308 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18309             Honza Horak <hhorak@redhat.com>
18311         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18312         (xdr_mapname): Use YPMAXMAP as maxsize.
18313         (xdr_peername): Use YPMAXPEER as maxsize.
18314         (xdr_keydat): Use YPAXRECORD as maxsize.
18315         (xdr_valdat): Use YPMAXRECORD as maxsize.
18317 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18319         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18321         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18322         * csu/init-first.c: ... here.
18323         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18324         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18325         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18326         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18327         * sysdeps/i386/init-first.c: File removed.
18328         * sysdeps/sh/init-first.c: File removed.
18330 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18332         [BZ #14645]
18333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18334         if x * y might underflow to zero and z is zero.
18335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18336         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18337         * math/libm-test.inc (min_subnorm_value): New variable.
18338         (fma_test): Add more tests.
18339         (fma_test_towardzero): Likewise.
18340         (fma_test_downward): Likewise
18341         (fma_test_upward): Likewise.
18342         (initialize): Set min_subnorm_value.
18344 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18346         [BZ #14638]
18347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18348         0 + 0.
18349         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18350         mode for addition resulting in exact zero.
18351         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18352         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18353         exact 0 + 0.
18354         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18356         * math/libm-test.inc (fma_test): Add more tests.
18357         (fma_test_towardzero): New function.
18358         (fma_test_downward): Likewise.
18359         (fma_test_upward): Likewise.
18360         (main): Call the new functions.
18362 2012-09-28  David S. Miller  <davem@davemloft.net>
18364         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18366 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18368         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18369         instead of SIGALRM.
18371         * sysdeps/gnu/_G_config.h: Moved to ...
18372         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18373         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18374         * sysdeps/generic/_G_config.h: ... here.
18376         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18378         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18380         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18381         Conditionalize target on [libnss_test1.so-version].
18383         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18385         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18386         (elfobjdir): Move out of conditionals.
18388         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18389         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18390         (__nss_lookup_function): Conditionalize label remove_from_tree on
18391         [!DO_STATIC_NSS || SHARED], matching its only use.
18393 2012-09-28  David S. Miller  <davem@davemloft.net>
18395         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18396         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18397         file.
18398         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18399         sysdep_routines.
18400         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18401         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18402         when HWCAP_SPARC_CRYPTO is present.
18404 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18406         * io/tst-mknodat.c: Create a FIFO instead of a socket.
18408 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18410         [BZ #6530]
18411         * stdio-common/vfprintf.c (process_string_arg): Revert
18412         2000-07-22 change.
18414 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
18416         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18417         for testcase.
18418         * stdio-common/tst-sprintf.c: Include <locale.h>
18419         (main): Test sprintf's handling of incomplete multibyte
18420         characters.
18422 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
18424         * elf/dl-runtime.c (VERSYMIDX): Removed.
18425         * elf/dl-version.c (VERSYMIDX): Likewise.
18426         * elf/do-rel.h (VERSYMIDX): Likewise.
18427         (VALIDX): Likewise.
18428         * elf/dynamic-link.h (VERSYMIDX): Likewise.
18429         * elf/rtld.c (VALIDX): Likewise.
18430         (ADDRIDX): Likewise.
18431         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18432         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18433         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18434         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18435         (VALIDX): Likewise.
18436         (ADDRIDX): Likewise.
18438 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18440         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18442 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
18444         [BZ #11438]
18445         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18446         to global scope.
18447         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18448         addresses are in the same scope as 192.0.2/24.
18449         * posix/gai.conf: Document new scope table defaults.
18451 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18453         [BZ #5298]
18454         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18455         for ftell.  Compute offsets from write pointers instead.
18456         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18458 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18460         [BZ #14543]
18461         * libio/Makefile (tests): New test case tst-fseek.
18462         * libio/tst-fseek.c: New test case to verify that fseek/ftell
18463         combination works in wide mode.
18464         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18465         state when the external buffer state changes.
18467 2012-09-27  David S. Miller  <davem@davemloft.net>
18469         [BZ #14376]
18470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18471         pass reloc->r_addend in as the 'high' argument to
18472         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18476 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18478         * rt/tst-aio2.c: Include <pthread.h>.
18479         * rt/tst-aio3.c: Likewise.
18481 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18483         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18485 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18487         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18488         contents on [SHARED].
18490 2012-09-26  Marek Polacek  <polacek@redhat.com>
18492         [BZ #14530]
18493         [BZ #13741]
18494         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18495         for C++ and GCC <4.3 as well as for non GCC compilers.
18497 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18501 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18503         * Makefile.in (all, install): Declare with .PHONY.
18504         Reported by Michael Hope <michael.hope@linaro.org>.
18506 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18508         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18509         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18510         system header.
18511         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18512         Likewise.
18513         (sydep_routines): Add the new and the internal functions.
18514         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18515         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18517         (GLIBC_2.17): Add the new function.
18518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18519         (GLIBC_2.17): Likewise.
18520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18521         (GLIBC_2.17): Likewise.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18523         (GLIBC_2.17): Likewise.
18524         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18526 2012-09-25  Alan Modra  <amodra@gmail.com>
18528         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18529         Add release barrier before setting once_control to say
18530         initialisation is done.  Add hints on lwarx.  Use macro in
18531         place of isync.
18532         (clear_once_control): Add release barrier.
18534 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18536         [BZ #13629]
18537         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18538         specially.
18539         * math/s_clog10.c (__clog10): Likewise.
18540         * math/s_clog10f.c (__clog10f): Likewise.
18541         * math/s_clog10l.c (__clog10l): Likewise.
18542         * math/s_clogf.c (__clogf): Likewise.
18543         * math/s_clogl.c (__clogl): Likewise.
18544         * math/Makefile (libm-calls): Add x2y2m1.
18545         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18546         (__x2y2m1): Likewise.
18547         (__x2y2m1l): Likewise.
18548         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18549         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18550         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18551         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18552         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18553         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18554         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18555         * sysdeps/i386/fpu/libm-test-ulps: Update.
18556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18558         [BZ #14621]
18559         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18560         int as type of variable DEPTH.
18561         (glob): Use size_t instead of int as type of variables NEWCOUNT
18562         and OLD_PATHC.
18564 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18566         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18567         Add s_sincosf-sse2.
18568         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18569         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18570         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18571         macros for using routine as __sincosf_ia32.
18572         Use macro for function declaration and weak_alias.
18573         * sysdeps/i386/fpu/libm-test-ulps: Update.
18575         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18578         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18579         subnormal argument.
18580         * math/s_cexpf.c (__cexpf): Likewise.
18581         * math/s_csinf.c (__csinf): Likewise.
18582         * math/s_csinhf.c (__csinhf): Likewise.
18583         * math/s_ctanf.c (__ctanf): Likewise.
18584         * math/s_ctanhf.c (__ctanhf): Likewise.
18585         * math/s_ccosh.c (__ccoshf): Likewise.
18586         * math/s_cexp.c (__cexpl): Likewise.
18587         * math/s_csin.c (__csin): Likewise.
18588         * math/s_csinh.c (__csinh): Likewise.
18589         * math/s_ctan.c (__ctan): Likewise.
18590         * math/s_ctanh.c (ctanh): Likewise.
18591         * math/s_ccoshl.c (__ccoshl): Likewise.
18592         * math/s_cexpl.c (__cexpl): Likewise.
18593         * math/s_csinl.c (__csinl): Likewise.
18594         * math/s_csinhl.c (__csinhl): Likewise.
18595         * math/s_ctanl.c (__ctanl): Likewise.
18596         * math/s_ctanhl.c (__ctanhl): Likewise.
18598 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18600         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18601         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18602         (_IO_off_t): Define to __off_t, not _G_off_t.
18603         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18604         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18605         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18606         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18607         type of __dummy and __dummy2 fields.
18608         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18609         (_G_ssize_t): Likewise.
18610         (_G_off_t): Likewise.
18611         (_G_pid_t): Likewise.
18612         (_G_uid_t): Likewise.
18613         (_G_wchar_t): Likewise.
18614         (_G_wint_t): Likewise.
18615         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18616         (_G_ssize_t): Likewise.
18617         (_G_off_t): Likewise.
18618         (_G_pid_t): Likewise.
18619         (_G_uid_t): Likewise.
18620         (_G_wchar_t): Likewise.
18621         (_G_wint_t): Likewise.
18622         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18623         (_G_ssize_t): Likewise.
18624         (_G_off_t): Likewise.
18625         (_G_pid_t): Likewise.
18626         (_G_uid_t): Likewise.
18627         (_G_wchar_t): Likewise.
18628         (_G_wint_t): Likewise.
18630 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18632         * malloc/arena.c: Include malloc-sysdep.h.
18633         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18634         is sufficient to shrink the heap or an unmap is needed.
18635         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18636         new function check_may_shrink_heap.
18637         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18638         new function check_may_shrink_heap.
18640 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18642         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18643         comments.
18645 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18647         * catgets/test-gencat.sh: Add "set -e".
18648         * elf/tst-pathopt.sh: Likewise.
18649         * grp/tst_fgetgrent.sh: Likewise.
18650         * iconvdata/run-iconv-test.sh: Likewise.
18651         * intl/tst-gettext.sh: Likewise.
18652         * intl/tst-gettext2.sh: Likewise.
18653         * intl/tst-gettext4.sh: Likewise.
18654         * intl/tst-gettext6.sh: Likewise.
18655         * intl/tst-translit.sh: Likewise.
18656         * io/ftwtest-sh: Likewise.
18657         * libio/test-freopen.sh: Likewise.
18658         * malloc/tst-mtrace.sh: Likewise.
18659         * posix/globtest.sh: Likewise.
18660         * posix/tst-getconf.sh: Likewise.
18661         * posix/wordexp-tst.sh: Likewise.
18662         * stdio-common/tst-printf.sh: Likewise.
18663         * stdio-common/tst-unbputc.sh: Likewise.
18664         * stdlib/tst-fmtmsg.sh: Likewise.
18665         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18666         * catgets/Makefile: Do not specify -e option when running
18667         testsuite shell scripts.
18668         * elf/Makefile: Likewise.
18669         * grp/Makefile: Likewise.
18670         * iconvdata/Makefile: Likewise.
18671         * intl/Makefile: Likewise.
18672         * io/Makefile: Likewise.
18673         * libio/Makefile: Likewise.
18674         * malloc/Makefile: Likewise.
18675         * posix/Makefile: Likewise.
18676         * stdio-common/Makefile: Likewise.
18677         * stdlib/Makefile: Likewise.
18678         * sysdeps/x86_64/Makefile: Likewise.
18680         * io/ftwtest-sh: Add copyright header.
18681         * posix/globtest.sh: Likewise.
18682         * posix/tst-getconf.sh: Likewise.
18683         * posix/wordexp-tst.sh: Likewise.
18684         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18686 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18688         [BZ #13679]
18689         * Makeconfig (+link): Defined as $(+link-static) if
18690         $(build-shared) isn't yes.
18691         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18692         isn't yes.
18693         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18695         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18697         [BZ #14562]
18698         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18699         new chunk size with MALLOC_ALIGN_MASK.
18701 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #5044]
18704         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18705         <rounding-mode.h>.
18706         (__printf_fphex): Determine rounding using get_rounding_mode and
18707         round_away.
18708         * stdio-common/tst-printf-round.c (struct hex_test): New
18709         structure.
18710         (hex_tests): New variable.
18711         (test_hex_in_one_mode): New function.
18712         (do_test): Also run tests for hex float output.
18714 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18716         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18717         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18718         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18719         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18720         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18721         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18722         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18723         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18725 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18727         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18728         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18729         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18730         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18732 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18734         [BZ #14579]
18735         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18736         mode only.
18737         * elf/tst-rtld-load-self.sh: New test.
18738         * elf/Makefile: Run it.
18740 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18742         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18743         (tst-writev-ENV): Remove.
18744         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18746 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18748         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18750 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18752         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18753         unconditional.
18754         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18755         Likewise.
18756         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18757         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18758         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18759         Likewise.
18761 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18763         [BZ #14587]
18764         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18765         * config.make.in (have-cpp-asm-debuginfo): Removed.
18766         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18767         * configure: Regenerated.
18769 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18771         [BZ #5044]
18772         * stdio-common/printf_fp.c: Include <stdbool.h> and
18773         <rounding-mode.h>.
18774         (___printf_fp): Determine rounding using get_rounding_mode and
18775         round_away.
18776         * stdio-common/tst-printf-round.c: New file.
18777         * stdio-common/Makefile (tests): Add tst-printf-round.
18778         (link-libm): New variable.
18779         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18781 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18783         [BZ #14576]
18784         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18785         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18786         Likewise.
18787         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18788         Likewise.
18790 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18792         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18793         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18794         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18795         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18797 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18799         [BZ #14518]
18800         * include/rounding-mode.h: New file.
18801         * sysdeps/generic/get-rounding-mode.h: Likewise.
18802         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18803         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18804         (MAX_VALUE): New macro.
18805         (MIN_VALUE): Likewise.
18806         (overflow_value): New function.
18807         (underflow_value): Likewise.
18808         (round_and_return): Use overflow_value and underflow_value to
18809         determine return values in overflow and underflow cases.  Use
18810         round_away to determine rounding depending on rounding mode.
18811         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18812         determine return values in overflow and underflow cases.
18813         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18814         (struct test_results): New structure.
18815         (struct test): Use struct test_results to store expected results
18816         for all rounding modes.
18817         (TEST): Include expected results for all rounding modes.
18818         (test_in_one_mode): New function.
18819         (do_test): Use test_in_one_mode to compute and check results.
18820         Check results for all rounding modes.
18821         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18822         $(link-libm).
18824 2012-12-09  Allan McRae  <allan@archlinux.org>
18826         * sysdeps/i386/fpu/libm-test-ulps: Update
18828 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18830         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18831         (_G_int32_t): Likewise.
18832         (_G_uint16_t): Likewise.
18833         (_G_uint32_t): Likewise.
18834         (_G_HAVE_BOOL): Likewise.
18835         (_G_HAVE_ATEXIT): Likewise.
18836         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18837         (_G_HAVE_IO_FILE_OPEN): Likewise.
18838         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18839         (_G_int32_t): Likewise.
18840         (_G_uint16_t): Likewise.
18841         (_G_uint32_t): Likewise.
18842         (_G_HAVE_BOOL): Likewise.
18843         (_G_HAVE_ATEXIT): Likewise.
18844         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18845         (_G_HAVE_IO_FILE_OPEN): Likewise.
18846         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18847         (_G_int32_t): Likewise.
18848         (_G_uint16_t): Likewise.
18849         (_G_uint32_t): Likewise.
18850         (_G_HAVE_BOOL): Likewise.
18851         (_G_HAVE_ATEXIT): Likewise.
18852         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18853         (_G_HAVE_IO_FILE_OPEN): Likewise.
18855 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18857         * csu/libc-tls.c: Update copyright years.
18859 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18861         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18862         [!_G_USING_THUNKS]: Remove conditional code.
18863         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18864         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18866         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18867         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18868         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18869         (_G_VTABLE_LABEL_PREFIX): Likewise.
18870         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18871         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18872         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18873         (_G_VTABLE_LABEL_PREFIX): Likewise.
18874         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18875         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18876         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18877         (_G_VTABLE_LABEL_PREFIX): Likewise.
18878         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18880 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18882         * libio/Makefile: Include ../Makeconfig before tests.
18883         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18884         only if $(build-shared) is yes.
18886         * iconv/gconv_db.c: Update copyright years.
18888 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18890         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18891         unwind info if defined PIC. Fix special cases description.
18892         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18894         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18895         DP_HI_MASK entry.
18896         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18898 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18900         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18902         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18903         is NULL.
18905         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18906         (LDLIBS-tst-chk4): This.
18907         (LDFLAGS-tst-chk5): Renamed to ...
18908         (LDLIBS-tst-chk5): This.
18909         (LDFLAGS-tst-chk6): Renamed to ...
18910         (LDLIBS-tst-chk6): This.
18911         (LDFLAGS-tst-lfschk4): Renamed to ...
18912         (LDLIBS-tst-lfschk4): This.
18913         (LDFLAGS-tst-lfschk5): Renamed to ...
18914         (LDLIBS-tst-lfschk5): This.
18915         (LDFLAGS-tst-lfschk6): Renamed to ...
18916         (LDLIBS-tst-lfschk6): This.
18918         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18919         on $(common-objpfx)soversions.mk.
18921 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18923         [BZ #10014]
18924         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18925         example host name.
18927 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18929         * malloc/arena.c (arena_get_retry): New function that gets
18930         another arena for the caller to try its request on.
18931         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18932         current arena cannot fulfill the request.
18933         (__libc_memalign): Likewise.
18934         (__libc_memalign): Likewise.
18935         (__libc_pvalloc): Likewise.
18936         (__libc_calloc): Likewise.
18938 2012-09-05  John Tobey  <john.tobey@gmail.com>
18940         [BZ #13542]
18941         * manual/arith.texi (Operations on Complex): Fix description
18942         of carg branch cut.
18944 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18946         [BZ #10014]
18947         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18948         host name.
18950         [BZ #10038]
18951         * manual/memory.texi (Memory): Make order of menu items match
18952         order of sections.
18954 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18956         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18957         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18958         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18962         * csu/libc-tls.c (static_dtv): Renamed to ...
18963         (_dl_static_dtv): This.  Make it global.
18964         (_dl_initial_dtv): Removed.
18965         (__libc_setup_tls): Updated.
18966         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18967         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18968         DL_INITIAL_DTV.
18970 2012-09-06  Petr Machata  <pmachata@redhat.com>
18972         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18973         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18974         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18975         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18977 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18979         [BZ #14545]
18980         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18981         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18982         freeing dtv[-1].
18984 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18986         [BZ #14544]
18987         * Makeconfig (link-static-before-libc): Replace $(+prector)
18988         with $(+prectorT).
18989         (link-static-after-libc): Replace $(+postctor) with
18990         $(+postctorT).
18991         (link-bounded): Replace $(+prector)/$(+postctor) with
18992         $(+prectorT)/$(+postctorT).
18993         (+prectorT): New macro.
18994         (+postctorT): Likewise.
18996 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18998         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18999         (round_str): Handle values above the maximum for IBM long double
19000         as inexact.
19001         * stdlib/tst-strtod-round.c (tests): Regenerated.
19003 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19005         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19006         assembler flag.
19007         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19008         zarch_nohighgprs around the zarch optimized routines.
19009         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19010         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19011         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19012         for zarch.
19014 2012-09-05  David S. Miller  <davem@davemloft.net>
19016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19018         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19019         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19020         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19021         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19022         entries.
19024 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19026         * malloc/arena.c: Fold copyright years.
19027         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19029 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19031         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19033 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19035         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19037 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19039         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19040         change internal state upon failure.
19042 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19044         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19045         * malloc/memusage.c (mmap): Likewise.
19046         (mmap64, mremap): Likewise.  Adjust name in comment.
19048 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19050         * libio/fileops.c: Fix typos in comments.
19051         * libio/oldfileops.c: Likewise.
19052         * libio/wfileops.c: Likewise.
19054 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19056         [BZ #1349]
19057         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19058         (tst-malloc-usable-ENV): Set environment for test case.
19059         * malloc/hooks.c (malloc_check_get_size): New function to get
19060         requested size.
19061         * malloc/malloc.c (musable): Use malloc_check_get_size.
19062         * malloc/tst-malloc-usable.c: New test case.
19064 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19066         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19068 2012-09-05  Allan McRae  <allan@archlinux.org>
19070         [BZ #13966]
19071         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19072         determine header location.
19073         * configure: Regenerated.
19075 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19077         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19078         float format.
19079         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19080         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19081         format.
19082         (test): Regenerate.
19084 2012-09-04  David S. Miller  <davem@davemloft.net>
19086         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19087         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19088         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19090 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19092         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19093         failures.
19095         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19097 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19099         [BZ #9914]
19100         * libio/iogetdelim.c: Include <limits.h>.
19101         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19102         + len + 1 would overflow.
19104 2012-09-03  Andreas Jaeger  <aj@suse.de>
19106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19107         * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19111         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19112         Add s_sinf-sse2, s_conf-sse2.
19114         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19115         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19116         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19117         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19119         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19120         for using routine as __sinf_ia32.
19121         Use macro for function declaration and weak_alias.
19122         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19123         for using routine as __cosf_ia32.
19124         Use macro for function declaration and weak_alias.
19126         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19127         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19129         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19130         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19133         * math/libm-test.inc (cos_test): Add more test cases.
19134         (sin_test): Likewise.
19135         (sincos_test): Likewise.
19137 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19139         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19140         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19141         hidden.
19142         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19144 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19146         [BZ #14538]
19147         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19148         first element of the GOT.
19149         (elf_machine_load_address): Return the difference between
19150         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19152 2012-09-01  Allan McRae  <allan@archlinux.org>
19154         [BZ #13412]
19155         * configure.in (AWK): Require gawk version 3.0 or later.
19156         * configure: Regenerated.
19158 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19160         * sysdeps/unix/sysv/linux/kernel-features.h
19161         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19162         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19163         [__NR_clock_getres]: Make code unconditional.
19164         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19165         (clock_getcpuclockid): Remove code left unreachable by removal of
19166         conditionals.
19167         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19168         code unconditional.
19169         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19170         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19171         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19172         Make code unconditional.
19173         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19174         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19175         * sysdeps/unix/sysv/linux/clock_settime.c
19176         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19177         conditional code.
19178         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19179         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19181 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19183         [BZ #14476]
19184         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19185         scripts/test-installation.pl.
19187         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19188         and $ld_so_version if it is set.
19190 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19192         [BZ #14516]
19193         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19194         failure if reading from procfs failed.
19195         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19197 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19199         * sysdeps/unix/sysv/linux/kernel-features.h
19200         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19201         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19202         Remove conditional code.
19203         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19204         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19205         Remove conditional code.
19206         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19207         * sysdeps/unix/sysv/linux/i386/fxstat.c
19208         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19209         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19210         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19211         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19213         * sysdeps/unix/sysv/linux/i386/lxstat.c
19214         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19215         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19216         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19217         Remove conditional code.
19218         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19219         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19220         Remove conditional code.
19221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19222         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19223         <kernel-features.h>.
19224         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19225         Remove.
19226         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19227         Remove conditional code.
19228         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19229         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19230         Remove conditional.
19232 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19234         [BZ #5400]
19235         * NEWS: Add fixed bug number.
19237 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19239         [BZ #14519]
19240         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19241         underflowing exponent in case of negative sign.
19242         * stdlib/tst-strtod-round-data: Add more tests.
19243         * stdlib/tst-strtod-round.c (tests): Regenerated.
19245         [BZ #3479]
19246         * stdlib/strtod_l.c (NDIG): Remove.
19247         (HEXNDIG): Likewise.
19248         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19249         smallest representable value.
19250         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19251         lie within an exact representation of 1/2 ulp of the result.
19252         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19253         unconditionally.
19254         (TENS_P9_IDX): Define unconditionally.
19255         (TENS_P9_SIZE): Likewise.
19256         (TENS_P10_IDX): Likewise.
19257         (TENS_P10_SIZE): Likewise.
19258         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19259         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19260         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19261         entries for 10^2^13 and 10^2^14.
19262         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19263         (TENS_P13_IDX): Define.
19264         (TENS_P13_SIZE): Likewise.
19265         (TENS_P14_IDX): Likewise.
19266         (TENS_P14_SIZE): Likewise.
19267         (_fpioconst_pow10): Change array size to
19268         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19269         unconditional.
19270         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19271         1024]: Add entries for 10^2^13 and 10^2^14.
19272         [LAST_POW10 > _LAST_POW10]: Remove #error.
19273         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19274         (_fpioconst_pow10): Change array size to
19275         FPIOCONST_POW10_ARRAY_SIZE.
19276         * stdlib/gen-fpioconst.c: New file.
19277         * stdlib/gen-tst-strtod-round.c: Likewise.
19278         * stdlib/tst-strtod-round-data: Likewise.
19279         * stdlib/tst-strtod-round.c: Likewise.
19280         * stdlib/Makefile (tests): Add tst-strtod-round.
19282         [BZ #14459]
19283         * stdlib/strtod_l.c: Include <stdint.h>.
19284         (NDEBUG): Do not define.
19285         (round_and_return): Change EXPONENT parameter to type intmax_t.
19286         Rearrange calculations to avoid internal overflow possibilities.
19287         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19288         Rearrange calculations to avoid internal overflow possibilities.
19289         Assert that number fits inside MPNSIZE limbs.
19290         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19291         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19292         calculations and add assertions to avoid internal overflow
19293         possibilities.  Add casts to avoid signed/unsigned operations.
19294         * stdlib/tst-strtod-overflow.c: New file.
19295         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19297 2012-08-25  Marek Polacek  <polacek@redhat.com>
19299         * time/time.h: Fix some typos in comments.
19301 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19303         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19304         * posix/tst-rfc3484-2.c: Likewise.
19305         * posix/tst-rfc3484-3.c: Likewise.
19307 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19309         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19310         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19312 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19314         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19315         #include of fxstatat64.c.
19317 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19319         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19320         * shadow/getspent_r.c: Likewise.
19321         * shadow/getspnam.c: Likewise.
19322         * shadow/getspnam_r.c: Likewise.
19323         * gshadow/getsgent.c: Likewise.
19324         * gshadow/getsgent_r.c: Likewise.
19325         * gshadow/getsgnam.c: Likewise.
19326         * gshadow/getsgnam_r.c: Likewise.
19327         * inet/getnetbyad.c: Likewise.
19328         * inet/getnetbyad_r.c: Likewise.
19329         * inet/getnetbynm.c: Likewise.
19330         * inet/getnetbynm_r.c: Likewise.
19331         * inet/getnetent.c: Likewise.
19332         * inet/getnetent_r.c: Likewise.
19333         * inet/getproto.c: Likewise.
19334         * inet/getproto_r.c: Likewise.
19335         * inet/getprtent.c: Likewise.
19336         * inet/getprtent_r.c: Likewise.
19337         * inet/getprtname.c: Likewise.
19338         * inet/getprtname_r.c: Likewise.
19339         * inet/getrpcbyname.c: Likewise.
19340         * inet/getrpcbyname_r.c: Likewise.
19341         * inet/getrpcbynumber.c: Likewise.
19342         * inet/getrpcbynumber_r.c: Likewise.
19343         * inet/getrpcent.c: Likewise.
19344         * inet/getrpcent_r.c: Likewise.
19345         * inet/getaliasent.c: Likewise.
19346         * inet/getaliasent_r.c: Likewise.
19347         * inet/getaliasname.c: Likewise.
19348         * inet/getaliasname_r.c: Likewise.
19349         * nscd/getgrgid_r.c: Likewise.
19350         * nscd/getgrnam_r.c: Likewise.
19351         * nscd/gethstbyad_r.c: Likewise.
19352         * nscd/gethstbynm3_r.c: Likewise.
19353         * nscd/getpwnam_r.c: Likewise.
19354         * nscd/getpwuid_r.c: Likewise.
19355         * nscd/getsrvbynm_r.c: Likewise.
19356         * nscd/getsrvbypt_r.c: Likewise.
19357         * nscd/gai.c: Likewise.
19359         * configure.in (build_nscd): New substituted variable, set
19360         by --disable-build-nscd and defaults to $use_nscd.
19361         * configure: Regenerated.
19362         * config.make.in (build-nscd): New substituted variable.
19363         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19364         Change conditional to require [$(build-nscd) = yes] as well.
19365         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19367         [BZ# 13696]
19368         * configure.in (use_nscd): New substituted variable, set by
19369         --disable-nscd.  If enabled, define USE_NSCD.
19370         * configure: Regenerated.
19371         * config.h.in: Add USE_NSCD.
19372         * config.make.in (use-nscd): New substituted variable.
19373         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19374         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19375         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19376         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19377         (CFLAGS-getgrnam_r.c): Likewise.
19378         (CFLAGS-initgroups.c): Likewise.
19379         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19380         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19381         Variables removed.
19382         * inet/getnetgrent_r.c
19383         (nscd_setnetgrent): New function, broken out of ...
19384         (setnetgrent): ... here.  Call it.
19385         (innetgr): Conditionalize nscd bits on [USE_NSCD].
19386         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19387         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19388         * nscd/Makefile (routines, aux): Move definitions after include of
19389         Makeconfig.  Conditionalize on [$(use-nscd) != no].
19390         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19391         Conditionalize on [USE_NSCD].
19392         (is_nscd, nscd_init_cb): Likewise.
19393         (nss_load_library): Conditionalize init callback on [USE_NSCD].
19394         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19395         * nss/nss_db/db-init.c: Likewise.
19396         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19397         [USE_NSCD].
19398         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19399         (make_request): Use it.
19400         (cache_valid_p): New function.
19401         (__check_pf): Use it.
19402         * NEWS: Add item for --disable-nscd.
19404 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
19406         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19407         to support sed >= 4.2.1-20-ga9bf076.
19408         * configure: Regenerated.
19410 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19412         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19413         Conditionalize whole body on [IREL].
19415 2012-08-22  Jeff Law <law@redhat.com>
19417         [BZ #14505]
19418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19419         if the family is PF_UNSPEC.
19421 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
19423         * Makerules (lib-version): Rename from V.
19424         (install-lib-nosubdir): Change V to lib-version.
19426 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
19428         [BZ #14252]
19429         * powerpc32/power6/wcschr.c: New file.
19430         * powerpc32/power6/wcscpy.c: New file.
19431         * powerpc32/power6/wcsrchr.c: New file.
19432         * powerpc64/power6/wcschr.c: New file.
19433         * powerpc64/power6/wcscpy.c: New file.
19434         * powerpc64/power6/wcsrchr.c: New file.
19436 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19438         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19439         (two_way_short_needle): Use it.
19440         * string/strstr.c (AVAILABLE1_USES_J): Define.
19441         * string/strcasestr.c: Likewise.
19443         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19444         array references.
19445         * string/strcasestr.c (TOLOWER): Make side-effect safe.
19447         [BZ #11607]
19448         * NEWS: Add an entry.
19449         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19450         define their defaults.
19451         (two_way_short_needle): Detect end-of-string on-the-fly.
19452         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19453         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19454         * string/bug-strcasestr1.c: New test.
19455         * string/Makefile: Run it.
19457 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
19459         [BZ #11607]
19460         * string/str-two-way.h (two_way_short_needle): Optimize matching of
19461         the first character.
19463 2012-08-21  Roland McGrath  <roland@hack.frob.com>
19465         * csu/elf-init.c (__libc_csu_irel): Function removed.
19466         * csu/libc-start.c (apply_irel): New function.
19467         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19469 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19471         * sysdeps/unix/sysv/linux/kernel-features.h
19472         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19473         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19474         <kernel-features.h>.
19475         [__NR_fadvise64_64]: Make code unconditional.
19476         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19477         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19478         !__NR_fadvise64_64)]: Likewise.
19479         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19480         !__NR_fadvise64_64))]: Likewise.
19481         [__NR_fadvise64]: Make code unconditional.
19482         [!__NR_fadvise64]: Remove conditional code.
19483         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19484         <kernel-features.h>.
19485         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19486         unconditional.
19487         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19488         conditional code.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19490         not include <kernel-features.h>.
19491         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19492         unconditional.
19493         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19494         conditional code.
19495         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19496         include <kernel-features.h>.
19497         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19498         unconditional.
19499         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19500         conditional code.
19502 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19504         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19505         slight instruction rearrangements per scrollpipe analysis.
19506         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19508 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19510         * manual/syslog.texi (syslog; vsyslog, closelog):
19511         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19512         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19514         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19515         DSOCAPS to match condition on defining it.
19517 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19519         * sysdeps/unix/sysv/linux/kernel-features.h
19520         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19522         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19523         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19525         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19526         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19528         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19529         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19531         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19532         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19534         * sysdeps/unix/sysv/linux/kernel-features.h
19535         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19536         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19537         unconditional.
19538         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19539         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19540         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19541         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19542         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19543         Make code unconditional.
19544         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19545         (__mmap64) [!__NR_mmap2]: Likewise.
19546         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19547         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19548         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19549         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19550         [__NR_mmap2]: Make code unconditional.
19551         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19552         (__mmap64) [!__NR_mmap2]: Likewise.
19554 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19556         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19558 2012-08-18  Andreas Jaeger  <aj@suse.de>
19560         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19562 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19564         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19565         * include/unistd.h (__have_sock_cloexec): Likewise.
19566         (__have_pipe2): Likewise.
19567         (__have_dup3): Likewise.
19569 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19571         [BZ #9685]
19572         * include/unistd.h (__have_pipe2): Change define into an extern int.
19573         (__have_dup3): Likewise.
19574         * socket/have_sock_cloexec.c: Include fcntl.h.
19575         (__have_pipe2): New variable.
19576         (__have_dup3): Likewise.
19578 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19580         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19582 2012-08-17  Marek Polacek  <polacek@redhat.com>
19584         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19585         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19587 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19589         * configure.in: Add AC_SUBST for sysheaders.
19590         * configure: Regenerated.
19591         * config.make.in (sysheaders): New substituted variable.
19593         * sysdeps/unix/mkfifo.c: Moved ...
19594         * sysdeps/posix/mkfifo.c: ... here.
19595         * sysdeps/unix/mkfifoat.c: Moved ...
19596         * sysdeps/posix/mkfifoat.c: ... here.
19598         * sysdeps/unix/utime.c: Moved ...
19599         * sysdeps/posix/utime.c: ... here.
19601         * sysdeps/unix/time.c: Moved ...
19602         * sysdeps/posix/time.c: ... here.
19603         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19604         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19606         * sysdeps/unix/nice.c: Moved ...
19607         * sysdeps/posix/nice.c: ... here.
19609         * sysdeps/unix/alarm.c: Moved ...
19610         * sysdeps/posix/alarm.c: ... here.
19612         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19614 2012-08-17  Jeff Law <law@redhat.com>
19616         * intl/Makefile (codeset_mo): New variable.
19617         ($(codeset_mo)): New target.
19618         (tst-codeset.out): Depend on that.  Remove explicit rule.
19619         (tst-gettext3.out, tst-gettext5.out): Likewise.
19620         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19621         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19622         * intl/tst-codeset.sh: Remove.
19623         * intl/tst-gettext3.sh: Likewise.
19624         * intl/tst-gettext5.sh: Likewise.
19626 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19628         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19629         * sysdeps/unix/syscalls.list: ... here.
19631         * sysdeps/posix/getaddrinfo.c
19632         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19633         (gaiconf_init, gaiconf_reload): Use them.
19634         [!_STATBUF_ST_NSEC]
19635         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19636         Define using time_t rather than struct timespec.
19638         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19639         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19640         Macros removed.
19641         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19642         [!NO_THREADS].
19643         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19644         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19645         Likewise.
19647         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19648         __libc_cleanup_push argument.
19650         * bits/param.h: New file.
19651         * misc/sys/param.h: New file.
19652         * include/sys/param.h: New file.
19653         * misc/Makefile (headers): Add bits/param.h.
19654         * sysdeps/generic/sys/param.h: File removed.
19655         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19656         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19657         * sysdeps/mach/hurd/bits/param.h: New file.
19658         * sysdeps/mach/hurd/sys/param.h: File removed.
19660         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19661         last change.
19663         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19664         [_IO_MTSAFE_IO].
19665         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19666         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19667         New macros.
19669         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19670         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19671         rather than -D_IO_MTSAFE_IO conditionally.
19672         * stdio-common/Makefile (CPPFLAGS): Likewise.
19673         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19674         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19675         Use $(libio-mtsafe).
19676         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19677         of -D_IO_MTSAFE_IO.
19678         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19679         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19680         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19681         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19682         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19683         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19684         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19685         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19686         (CFLAGS-fread_u_chk.c): Likewise.
19687         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19688         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19689         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19690         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19691         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19692         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19693         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19694         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19695         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19697         * libio/Makefile: Test [$(libc-reentrant) = yes]
19698         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19700         * Makeconfig
19701         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19702         * sysdeps/pthread/configure: File removed.
19703         * sysdeps/pthread/Makeconfig: New file.
19704         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19705         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19707 2012-08-16  Gary Benson  <gbenson@redhat.com>
19709         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19710         unmapping the first object in a namespace.
19712 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19714         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19715         (__internal_setnetgrent): ... this.  Add internal_function to
19716         definition.  Add libc_hidden_def.
19717         (setnetgrent): Update caller.
19718         (internal_endnetgrent): Renamed to ...
19719         (__internal_endnetgrent): ... this.  Add internal_function to
19720         definition.  Add libc_hidden_def.
19721         (endnetgrent): Update caller.
19722         (internal_getnetgrent_r): Renamed to ...
19723         (__internal_getnetgrent_r): ... this.  Add internal_function to
19724         definition.  Add libc_hidden_def.
19725         (__getnetgrent_r): Update caller.
19726         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19728 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19730         * stdlib/longlong.h: Update from GCC.
19732 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19734         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19735         on _QL, which is set by umul_ppmm but never used.
19736         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19737         variables, which are set by GMP macros but never used.
19738         * stdio-common/_itowa.c (_itowa): Likewise.
19739         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19740         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19742 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19744         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19745         struct La_sh_regs is not constant.
19746         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19747         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19748         and struct La_sparc64_regs are not constant.
19750 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19752         * sysdeps/unix/sysv/linux/kernel-features.h
19753         (__ASSUME_POSIX_TIMERS): Remove.
19754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19755         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19756         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19757         Make code unconditional.
19758         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19759         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19760         Make code unconditional.
19761         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19762         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19763         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19764         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19765         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19766         Make code unconditional.
19767         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19768         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19769         (__libc_missing_posix_timers): Remove.
19771 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19773         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19774         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19776         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19778         * elf/dl-sym.c: Include <stdlib.h>.
19780         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19781         constants, which avoids warnings in 32-bit builds.
19783         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19784         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19786         * misc/lseek.c: File moved to ...
19787         * io/lseek.c: ... here.
19789         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19791         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19792         shifting LEN more than 31 bits at once.
19794 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19796         [BZ #14195]
19797         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19798         segmentation fault for a case of two empty input strings.
19799         * string/test-strncasecmp.c (check1): Renamed to...
19800         (bz12205): ...this.
19801         (bz14195): Add new testcase for two empty input strings and N > 0.
19802         (test_main): Call new testcase, adapt for renamed function.
19804 2012-08-15  Andreas Jaeger  <aj@suse.de>
19806         [BZ #14090]
19807         * crypt/md5test2.c: New test, based on test supplied by Serge
19808         Belyshev <belyshev@depni.sinp.msu.ru>.
19809         * crypt/Makefile (xtests): Add md5test-giant..
19810         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19812 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19814         [BZ #14090]
19815         * crypt/md5.c (md5_process_block): Don't assume the buffer
19816         length is less than 2**32.
19817         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19818         length is less than 2**64.
19820 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19822         * string/str-two-way.h: Include <sys/param.h>.
19823         (MAX): Macro removed.
19825         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19826         Move #define and #undef of memmove to just before and after
19827         including <string.h>.
19829         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19830         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19831         and after including <string.h>.  Move declarations of
19832         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19833         to before #include "string/memmove.c".
19835         * include/dirent.h: Declare __getdirentries.
19837         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19838         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19840 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19842         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19843         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19844         * sysdeps/i386/configure: Regenerated.
19845         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19846         STABS_CURRENT_FILE, and STABS_FUN.
19847         (END): Remove call to STABS_FUN_END.
19848         (STABS_CURRENT_FILE1): Delete.
19849         (STABS_CURRENT_FILE): Likewise.
19850         (STABS_FUN): Likewise.
19851         (STABS_FUN_END): Likewise.
19852         (STABS_FUN2): Likewise.
19853         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19854         * sysdeps/x86_64/configure: Regenerated.
19856 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19858         * elf/dl-open.c: Include <atomic.h>.
19859         * elf/dl-lookup.c: Likewise.
19861 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19863         * sysdeps/unix/sysv/linux/kernel-features.h
19864         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19865         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19866         unconditionally.
19867         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19868         unconditionally.
19869         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19870         condition on __ASSUME_CLONE_THREAD_FLAGS.
19872 2012-08-14  Andreas Jaeger  <aj@suse.de>
19874         * sysdeps/i386/fpu/libm-test-ulps: Update.
19876 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19878         * include/atomic.h (atomic_exchange_and_add): Split into ...
19879         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19880         New atomic macros.
19882 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19886 2012-08-13  Jeff Law <law@redhat.com>
19888         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19889         null byte in the output string.
19891 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19893         * sysdeps/unix/sysv/linux/kernel-features.h
19894         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19895         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19896         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19897         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19898         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19899         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19900         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19902 2012-08-09  Jeff Law <law@redhat.com>
19904         [BZ #13939]
19905         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19906         When avoid_arena is set, don't retry in the that arena.  Pick the
19907         next one, whatever it might be.
19908         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19909         (arena_lock): Pass in new parameter to arena_get2.
19910         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19911         arena_get2.
19912         (__libc_malloc): Unify retrying after main arena failure with
19913         __libc_memalign version.
19914         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19916 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19918         [BZ #14166]
19919         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19920         to __redirect_strstr.
19921         (__strstr_sse42): Use typeof __redirect_strstr.
19922         (__strstr_ia32): Likewise.
19923         (__libc_strstr): New prototype.
19924         (strstr): Renamed to ...
19925         (__libc_strstr): This.
19926         (strstr): New strong alias of __libc_strstr.
19927         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19928         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19929         __redirect_time.
19930         Include <time.h>.
19931         (__libc_time): New prototype.
19932         (time_ifunc): Replace time with __libc_time.
19933         (time): New strong alias and hidden definition of __libc_time.
19934         (__GI_time): Remove strong alias.
19935         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19936         Include <stddef.h>.
19937         (memmove): Redefined to __redirect_memmove.
19938         (__memmove_sse2): Use typeof __redirect_memmove.
19939         (__memmove_ssse3): Likewise.
19940         (__memmove_ssse3_back): Likewise.
19941         (__libc_memmove): New prototype.
19942         (memmove): Renamed to ...
19943         (__libc_memmove): This.
19944         (memmove): New strong alias of __libc_memmove.
19946 2012-08-08  Mark Salter  <msalter@redhat.com>
19948         * elf/elf.h
19949         (R_MN10300_TLS_GD): Define.
19950         (R_MN10300_TLS_LD): Likewise.
19951         (R_MN10300_TLS_LDO): Likewise.
19952         (R_MN10300_TLS_GOTIE): Likewise.
19953         (R_MN10300_TLS_IE): Likewise.
19954         (R_MN10300_TLS_LE): Likewise.
19955         (R_MN10300_TLS_DTPMOD): Likewise.
19956         (R_MN10300_TLS_DTPOFF): Likewise.
19957         (R_MN10300_TLS_TPOFF): Likewise.
19958         (R_MN10300_SYM_DIFF): Likewise.
19959         (R_MN10300_ALIGN): Likewise.
19960         (R_MN10300_NUM): Update.
19962 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19964         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19965         Remove.
19967 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19969         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19971         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19972         sysdeps/unix -> sysdeps/posix move.
19973         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19975 2012-08-07      Allan McRae     <allan@archlinux.org>
19977         [BZ #14303]
19978         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19979         (SUNOS_CPP): Likewise.
19980         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19981         not found.
19982         (open_input): Call CPP using execvp.
19984 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19986         * sysdeps/unix/sysv/linux/kernel-features.h
19987         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19988         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19989         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19990         (__ASSUME_WAITID_SYSCALL): Likewise.
19991         * sysdeps/unix/sysv/linux/dl-execstack.c
19992         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19993         code unconditional.
19994         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19995         conditional code.
19996         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19997         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19998         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19999         code.
20000         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20001         unconditional.
20002         [__ASSUME_WAITID_SYSCALL]: Likewise.
20003         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20005 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20007         * sysdeps/unix/closedir.c: Renamed to ...
20008         * sysdeps/posix/closedir.c: ... here.
20009         * sysdeps/unix/dirfd.c: Renamed to ...
20010         * sysdeps/posix/dirfd.c: ... here.
20011         * sysdeps/unix/dirstream.h: Renamed to ...
20012         * sysdeps/posix/dirstream.h: ... here.
20013         * sysdeps/unix/fdopendir.c: Renamed to ...
20014         * sysdeps/posix/fdopendir.c: ... here.
20015         * sysdeps/unix/opendir.c: Renamed to ...
20016         * sysdeps/posix/opendir.c: ... here.
20017         * sysdeps/unix/readdir.c: Renamed to ...
20018         * sysdeps/posix/readdir.c: ... here.
20019         * sysdeps/unix/readdir_r.c: Renamed to ...
20020         * sysdeps/posix/readdir_r.c: ... here.
20021         * sysdeps/unix/rewinddir.c: Renamed to ...
20022         * sysdeps/posix/rewinddir.c: ... here.
20023         * sysdeps/unix/seekdir.c: Renamed to ...
20024         * sysdeps/posix/seekdir.c: ... here.
20025         * sysdeps/unix/telldir.c: Renamed to ...
20026         * sysdeps/posix/telldir.c: ... here.
20027         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20028         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20029         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20030         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20032         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20033         * bits/fcntl.h: ... here.
20035         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20036         not 0.
20037         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20038         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20039         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20040         (struct flock): Move l_start, l_len to the beginning.
20041         Use __pid_t for l_pid.
20042         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20043         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20044         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20045         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20046         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20047         [__USE_LARGEFILE64] (struct flock64): New type.
20048         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20050         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20051         * bits/dirent.h: ... here.
20053         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20054         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20056 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20058         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20059         Change from 2.6.0 to 2.6.16.
20060         * sysdeps/unix/sysv/linux/configure: Regenerated.
20061         * sysdeps/unix/sysv/linux/kernel-features.h
20062         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20063         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20064         version.
20065         (__ASSUME_UTIMES): Likewise.
20066         (__ASSUME_CLONE_STOPPED): Remove.
20067         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20068         architectures, not kernel version.
20069         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20070         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20071         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20072         (__ASSUME_WAITID_SYSCALL): Likewise.
20073         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20074         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20075         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20076         refer to older versions.
20078 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20080         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20081         Define alphasort64 as an alias.
20082         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20083         Define versionsort64 as an alias.
20084         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20085         Define scandir64 as an alias.
20086         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20087         Define scandirat64 as an alias.
20088         * dirent/alphasort64.c (alphasort64):
20089         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20090         * dirent/versionsort64.c: Likewise.
20091         * dirent/scandir64.c: Likewise.
20092         * dirent/scandirat64.c: Likewise.
20093         * sysdeps/wordsize-64/alphasort.c: File removed.
20094         * sysdeps/wordsize-64/alphasort64.c: File removed.
20095         * sysdeps/wordsize-64/scandir.c: File removed.
20096         * sysdeps/wordsize-64/scandir64.c: File removed.
20097         * sysdeps/wordsize-64/scandirat.c: File removed.
20098         * sysdeps/wordsize-64/scandirat64.c: File removed.
20099         * sysdeps/wordsize-64/versionsort.c: File removed.
20100         * sysdeps/wordsize-64/versionsort64.c: File removed.
20101         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20102         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20103         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20104         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20105         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20106         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20107         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20108         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20110         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20111         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20112         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20113         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20114         [defined __arch64__ || defined __sparcv9]
20115         (__INO_T_MATCHES_INO64_T): New macro.
20116         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20117         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20118         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20119         * sysdeps/unix/sysv/linux/bits/dirent.h
20120         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20121         (_DIRENT_MATCHES_DIRENT64): New macro.
20123         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20124         Define lockf64 as an alias.
20125         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20126         Define fseeko64 as an alias.
20127         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20128         Define ftello64 as an alias.
20129         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20130         Define _IO_fgetpos64 and fgetpos64 as aliases.
20131         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20132         Define _IO_fsetpos64 and fsetpos64 as aliases.
20133         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20134         Conditionalize body on this.
20135         * libio/fseeko64.c: Likewise.
20136         * libio/ftello64.c: Likewise.
20137         * libio/iofgetpos64.c: Likewise.
20138         * libio/iofsetpos64.c: Likewise.
20139         * sysdeps/wordsize-64/lockf.c: File removed.
20140         * sysdeps/wordsize-64/lockf64.c: File removed.
20141         * sysdeps/wordsize-64/fseeko.c: File removed.
20142         * sysdeps/wordsize-64/fseeko64.c: File removed.
20143         * sysdeps/wordsize-64/ftello.c: File removed.
20144         * sysdeps/wordsize-64/ftello64.c: File removed.
20145         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20146         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20147         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20148         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20149         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20150         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20151         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20152         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20153         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20154         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20155         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20156         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20157         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20158         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20160         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20161         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20162         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20163         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20164         [defined __arch64__ || defined __sparcv9]
20165         (__OFF_T_MATCHES_OFF64_T): New macro.
20166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20167         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20169         (__OFF_T_MATCHES_OFF64_T): New macro.
20171 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20173         * stdlib/secure-getenv.c (__secure_getenv): Replace
20174         GLIBC_2_16 with GLIBC_2_17.
20176 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20178         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20179         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20181 2012-08-03  David S. Miller  <davem@davemloft.net>
20183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20185 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20187         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20188         Remove.
20189         (__ASSUME_CORRECT_SI_PID): Likewise.
20190         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20191         (__ASSUME_TMPFS_NAME): Likewise.
20192         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20193         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20194         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20195         (HAVE_AUX_SECURE): Make definition unconditional.
20196         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20197         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20199 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20201         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20202         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20203         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20204         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20205         __eloop_threshold instead of SYMLOOP_MAX.
20207         * sysdeps/generic/eloop-threshold.h: New file.
20208         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20209         of MAXSYMLINKS.
20210         * elf/chroot_canon.c (chroot_canon): Likewise.
20212 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20214         [BZ #13717]
20215         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20216         Change to 2.6.0 everywhere.
20217         * sysdeps/unix/sysv/linux/configure: Regenerated.
20218         * sysdeps/unix/sysv/linux/kernel-features.h
20219         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20220         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20221         kernel versions.
20222         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20223         (__ASSUME_FUTEX_REQUEUE): Remove.
20224         (__ASSUME_STATFS64): Define unconditionally.
20225         (__ASSUME_AT_SECURE): Likewise.
20226         (__ASSUME_CORRECT_SI_PID): Likewise.
20227         (__ASSUME_TGKILL): Define without depending on kernel version for
20228         i386.
20229         (__ASSUME_UTIMES): Likewise.
20230         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20231         kernel version.
20232         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20233         (__ASSUME_TMPFS_NAME): Likewise.
20234         * README: Update reference to Linux kernel versions.
20236 2012-08-02  Marek Polacek  <polacek@redhat.com>
20238         [BZ# 14150]
20239         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20240         libc_cv_asm_type_prefix with %.
20241         * configure: Regenerated.
20242         * include/libc-symbols.h: Remove comment about
20243         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20244         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20245         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20246         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20247         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20248         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20249         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20250         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20251         * elf/tst-unique2mod1.c: Likewise.
20252         * elf/tst-unique1mod2.c: Likewise.
20253         * elf/tst-unique1mod1.c: Likewise.
20254         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20255         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20256         Replace ASM_TYPE_DIRECTIVE with .type.
20257         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20258         * sysdeps/i386/sysdep.h: Likewise.
20259         * sysdeps/x86_64/sysdep.h: Likewise.
20260         * sysdeps/sh/sysdep.h: Likewise.
20261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20262         Do not define ASM_TYPE_DIRECTIVE.
20263         * sysdeps/powerpc/sysdep.h: Likewise.
20264         * sysdeps/powerpc/powerpc32/sysdep.h:
20265         Replace ASM_TYPE_DIRECTIVE with .type.
20266         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20267         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20268         * sysdeps/i386/fpu/e_powf.S: Likewise.
20269         * sysdeps/i386/fpu/e_expl.S: Likewise.
20270         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20271         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20272         * sysdeps/i386/fpu/e_pow.S: Likewise.
20273         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20274         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20275         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20276         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20277         * sysdeps/i386/fpu/e_log2.S: Likewise.
20278         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20279         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20280         * sysdeps/i386/fpu/e_powl.S: Likewise.
20281         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20282         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20283         * sysdeps/i386/fpu/e_logl.S: Likewise.
20284         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20285         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20286         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20287         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20288         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20289         * sysdeps/i386/fpu/e_log.S: Likewise.
20290         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20291         * sysdeps/i386/fpu/e_logf.S: Likewise.
20292         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20293         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20294         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20295         * sysdeps/i386/fpu/e_log10.S: Likewise.
20296         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20297         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20298         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20299         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20300         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20301         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20302         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20303         * sysdeps/i386/i686/strtok.S: Likewise.
20304         * sysdeps/i386/i386-mcount.S: Likewise.
20305         * sysdeps/i386/strtok.S: Likewise.
20306         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20307         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20308         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20309         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20310         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20311         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20312         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20313         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20314         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20315         * sysdeps/x86_64/_mcount.S: Likewise.
20316         * sysdeps/x86_64/strtok.S: Likewise.
20317         * sysdeps/sh/_mcount.S: Likewise.
20319 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20321         * libio/iofopen.c: Include <fcntl.h>.
20322         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20323         (_IO_fopen64, fopen64): Define as aliases.
20324         * libio/iofopen64.c: Include <fcntl.h>.
20325         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20326         Conditionalize body on this.
20327         * sysdeps/wordsize-64/iofopen.c: File removed.
20328         * sysdeps/wordsize-64/iofopen64.c: File removed.
20330 2012-08-01  Marek Polacek  <polacek@redhat.com>
20332         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20333         Use dlfcn directly instead of a variable.
20334         (binfmt-subdir): Do not define.
20335         (dlfcn): Likewise.
20337 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20339         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20340         Remove all definitions.
20341         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20342         <kernel-features.h>.
20343         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20344         (miss_F_GETOWN_EX): Remove all definitions.
20345         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20346         macro definition.
20347         [!__ASSUME_FCNTL64]: Remove conditional code.
20348         [__ASSUME_FCNTL64]: Make code unconditional.
20349         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20350         <kernel-features.h>.
20351         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20352         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20353         (lockf64) [__NR_fcntl64]: Make code unconditional.
20354         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20356         * sysdeps/unix/sysv/linux/kernel-features.h
20357         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20358         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20359         Make code unconditional.
20360         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20361         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20363         [__NR_vfork]: Make code unconditional.
20364         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20365         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20367         [__NR_vfork]: Make code unconditional.
20368         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20369         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20371 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20373         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20374         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20376         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20377         Define mkstemp64 as an alias.
20378         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20379         Define mkstemps64 as an alias.
20380         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20381         Define mkostemp64 as an alias.
20382         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20383         Define mkostemps64 as an alias.
20384         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20385         Conditionalize body on this.
20386         * misc/mkostemp64.c: Likewise.
20387         * misc/mkostemps64.c: Likewise.
20388         * misc/mkstemps64.c: Likewise.
20389         * sysdeps/wordsize-64/mkstemp64.c: File removed.
20390         * sysdeps/wordsize-64/mkostemp64.c: File removed.
20391         * sysdeps/wordsize-64/mkostemp.c: File removed.
20392         * sysdeps/wordsize-64/mkstemp.c: File removed.
20393         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20394         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20395         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20396         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20398         [BZ #14138]
20399         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20400         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20401         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20402         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20404         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20405         compat_symbol macros from <shlib-compat.h> rather than the underlying
20406         default_symbol_version and symbol_version macros, so that DEFAULT
20407         lines in shlib-versions are respected.
20408         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20410 2012-08-01  Florian Weimer  <fweimer@redhat.com>
20412         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20413         Declare with warn_unused_result.
20414         (setgid, setregid, setegid, setresgid): Likewise.
20415         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20416         Likewise.
20417         * WUR-REPORT: Remove set*id functions.
20419 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
20421         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20423 2012-07-31  Roland McGrath  <roland@hack.frob.com>
20425         [BZ #10191]
20426         * include/sys/socket.h (__libc_accept, __libc_accept4):
20427         Add attribute_hidden.
20428         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20430         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20431         use of PTR_MANGLE.
20432         * inet/getnetgrent_r.c (setup): Likewise.
20434         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20436 2012-07-31  David S. Miller  <davem@davemloft.net>
20438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20440 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
20442         [BZ #13629]
20443         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20444         value between 1.0 and 2.0 and smaller part has absolute value less
20445         than 1.0.
20446         * math/s_clog10.c (__clog10): Likewise.
20447         * math/s_clog10f.c (__clog10f): Likewise.
20448         * math/s_clog10l.c (__clog10l): Likewise.
20449         * math/s_clogf.c (__clogf): Likewise.
20450         * math/s_clogl.c (__clogl): Likewise.
20451         * math/libm-test.inc (clog_test): Add more tests.
20452         (clog10_test): Likewise.
20453         * sysdeps/i386/fpu/libm-test-ulps: Update.
20454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20456 2012-07-31  Florian Weimer  <fweimer@redhat.com>
20458         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20459         Exit with zero in case no suitable GID is found, and write a
20460         message to standard error.
20462 2012-07-30  Roland McGrath  <roland@hack.frob.com>
20464         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20465         rather than to 1.
20466         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20467         (MAXPATHLEN): Removed.
20468         (NOGROUP, NODEV): New macros.
20469         (setbit, clrbit, isset, isclr): New macros.
20470         (howmany, roundup, powerof2): New macros.
20471         (DEV_BSIZE): New macro.
20473         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20474         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20476         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20477         definition on [!__NO_LONG_DOUBLE_MATH].
20479         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20480         PTR_MANGLE and PTR_DEMANGLE.
20482         * socket/accept4.c (accept4): Rename to __libc_accept4.
20483         Define accept4 as a weak alias.
20485         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20486         on [_DIRENT_HAVE_D_TYPE].
20487         * io/ftw.c (ftw_dir): Likewise.
20489         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20491         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20493         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20494         Use the BSD numbers rather than the arbitrary ones we had.
20495         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20496         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20497         (SIGXCPU, SIGXFSZ): New macros.
20498         (_NSIG): Now 32.
20500         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20501         initializer on [_LIBC_REENTRANT].
20503         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20504         definitions inside [_POSIX_MAPPED_FILES].
20506         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20508         * dirent/opendir.c: Include <fcntl.h>.
20510         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20511         (__libc_getspecific): Likewise.
20512         (__libc_key_create): Likewise.
20514         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20515         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20516         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20517         (tmpfile64): Define as alias.
20518         * sysdeps/wordsize-64/tmpfile.c: File removed.
20519         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20520         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20521         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20523         * stdio-common/vfscanf.c: Include <stdbool.h>.
20524         * nss/makedb.c: Likewise.
20525         * stdio-common/_i18n_number.h: Likewise.
20526         * argp/argp-help.c: Likewise.
20527         * posix/wordexp.c: Likewise.
20528         * sysdeps/posix/spawni.c: Likewise.
20529         * nss/nss_files/files-initgroups.c: Likewise.
20530         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20531         * nss/nss_files/files-initgroups.c: Likewise.
20532         * nss/nss_db/db-netgrp.c: Likewise.
20533         * nss/nss_db/db-initgroups.c: Likewise.
20534         * io/fchmodat.c: Include <sys/stat.h>.
20536         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20537         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20539         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20540         [HAVE_MMAP].
20542         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20543         Add multiple inclusion protection.
20545 2012-07-27  David S. Miller  <davem@davemloft.net>
20547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20549 2012-07-27  Gary Benson  <gbenson@redhat.com>
20551         [BZ #14298]
20552         * elf/rtld.c: Include <stap-probe.h>.
20553         (dl_main): Added static probes "init_start" and "init_complete".
20554         * elf/dl-load.c: Include <stap-probe.h>.
20555         (lose): Take new parameter "nsid".
20556         Added static probe "map_failed".
20557         (_dl_map_object_from_fd): Pass namespace id to lose.
20558         Added static probe "map_start".
20559         (open_verify): Pass namespace id to lose.
20560         * elf/dl-open.c: Include <stap-probe.h>.
20561         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20562         and "reloc_complete".
20563         * elf/dl-close.c: Include <stap-probe.h>.
20564         (_dl_close_worker): Added static probes "unmap_start" and
20565         "unmap_complete".
20566         * elf/rtld-debugger-interface.txt: New file documenting the above.
20568 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20570         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20571         rather than a string variable.
20572         * sunrpc/rpc_main.c (h_output): Likewise.
20573         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20575 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20577         * inet/check_native.c: New file.
20579 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20581         [BZ #13629]
20582         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20583         if larger part has absolute value 1.0.
20584         * math/s_clog10.c (__clog10): Likewise.
20585         * math/s_clog10f.c (__clog10f): Likewise.
20586         * math/s_clog10l.c (__clog10l): Likewise.
20587         * math/s_clogf.c (__clogf): Likewise.
20588         * math/s_clogl.c (__clogl): Likewise.
20589         * math/libm-test.inc (clog_test): Add more tests.
20590         (clog10_test): Likewise.
20591         * sysdeps/i386/fpu/libm-test-ulps: Update.
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20594         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20595         (pltexit): Likewise.
20596         (La_regs): Likewise.
20597         (La_retval): Likewise.
20598         (int_retval): Likewise.
20599         Update #error for removed macros to refer only to definitions in
20600         tst-audit.h.
20601         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20602         macro.
20603         (pltexit): Likewise.
20604         (La_regs): Likewise.
20605         (La_retval): Likewise.
20606         (int_retval): Likewise.
20607         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20608         macro.
20609         (pltexit): Likewise.
20610         (La_regs): Likewise.
20611         (La_retval): Likewise.
20612         (int_retval): Likewise.
20613         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20614         macro.
20615         (pltexit): Likewise.
20616         (La_regs): Likewise.
20617         (La_retval): Likewise.
20618         (int_retval): Likewise.
20619         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20620         macro.
20621         (pltexit): Likewise.
20622         (La_regs): Likewise.
20623         (La_retval): Likewise.
20624         (int_retval): Likewise.
20625         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20626         macro.
20627         (pltexit): Likewise.
20628         (La_regs): Likewise.
20629         (La_retval): Likewise.
20630         (int_retval): Likewise.
20631         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20632         macro.
20633         (pltexit): Likewise.
20634         (La_regs): Likewise.
20635         (La_retval): Likewise.
20636         (int_retval): Likewise.
20637         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20638         macro definitions in tst-audit.h.
20639         * sysdeps/i386/tst-audit.h: New file.
20640         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20641         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20642         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20643         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20644         * sysdeps/sh/tst-audit.h: Likewise.
20645         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20646         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20647         * sysdeps/x86_64/tst-audit.h: Likewise.
20649 2012-07-26  Andreas Jaeger  <aj@suse.de>
20651         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20652         ptrace.
20654         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20655         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20656         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20657         PTRACE_O_MASK.
20658         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20659         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20660         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20662         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20663         value.
20665         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20666         _sigsys.
20667         (si_call_addr, si_syscall, si_arch): Define new macro.
20668         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20669         _sigsys.
20670         (si_call_addr, si_syscall, si_arch): Define new marcro.
20671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20672         _sigsys.
20673         (si_call_addr, si_syscall, si_arch): Define new macro.
20674         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20675         _sigsys.
20676         (si_call_addr, si_syscall, si_arch): Define new macro.
20678 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20680         [BZ #13717]
20681         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20682         Change to 2.4.21 where previously 2.4.1.
20683         * sysdeps/unix/sysv/linux/configure: Regenerated.
20684         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20685         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20686         Linux kernel version.
20687         (__ASSUME_STD_AUXV): Remove.
20688         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20689         kernel version.
20690         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20691         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20692         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20693         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20694         (__ASSUME_NETLINK_SUPPORT): Likewise.
20695         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20696         (__no_netlink_support): Remove conditional definition.
20697         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20698         Remove.
20699         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20700         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20701         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20702         (if_nameindex_ioctl): Remove.
20703         (if_nameindex_netlink): Do not handle __no_netlink_support.
20704         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20705         code.
20706         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20707         Remove conditional code.
20708         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20709         code.
20710         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20711         unconditional.
20712         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20713         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20714         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20715         Remove.
20716         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20717         [!__ASSUME_STD_AUXV]: Remove conditional code.
20718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20719         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20720         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20722         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20723         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20724         code.
20725         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20727         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20728         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20729         conditional code.
20730         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20732         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20733         code.
20734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20735         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20736         conditional code.
20737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20738         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20739         code unconditional.
20740         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20741         conditional code.
20742         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20743         unconditional.
20744         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20745         conditional code.
20746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20747         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20748         unconditional.
20749         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20750         conditional code.
20751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20752         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20753         code unconditional.
20754         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20755         conditional code.
20756         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20757         unconditional.
20758         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20759         conditional code.
20760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20761         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20762         code unconditional.
20763         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20764         conditional code.
20765         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20766         unconditional.
20767         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20768         conditional code.
20770 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20772         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20773         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20774         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20775         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20776         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20777         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20778         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20779         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20780         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20781         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20782         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20783         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20784         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20785         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20786         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20787         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20788         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20789         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20792         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20793         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20794         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20796 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20798         * Versions.def: Add GLIBC_2.17.
20799         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20800         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20801         Introduce __libc_secure_getenv.
20802         * stdlib/Versions (2.17): Add secure_getenv
20803         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20804         * stdlib/secure-getenv.c: Rename __secure_getenv to
20805         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20806         symbol __secure_getenv for GLIBC_2.0.
20807         * stdlib/tst-secure-getenv.c: New.
20808         * stdlib/Makefile (tests): Add testcase.
20809         * manual/startup.texi (Environment Access): Document
20810         secure_getenv.
20811         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20812         __libc_secure_getenv.
20813         * inet/ruserpass.c (ruserpass): Likewise.
20814         * malloc/mtrace.c (mtrace): Likewise.
20815         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20816         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20817         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20818         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20819         HAVE_SECURE_GETENV.
20820         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20821         __secure_getenv to __libc_secure_getenv.
20822         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20826         Likewise.
20827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20835 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20837         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20838         (struct La_i86_retval): Likewise.
20839         (struct La_x86_64_regs): Likewise.
20840         (struct La_x86_64_retval): Likewise.
20841         (struct La_x32_regs): Likewise.
20842         (struct La_x32_retval): Likewise.
20843         (struct La_ppc32_regs): Likewise.
20844         (struct La_ppc32_retval): Likewise.
20845         (struct La_ppc64_regs): Likewise.
20846         (struct La_ppc64_retval): Likewise.
20847         (struct La_sh_regs): Likewise.
20848         (struct La_sh_retval): Likewise.
20849         (struct La_s390_32_regs): Likewise.
20850         (struct La_s390_32_retval): Likewise.
20851         (struct La_s390_64_regs): Likewise.
20852         (struct La_s390_64_retval): Likewise.
20853         (struct La_sparc32_regs): Likewise.
20854         (struct La_sparc32_retval): Likewise.
20855         (struct La_sparc64_regs): Likewise.
20856         (struct La_sparc64_retval): Likewise.
20857         (struct audit_ifaces): Remove architecture-specific pltenter and
20858         pltexit members.
20859         * sysdeps/i386/ldsodefs.h: New file.
20860         * sysdeps/powerpc/ldsodefs.h: Likewise.
20861         * sysdeps/s390/ldsodefs.h: Likewise.
20862         * sysdeps/sh/ldsodefs.h: Likewise.
20863         * sysdeps/sparc/ldsodefs.h: Likewise.
20864         * sysdeps/x86_64/ldsodefs.h: Likewise.
20866 2012-07-25  Marek Polacek  <polacek@redhat.com>
20868         [BZ #6808]
20869         * math/libm-test.inc (yn_test): Add another test.
20870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20871         to ERANGE when the result is +-Inf.
20872         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20873         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20874         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20875         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20877 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20879         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20880         equal to 0.
20881         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20882         clock_t.
20883         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20885 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20887         * configure.in <sysdeps resolving>: Correct printing
20888         Implies_before.
20889         * configure: Regenerate.
20891 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20893         * math/w_ilogb.c: Include <limits.h>.
20894         * math/w_ilogbl.c: Likewise.
20896 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20898         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20899         va_copy.  Document allowing for unavailable va_copy only as
20900         pre-C99 compatibility.
20901         * manual/string.texi (Copying and Concatenation): Use va_copy
20902         instead of __va_copy in concat example.
20904 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20906         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20907         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20908         it if not null.
20910         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20911         with O_NOLINK passed to __file_name_lookup.
20913         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20914         with O_NOLINK passed to __file_name_lookup.
20916         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20917         negative N or less than NGIDS.
20919         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20920         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20921         enough.  Use memcpy instead of strncpy.
20923 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20925         * elf/Makefile (check-data): Remove.
20926         (localplt.data): New vpath directive.
20927         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20928         instead of $(check-data).
20929         * scripts/data/localplt-generic.data: Move to ...
20930         * sysdeps/generic/localplt.data: ... here.
20931         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20932         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20933         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20935         ... here.
20936         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20938         ... here.
20939         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20941         ... here.
20942         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20944         ... here.
20945         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20947         ... here.
20948         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20950         ... here.
20952 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20954         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20955         PPC32 and PPC64 files.
20956         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20957         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20959 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20961         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20962         __makecontext_ret to ...
20963         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20964         ... here and call exit if uc_link is NULL.  New file.
20965         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20966         __makecontext_ret.S.
20967         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20968         __makecontext_ret to ...
20969         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20970         ... here and call exit if uc_link is NULL.  New file.
20971         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20972         __makecontext_ret.S.
20974 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20976         * elf/elf.h (R_390_IRELATIVE): New definition.
20977         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20978         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20979         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20980         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20981         (elf_machine_lazy_rel): Likewise.
20982         * sysdeps/s390/dl-irel.h: New file.
20983         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20984         * sysdeps/s390/s390-64/memset.S: New asm code.
20985         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20986         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20987         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20988         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20989         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20990         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20992         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20993         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20994         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20995         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20996         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20997         * sysdeps/s390/s390-32/memset.S: New asm code.
20998         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21000 2012-07-17  Marek Polacek  <polacek@redhat.com>
21002         [BZ #14349]
21003         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21004         * sysdeps/s390/s390-64/configure.in: Likewise.
21005         * sysdeps/sparc/configure.in: Likewise.
21006         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21007         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21008         * sysdeps/i386/configure.in: Likewise.
21009         * sysdeps/x86_64/configure.in: Likewise.
21010         * sysdeps/sh/configure.in: Likewise.
21011         * sysdeps/s390/s390-32/configure: Regenerated.
21012         * sysdeps/s390/s390-64/configure: Likewise.
21013         * sysdeps/x86_64/configure: Likewise.
21014         * sysdeps/sh/configure: Likewise.
21015         * sysdeps/powerpc/powerpc64/configure: Likewise.
21016         * sysdeps/powerpc/powerpc32/configure: Likewise.
21017         * sysdeps/sparc/configure: Likwise.
21018         * sysdeps/i386/configure: Likewise.
21020         * elf/dl-open.c: Comment fixes.
21022 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21024         * Makefile [CXX] (check-data): Remove.
21025         [CXX] (c++-types.data): New vpath directive.
21026         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21027         vpath.  Do not allow for C++ type data being missing.
21028         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21029         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21030         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21031         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21032         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21033         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21034         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21036         ... here.
21037         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21039         ... here.
21040         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21042         ... here.
21043         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21045         ... here.
21046         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21048         ... here.
21049         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21051         ... here.
21052         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21054         ... here.
21055         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21058         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21059         definitions to architecture-specific files.
21060         (TLS_IE): Likewise.
21061         (TLS_LD): Likewise.
21062         (TLS_GD): Likewise.
21063         * sysdeps/i386/tls-macros.h: New file.
21064         * sysdeps/powerpc/tls-macros.h: Likewise.
21065         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21066         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21067         * sysdeps/sh/tls-macros.h: Likewise.
21068         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21069         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21070         * sysdeps/x86_64/tls-macros.h: Likewise.
21072 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21074         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21075         zero value for regular exit case.
21077         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21078         (__start_context): Preserve zero value for regular exit case.
21080 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21081             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21083         * manual/setjmp.texi (setcontext): Clarify normal process
21084         termination when uc_link is the null pointer.
21085         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21086         exit call.
21088 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21090         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21091         preprocessor.  Test for each exception mask separately.
21093 2012-07-16  Andreas Jaeger  <aj@suse.de>
21095         * po/ru.po: Update from translation team.
21097 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21099         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21100         equal to 0.
21101         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21102         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21103         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21104         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21105         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21107 2012-07-13  Andreas Jaeger  <aj@suse.de>
21109         * po/fr.po: Update from translation team.
21111 2012-07-12  Marek Polacek  <polacek@redhat.com>
21113         [BZ #14173]
21114         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21115         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21116         loop condition.
21118 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21120         [BZ #13717]
21121         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21122         Change to 2.4.1 where previously 2.4.0.
21123         * sysdeps/unix/sysv/linux/configure: Regenerated.
21124         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21125         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21126         version.
21127         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21128         (__ASSUME_AT_CLKTCK): Remove.
21129         (__ASSUME_AT_PAGESIZE): Likewise.
21130         (__ASSUME_AT_XID): Likewise.
21131         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21132         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21133         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21134         unconditionally.
21135         (HAVE_AUX_PAGESIZE): Likewise.
21136         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21137         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21138         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21140 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21142         [BZ #14307]
21143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21144         the temporary buffer used to invoke __gethostbyname2_r,
21145         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21146         host_data / struct gaih_addrtuple.
21147         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21148         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21149         header file nss/nsswitch.h.
21150         * nss/nsswitch.h (global scope): Add definition of implementation
21151         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21152         resolv/nss_dns/dns-host.c).
21154 2012-07-11  Andreas Jaeger  <aj@suse.de>
21156         * po/fr.po: Update from translation team.
21158         * po/sv.po: Update from translation team
21159         * po/fr.po: Another update from translation team.
21161 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21163         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21164         for subnormals or multiply small sinh result by itself.
21165         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21168 2012-07-11  David S. Miller  <davem@davemloft.net>
21170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21172 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21174         [BZ #14347]
21175         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21176         (INTERNAL_MARK): Shift it here.
21178 2012-07-10  Marek Polacek  <polacek@redhat.com>
21180         [BZ #14151]
21181         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21182         libc_cv_asm_global_directive with .globl.
21183         * configure: Regenerated.
21184         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21185         with .globl.
21186         * sysdeps/i386/configure: Regenerated.
21187         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21188         with .globl.
21189         * sysdeps/x86_64/configure: Regenerated.
21190         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21191         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21192         * elf/tst-unique2mod2.c: Likewise.
21193         * elf/tst-unique2mod1.c: Likewise.
21194         * elf/tst-unique1mod2.c: Likewise.
21195         * elf/tst-unique1mod1.c: Likewise.
21196         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21197         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21198         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21199         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21200         * sysdeps/mach/sysdep.h: Likewise.
21201         * sysdeps/i386/sysdep.h: Likewise.
21202         * sysdeps/i386/i386-mcount.S: Likewise.
21203         * sysdeps/x86_64/_mcount.S: Likewise.
21204         * sysdeps/x86_64/sysdep.h: Likewise.
21205         * sysdeps/sh/_mcount.S: Likewise.
21206         * sysdeps/sh/sysdep.h: Likewise.
21207         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21208         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21209         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21210         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21211         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21212         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21213         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21214         * locale/localeinfo.h: Likewise.
21215         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21216         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21218 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21220         [BZ #14336]
21221         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21222         system".
21223         * manual/message.texi (The Uniforum approach): Likewise.
21224         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21225         (glibc iconv Implementation): Likewise.
21227 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21229         [BZ #14337]
21230         * math/s_clog.c (__clog): Avoid scaling a value down where that
21231         could result in underflow.
21232         * math/s_clog10.c (__clog10): Likewise.
21233         * math/s_clog10f.c (__clog10f): Likewise.
21234         * math/s_clog10l.c (__clog10l): Likewise.
21235         * math/s_clogf.c (__clogf): Likewise.
21236         * math/s_clogl.c (__clogl): Likewise.
21237         * math/libm-test.inc (clog_test): Add more tests.
21238         (clog10_test): Likewise.
21239         * sysdeps/i386/fpu/libm-test-ulps: Update.
21240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21242 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21244         [BZ #14283]
21245         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21246         by 7 not 8 to examine high bit of fractional part.
21248         [BZ #14042]
21249         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21250         for call to __mcount_internal.
21251         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21252         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21253         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21255 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21257         [BZ #14154]
21258         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21259         approximation for values within 0x1p-13f of an odd multiple of
21260         pi/4.
21261         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21262         exception.  Add more tests.
21263         * sysdeps/i386/fpu/libm-test-ulps: Update.
21265         [BZ #6778]
21266         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21267         inputs and return -1 for them.  Do not check for +Inf in case not
21268         reachable for +Inf.
21269         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21270         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21271         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21272         and return -1 for them.  Do not check for +Inf in case not
21273         reachable for +Inf.
21274         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21275         define.
21276         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21277         and return -1 for them.  Do not check for +Inf in case not
21278         reachable for +Inf.
21279         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21280         spurious underflow.
21281         * sysdeps/i386/fpu/libm-test-ulps: Update.
21282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21284 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21286         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21288 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21290         [BZ #14157]
21291         [BZ #14331]
21292         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21293         could result in spurious underflow.  Scale down values above
21294         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21295         * math/s_csqrtf.c (__csqrtf): Likewise.
21296         * math/s_csqrtl.c (__csqrtl): Likewise.
21297         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21298         spurious underflow.
21299         * sysdeps/i386/fpu/libm-test-ulps: Update.
21300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21302 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21304         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21305         xopen-msg.sed.
21306         * catgets/xopen-msg.awk: New file.
21307         * catgets/xopen-msg.sed: Removed.
21309         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21310         po2text.sed.
21311         * intl/po2test.awk: New file.
21312         * intl/po2test.sed: Removed.
21314 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21316         [BZ #14328]
21317         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21318         or multiply small sinh result by itself.
21319         * math/s_ctanf.c (__ctanf): Likewise.
21320         * math/s_ctanh.c (__ctanh): Likewise.
21321         * math/s_ctanhf.c (__ctanhf): Likewise.
21322         * math/s_ctanhl.c (__ctanhl): Likewise.
21323         * math/s_ctanl.c (__ctanl): Likewise.
21324         * math/libm-test.inc (ctan_test_tonearest): New function.
21325         (ctan_test_towardzero): Likewise.
21326         (ctan_test_downward): Likewise.
21327         (ctan_test_upward): Likewise.
21328         (ctanh_test_tonearest): Likewise.
21329         (ctanh_test_towardzero): Likewise.
21330         (ctanh_test_downward): Likewise.
21331         (ctanh_test_upward): Likewise.
21332         (main): Call these new functions.
21333         * sysdeps/i386/fpu/libm-test-ulps: Update.
21334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21336 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21338         * .gitignore: Delete /ports entry.
21340 2012-07-03  Andreas Jaeger  <aj@suse.de>
21342         * po/bg.po: Update from translation team.
21343         * po/cs.po: Likewise.
21344         * po/de.po: Likewise.
21345         * po/hr.po: Likewise.
21346         * po/nl.pl: Likewise.
21347         * po/pl.po: Likewise.
21348         * po/vi.po: Likewise.
21350 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21352         * Makeconfig [!+link] (+link-before-libc): New variable.
21353         [!+link] (+link-after-libc): Likewise.
21354         [!+link] (+link-tests): Likewise.
21355         [!+link] (+link): Define in terms of $(+link-before-libc) and
21356         $(+link-after-libc).
21357         [!+link-static] (+link-static-before-libc): New variable.
21358         [!+link-static] (+link-static-after-libc): Likewise.
21359         [!+link-static] (+link-static-tests): Likewise.
21360         [!+link-static] (+link-static): Define in terms of
21361         $(+link-static-before-libc) and $(+link-static-after-libc).
21362         [build-shared] (link-libc-before-gnulib): New variable.
21363         [build-shared] (link-libc-tests): Likewise.
21364         [build-shared] (link-libc): Define in terms of
21365         $(link-libc-before-gnulib).
21366         [!build-shared] (link-libc-tests): New variable.
21367         (link-libc-static-tests): New variable.
21368         [!gnulib] (gnulib-arch): New variable.
21369         [!gnulib] (gnulib-tests): Likewise.
21370         [!gnulib] (static-gnulib-arch): Likewise.
21371         [!gnulib] (static-gnulib-tests): Likewise.
21372         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21373         Define with "=" instead of ":=".
21374         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21375         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21376         * Rules (binaries-all-notests): New variable.
21377         (binaries-all-tests): Likewise.
21378         (binaries-static-notests): Likewise.
21379         (binaries-static-tests): Likewise.
21380         (binaries-all): Define using $(binaries-all-notests) and
21381         $(binaries-all-tests).
21382         (binaries-static): Define using $(binaries-static-notests) and
21383         $(binaries-static-tests).
21384         (binaries-shared-tests): New variable.
21385         (binaries-shared-notests): Likewise.
21386         (binaries-shared): Remove variable.
21387         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21388         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21389         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21390         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21391         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21392         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21393         * elf/Makefile (sln-modules): New variable.
21394         (extra-objs): Add $(sln-modules:=.o).
21395         (ldconfig-modules): Add static-stubs.
21396         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21397         * elf/static-stubs.c: New file.
21399         [BZ #14283]
21400         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21401         by 7 not 8 to examine high bit of fractional part.  Use volatile
21402         variables when splitting into final array of floats if
21403         __FLT_EVAL_METHOD__ != 0.
21404         * math/libm-test.inc (cos_test): Add another test.
21405         (sin_test): Likewise.
21406         * sysdeps/i386/fpu/libm-test-ulps: Update.
21408         [BZ #14273]
21409         * math/libm-test.inc (cosh_test): Add more tests.
21411         * version.h (RELEASE): Set to "development".
21412         (VERSION): Set to "2.16.90".
21414 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
21416         * NEWS: Update copyright. Remove last-updated date.
21417         Mention math library bug fixes and timezone data changes.
21418         * README: Mention GNU/Hurd, x32, and HPPA support status.
21420 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
21422         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21424 2012-06-27  Andreas Jaeger  <aj@suse.de>
21426         * manual/contrib.texi (Contributors): Add Samuel Thibault.
21428 2012-06-25  Andreas Jaeger  <aj@suse.de>
21430         * sysdeps/s390/fpu/libm-test-ulps: Update.
21432 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
21433             Thomas Schwinge  <thomas@codesourcery.com>
21435         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21436         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21437         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21438         fanotify_mark.
21440 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
21442         * sysdeps/mach/start.c: Remove file.
21443         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21444         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21445         * sysdeps/sh/init-first.c: Likewise.
21447         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21448         registers for frame unwinding purposes, add CFI directives.
21449         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21450         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21451         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21452         Likewise.
21454         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21455         __fortify_fail returning.
21456         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21458         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21459         sysdeps/sh/____longjmp_chk.S.
21460         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21461         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21462         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21463         (gen-as-const-headers): Append sigaltstack-offsets.sym.
21465         * sysdeps/sh/abort-instr.h: New file.
21466         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21467         process in case exit returns.
21469         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21470         initialize the GOT register before use.
21472         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21473         calculation of ARGC > 4.
21475         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21476         meaningful names to some local labels.
21478 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21479             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21481         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21482         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21483         (__arch_compare_and_exchange_val_16_acq): Likewise.
21484         (__arch_compare_and_exchange_val_32_acq): Likewise.
21485         (atomic_exchange_and_add): Fix gUSA sequence.
21486         (atomic_add): Likewise.
21487         (atomic_add_negative): Likewise.
21488         (atomic_add_zero): Likewise.
21489         (atomic_bit_test_set): Likewise.
21491 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21493         [BZ #13579]
21494         * include/link.h (struct link_map): Add l_free_initfini.
21495         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21496         l_initfini.
21497         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21498         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21499         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21500         set.
21502 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21504         * configure.in: Use AC_LANG_SOURCE.
21505         * configure: Regenerate.
21507 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21509         * configure.in (libc_cv_localstatedir): New substituted variable.
21510         * configure: Regenerated.
21511         * config.make.in (localstatedir): New variable, substituted from
21512         libc_cv_localstatedir.
21513         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21514         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21515         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21516         * sysdeps/gnu/configure: Regenerated.
21518 2012-06-21  Jeff Law  <law@redhat.com>
21520         [BZ #14277]
21521         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21522         free.  Simplify list management for _LIBC case.
21524 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21526         [BZ #14273]
21527         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21528         Clear sign bit of 64-bit integer value before comparing against
21529         overflow value.
21531         * sysdeps/mach/configure: Regenerated.
21533 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21535         [BZ #14278]
21536         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21538 2012-06-21  Jeff Law  <law@redhat.com>
21540         [BZ #13882]
21541         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21542         uint16_t for elements in the "seen" array to avoid char overflows.
21543         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21544         * elf/dl-open.c (dl_open_worker): Likewise.
21546 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21548         * scripts/list-sources.sh: Scan PORTS for translations.
21549         * po/libc.pot: Regenerated.
21551 2012-06-21  Andreas Jaeger  <aj@suse.de>
21553         [BZ #12194]
21554         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21555         warning.
21556         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21557         * bits/byteswap-16.h (__bswap_16): Likewise.
21558         * bits/byteswap.h (__bswap_constant_16): Likewise.
21560 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21562         [BZ #14117]
21563         * sysdeps/i386/fpu_control.h: Removed.
21564         * sysdeps/x86_64/fpu_control.h: Moved to ...
21565         * sysdeps/x86/fpu_control.h: Here.
21567         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21568         (_FPU_SETCW): Likewise.
21570 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21572         [BZ #14117]
21573         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21574         * sysdeps/x86/fpu/bits/mathinline.h: This.
21575         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21577         [BZ #14050]
21578         [BZ #14117]
21579         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21580         functions if __x86_64__ is defined.
21582 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21584         * string/endian.h: Add !__ASSEMBLER__ condition for including
21585         conversion interfaces.
21587 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21589         [BZ #14241]
21590         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21591         of ABS(x) in calculating zero to negative powers other than odd
21592         integers.
21593         * math/libm-test.inc (pow_test): Add more tests.
21595 2012-06-15  Andreas Jaeger  <aj@suse.de>
21597         * manual/contrib.texi (Contributors): Update entry of Liubov
21598         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21599         Machado Filho.
21601 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21603         * string/string.h: Add __wur to GNU version of strerror_r.
21605 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21607         [BZ #14229]
21608         * string/Makefile (tests): Add tst-strtok_r.
21609         * string/tst-strtok_r.c: New file.
21610         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21611         RAX_LP/RDX_LP on SAVE_PTR.
21613 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21615         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21617 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21619         * libm_test.inc (csqrt_test): Allow more spurious underflow
21620         exceptions.
21621         (j0_test): Likewise.
21622         (j1_test): Likewise.
21623         (y0_test): Likewise.
21624         (y1_test): Likewise.
21626 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21628         * po/Makefile (libc.pot): Use UTF-8 charset.
21630 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21632         [BZ #14210]
21633         Suppress sign-conversion warning from FD_SET.
21634         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21635         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21636         not unsigned long int.
21637         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21639 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21641         [BZ #14050]
21642         [BZ #14117]
21643         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21644         __extern_always_inline instead of __extern_inline.
21645         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21646         (__signbit): Likewise.
21647         (__signbitl): Support C++ namespace.
21648         (lrintf): New inline function.
21649         (lrint): Likewise.
21650         (llrintf): Likewise.
21651         (llrint): Likewise.
21652         (fmaxf): Likewise.
21653         (fmax): Likewise.
21654         (fminf): Likewise.
21655         (fmin): Likewise.
21656         (rint): Likewise.
21657         (rintf): Likewise.
21658         (ceil): Likewise.
21659         (ceilf): Likewise.
21660         (floor): Likewise.
21661         (floorf): Likewise.
21662         (nearbyint): Likewise.
21663         (nearbyintf): Likewise.
21665 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21667         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21668         non-default versions.
21670 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21672         [BZ #14218]
21673         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21675 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21677         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21678         (FE_UPWARD, FE_DOWNWARD): Don't define.
21679         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21680         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21682         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21683         reading it.
21684         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21685         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21687 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21689         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21691         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21692         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21694 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21696         [BZ #14117]
21697         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21698         * sysdeps/i386/fpu/Implies: New file.
21699         * sysdeps/x86_64/fpu/Implies: Likewise.
21700         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21701         * sysdeps/x86/fpu/bits/fenv.h: This.
21703         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21704         __SSE_MATH__.
21706 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21708         [BZ #14134]
21709         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21710         character 0xffff that matches the last element of the
21711         conversion table.
21713 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21715         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21716         fmodl commit.
21718 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21720         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21721         values higher than 25.6283.
21723 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21725         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21726         subnormal exponent extraction and add some __builtin_expect.
21727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21728         Fix for subnormal mantissa calculation.
21730 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21732         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21733         cpu2 is -1 and errno is not ENOSYS.
21735 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21737         [BZ #14117]
21738         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21739         * sysdeps/x86/bits/string.h: This.
21740         * sysdeps/x86_64/bits/string.h: Removed.
21742         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21743         if not compiling for x86-64, but compiling for >= i486.
21745         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21746         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21748         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21749         New macro from Linux kernel 3.4.0.
21750         (FP_XSTATE_MAGIC2): Likewise.
21751         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21752         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21753         (struct _fpx_sw_bytes): New struct.
21754         (struct _xsave_hdr): Likewise.
21755         (struct _ymmh_state): Likewise.
21756         (struct _xstate): Likewise.
21758         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21759         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21760         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21761         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21762         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21763         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21765         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21766         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21767         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21768         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21769         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21770         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21772 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21774         [BZ #13743]
21775         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21776         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21777         (sysdep_headers): Include sys/platform/ppc.h.
21778         * sysdeps/powerpc/test-gettimebase.c: Test for
21779         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21780         * manual/Makefile (appendices): Include platform.texi.
21781         * manual/contrib.texi (Contributors): Update @node pointers.
21782         * manual/maint.texi (Maintenance): Likewise.
21783         (Platform): New node.
21784         * manual/platform.texi: New file.  Document the new features.
21786 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21787             Jakub Jelinek  <jakub@redhat.com>
21789         [BZ #14188]
21790         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21791         where __builtin_expect is unavailable.
21793 2012-06-03  David S. Miller  <davem@davemloft.net>
21795         * stdlib/longlong.h: Updated from GCC.
21797 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21799         [BZ #14042]
21800         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21801         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21802         __mcount_internal.
21803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21804         (GLIBC_2.16): Likewise.
21806 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21808         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21810 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21813         (default-abi): New variable.
21814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21815         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21816         variable.
21817         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21818         Likewise.
21819         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21820         Likewise.
21821         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21822         Likewise.
21824         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21825         definition.  Document in comment.
21827 2012-06-01  David S. Miller  <davem@davemloft.net>
21829         * stdlib/longlong.h: Updated from GCC.
21831 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21833         [BZ #14117]
21834         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21835         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21836         sys/debugreg.h sys/io.h here.
21837         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21838         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21839         sys/io.h.
21840         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21841         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21842         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21843         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21844         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21845         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21847         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21848         Define only if __x86_64__ is defined.
21850 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21852         [BZ #14048]
21853         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21854         Use int64_t for variable i.
21855         * math/libm-test.inc (fmod_test): Add more tests.
21857         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21858         z computation is not scheduled after fetestexcept.
21859         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21860         Use math_force_eval instead of asm to ensure calculation scheduled
21861         before exception test.
21862         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21863         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21865 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21868         computation is not scheduled after fetestexcept.
21870 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21872         [BZ #14117]
21873         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21874         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21876 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21878         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21879         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21881 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21883         [BZ #14117]
21884         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21885         <bits/wordsize.h>.
21886         (__WCHAR_MIN): Support __WORDSIZE == 64.
21887         (__WCHAR_MAX): Likewise.
21889         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21890         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21892         [BZ #14183]
21893         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21894         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21896         [BZ #14117]
21897         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21898         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21900         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21901         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21903         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21904         Defined to 1 if __x86_64__ isn't defined.
21905         (_STAT_VER_LINUX_OLD): New.
21906         (st_atime): Remove duplicate.
21907         (st_mtime): Likewise.
21908         (st_ctime): Likewise.
21910 2012-05-31  David S. Miller  <davem@davemloft.net>
21912         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21913         entries.
21915 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21917         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21918         gen-libm-test.pl.
21920         [BZ #14132]
21921         * elf/dl-reloc.c: Include <_itoa.h>.
21922         (_dl_reloc_bad_type): Remove use of INTUSE.
21923         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21924         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21925         * stdio-common/psiginfo.c (psiginfo): Likewise.
21926         * stdio-common/psignal.c (psignal): Likewise.
21927         * string/strsignal.c (strsignal): Likewise.
21928         * include/signal.h (_sys_siglist): Declare hidden proto.
21929         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21930         INTVARDEF with libc_hidden_data_def.
21931         * stdio-common/itoa-udigits.c: Likewise.
21932         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21933         (_itoa_lower_digits_internal): Remove declaration.
21934         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21935         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21936         (_sys_sigabbrev_internal): Remove aliases.
21937         (_sys_siglist): Define hidden alias.
21939 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21942         bits/sysctl.h.
21944 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21946         [BZ #14117]
21947         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21948         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21950         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21951         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21952         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21953         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21954         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21955         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21957         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21958         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21959         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21961         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21962         with __addr.
21963         (insw): Likewise.
21964         (insl): Likewise.
21965         (outsb): Likewise.
21966         (outsw): Likewise.
21967         (outsl): Likewise.
21969         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21970         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21971         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21973         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21974         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21975         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21976         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21977         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21978         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21980         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21981         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21983         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21984         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21986         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21987         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21988         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21990         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21991         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21992         to ...
21993         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21995         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21996         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21997         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21999         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22000         for x86-64.
22001         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22003 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22005         * math/math.h (M_El): Use two more decimal places.
22006         (M_LOG2El): Likewise.
22007         (M_LOG10El): Likewise.
22008         (M_LN2l): Likewise.
22009         (M_LN10l): Likewise.
22010         (M_PIl): Likewise.
22011         (M_PI_2l): Likewise.
22012         (M_PI_4l): Likewise.
22013         (M_1_PIl): Likewise.
22014         (M_2_PIl): Likewise.
22015         (M_2_SQRTPIl): Likewise.
22016         (M_SQRT2l): Likewise.
22017         (M_SQRT1_2l): Likewise.
22019 2012-05-31  David S. Miller  <davem@davemloft.net>
22021         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22022         values between float registers.
22023         * sysdeps/sparc/sparc64/memset.S: Likewise.
22024         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22026 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22028         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22029         -D_FORTIFY_SOURCE=1.
22030         (CPPFLAGS-tst-longjmp_chk.c): Define.
22031         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22032         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22033         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22034         CFLAGS-tst-wchar-h.c.
22036 2012-05-31  Marek Polacek  <polacek@redhat.com>
22038         [BZ #14132]
22039         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22040         __endmntent_internal): Remove declaration.
22041         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22042         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22043         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22045 2012-05-30  David S. Miller  <davem@davemloft.net>
22047         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22048         (___Q_simulate_exceptions): Use real FP ops rather than writing
22049         into the %fsr.
22050         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22051         Likewise.
22053 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22055         [BZ #14117]
22056         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22057         * sysdeps/x86/bits/xtitypes.h: This.
22059         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22060         * sysdeps/x86/bits/wordsize.h: This.
22062         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22063         * sysdeps/x86/bits/huge_vall.h: This.
22065         * sysdeps/i386/bits/select.h: Removed.
22066         * sysdeps/x86_64/bits/select.h: Renamed to ...
22067         * sysdeps/x86/bits/select.h: This.
22069         * sysdeps/i386/bits/setjmp.h: Removed.
22070         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22071         * sysdeps/x86/bits/setjmp.h: This.
22073         * sysdeps/i386/bits/mathdef.h: Removed.
22074         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22075         * sysdeps/x86/bits/mathdef.h: This.
22077 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22079         [BZ #14132]
22080         * include/sys/socket.h (__connect_internal)
22081         (__libc_sa_len_internal): Remove declaration.
22082         (__connect, __libc_sa_len): Declare hidden_proto.
22083         (SA_LEN): Remove use of INTUSE.
22084         * socket/connect.c: Add libc_hidden_def.
22085         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22086         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22087         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22088         alias.
22089         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22090         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22091         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22092         of adding _internal alias.
22094 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22096         [BZ #14117]
22097         * sysdeps/i386/bits/link.h: Removed.
22098         * sysdeps/i386/bits/linkmap.h: Likewise.
22099         * sysdeps/x86_64/bits/link.h: Renamed to ...
22100         * sysdeps/x86/bits/link.h: This.
22101         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22102         * sysdeps/x86/bits/linkmap.h: This.
22104         * sysdeps/i386/bits/endian.h: Removed.
22105         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22106         * sysdeps/x86/bits/endian.h: This.
22108         * sysdeps/i386/bits/byteswap.h: Removed.
22109         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22110         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22111         * sysdeps/x86/bits/byteswap.h: This.
22112         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22113         * sysdeps/x86/bits/byteswap-16.h: This.
22114         * sysdeps/i386/Implies: Add x86.
22115         * sysdeps/x86_64/Implies: Likewise.
22117 2012-05-30  David S. Miller  <davem@davemloft.net>
22119         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22120         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22121         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22122         (FP_TRAPPING_EXCEPTIONS): Define.
22123         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22124         (FP_TRAPPING_EXCEPTIONS): Define.
22125         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22126         subnormals only when inexact has been signalled or underflow
22127         exceptions are enabled.
22128         (_FP_PACK_CANONICAL): Likewise.
22130 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22132         [BZ #14183]
22133         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22134         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22136 2012-05-30  Richard Henderson  <rth@twiddle.net>
22138         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22139         with #ifndef NOT_IN_libc.
22141         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22142         marked to avoid plt entry.
22144 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22146         [BZ #14112]
22147         * Makeconfig (default-abi): New macro.
22148         (abi-includes): Likewise.
22149         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22150         $(abi-$(default-abi)-lib-soname) for soname if defined.
22151         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22152         abi-variants.
22153         * Makefile (installed-stubs): Likewise.
22154         * include/stubs-biarch.h: Removed.
22155         * scripts/lib-names.awk: Only handle one library at a time.
22156         * scripts/soversions.awk: Remove WORDSIZE support.
22157         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22158         entries.
22159         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22160         Removed.
22161         (syscall-list-default-condition): Likewise.
22162         (syscall-list-default-condition): Likewise.
22163         (syscall-list-includes): Likewise.
22164         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22165         syscall-list-* with abi-*.  Handle undefined abi-variants.
22166         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22167         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22168         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22169         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22170         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22171         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22172         Removed.
22173         (syscall-list-32-options): Likewise.
22174         (syscall-list-32-condition): Likewise.
22175         (syscall-list-64-options): Likewise.
22176         (syscall-list-64-condition): Likewise.
22177         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22178         macro.
22179         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22180         Renamed to ...
22181         (abi-*): This.
22182         (abi-64-ld-soname): New macro.
22183         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22184         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22185         Renamed to ...
22186         (abi-*): This.
22187         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22188         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22190 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22192         * sysdeps/unix/sysv/linux/kernel-features.h
22193         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22194         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22195         include <kernel-features.h>.
22196         [!__NR_ftruncate64]: Remove conditional code.
22197         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22198         [__NR_ftruncate64]: Make code unconditional.
22199         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22200         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22201         include <kernel-features.h>.
22202         [!__NR_ftruncate64]: Remove conditional code.
22203         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22204         [__NR_ftruncate64]: Make code unconditional.
22205         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22207         include <kernel-features.h>.
22208         [!__NR_ftruncate64]: Remove conditional code.
22209         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22210         [__NR_ftruncate64]: Make code unconditional.
22211         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22213         include <kernel-features.h>.
22214         [!__NR_ftruncate64]: Remove conditional code.
22215         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22216         [__NR_ftruncate64]: Make code unconditional.
22217         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22219         * configure.in (libc_cv_fpie): Weaken to a compile test using
22220         LIBC_TRY_CC_OPTION.
22221         * configure: Regenerated.
22223 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22229         Refreshed.
22230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22236         Refreshed.
22238 2012-05-27  David S. Miller  <davem@davemloft.net>
22240         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22241         (___Q_zero): New.
22242         (__Q_simulate_exceptions): Return void.  Change to simulate
22243         exceptions by writing into the %fsr.
22244         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22245         (__Qp_handle_exceptions): Likewise.
22246         (numbers): Delete.
22247         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22248         __Qp_handle_exceptions.
22249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22250         __Qp_handle_exceptions.
22251         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22252         as unused and give dummy FP_RND_NEAREST initializer.
22253         (FP_INHIBIT_RESULTS): Define.
22254         (___Q_simulate_exceptions): Update declaration.
22255         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22256         formatting.
22257         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22258         as unused and give dummy FP_RND_NEAREST initializer.
22259         (__Qp_handle_exceptions): Update declaration.
22260         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22261         formatting.
22263 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22265         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22266         the temporary FPU control word.
22267         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22268         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22269         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22270         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22271         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22272         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22273         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22274         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22275         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22276         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22277         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22279 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22281         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22282         fields.
22284 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22286         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22287         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22288         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22289         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22290         Likewise.
22291         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22292         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22293         Likewise.
22295 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22297         * po/h.po: Update from translation team.
22299 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22301         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22303         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22304         handling of denormals.
22305         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22306         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22307         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22308         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22310         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22311         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22312         Likewise.
22314 2012-05-26  Marek Polacek  <polacek@redhat.com>
22316         [BZ #14152]
22317         * math/libm-test.inc (fma_test): Don't always expect underflow
22318         exception.
22320 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22322         [BZ #12416]
22323         * elf/tst-execstack.c: Include stackinfo.h.
22324         (do_test): Adjust test case to ensure that pthread_getattr_np
22325         behaviour remains the same after marking stack executable.
22327 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22329         * sysdeps/unix/sysv/linux/kernel-features.h
22330         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22331         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22332         kernel-features.h.
22333         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22334         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22335         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22336         kernel-features.h.
22337         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22338         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22340 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22342         * configure.in: Define the default includes to being none.
22343         * configure: Regenerated.
22345 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22347         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22348         * sysdeps/x86_64/setjmp.S: Likewise.
22349         * sysdeps/i386/bsd-setjmp.S: Likewise.
22350         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22351         * sysdeps/i386/setjmp.S: Likewise.
22352         * sysdeps/i386/__longjmp.S: Likewise.
22353         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22354         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22356         * include/stap-probe.h: New file.
22357         * configure.in: Handle --enable-systemtap.
22358         * configure: Regenerated.
22359         * config.h.in (USE_STAP_PROBE): New #undef.
22360         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22361         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22362         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22364 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22366         [BZ #13717]
22367         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22368         to 2.4.0 where earlier.
22369         * sysdeps/unix/sysv/linux/configure: Regenerated.
22370         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22371         <kernel-features.h>.
22372         [__ASSUME_32BITUIDS]: Make code unconditional.
22373         [!__ASSUME_32BITUIDS]: Remove conditional code.
22374         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22375         <kernel-features.h>.
22376         [__ASSUME_32BITUIDS]: Make code unconditional.
22377         [!__ASSUME_32BITUIDS]: Remove conditional code.
22378         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22379         [__ASSUME_32BITUIDS]: Make code unconditional.
22380         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22381         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22382         <kernel-features.h>.
22383         [__ASSUME_32BITUIDS]: Make code unconditional.
22384         [!__ASSUME_32BITUIDS]: Remove conditional code.
22385         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22386         <kernel-features.h>.
22387         [__ASSUME_32BITUIDS]: Make code unconditional.
22388         [!__ASSUME_32BITUIDS]: Remove conditional code.
22389         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22390         <kernel-features.h>.
22391         [__ASSUME_32BITUIDS]: Make code unconditional.
22392         [!__ASSUME_32BITUIDS]: Remove conditional code.
22393         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22394         <kernel-features.h>.
22395         [__ASSUME_32BITUIDS]: Make code unconditional.
22396         [!__ASSUME_32BITUIDS]: Remove conditional code.
22397         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22398         <kernel-features.h>.
22399         [__ASSUME_32BITUIDS]: Make code unconditional.
22400         [!__ASSUME_32BITUIDS]: Remove conditional code.
22401         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22402         <kernel-features.h>.
22403         [__ASSUME_32BITUIDS]: Make code unconditional.
22404         [!__ASSUME_32BITUIDS]: Remove conditional code.
22405         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22406         <kernel-features.h>.
22407         [__ASSUME_32BITUIDS]: Make code unconditional.
22408         [!__ASSUME_32BITUIDS]: Remove conditional code.
22409         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22410         <kernel-features.h>.
22411         [__ASSUME_32BITUIDS]: Make code unconditional.
22412         [!__ASSUME_32BITUIDS]: Remove conditional code.
22413         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22414         <kernel-features.h>.
22415         [__ASSUME_32BITUIDS]: Make code unconditional.
22416         [!__ASSUME_32BITUIDS]: Remove conditional code.
22417         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22418         <kernel-features.h>.
22419         [__ASSUME_32BITUIDS]: Make code unconditional.
22420         [!__ASSUME_32BITUIDS]: Remove conditional code.
22421         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22422         <kernel-features.h>.
22423         [__NR_setresgid] (__setresgid): Do not declare.
22424         [__ASSUME_32BITUIDS]: Make code unconditional.
22425         [!__ASSUME_32BITUIDS]: Remove conditional code.
22426         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22427         <kernel-features.h>.
22428         [__NR_setresuid] (__setresuid): Do not declare.
22429         [__ASSUME_32BITUIDS]: Make code unconditional.
22430         [!__ASSUME_32BITUIDS]: Remove conditional code.
22431         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22432         <kernel-features.h>.
22433         [__ASSUME_32BITUIDS]: Make code unconditional.
22434         [!__ASSUME_32BITUIDS]: Remove conditional code.
22435         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22436         <kernel-features.h>.
22437         [__ASSUME_32BITUIDS]: Make code unconditional.
22438         [!__ASSUME_32BITUIDS]: Remove conditional code.
22439         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22440         <kernel-features.h>.
22441         [__ASSUME_32BITUIDS]: Make code unconditional.
22442         [!__ASSUME_32BITUIDS]: Remove conditional code.
22443         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22444         <kernel-features.h>.
22445         [__ASSUME_32BITUIDS]: Make code unconditional.
22446         [!__ASSUME_32BITUIDS]: Remove conditional code.
22447         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22448         <kernel-features.h>.
22449         [__ASSUME_32BITUIDS]: Make code unconditional.
22450         [!__ASSUME_32BITUIDS]: Remove conditional code.
22451         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22452         <kernel-features.h>.
22453         [__ASSUME_32BITUIDS]: Make code unconditional.
22454         [!__ASSUME_32BITUIDS]: Remove conditional code.
22455         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22456         <kernel-features.h>.
22457         [__ASSUME_32BITUIDS]: Make code unconditional.
22458         [!__ASSUME_32BITUIDS]: Remove conditional code.
22459         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22460         <kernel-features.h>.
22461         [__ASSUME_32BITUIDS]: Make code unconditional.
22462         [!__ASSUME_32BITUIDS]: Remove conditional code.
22463         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22464         <kernel-features.h>.
22465         [__ASSUME_32BITUIDS]: Make code unconditional.
22466         [!__ASSUME_32BITUIDS]: Remove conditional code.
22467         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22468         <kernel-features.h>.
22469         [__ASSUME_32BITUIDS]: Make code unconditional.
22470         [!__ASSUME_32BITUIDS]: Remove conditional code.
22471         * sysdeps/unix/sysv/linux/kernel-features.h
22472         (__ASSUME_SETRESUID_SYSCALL): Remove.
22473         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22474         (__ASSUME_32BITUIDS): Likewise.
22475         (__ASSUME_LDT_WORKS): Likewise.
22476         (__ASSUME_O_DIRECTORY): Likewise.
22477         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22478         architecture but not kernel version.
22479         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22480         (__ASSUME_MMAP2_SYSCALL): Likewise.
22481         (__ASSUME_STAT64_SYSCALL): Likewise.
22482         (__ASSUME_IPC64): Likewise.
22483         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22484         <kernel-features.h>.
22485         [__ASSUME_32BITUIDS]: Make code unconditional.
22486         [!__ASSUME_32BITUIDS]: Remove conditional code.
22487         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22488         <kernel-features.h>.
22489         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22490         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22491         132096]: Remove conditional code.
22492         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22493         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22494         <kernel-features.h>.
22495         [__ASSUME_32BITUIDS]: Make code unconditional.
22496         [!__ASSUME_32BITUIDS]: Remove conditional code.
22497         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22498         <kernel-features.h>.
22499         [__ASSUME_32BITUIDS]: Make code unconditional.
22500         [!__ASSUME_32BITUIDS]: Remove conditional code.
22501         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22502         <kernel-features.h>.
22503         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22504         unconditional.
22505         (__setresgid): Do not declare.
22506         [__ASSUME_32BITUIDS]: Make code unconditional.
22507         [!__ASSUME_32BITUIDS]: Remove conditional code.
22508         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22509         <kernel-features.h>.
22510         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22511         unconditional.
22512         (__setresuid): Do not declare.
22513         [__ASSUME_32BITUIDS]: Make code unconditional.
22514         [!__ASSUME_32BITUIDS]: Remove conditional code.
22515         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22516         <kernel-features.h>.
22517         [__ASSUME_32BITUIDS]: Make code unconditional.
22518         [!__ASSUME_32BITUIDS]: Remove conditional code.
22519         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22520         <kernel-features.h>.
22521         [__ASSUME_32BITUIDS]: Make code unconditional.
22522         [!__ASSUME_32BITUIDS]: Remove conditional code.
22524 2012-05-25  Richard Henderson  <rth@twiddle.net>
22526         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22527         dl_hwcap to ifunc resolver.
22528         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22529         elf_ifunc_invoke.
22530         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22531         dl_hwcap to ifunc resolver.
22532         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22534 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22536         [BZ #14153]
22537         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22538         for |x| <= 2**-26, not 2**-57.
22539         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22540         exception.
22542 2012-05-24  Jeff Law  <law@redhat.com>
22544         * stdio-common/Makefile (tests): Add bug25.
22545         * stdio-common/bug25.c: New test.
22547 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22549         [BZ #13576]
22550         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22551         multiple of MALLOC_ALIGNMENT in size.
22552         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22554 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22556         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22557         Require >= 256.
22558         (FILENAME_MAX): Use macro-int-constant.
22559         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22560         (_IOFBF): Use macro-int-constant.
22561         (_IOLBF): Likewise.
22562         (_IONBF): Likewise.
22563         (SEEK_CUR): Likewise.
22564         (SEEK_END): Likewise.
22565         (SEEK_SET): Likewise.
22566         (TMP_MAX): Likewise.
22567         (EOF): Use macro-int-constant.  Require < 0.
22568         (NULL): Use macro-constant.  Require == 0.
22569         (stdin): Require type to be FILE *.
22570         (stdout): Likewise.
22571         (stderr): Likewise.
22572         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22573         macro-int-constant.
22574         (EXIT_SUCCESS): Likewise.
22575         (NULL): Use macro-constant.  Require == 0.
22576         (RAND_MAX): Use macro-int-constant.
22577         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22578         [C99-based standards] (strtof): Require function.
22579         [C99-based standards] (strtold): Likewise.
22580         [C99-based standards] (strtoll): Likewise.
22581         [C99-based standards] (strtoull): Likewise.
22582         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22583         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22584         [ISO || ISO99 || ISO11] (math.h): Likewise.
22585         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22586         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22587         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22589 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22591         [BZ #14132]
22592         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22593         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22594         * intl/dgettext.c (DCGETTEXT): Likewise.
22595         * intl/gettext.c (DCGETTEXT): Likewise.
22596         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22597         * posix/regex_internal.h (gettext): Likewise.
22598         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22599         Remove declaration.
22600         * include/argz.h (__argz_count_internal)
22601         (__argz_stringify_internal): Remove declaration.
22602         (__argz_count, __argz_stringify): Declare hidden proto.
22603         * intl/dcgettext.c: Remove use of INTDEF.
22604         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22605         * string/argz-stringify.c: Likewise.
22606         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22607         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22608         Declare hidden proto.
22609         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22610         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22611         Declare hidden proto.
22612         * include/stdio.h (__asprintf_internal): Don't declare.
22613         (__asprintf): Don't define as macro.  Declare hidden proto.
22614         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22615         (__fsetlocking): Declare hidden proto.
22616         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22617         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22618         hidden proto.
22619         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22620         (_IO_setlinebuf): Remove use of INTUSE.
22621         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22622         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22623         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22624         Remove declaration.
22625         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22626         (_IO_do_flush): Remove use of INTUSE.
22627         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22628         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22629         (_IO_adjust_column, _IO_least_wmarker)
22630         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22631         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22632         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22633         (_IO_default_doallocate, _IO_wdefault_doallocate)
22634         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22635         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22636         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22637         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22638         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22639         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22640         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22641         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22642         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22643         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22644         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22645         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22646         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22647         proto.
22648         (_IO_flush_all_internal, _IO_adjust_column_internal)
22649         (_IO_default_uflow_internal, _IO_default_finish_internal)
22650         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22651         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22652         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22653         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22654         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22655         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22656         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22657         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22658         (_IO_file_close_internal, _IO_file_close_it_internal)
22659         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22660         (_IO_file_init_internal, _IO_file_attach_internal)
22661         (_IO_file_fopen_internal, _IO_file_read_internal)
22662         (_IO_file_sync_internal, _IO_file_seek_internal)
22663         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22664         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22665         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22666         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22667         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22668         (_IO_list_all_internal, _IO_link_in_internal)
22669         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22670         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22671         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22672         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22673         (_IO_do_write_internal, _IO_padn_internal)
22674         (_IO_getline_info_internal, _IO_getline_internal)
22675         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22676         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22677         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22678         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22679         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22680         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22681         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22682         with libc_hidden_ver, remove use of INTUSE.
22683         * libio/genops.c: Likewise.
22684         * libio/freopen.c: Likewise.
22685         * libio/freopen64.c: Likewise.
22686         * libio/iofclose.c: Likewise.
22687         * libio/iofdopen.c: Likewise.
22688         * libio/iofflush.c: Likewise.
22689         * libio/iofflush_u.c: Likewise.
22690         * libio/iofgets.c: Likewise.
22691         * libio/iofgets_u.c: Likewise.
22692         * libio/iofopen.c: Likewise.
22693         * libio/iofopncook.c: Likewise.
22694         * libio/iofread.c: Likewise.
22695         * libio/iofread_u.c: Likewise.
22696         * libio/ioftell.c: Likewise.
22697         * libio/iofwrite.c: Likewise.
22698         * libio/iogetline.c: Likewise.
22699         * libio/iogets.c: Likewise.
22700         * libio/iogetwline.c: Likewise.
22701         * libio/iopadn.c: Likewise.
22702         * libio/iopopen.c: Likewise.
22703         * libio/ioseekoff.c: Likewise.
22704         * libio/ioseekpos.c: Likewise.
22705         * libio/iosetbuffer.c: Likewise.
22706         * libio/iosetvbuf.c: Likewise.
22707         * libio/ioungetc.c: Likewise.
22708         * libio/ioungetwc.c: Likewise.
22709         * libio/iovdprintf.c: Likewise.
22710         * libio/iovsprintf.c: Likewise.
22711         * libio/iovsscanf.c: Likewise.
22712         * libio/memstream.c: Likewise.
22713         * libio/obprintf.c: Likewise.
22714         * libio/oldfileops.c: Likewise.
22715         * libio/oldiofclose.c: Likewise.
22716         * libio/oldiofdopen.c: Likewise.
22717         * libio/oldiofopen.c: Likewise.
22718         * libio/oldiopopen.c: Likewise.
22719         * libio/oldstdfiles.c: Likewise.
22720         * libio/putc.c: Likewise.
22721         * libio/setbuf.c: Likewise.
22722         * libio/setlinebuf.c: Likewise.
22723         * libio/stdfiles.c: Likewise.
22724         * libio/strops.c: Likewise.
22725         * libio/vasprintf.c: Likewise.
22726         * libio/vscanf.c: Likewise.
22727         * libio/vsnprintf.c: Likewise.
22728         * libio/vswprintf.c: Likewise.
22729         * libio/wfiledoalloc.c: Likewise.
22730         * libio/wfileops.c: Likewise.
22731         * libio/wgenops.c: Likewise.
22732         * libio/wmemstream.c: Likewise.
22733         * libio/wstrops.c: Likewise.
22734         * libio/__fpurge.c: Likewise.
22735         * libio/__fsetlocking.c: Likewise.
22736         * assert/assert.c: Likewise.
22737         * debug/fgets_chk.c: Likewise.
22738         * debug/fgets_u_chk.c: Likewise.
22739         * debug/fread_chk.c: Likewise.
22740         * debug/fread_u_chk.c: Likewise.
22741         * debug/gets_chk.c: Likewise.
22742         * debug/obprintf_chk.c: Likewise.
22743         * debug/vasprintf_chk.c: Likewise.
22744         * debug/vdprintf_chk.c: Likewise.
22745         * debug/vsnprintf_chk.c: Likewise.
22746         * debug/vsprintf_chk.c: Likewise.
22747         * malloc/mtrace.c: Likewise.
22748         * misc/error.c: Likewise.
22749         * misc/syslog.c: Likewise.
22750         * stdio-common/asprintf.c: Likewise.
22751         * stdio-common/fxprintf.c: Likewise.
22752         * stdio-common/getw.c: Likewise.
22753         * stdio-common/isoc99_fscanf.c: Likewise.
22754         * stdio-common/isoc99_scanf.c: Likewise.
22755         * stdio-common/isoc99_vfscanf.c: Likewise.
22756         * stdio-common/isoc99_vscanf.c: Likewise.
22757         * stdio-common/isoc99_vsscanf.c: Likewise.
22758         * stdio-common/printf-prs.c: Likewise.
22759         * stdio-common/printf_fp.c: Likewise.
22760         * stdio-common/printf_fphex.c: Likewise.
22761         * stdio-common/printf_size.c: Likewise.
22762         * stdio-common/putw.c: Likewise.
22763         * stdio-common/scanf.c: Likewise.
22764         * stdio-common/sprintf.c: Likewise.
22765         * stdio-common/tmpfile.c: Likewise.
22766         * stdio-common/vfprintf.c: Likewise.
22767         * stdio-common/vfscanf.c: Likewise.
22768         * stdlib/strfmon_l.c: Likewise.
22769         * sunrpc/openchild.c: Likewise.
22770         * sunrpc/xdr_stdio.c: Likewise.
22771         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22772         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22774 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22776         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22778         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22779         in the third column, to generate for the shared library an IFUNC
22780         that uses _dl_vdso_vsym.
22781         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22782         * Makeconfig (object-suffixes-noshared): New variable.
22784         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22785         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22786         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22787         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22789         [BZ #14132]
22790         * include/sys/time.h (__gettimeofday): Remove macro.
22791         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22792         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22793         Remove INTDEF.
22794         (__gettimeofday): Add libc_hidden_def.
22795         (gettimeofday): Add libc_hidden_weak.
22796         * sysdeps/mach/gettimeofday.c: Likewise.
22797         * sysdeps/posix/gettimeofday.c: Likewise.
22798         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22799         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22800         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22801         (__gettimeofday_internal): Remove strong_alias.
22802         (__gettimeofday): Add libc_hidden_def.
22803         (gettimeofday): Add libc_hidden_weak.
22804         * sysdeps/unix/syscalls.list (gettimeofday):
22805         Remove __gettimeofday_internal alias.
22807 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22808             H.J. Lu  <hongjiu.lu@intel.com>
22810         [BZ #12495]
22811         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22812         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22813         (largebin_index_32_big): New.
22814         (largebin_index): Use it for 16-byte alignment.
22815         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22816         correction with front_misalign.
22818 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22822         Likewise.
22823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22824         Likewise.
22825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22826         Likewise.
22827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22828         Likewise.
22829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22830         Likewise.
22831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22832         Likewise.
22833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22834         Likewise.
22835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22836         Likewise.
22837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22838         Likewise.
22839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22840         Likewise.
22841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22842         Likewise.
22843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22844         Likewise.
22846         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22847         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22849 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22851         [BZ #10846]
22852         [BZ #14036]
22853         * math/libm-test.inc (exp_test): Add test from bug 14036.
22854         (pow_test): Add test from bug 10846.
22856         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22857         and other flags.
22858         (special_function): Do not include flags in test name.
22859         (parse_args): Likewise.
22860         * sysdeps/i386/fpu/libm-test-ulps: Update.
22861         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22862         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22863         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22866         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22867         exceptions.
22868         * math/libm-test.inc ("Philosophy"): Update comment about
22869         exception testing.
22870         (UNDERFLOW_EXCEPTION): New macro.
22871         (UNDERFLOW_EXCEPTION_OK): Likewise.
22872         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22873         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22874         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22875         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22876         (INVALID_EXCEPTION_OK): Update value.
22877         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22878         (OVERFLOW_EXCEPTION_OK): Likewise.
22879         (IGNORE_ZERO_INF_SIGN): Likewise.
22880         (test_exceptions): Handle underflow exceptions.
22881         (acos_test): Update for underflow exception expectations.
22882         (cexp_test): Likewise.
22883         (clog_test): Likewise.
22884         (clog10_test): Likewise.
22885         (csqrt_test): Likewise.
22886         (ctan_test): Likewise.
22887         (ctanh_test): Likewise.
22888         (exp_test): Likewise.
22889         (exp10_test): Likewise.
22890         (exp2_test): Likewise.
22891         (expm1_test): Likewise.
22892         (fma_test): Likewise.
22893         (j0_test): Likewise.
22894         (jn_test): Likewise.
22895         (nexttoward_test): Likewise.
22896         (pow_test): Likewise.
22897         (scalbn_test): Likewise.
22898         (scalbln_test): Likewise.
22899         (tan_test): Likewise.
22900         (y1_test): Likewise.
22901         * sysdeps/i386/fpu/libm-test-ulps: Update.
22902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22904 2012-05-23  David S. Miller  <davem@davemloft.net>
22906         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22907         (__libc_sigaction): Remove unused local variables.
22909 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22911         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22913 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22915         mktime: avoid signed integer overflow
22916         * time/mktime.c (__mktime_internal): Do not mishandle the case
22917         where diff == INT_MIN.
22919         mktime: simplify computation of average
22920         * time/mktime.c (ranged_convert): Use new time_t_avg function
22921         instead of rolling our own (probably-slower) code.
22923         mktime: do not assume signed right shift propagates sign bit
22924         * time/mktime.c (isdst_differ): New static function.
22925         (__mktime_internal): No need to normalize tm_isdst now.
22926         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22927         tm_isdst values.
22929         mktime: merge another wrapv change from gnulib
22930         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22931         from some compilers.
22933         mktime: remove incorrect attempt at unusual arithmetics
22934         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22935         The code didn't really work on such machines anyway.
22936         (TYPE_MINIMUM): Assume two's complement.
22937         (twos_complement_arithmetic): Verify that long_int and time_t
22938         are two's complement (or unsigned, in the latter case).
22940         mktime: check signed shifts on long_int and time_t, too
22941         * time/mktime.c (SHR): Check that shifts work as desired
22942         on the types long_int and time_t too, as SHR is used on
22943         such types.
22945         mktime: do not assume 'long' is wide enough
22946         * time/mktime.c (verify): Move decl up.
22947         (long_int): New type.
22948         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22949         to remove assumption in the code that 'long' is wide enough to
22950         store year values.  This assumption is not true on x32 and on
22951         some non-glibc platforms.
22953         mktime: merge wrapv change from gnulib
22954         * time/mktime.c (WRAPV): New macro.
22955         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22956         (guess_time_tm, __mktime_internal): Do not assume that signed
22957         integer overflow wraps around; modern compilers generate code
22958         where this assumption is no longer valid.
22960 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22962         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22963         Replace "jmp L(pseudo_end)" with "ret".
22964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22965         Likewise.
22967 2012-05-23  Andreas Jaeger  <aj@suse.de>
22969         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22970         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22972 2012-05-23  Andreas Jaeger  <aj@suse.de>
22973             Maximilian Attems  <max@stro.at>
22975         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22976         New macros.
22978 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22980         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22981         code so that pseudo_end is just ret and the stack pointer is
22982         correct also for static library in error case.
22984 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22986         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22987         move to syscalls.list.
22988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22993         * manual/install.texi (Running make install): Do not mention Linux
22994         kernel version for which pt_chown is not needed.
22995         (Linux): Do not mention problems with nscd with 2.0 kernels.
22996         * INSTALL: Regenerated.
22998 2012-05-23  Andreas Jaeger  <aj@suse.de>
23000         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23001         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23002         macro.
23003         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23004         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23005         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23006         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23007         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23008         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23009         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23010         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23011         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23012         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23013         * sysdeps/unix/sysv/linux/bits/in.h
23014         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23016 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23018         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23019         (PREPARE_VERSION): Just use assert instead, it will be elided
23020         under [NDEBUG] anyway.
23022 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23024         * sysdeps/unix/sysv/linux/Makefile: Include
23025         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23026         (sysdep_routines): Remove sysctl.
23027         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23028         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23029         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23030         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23031         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23033 2012-05-22  Andreas Jaeger  <aj@suse.de>
23035         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23036         that pseudo_end is just ret and the stack pointer is correct also
23037         for static library in error case.
23039 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23041         [BZ #14122]
23042         * nss/nsswitch.c (defconfig_entries): New variable.
23043         (__nss_database_lookup): Don't leak defconfig entries.
23044         (nss_parse_service_list): Don't leak on error paths.
23045         (free_database_entries): New function.
23046         (free_defconfig): New function.
23047         (free_mem): Move common code to free_database_entries.
23049 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23051         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23052         Add arch_prctl.
23053         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23055         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23056         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23058         New macro.
23059         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23060         (INTERNAL_SYSCALL_TYPES): Likewise.
23061         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23062         (LOAD_REGS_TYPES_[1-6]): Likewise.
23063         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23064         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23066 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23068         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23069         copysignl for GLIBC_2_0.
23070         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23071         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23072         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23073         logbl for GLIBC_2_0.
23074         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23075         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23077 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23079         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23080         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23082         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23083         Use "neg %eax".
23085         * time/mktime.c: Update copyright years.
23087 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23089         mktime: merge comment-quoting-style change from gnulib
23090         * time/mktime.c: Quote 'like this' in comments.
23091         The GNU coding standards suggest that we no longer quote `like this',
23092         as "`" and "'" are typically rendered asymmetrically nowadays.
23093         The typical gnulib style is to quote 'like this' when quoting
23094         code, and "like this" when quoting English.
23096         * time/mktime.c (compile-command): Add "-I.".
23098         mktime: merge mktime-internal.h change from gnulib
23099         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23101         mktime: merge time_r change from gnulib
23102         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23104         mktime: merge DEBUG change from gnulib
23105         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23106         case system <time.h> has a #define.
23108         mktime: merge <sys/types.h> change from gnulib
23109         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23110         since <time.t> is now guaranteed to define time_t.
23112         mktime: merge HAVE_CONFIG_H change from gnulib
23113         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23115 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23118         Use "neg %eax".
23120         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23121         __rlim_t cast.
23122         (struct rusage): Use anonymous union to pad each field to
23123         __syscall_slong_t.
23125 2012-05-21  David S. Miller  <davem@davemloft.net>
23127         * Makefules (o-iterator): Remove .s cases.
23128         (compile-command.s): Delete.
23129         (COMPILE.s): Delete.
23130         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23132 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23134         * configure.in (libc_cv_predef_stack_protector): Only consider
23135         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23136         * configure: Regenerated.
23138 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23141         New macro.  Use R*LP on int and pointer.
23142         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23143         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23144         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23145         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23147         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23148         [__WORDSIZE_TIME64_COMPAT32] instead of
23149         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23150         (struct utmp): Likewise.
23151         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23152         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23153         Renamed to ...
23154         (__WORDSIZE_TIME64_COMPAT32): This.
23155         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23156         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23157         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23158         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23159         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23160         (__WORDSIZE_TIME64_COMPAT32): New macro.
23162 2012-05-21  Andreas Jaeger  <aj@suse.de>
23164         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23165         only if [SHARED]. Add prototype for __wcschr_ia32.
23167 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23169         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23170         of %rbp unmolested in the jmp_buf while mangling the low bits.
23171         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23172         unmolested high bits of %rbp while demangling the low bits.
23173         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23175 2012-05-21  Andreas Jaeger  <aj@suse.de>
23177         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23178         * sunrpc/svc_simple.c: Use it for registerrpc.
23179         * sunrpc/xcrypt.c: Use it for passwd2des.
23181         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23183 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23185         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23186         Don't define if [__SYSCALL_WORDSIZE != 32].
23187         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23188         New macro.
23190 2012-05-21  Bruno Haible  <bruno@clisp.org>
23191             Andreas Jaeger  <aj@suse.de>
23193         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23194         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23195         inptr and inend for must_buffer_ch.
23196         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23197         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23198         * stdio-common/Makefile (tests): Remove bug15.
23199         (bug15-ENV): Remove macro.
23200         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23201         anymore.
23203 2012-05-19  Andreas Jaeger  <aj@suse.de>
23204             Roland McGrath  <roland@hack.frob.com>
23206         * manual/contrib.texi: Completely rewritten. It contains now an
23207         alphabetical list of contributors and their contributions.
23209 2012-05-21  Richard Henderson  <rth@twiddle.net>
23211         * misc/getauxval.c (__getauxval): Use unsigned long int.
23212         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23213         (getauxval): Use unsigned long int.
23215 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23217         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23219 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23221         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23222         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23223         __alignof__ (long double).
23225 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23229 2012-05-20  Richard Henderson  <rth@twiddle.net>
23231         * misc/getauxval.c: New file.
23232         * misc/sys/auxv.h: New file.
23233         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23234         (routines): Add getauxval.
23235         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23236         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23237         * elf/dl-sysdep.c (_dl_auxv): Remove.
23238         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23239         * elf/dl-support.c (_dl_auxv): New variable.
23240         (_dl_aux_init): Initialize it.
23241         * manual/startup.texi (Auxiliary Vector): New node.
23242         * sysdeps/generic/bits/hwcap.h: New file.
23243         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23244         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23245         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23246         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23247         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23250         Update.
23251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23254         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23260 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23264 2012-05-19  David S. Miller  <davem@davemloft.net>
23266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23268 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23270         [BZ #14123]
23271         * math/s_ccosh.c: Include <float.h>
23272         (__ccosh): Avoid internal overflow calculating sinh and cosh
23273         values before multiplying by sin and cos values.
23274         * math/s_ccoshf.c: Likewise.
23275         * math/s_ccoshl.c: Likewise.
23276         * math/s_csin.c: Likewise.
23277         * math/s_csinf.c: Likewise.
23278         * math/s_csinl.c: Likewise.
23279         * math/s_csinh.c: Likewise.
23280         * math/s_csinhf.c: Likewise.
23281         * math/s_csinhl.c: Likewise.
23282         * math/libm-test.inc (ccos_test): Add more tests.
23283         (ccosh_test): Likewise.
23284         (csin_test): Likewise.
23285         (csinh_test): Likewise.
23286         * sysdeps/i386/fpu/libm-test-ulps: Update.
23287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23289 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23291         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23292         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23294         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23296 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23298         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23299         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23300         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23301         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23302         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23303         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23304         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23305         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23306         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23307         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23308         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23309         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23310         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23311         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23312         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23313         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23314         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23315         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23316         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23317         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23318         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23319         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23320         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23321         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23322         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23323         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23324         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23325         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23326         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23327         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23328         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23330 2012-05-18  Andreas Jaeger  <aj@suse.de>
23332         * csu/.gitignore: Delete.
23334 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23336         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23337         (timex): Use __syscall_slong_t.
23339 2012-05-18  Andreas Jaeger  <aj@suse.de>
23340             Carlos O'Donell  <carlos_odonell@mentor.com>
23342         * manual/install.texi (Configuring and compiling): Update
23343         description about files modified in the source directory.
23344         * INSTALL: Regenerated.
23346 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23348         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23349         value.  Use "or" to set return value to -1.
23350         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23351         negate return value.
23353 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23355         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23356         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23357         failure if the compiler has Graphite support disabled.
23358         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23359         Likewise.
23360         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23361         CFLAGS-memmove.c): Likewise.
23362         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23363         Likewise.
23365 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23367         * sysdeps/x86_64/x32/_itoa.h: New file.
23369         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23370         getdents system call only if kernel and user dirents have the
23371         same d_ino and d_off.
23373         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23374         LLONG_MAX != LONG_MAX.
23375         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23376         (_fitoa_word): Likewise.
23378         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23379         years.
23380         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23381         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23382         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23384         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23385         include <bits/wordsize.h>.  Check __x86_64__ instead of
23386         __WORDSIZE.
23387         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23388         if __x86_64__ is defined.  Use anonymous union on fpstate.
23390         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23391         anonymous union.
23393 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
23395         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23396         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23397         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23398         Refer to _rtld_local_ro instead of _rtld_global_ro.
23399         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23400         Likewise.
23401         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23402         Likewise.
23403         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23404         Likewise.
23405         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23406         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23407         of _rtld_global, and rtld_progname instead of _dl_argv[0].
23409         * sysdeps/powerpc/powerpc32/dl-machine.c
23410         (__elf_machine_runtime_setup) [PROF]: Don't reference
23411         _dl_prof_resolve.
23413 2012-05-18  Andreas Jaeger  <aj@suse.de>
23415         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23416         function only available for GCCs before 3.4 since GCC 3.4
23417         introduced a builtin.
23418         (lrint): Likewise.
23419         (llrintf): Likewise.
23420         (llrint): Likewise.
23421         (fmaxf): Likewise.
23422         (fmax): Likewise.
23423         (fminf): Likewise.
23424         (fmin): Likewise.
23425         (rint): Likewise.
23426         (rintf): Likewise.
23427         (nearbyint): Likewise.
23428         (nearbyintf): Likewise.
23429         (ceil): Likewise.
23430         (ceilf): Likewise.
23431         (floor): Likewise.
23432         (floorf): Likewise.
23434 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23436         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23437         on both fields and cast pointer to __syscall_ulong_t.
23439         * bits/types.h (__fsword_t): New type.
23440         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23441         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23442         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23443         (__FSWORD_T_TYPE): Likewise.
23444         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23445         (__FSWORD_T_TYPE): Likewise.
23446         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23447         (__FSWORD_T_TYPE): Likewise.
23448         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23449         (__FSWORD_T_TYPE): Likewise.
23450         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23451         __SWORD_TYPE with __fsword_t.
23452         (statfs64): Likewise.
23454 2012-05-17  David S. Miller  <davem@davemloft.net>
23456         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23458 2012-05-17  Andreas Jaeger  <aj@suse.de>
23460         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23461         warning.
23463 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23465         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23467 2012-05-17  Andreas Jaeger  <aj@suse.de>
23469         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23470         when it is used.
23472 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23474         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23476 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23478         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23479         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23481 2012-05-17  Andreas Jaeger  <aj@suse.de>
23482             Carlos O'Donell  <carlos_odonell@mentor.com>
23484         [BZ #14059]
23485         * sysdeps/x86_64/multiarch/init-arch.h
23486         (bit_YMM_Usable): Rename to...
23487         (bit_AVX_Usable): ... this.
23488         (bit_FMA4_Usable): New macro.
23489         (bit_XMM_state): New macro.
23490         (bit_YMM_state): New macro.
23491         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23492         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23493         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23494         (CPUID_OSXSAVE): New macro.
23495         (CPUID_AVX): New macro.
23496         (CPUID_FMA4): New macro.
23497         (index_YMM_Usable): Rename to...
23498         (index_AVX_Usable): ... this.
23499         (HAS_AVX): Use HAS_ARCH_FEATURE.
23500         (HAS_FMA4): Likewise.
23501         (HAS_YMM_USABLE): Remove.
23502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23503         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23504         are present.
23505         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23506         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23507         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23508         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23509         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23511 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23513         * math/libm-test.c: Support platforms without multiple rounding modes.
23514         * math/bug-nextafter.c: Support platforms without FP exceptions.
23515         * math/bug-nexttoward.c: Likewise.
23516         * math/test-fenv.c: Likewise.
23517         * math/test-misc.c: Likewise.
23518         * stdlib/bug-getcontext.c: Likewise.
23520 2012-05-17  Andreas Jaeger  <aj@suse.de>
23522         * manual/examples/search.c (critter_cmp): Change signature to
23523         avoid warnings.
23524         * manual/string.texi (Collation Functions): Likewise.
23526 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23528         * bits/types.h: Fold copyright years.
23529         * bits/typesizes.h: Likewise.
23530         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23531         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23534         * time/time.h: Likewise.
23536 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23538         [BZ #208]
23539         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23540         in instead of returning them.  Return void.
23541         (__libc_mallinfo): Accumulate over all arenas.
23542         (__malloc_stats): Adjust for change in int_mallinfo interface.
23544 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23546         [BZ #10375]
23547         * configure.in (NM): Add AC_CHECK_TOOL for it.
23548         (libc_extra_cflags): New substituted variable.
23549         Check for -fstack-protector being used implicitly.
23550         * configure: Regenerated.
23551         * config.make.in (config-extra-cflags): New variable,
23552         gets @libc_extra_cflags@.
23553         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23555         [BZ #10375]
23556         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23557         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23558         * configure: Regenerated.
23559         * config.make.in (CPPUNDEFS): New substituted variable.
23560         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23561         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23562         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23566         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23567         (mq_attr): Use __syscall_slong_t.
23569 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23571         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23572         Check __x86_64__ instead of __WORDSIZE.
23573         (_STAT_VER_LINUX): Likewise.
23574         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23575         __syscall_ulong_t and __syscall_slong_t.
23576         (stat64): Likewise.
23578 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23580         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23582 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23584         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23586 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23588         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23589         __syscall_ulong_t.
23591         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23592         include <bits/wordsize.h>.  Check __x86_64__ instead of
23593         __WORDSIZE.
23594         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23595         defined.
23596         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23598         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23599         include <bits/wordsize.h>.  Check __x86_64__ instead of
23600         __WORDSIZE.
23601         (user_regs_struct): Use "__extension__ unsigned long long"
23602         instead of "unsigned long" if __x86_64__ is defined.
23603         (user): Likewise.  Pad after pointer field if __ILP32__ is
23604         defined.
23606 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23608         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23609         versions 5 to 9.
23610         * configure: Regenerated.
23611         * manual/install.texi (texinfo): Increase version requirement to
23612         4.5 or later.
23613         * INSTALL: Regenerated.
23615         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23617 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23619         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23621         * sysdeps/x86_64/x32/ffs.c: New file.
23623         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23624         __syscall_ulong_t.
23625         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23626         defined.  Use __syscall_ulong_t.
23627         (shminfo): Use __syscall_ulong_t.
23628         (shm_info): Likewise.
23630         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23631         __syscall_ulong_t.
23633         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23634         <bits/wordsize.h>.
23635         (msgqnum_t): Use __syscall_ulong_t.
23636         (msglen_t): Likewise.
23637         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23638         __syscall_ulong_t.
23640         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23641         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23643         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23645         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23646         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23648         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23649         __syscall_slong_t.
23651         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23652         include <bits/wordsize.h>.  Check __x86_64__ instead of
23653         __WORDSIZE.
23655         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23656         "unsigned long long int" if __x86_64__ is defined.
23657         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23659         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23660         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23661         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23663         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23664         <stdint.h>.
23665         (GET_PC): Cast to uintptr_t first.
23666         (GET_FRAME): Likewise.
23667         (GET_STACK): Likewise.
23669         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23670         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23671         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23672         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23673         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23674         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23675         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23676         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23677         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23678         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23679         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23680         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23681         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23682         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23683         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23684         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23685         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23686         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23687         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23688         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23689         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23690         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23691         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23692         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23693         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23694         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23695         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23696         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23697         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23699 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23701         * Makerules (+depfiles): Also collect depfiles from .oS in
23702         $(extra-objs).
23703         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23704         .oS, $(libnldbl-routines)).
23706         * Makerules (native-compile-mkdep-flags): Define.
23707         * sunrpc/Makefile (extra-objs): Add $(addprefix
23708         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23709         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23710         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23711         calling $(make-target-directory).
23713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23715         * bits/types.h (__snseconds_t): Removed.
23716         * time/time.h (struct timespec): Replace __snseconds_t with
23717         __syscall_slong_t.
23718         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23719         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23720         Likewise.
23721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23722         (__SNSECONDS_T_TYPE): Likewise.
23723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23724         (__SNSECONDS_T_TYPE): Likewise.
23725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23726         (__SNSECONDS_T_TYPE): Likewise.
23728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23730         * sysdeps/mach/hurd/bits/typesizes.h
23731         (__SYSCALL_SLONG_TYPE): New macro.
23732         (__SYSCALL_ULONG_TYPE): Likewise.
23734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23736         * bits/types.h (__syscall_slong_t): New type.
23737         (__syscall_ulong_t): Likewise.
23739         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23740         (__SYSCALL_ULONG_TYPE): Likewise.
23741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23742         (__SYSCALL_SLONG_TYPE): Likewise.
23743         (__SYSCALL_ULONG_TYPE): Likewise.
23744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23745         (__SYSCALL_SLONG_TYPE): Likewise.
23746         (__SYSCALL_ULONG_TYPE): Likewise.
23747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23748         (__SYSCALL_SLONG_TYPE): Likewise.
23749         (__SYSCALL_ULONG_TYPE): Likewise.
23751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23753         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23754         Add sigaltstack-offsets.sym.
23755         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23756         <sigaltstack-offsets.h>.
23757         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23758         longjmp_msg pointer.
23759         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23760         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23761         signal stack.
23762         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23764 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23766         * elf/stackguard-macros.h: Remove file.
23767         * sysdeps/generic/stackguard-macros.h: New file.
23768         * sysdeps/i386/stackguard-macros.h: Likewise.
23769         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23770         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23771         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23772         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23773         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23774         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23775         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23776         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23777         <elf/stackguard-macros.h>.
23779         [BZ #14109]
23780         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23781         __aligned__ in attribute.
23782         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23783         (gregset_t): Likewise.
23785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23787         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23788         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23789         * sysdeps/x86_64/x32/Implies-after: New file.
23791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23793         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23794         and access return value for _dl_profile_fixup.  Use R10_LP to
23795         load frame size.
23797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23799         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23803         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23804         * sysdeps/x86_64/x32/sysdep.h: New file.
23806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23808         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23809         * sysdeps/x86_64/setjmp.S: Likewise.
23811 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23813         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23814         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23815         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23816         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23817         remove unused global constant.
23819 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23821         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23822         include of <not-cancel.h>.
23824 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23826         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23828 2012-05-15  Jeff Law  <law@redhat.com>
23829             Andreas Jaeger  <aj@suse.de>
23831         [BZ #13594]
23832         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23833         out from...
23834         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23835         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23836         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23837         code changing __hst_map_handle.map.
23839 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23841         * configure.in (sysnames): Look for Implies-before and Implies-after
23842         files.
23843         * configure: Regenerated.
23845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23847         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23848         8-byte data alignment with LP_SIZE alignment.
23850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23852         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23853         into R10_LP.
23855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23857         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23861         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23862         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23863         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23864         Likewise.
23865         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23869         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23870         (stackinfo_sub_sp): Likewise.
23872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23875         RAX_LP.
23877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23879         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23880         into R*_LP.
23882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23884         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23885         sizes into R*_LP.
23887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23889         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23893         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23894         into R11_LP and load __x86_64_shared_cache_size_half into
23895         R8_LP.
23897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23899         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23900         R8_LP.
23902 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23904         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23905         logb for POWER7.
23906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23907         logbf for POWER7.
23908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23909         logbl for POWER7.
23910         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23911         powerpc32/power7/fpu/s_logb.c via #include.
23912         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23913         powerpc32/power7/fpu/s_logbf.c via #include.
23914         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23915         powerpc32/power7/fpu/s_logbl.c via #include.
23917 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23919         * README.libm: Remove file.
23921 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23923         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23924         count for x32.  Use R*_LP and omit operand-size suffix.
23926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23928         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23929         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23930         * sysdeps/x86_64/x32/shlib-versions: New file.
23932 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23934         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23935         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23936         Use _dl_fatal_printf instead.
23938 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23940         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23941         set if not set by the user.  Do not allow for being unset.
23942         * sysdeps/unix/sysv/linux/configure: Regenerated.
23944 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23946         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23947         the `q' suffix from lea and replace .quad with ASM_ADDR.
23949 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23952         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23953         instead of $17.
23954         (PTR_DEMANGLE): Likewise.
23956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23958         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23959         (LP_OP): Likewise.
23960         (ASM_ADDR): Likewise.
23961         (RAX_LP): Likewise.
23962         (RBP_LP): Likewise.
23963         (RBX_LP): Likewise.
23964         (RCX_LP): Likewise.
23965         (RDI_LP): Likewise.
23966         (RSI_LP): Likewise.
23967         (RSP_LP): Likewise.
23968         (R8_LP): Likewise.
23969         (R9_LP): Likewise.
23970         (R10_LP): Likewise.
23971         (R10_LP): Likewise.
23972         (R11_LP): Likewise.
23973         (R12_LP): Likewise.
23974         (R13_LP): Likewise.
23975         (R14_LP): Likewise.
23976         (R15_LP): Likewise.
23978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23980         * sysdeps/x86_64/x32/dl-machine.h: New file.
23982 2012-05-14  Andreas Jaeger  <aj@suse.de>
23984         * manual/Makefile (subdir): Remove export of subdir.
23985         (all): Remove target.
23986         (.PHONY): Remove all from list.
23987         (mkinstalldirs): Remove.
23988         (.PHONY): Remove installdirs from list.
23989         ($(inst_infodir)/libc.info): Use make-target-directory.
23990         (installdirs): Remove.
23991         (subdir_%): Remove.
23992         (glibc-targets): Remove.
23993         (lib): Remove.
23994         (stubs): Remove.
23995         ($(objpfx)stubs ../po/manual.pot): Remove.
23996         ($(objpfx)stamp%): Remove.
23997         (make-target-directory): Remove.
23998         (subdir_install): Remove.
23999         (routines): Remove.
24000         (aux): Remove.
24001         (sources): Remove.
24002         (objects): Remove.
24003         (headers): Remove.
24005         [BZ #13750]
24006         * manual/.gitignore: Remove, it's not needed anymore.
24007         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24008         all files in it.
24009         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24010         directory.
24011         (texis): Renamed to $(objpfx)texis.
24012         (texis-path): New, contains path to generated files.
24013         (chapters.%): Use texis-path for complete path, add extra argument
24014         libc-texinfo.sh.
24015         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24016         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24017         (summary,texi, stamp-summary): Use complete path of
24018         files. Generate files in build dir.
24019         (dir-add.texi): Build in build dir.
24020         (libm-err.texi,stamp-libm-err): Likewise.
24021         (version.texi, stamp-version): Likewise.
24022         (.%c.texi): Likewise.
24023         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24024         (mostlyclean): Remove target.
24025         (realclean): Remove target.
24026         (generated): Add new variable with contents from mostlyclean and
24027         realclean, remove entries duplicated in common-mostlyclean, add
24028         stamp-libm-err and stamp-version.
24029         (generated-dirs): Add libc directory.
24030         ($(inst_infodir)/libc.info): Install files from build dir.
24032         * manual/install.texi (Configuring and compiling): Adjust since
24033         the info files are not part of the tar ball anymore.
24035 2012-05-14  Andreas Jaeger  <aj@suse.de>
24037         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24038         variable.
24040 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24042         [BZ #13717]
24043         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24044         to 2.2.0 where earlier.
24045         * sysdeps/unix/sysv/linux/configure: Regenerated.
24046         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24047         Remove conditional code.
24048         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24049         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24050         Remove conditional code.
24051         [!__NR_lchown]: Likewise.
24052         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24053         [__NR_lchown]: Likewise.
24054         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24055         comment referencing __ASSUME_LCHOWN_SYSCALL.
24056         * sysdeps/unix/sysv/linux/i386/sigaction.c
24057         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24058         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24059         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24060         Remove conditional code.
24061         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24062         (__protocol_available): Remove #if 0 code.
24063         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24064         conditional code.
24065         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24066         * sysdeps/unix/sysv/linux/kernel-features.h
24067         (__ASSUME_GETCWD_SYSCALL): Don't define.
24068         (__ASSUME_REALTIME_SIGNALS): Likewise.
24069         (__ASSUME_PREAD_SYSCALL): Likewise.
24070         (__ASSUME_PWRITE_SYSCALL): Likewise.
24071         (__ASSUME_POLL_SYSCALL): Likewise.
24072         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24073         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24074         non-SPARC.
24075         (__ASSUME_SIOCGIFNAME): Don't define.
24076         (__ASSUME_MSG_NOSIGNAL): Likewise.
24077         (__ASSUME_SENDFILE): Define unconditionally.
24078         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24079         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24080         conditional code.
24081         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24082         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24083         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24084         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24085         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24086         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24087         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24089         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24090         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24092         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24093         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24095         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24096         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24098         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24099         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24101         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24102         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24104         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24105         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24107         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24110         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24111         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24112         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24113         Remove conditional code.
24114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24115         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24116         Remove conditional code.
24117         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24118         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24119         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24120         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24121         Remove conditional code.
24122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24123         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24124         Remove conditional code.
24125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24126         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24127         Remove conditional code.
24128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24129         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24130         Remove conditional code.
24131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24132         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24133         Remove conditional code.
24134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24135         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24136         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24138         * sysdeps/unix/sysv/linux/sigaction.c
24139         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24140         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24141         * sysdeps/unix/sysv/linux/sigpending.c
24142         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24143         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24144         * sysdeps/unix/sysv/linux/sigprocmask.c
24145         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24146         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24147         * sysdeps/unix/sysv/linux/sigsuspend.c
24148         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24149         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24150         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24151         (__libc_missing_rt_sigs): Remove.
24152         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24153         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24154         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24155         Remove conditional code.
24156         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24157         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24158         return 1.
24159         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24160         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24161         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24162         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24164 2012-05-14  Andreas Jaeger  <aj@suse.de>
24166         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24167         it's not used in glibc.
24168         (__coshm1): Likewise.
24169         (__acosh1p): Likewise.
24170         (__sgn): Likewise.
24172         * manual/string.texi (Copying and Concatenation): Add missing
24173         variable in concat example.
24174         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24176 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24178         [BZ #14103]
24179         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24180         __builtin_clzl with __builtin_clzll.
24182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24184         [BZ #14104]
24185         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24186         libc_freeres_ptr.
24188 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24190         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24191         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24192         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24193         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24195 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24197         * NEWS: Update ia64 info.
24199 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24201         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24202         used as bcopy.
24204 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24206         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24207         * sysdeps/unix/syscalls.list (dup3): Likewise.
24208         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24209         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24211 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24213         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24214         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24216 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24218         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24219         thread pointer.
24220         (TLS_IE): Use mov/add instead of movq/addq to load thread
24221         pointer.
24222         (TLS_GD_PREFIX): New.
24223         (TLS_GD): Use it.
24225 2012-05-11  David S. Miller  <davem@davemloft.net>
24227         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24228         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24229         (_FPU_SETCW): Likewise.
24231 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24233         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24234         is 32-byte aligned.
24236 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24238         [BZ #11837]
24239         * iconvdata/gb18030.c: Update tables.
24240         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24241         characters specially.
24242         (BODY for TO_LOOP): Add encoding of missing ranges.
24244 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24246         [BZ #13673]
24247         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24248         * sysdeps/mach/hurd/dup3.c: Likewise.
24249         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24250         * sysdeps/powerpc/memmove.c:: Likewise.
24252 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24255         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24257 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24259         * elf/elf.h (R_X86_64_RELATIVE64): New.
24260         (R_X86_64_NUM): Updated.
24261         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24262         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24263         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24264         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24265         tst-quad1pie tst-quad2pie
24266         (modules-names): Add tst-quadmod1 tst-quadmod2.
24267         ($(objpfx)tst-quad1): New dependency.
24268         ($(objpfx)tst-quad2): Likewise.
24269         ($(objpfx)tst-quad1pie): Likewise.
24270         ($(objpfx)tst-quad2pie): Likewise.
24271         * sysdeps/x86_64/tst-quad1.c: New file.
24272         * sysdeps/x86_64/tst-quad1pie.c: New file.
24273         * sysdeps/x86_64/tst-quad2.c: Likewise.
24274         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24275         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24276         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24277         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24278         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24282         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24283         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24284         * streams/stropts.h (t_scalar_t): Define type.
24286         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24287         (_PATH_PRESERVE): Set to "/var/lib".
24288         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24290         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24291         instead of int.
24293         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24294         if __dir_mkfile succeeded.
24296         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24297         checking for _hurd_dtablesize.  Unlock it right after having
24298         finished _hurd_dtable allocation.
24300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24302         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24303         * sysdeps/mach/hurd/configure: Regenerated.
24304         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24305         special-casing to...
24306         * sysdeps/gnu/configure.in: ... this new file.
24307         * sysdeps/unix/sysv/linux/configure: Regenerated.
24308         * sysdeps/gnu/configure: New generated file.
24310         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24311         for Linux: use nsec instead of usec, as well as:
24312         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24313         members of type struct timespec.
24314         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24315         New macros.
24316         (struct stat64): Likewise.
24317         (_STATBUF_ST_NSEC): New macro.
24318         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24320         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24321         __strtoul_internal rather than strtoul.
24323 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24325         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24326         and reject them.
24328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24330         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24331         which preserves existing values.
24332         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24334 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24336         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24337         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24338         greater than FD_SETSIZE.
24340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24342         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24343         allocated, call __vm_protect to finish enabling the existing space, and
24344         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24345         allocate the remainder.
24347 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24349         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24350         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24354         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24355         sysdeps/mach/hurd/readlink.c.
24357         * posix/tst-sysconf.c (posix_options): Only use
24358         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24359         _POSIX_SYNCHRONIZED_IO when they are defined
24360         * sysdeps/mach/hurd/bits/posix_opt.h:
24361         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24362         (_XOPEN_REALTIME): Undefine macro.
24363         (_XOPEN_REALTIME_THREADS): Undefine macro.
24364         (_XOPEN_SHM): Undefine macro.
24365         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24366         macro to -1.
24367         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24368         macro to -1.
24369         (_POSIX_ASYNC_IO): Undefine macro.
24370         (_POSIX_PRIORITIZED_IO): Undefine macro.
24371         (_POSIX_SPIN_LOCKS): Define macro to -1.
24373         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24374         SA_NODEFER, SA_RESETHAND.
24375         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24376         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24377         F_DUPFD_CLOEXEC.
24379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24381         * elf/Makefile (pldd-modules): Define unconditionally.
24383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24385         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24389         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24390         Return ENOENT when name is empty.
24391         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24395         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24397         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24401         Fix mlock in all cases except non-readable pages.
24402         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24403         instead of VM_PROT_ALL as parameter to __vm_wire function.
24405         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24406         (__mkdir): When path is `/', just fail with EEXIST.
24407         * sysdeps/mach/hurd/mkdirat.c: Likewise.
24409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24411         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24412         <sys/uio.h> (for writev).
24413         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24414         and <sys/param.h> (for MIN).
24416 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24418         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24419         REQUESTED_TIME.  Properly set the remaining time and return EINTR
24420         if interrupted.
24422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24424         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24425         Depend on against $(link-rpcuserlibs).
24427 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24429         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24430         (__libc_stack_end): Do not use attribute_relro.
24431         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24432         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24433         to libthread-provided value.
24434         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24435         attribute_relro.
24437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24439         [BZ #3748]
24440         * bits/libc-lock.h (__libc_once_get): New macro.
24441         * sysdeps/mach/bits/libc-lock.h: Likewise.
24442         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24443         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24444         instead of using implementation details.
24446         * libio/fileops.c: Unconditionally include <kernel-features.h>.
24447         * libio/freopen.c: Likewise.
24448         * libio/freopen64.c: Likewise.
24449         * misc/syslog.c: Likewise.
24450         * nscd/connections.c: Likewise.
24451         * nscd/netgroupcache.c: Likewise.
24452         * sysdeps/posix/getcwd.c: Likewise.
24454 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24456         * math/w_ilogbf.c: Add #include <limits.h>.
24458 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24460         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24461         path instead of returning without unlocking.
24463         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24464         immediate-write ioctls.
24465         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24469         * sysdeps/mach/hurd/i386/init-first.c (init): Use
24470         __builtin_frame_address instead of making assumptions about the
24471         location of the return address relative to DATA.  Force early load of
24472         the return address.
24473         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24474         __builtin_frame_address.
24476         dup3 for GNU Hurd.
24477         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24478         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24479         implement dup3 and do some further code clean-ups.
24480         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24481         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24483 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24485         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24487         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24488         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24489         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24490         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24491         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24492         d->port.lock.
24494         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24495         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24496         when handler == SIG_ERR, not when handler != SIG_ERR.
24498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24500         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24501         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24502         definitions.
24504         accept4 for GNU Hurd.
24505         * include/sys/socket.h (__libc_accept4): New prototype.
24506         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24507         to implement __libc_accept4.
24508         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24509         __libc_accept4.
24510         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24512         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24513         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24514         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24515         signal-defines.sym.
24517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24519         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24523         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24524         assertion on O_CLOEXEC flag.
24525         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24526         * hurd/intern-fd.c: Likewise.
24527         * hurd/port2fd.c: Likewise.
24529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24531         [BZ #3906]
24532         * bits/in.h (IPV6_PKTINFO): Define new macro.
24533         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24535 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24537         [BZ #13954]
24538         [BZ #13955]
24539         [BZ #13956]
24540         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24541         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24542         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24543         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24545         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24546         * math/libm-test.inc (logb_test) : Additional logb tests.
24548 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24549             Andreas Jaeger  <aj@suse.de>
24551         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24552         * configure: Regenerated.
24553         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24554         * config.make.in (link-obsolete-rpc): New substituted variable.
24555         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24556         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24557         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24558         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24559         so that libc.a contains the symbols.
24560         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24561         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24562         * sunrpc/auth_none.c: Likewise.
24563         * sunrpc/auth_unix.c: Likewise.
24564         * sunrpc/authdes_prot.c: Likewise.
24565         * sunrpc/authuxprot.c: Likewise.
24566         * sunrpc/clnt_gen.c: Likewise.
24567         * sunrpc/clnt_perr.c: Likewise.
24568         * sunrpc/clnt_raw.c: Likewise.
24569         * sunrpc/clnt_simp.c: Likewise.
24570         * sunrpc/clnt_tcp.c: Likewise.
24571         * sunrpc/clnt_udp.c: Likewise.
24572         * sunrpc/clnt_unix.c: Likewise.
24573         * sunrpc/des_crypt.c: Likewise.
24574         * sunrpc/des_soft.c: Likewise.
24575         * sunrpc/get_myaddr.c: Likewise.
24576         * sunrpc/key_call.c: Likewise.
24577         * sunrpc/key_prot.c: Likewise.
24578         * sunrpc/netname.c: Likewise.
24579         * sunrpc/pm_getmaps.c: Likewise.
24580         * sunrpc/pm_getport.c: Likewise.
24581         * sunrpc/pmap_clnt.c: Likewise.
24582         * sunrpc/pmap_prot.c: Likewise.
24583         * sunrpc/pmap_prot2.c: Likewise.
24584         * sunrpc/pmap_rmt.c: Likewise.
24585         * sunrpc/publickey.c: Likewise.
24586         * sunrpc/rpc_cmsg.c: Likewise.
24587         * sunrpc/rpc_common.c: Likewise.
24588         * sunrpc/rpc_dtable.c: Likewise.
24589         * sunrpc/rpc_prot.c: Likewise.
24590         * sunrpc/rpc_thread.c: Likewise.
24591         * sunrpc/rtime.c: Likewise.
24592         * sunrpc/svc.c: Likewise.
24593         * sunrpc/svc_auth.c: Likewise.
24594         * sunrpc/svc_raw.c: Likewise.
24595         * sunrpc/svc_run.c: Likewise.
24596         * sunrpc/svc_tcp.c: Likewise.
24597         * sunrpc/svc_udp.c: Likewise.
24598         * sunrpc/svc_unix.c: Likewise.
24599         * sunrpc/svcauth_des.c: Likewise.
24600         * sunrpc/xcrypt.c: Likewise.
24601         * sunrpc/xdr.c: Likewise.
24602         * sunrpc/xdr_array.c: Likewise.
24603         * sunrpc/xdr_float.c: Likewise.
24604         * sunrpc/xdr_intXX_t.c: Likewise.
24605         * sunrpc/xdr_mem.c: Likewise.
24606         * sunrpc/xdr_rec.c: Likewise.
24607         * sunrpc/xdr_ref.c: Likewise.
24608         * sunrpc/xdr_sizeof.c: Likewise.
24609         * sunrpc/xdr_stdio.c: Likewise.
24611 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24614         change.  Update copyright years.
24616 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24618         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24620 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24621             Joseph Myers  <joseph@codesourcery.com>
24622             Paul Pluzhnikov  <ppluzhnikov@google.com>
24624         [BZ #14012]
24625         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24626         requiring rpcgen.
24627         [cross-compiling] (extra-libs): Likewise.
24628         [cross-compiling] (extra-libs-others): Likewise.
24629         [cross-compiling] (librpcsvc-routines): Likewise.
24630         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24631         [cross-compiling] (omit-deps): Likewise.
24632         (sunrpc-CPPFLAGS): New variable.
24633         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24634         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24635         (cross-rpcgen-objs): New variable.
24636         (extra-objs): Append $(cross-rpcgen-objs).
24637         ($(cross-rpcgen-objs)): New rule.
24638         ($(objpfx)cross-rpcgen): Likewise.
24639         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24640         comment.
24641         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24642         ($(objpfx)x%.stmp): Likewise.
24643         * sunrpc/proto.h [IS_IN_build] (_): Define.
24644         [IS_IN_build] (_libc_intl_domainname): Likewise.
24646 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24648         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24649         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24650         and R_X86_64_TPOFF64.
24652 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24654         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24655         sysdeps/unix/sysv/syscalls.list.
24656         (stime): Likewise.
24657         (utime): Likewise.
24658         * sysdeps/unix/sysv/syscalls.list: Remove file.
24660 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24662         [BZ #3440]
24663         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24664         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24665         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24666         (__LC_IDENTIFICATION): Make these macros useful in #if
24667         expressions, as required by C99.
24669 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24671         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24672         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24673         after this.
24675 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24677         * stdlib/longlong.h: Updated from GCC.
24679 2012-05-09  Andreas Jaeger  <aj@suse.de>
24681         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24682         default is first entry.
24683         (run_mode): Set type.
24684         (main): Remove informal message about syslog.
24685         (options): Fix typo.
24687         [BZ #14053]
24688         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24689         to asm.
24690         (lrint): Likewise.
24691         (llrintf): Likewise.
24692         (llrint): Likewise.
24693         (rint): Likewise.
24694         (rintf): Likewise.
24695         (nearbyint): Likewise.
24696         (nearbyintf): Likewise.
24698 2012-05-09  Andreas Jaeger  <aj@suse.de>
24699             Pedro Alves  <palves@redhat.com>
24701         * nscd/nscd.c (run_mode): Use enum.
24702         (main): Cleanup coding style issue.
24704 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24705             Andreas Jaeger  <aj@suse.de>
24707         * nscd/nscd.c (go_background): Replaced with...
24708         (run_mode): ... this.
24709         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24710         (options): Add -F --foreground.
24711         (main): Implement it.
24712         (parse_opt): Parse it.
24714 2012-05-09  Andreas Jaeger  <aj@suse.de>
24716         [BZ #14083]
24717         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24718         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24719         -Wconversion warning.
24720         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24721         Likewise.
24723 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24725         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24726         == 0.
24727         (LC_ALL): Use macro-int-constant.
24728         (LC_COLLATE): Likewise.
24729         (LC_CTYPE): Likewise.
24730         (LC_MESSAGES): Likewise.
24731         (LC_MONETARY): Likewise.
24732         (LC_NUMERIC): Likewise.
24733         (LC_TIME): Likewise.
24734         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24735         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24737         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24738         Specify type.
24739         [C99-based standards] (float_t): Expect type.
24740         [C99-based standards] (double_t): Expect type.
24741         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24742         type.
24743         [C99-based standards] (HUGE_VALL): Likewise.
24744         [C99-based standards] (INFINITY): Likewise.
24745         [C99-based standards] (NAN): Likewise.
24746         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24747         [C99-based standards] (FP_NAN): Likewise.
24748         [C99-based standards] (FP_NORMAL): Likewise.
24749         [C99-based standards] (FP_SUBNORMAL): Likewise.
24750         [C99-based standards] (FP_ZERO): Likewise.
24751         [C99-based standards] (FP_FAST_FMA): Use
24752         optional-macro-int-constant.  Specify type.  Require == 1.
24753         [C99-based standards] (FP_FAST_FMAF): Likewise.
24754         [C99-based standards] (FP_FAST_FMAL): Likewise.
24755         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24756         [C99-based standards] (FP_ILOGBNAN): Likewise.
24757         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24758         Specify type.
24759         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24760         [C99-based standards] (math_errhandling): Specify type.
24761         [ISO99 || ISO11] (signgam): Do not allow.
24762         [non-C99-based standards] (copysignf): Do not allow.
24763         [non-C99-based standards] (exp2f): Likewise.
24764         [non-C99-based standards] (log2f): Likewise.
24765         [non-C99-based standards] (modff): Allow.
24766         [non-C99-based standards] (erff): Do not allow.
24767         [non-C99-based standards] (erfcf): Likewise.
24768         [non-C99-based standards] (gammaf): Likewise.
24769         [non-C99-based standards] (hypotf): Likewise.
24770         [non-C99-based standards] (j0f): Likewise.
24771         [non-C99-based standards] (j1f): Likewise.
24772         [non-C99-based standards] (jnf): Likewise.
24773         [non-C99-based standards] (lgammaf): Likewise.
24774         [non-C99-based standards] (tgammaf): Likewise.
24775         [non-C99-based standards] (y0f): Likewise.
24776         [non-C99-based standards] (y1f): Likewise.
24777         [non-C99-based standards] (ynf): Likewise.
24778         [non-C99-based standards] (isnanf): Likewise.
24779         [non-C99-based standards] (acoshf): Likewise.
24780         [non-C99-based standards] (asinhf): Likewise.
24781         [non-C99-based standards] (atanhf): Likewise.
24782         [non-C99-based standards] (cbrtf): Likewise.
24783         [non-C99-based standards] (expm1f): Likewise.
24784         [non-C99-based standards] (ilogbf): Likewise.
24785         [non-C99-based standards] (log1pf): Likewise.
24786         [non-C99-based standards] (logbf): Likewise.
24787         [non-C99-based standards] (nextafterf): Likewise.
24788         [non-C99-based standards] (remainderf): Likewise.
24789         [non-C99-based standards] (rintf): Likewise.
24790         [non-C99-based standards] (scalbf): Likewise.
24791         [non-C99-based standards] (copysignl): Likewise.
24792         [non-C99-based standards] (exp2l): Likewise.
24793         [non-C99-based standards] (log2l): Likewise.
24794         [non-C99-based standards] (modfl): Allow.
24795         [non-C99-based standards] (erfl): Do not allow.
24796         [non-C99-based standards] (erfcl): Likewise.
24797         [non-C99-based standards] (gammal): Likewise.
24798         [non-C99-based standards] (hypotl): Likewise.
24799         [non-C99-based standards] (j0l): Likewise.
24800         [non-C99-based standards] (j1l): Likewise.
24801         [non-C99-based standards] (jnl): Likewise.
24802         [non-C99-based standards] (lgammal): Likewise.
24803         [non-C99-based standards] (tgammal): Likewise.
24804         [non-C99-based standards] (y0l): Likewise.
24805         [non-C99-based standards] (y1l): Likewise.
24806         [non-C99-based standards] (ynl): Likewise.
24807         [non-C99-based standards] (isnanl): Likewise.
24808         [non-C99-based standards] (acoshl): Likewise.
24809         [non-C99-based standards] (asinhl): Likewise.
24810         [non-C99-based standards] (atanhl): Likewise.
24811         [non-C99-based standards] (cbrtl): Likewise.
24812         [non-C99-based standards] (expm1l): Likewise.
24813         [non-C99-based standards] (ilogbl): Likewise.
24814         [non-C99-based standards] (log1pl): Likewise.
24815         [non-C99-based standards] (logbl): Likewise.
24816         [non-C99-based standards] (nextafterl): Likewise.
24817         [non-C99-based standards] (remainderl): Likewise.
24818         [non-C99-based standards] (rintl): Likewise.
24819         [non-C99-based standards] (scalbl): Likewise.
24820         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24821         [non-C99-based standards] (FP_*): Do not allow.
24822         [C99-based standards] (FP_*): Change to
24823         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24824         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24825         allow.
24826         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24827         (SIG_ERR): Likewise.
24828         [X/Open-based standards] (SIG_HOLD): Likewise.
24829         (SIG_IGN): Likewise.
24830         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24831         positive value.
24832         (SIGFPE): Likewise.
24833         (SIGILL): Likewise.
24834         (SIGINT): Likewise.
24835         (SIGSEGV): Likewise.
24836         (SIGTER): Likewise.
24837         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24838         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24839         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24840         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24841         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24842         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24843         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24844         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24845         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24846         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24847         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24848         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24849         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24850         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24851         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24852         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24853         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24854         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24855         [X/Open-based standards] (SIGTRAP): Likewise.
24856         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24857         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24858         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24859         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24860         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24861         allow.
24863 2012-05-08  Ian Wienand  <ianw@vmware.com>
24865         [BZ #14080]
24866         * time/tzset.c (__tzset_parse_tz): Update default rules for
24867         daylight time changes in the Energy Policy Act of 2005.
24869 2012-05-09  Andreas Jaeger  <aj@suse.de>
24871         [BZ #13983]
24872         * elf/ldconfig.c (parse_conf): Change string to make clear that
24873         ldconfig only issued a warning if ld.so.conf does not exist.
24875 2012-05-08  David S. Miller  <davem@davemloft.net>
24877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24878         movxtod instead of popping the value on the stack.
24880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24882 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24884         * config.h.in: Add HAVE_ARM_PCS_VFP.
24886 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24888         [BZ #13979]
24889         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24890         checking but the checks are disabled for any reason.
24892 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24894         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24895         and ELF64_R_TYPE with ELFW(R_TYPE).
24897 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24899         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24900         (ulimit): Likewise.
24902         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24903         (settimeofday): Likewise.
24905 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24907         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24908         a struct th_u2 inside the union, and move tu_block/tu_code into
24909         a new th_u3 union of tu_block/tu_code inside of that.  Move
24910         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24911         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24912         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24913         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24914         (th_stuff): Change to th_u1.tu_stuff.
24915         (th_data): Define.
24916         (th_msg): Change to th_u1.th_u2.tu_data.
24918 2012-05-07  David S. Miller  <davem@davemloft.net>
24920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24922         [BZ #14074]
24923         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24924         (SETUP_PIC_REG): Use it.
24925         (SETUP_PIC_REG_LEAF): Use it.
24927 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24929         [BZ #13885]
24930         [BZ #13923]
24931         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24932         USE_AS_EXPM1L.
24933         (EXPL_FINITE): Likewise.
24934         (FLDLOG): Likewise.
24935         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24936         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24937         e_expl.S.
24938         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24939         USE_AS_EXPM1L.
24940         (EXPL_FINITE): Likewise.
24941         (FLDLOG): Likewise.
24942         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24943         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24944         e_expl.S.
24945         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24946         test of -max_value argument for long double.
24947         * sysdeps/i386/fpu/libm-test-ulps: Update.
24948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24950 2012-05-06  David S. Miller  <davem@davemloft.net>
24952         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24953         quad soft-float symbols whose references which are compiler
24954         generated.
24955         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24957 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24959         [BZ #13884]
24960         [BZ #13914]
24961         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24962         USE_AS_EXP10L.
24963         (EXPL_FINITE): Likewise.
24964         (FLDLOG): Likewise.
24965         (c0): Likewise.
24966         (c1): Likewise.
24967         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24968         Adjust comments for base varying.
24969         (__expl_finite): Change alias to EXPL_FINITE.
24970         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24971         e_expl.S.
24972         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24973         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24974         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24975         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24976         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24977         USE_AS_EXP10L.
24978         (EXPL_FINITE): Likewise.
24979         (FLDLOG): Likewise.
24980         (c0): Likewise.
24981         (c1): Likewise.
24982         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24983         Adjust comments for base varying.
24984         (__expl_finite): Change alias to EXPL_FINITE.
24985         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24986         tests for bugs.
24987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24989         [BZ #14064]
24990         * math/libm-test.inc (check_float_internal): Correct ulp
24991         calculation for subnormal expected results.
24993 2012-05-06  Andreas Jaeger  <aj@suse.de>
24995         * Makeconfig (+math-flags): New, set to -frounding-math.
24996         (+cflags): Add +math-flags so that all of glibc gets compiled with
24997         it.
24999         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25001 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25003         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25004         Disable one test.
25006         [BZ #13787]
25007         [BZ #13922]
25008         [BZ #14036]
25009         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25010         (__ieee754_expl): Allow for and saturate large arguments.
25011         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25012         (u_threshold): Likewise.
25013         (__exp): Call __ieee754_exp before checking for overflow and
25014         underflow.
25015         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25016         (u_threshold): Likewise.
25017         (__expf): Call __ieee754_expf before checking for overflow and
25018         underflow.
25019         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25020         (u_threshold): Likewise.
25021         (__expl): Call __ieee754_expl before checking for overflow and
25022         underflow.
25023         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25024         (__ieee754_expl): Allow for and saturate large arguments.
25025         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25026         missing overflow exception on overflow.
25027         (expm1_test): Do not allow missing overflow exception on overflow.
25029         * sysdeps/i386/fpu/e_expl.c: Move to ...
25030         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25031         rather than using inline asm.
25032         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25033         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25034         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25036         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25037         (nice): Likewise.
25038         (poll): Likewise.
25039         (signal): Likewise.
25040         (time): Likewise.
25041         (times): Likewise.
25043 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25045         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25046         sysdeps/unix/common/syscalls.list.
25047         (fchmod): Likewise.
25048         (fchown): Likewise.
25049         (ftruncate): Likewise.
25050         (getrusage): Likewise.
25051         (gettimeofday): Likewise.
25052         (setpgid): Likewise.
25053         (setregid): Likewise.
25054         (setreuid): Likewise.
25055         (sigaction): Likewise.
25056         (truncate): Likewise.
25057         (vhangup): Likewise.
25058         * sysdeps/unix/common/syscalls.list: Remove file.
25059         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25060         * sysdeps/unix/sysv/linux/Implies: Likewise.
25062 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25064         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25066         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25067         Moved to ...
25068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25069         Here.
25070         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25071         to ...
25072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25073         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25074         to ...
25075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25076         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25077         to ...
25078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25079         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25080         to ...
25081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25082         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25083         to ...
25084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25085         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25086         to ...
25087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25088         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25089         to ...
25090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25091         Here.
25092         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25093         to ...
25094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25095         Here.
25096         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25097         to ...
25098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25099         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25100         Moved to ...
25101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25102         Here.
25103         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25104         to ...
25105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25107 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25109         * sysdeps/unix/common/bits/dirent.h: Remove file.
25110         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25112         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25113         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25114         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25115         * sysdeps/unix/bsd/isatty.c: Likewise.
25116         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25117         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25118         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25120 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25122         [BZ #13563]
25123         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25124         long double comparison inaccuracies.
25125         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25128 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25130         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25131         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25133 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25135         [BZ #14049]
25136         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25137         nonzero digits before rounding a hex value.
25138         * stdlib/tst-strtod.c (tests): Add another test.
25140 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25142         * sysdeps/s390/fpu/libm-test-ulps: Update.
25144 2012-05-03  Andreas Jaeger  <aj@suse.de>
25146         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25147         does not get optimized out.
25148         (malloc_opt_barrier): New.
25150 2012-05-03  Andreas Jaeger  <aj@suse.de>
25151             Roland McGrath  <roland@hack.frob.com>
25153         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25154         intermediate file deletion.
25155         (generated): Add .symlist files.
25157 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25159         [BZ #13775]
25160         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25161         Redirect under this condition.
25162         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25163         [__USE_GNU] (__dprintf_chk): Not under this condition.
25164         [__USE_GNU] (__vdprintf_chk): Likewise.
25165         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25166         under this condition.
25167         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25168         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25169         [__USE_XOPEN2K8] (vdprintf): Likewise.
25170         [__USE_GNU] (__dprintf_chk): Not under this condition.
25171         [__USE_GNU] (__vdprintf_chk): Likewise.
25172         [__USE_GNU] (dprintf): Likewise.
25173         [__USE_GNU] (vdprintf): Likewise.
25175 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25177         * elf/Makefile (common-generated): Set this instead of generated for
25178         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25179         $(all-built-dso)-derived lists.
25181 2012-05-03  Andreas Jaeger  <aj@suse.de>
25183         * sysdeps/i386/fpu/libm-test-ulps: Update.
25185         * FAQ: Removed.
25186         * FAQ.in: Likewise.
25187         * scripts/gen-FAQ.pl: Likewise.
25188         * manual/install.texi (Installation): Point to online location of
25189         FAQ.
25190         * Makefile (files-for-dist): Remove FAQ.
25191         (FAQ): Remove.
25193 2012-05-02  Allan McRae  <allan@archlinux.org>
25195         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25196         (LDFLAGS-reldepmod5.so): Likewise.
25197         (LDFLAGS-reldep6mod1.so): Likewise.
25198         (LDFLAGS-reldep6mod4.so): Likewise.
25199         (LDFLAGS-reldep8mod3.so): Likewise.
25200         (LDFLAGS-unload4mod1.so): Likewise.
25201         (LDFLAGS-unload4mod2.so): Likewise.
25202         (LDFLAGS-tst-initorder): Likewise.
25203         (LDFLAGS-tst-initordera2.so): Likewise.
25204         (LDFLAGS-tst-initordera3.so): Likewise.
25205         (LDFLAGS-tst-initordera4.so): Likewise.
25206         (LDFLAGS-tst-initorderb2.so): Likewise.
25207         (LDFLAGS-noload): Likewise.
25208         (LDFLAGS-next): Likewise.
25209         (LDFLAGS-order2mod1.so): Likewise.
25210         (LDFLAGS-order2mod2.so): Likewise.
25211         (LDFLAGS-tst-initorder2): Likewise.
25212         (LDFLAGS-tst-initorder2a.so): Likewise.
25213         (LDFLAGS-tst-initorder2b.so): Likewise.
25214         (LDFLAGS-tst-initorder2c.so): Likewise.
25215         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25217 2012-05-02  David S. Miller  <davem@davemloft.net>
25219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25221 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25223         [BZ #14055]
25224         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25226 2012-05-02  Andreas Jaeger  <aj@suse.de>
25228         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25229         since we manipulate rounding mode.
25230         (CPPFLAGS-test-idouble.c): Likewise.
25231         (CPPFLAGS-test-ifloat.c): Likewise.
25232         (CFLAGS-test-ldouble.c): Likewise.
25233         (CFLAGS-test-double.c): Likewise.
25234         (CFLAGS-test-float.c): Likewise.
25235         (CFLAGS-test-misc.c): Likewise.
25236         (CFLAGS-test-test-fenv.c): Likewise.
25238 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25240         [BZ #2550]
25241         [BZ #2570]
25242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25243         comparisons to determine direction to adjust input.
25245 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25247         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25248         output to the target.
25250         * scripts/localplt.awk: New file.
25251         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25252         (check-localplt-CFLAGS): Variable removed.
25253         ($(all-built-dso:=.jmprel)): New static pattern rule.
25254         (generated): Add those targets.
25255         (localplt-built-dso): New variable.
25256         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25258         * elf/check-localplt.c: File removed.
25260         * scripts/check-execstack.awk: New file.
25261         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25262         (check-execstack-CFLAGS): Variable removed.
25263         ($(objpfx)check-execstack.h): Target removed.
25264         ($(objpfx)execstack-default): New target.
25265         (generated): Add that instead of check-execstack.h.
25266         ($(all-built-dso:=.phdr)): New static pattern rule.
25267         (generated): Add those targets.
25268         * elf/check-execstack.c: File removed.
25270         * scripts/check-textrel.awk: New file.
25271         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25272         (check-textrel-CFLAGS): Variable removed.
25273         (all-built-dso): Use := to define.o
25274         ($(all-built-dso:=.dyn)): New static pattern rule.
25275         (generated): Add those targets.
25276         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25277         * config.make.in (READELF): New substituted variable.
25278         * elf/check-textrel.c: File removed.
25280 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25282         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25283         allow.
25284         * conform/data/ctype.h-data [C99-based standards] (isblank):
25285         Expect function.
25286         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25287         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25288         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25289         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25290         Specify type.  Require positive value.
25291         (EILSEQ): Likewise.
25292         (ERANGE): Likewise.
25293         [ISO || POSIX] (EILSEQ): Do not expect.
25294         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25295         Specify type.  Require positive value.
25296         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25297         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25298         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25299         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25301         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25303         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25305         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25308         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25314         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25317         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25319         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25321         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25326         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25327         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25328         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25329         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25330         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25331         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25332         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25334         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25335         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25336         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25337         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25338         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25339         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25340         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25341         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25342         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25343         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25344         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25345         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25346         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25347         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25348         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25349         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25350         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25351         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25352         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25353         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25354         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25355         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25357         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25358         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25359         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25360         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25361         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25362         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25363         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25364         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25365         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25366         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25367         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25368         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25369         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25370         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25371         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25372         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25373         Require >= 2.
25374         (FLT_ROUNDS): Expect as macro, not constant.
25375         (FLT_MANT_DIG): Use macro-int-constant.
25376         (DBL_MANT_DIG): Likewise.
25377         (LDBL_MANT_DIG): Likewise.
25378         (FLT_DIG): Likewise.
25379         (DBL_DIG): Likewise.
25380         (LDBL_DIG): Likewise.
25381         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
25382         (DBL_MIN_EXP): Likewise.
25383         (LDBL_MIN_EXP): Likewise.
25384         (FLT_MAX_EXP): Use macro-int-constant.
25385         (DBL_MAX_EXP): Likewise.
25386         (LDBL_MAX_EXP): Likewise.
25387         (FLT_MAX_10_EXP): Likewise.
25388         (DBL_MAX_10_EXP): Likewise.
25389         (LDBL_MAX_10_EXP): Likewise.
25390         (FLT_MAX): Use macro-constant.
25391         (DBL_MAX): Likewise.
25392         (LDBL_MAX): Likewise.
25393         (FLT_EPSILON): Use macro-constant.  Give upper bound.
25394         (DBL_EPSILON): Likewise.
25395         (LDBL_EPSILON): Likewise.
25396         (FLT_MIN): Likewise.
25397         (DBL_MIN): Likewise.
25398         (LDBL_MIN): Likewise.
25399         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25400         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25401         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25402         [ISO11] (FLT_HAS_SUBNORM): Likewise.
25403         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25404         [ISO11] (DBL_DECIMAL_DIG): Likewise.
25405         [ISO11] (FLT_DECIMAL_DIG): Likewise.
25406         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25407         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25408         [ISO11] (FLT_TRUE_MIN): Likewise.
25409         [ISO11] (LDBL_TRUE_MIN): Likewise.
25410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25411         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25412         (SCHAR_MIN): Use macro-int-constant.  Specify type.
25413         (SCHAR_MAX): Likewise.
25414         (UCHAR_MAX): Likewise.
25415         (CHAR_MIN): Likewise.
25416         (CHAR_MAX): Likewise.
25417         (MB_LEN_MAX): Use macro-int-constant.
25418         (SHRT_MIN): Use macro-int-constant.  Specify type.
25419         (SHRT_MAX): Likewise.
25420         (USHRT_MAX): Likewise.
25421         (INT_MAX): Likewise.
25422         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
25423         bound negative.
25424         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25425         bound with "U".
25426         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25427         bound with "L".
25428         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
25429         bound negative.  Suffix upper bound with "L".
25430         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
25431         bound with "UL".
25432         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25433         Specify type.
25434         [C99-based standards] (LLONG_MAX): Likewise.
25435         [C99-based standards] (ULLONG_MAX): Likewise.
25436         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
25437         == 0.
25438         [ISO11] (max_align_t): Require type.
25439         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25441         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25442         from $CFLAGS, without defining away __attribute__ calls.
25443         (checknamespace): Use $CFLAGS_namespace.
25445         * conform/conformtest.pl (@keywords): Only include C99 keywords
25446         for standards based on C99 or C11.
25448         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25449         Disable tests.
25450         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25451         UNIX98]: Likewise.
25453         * conform/conformtest.pl: Handle "macro-int-constant" and test for
25454         usability of symbols in #if.
25456         * conform/conformtest.pl: If macro or constant types start
25457         "promoted:", expect the symbol to be of the following type
25458         promoted by the integer promotions.
25460         * conform/conformtest.pl: Parse all "constant" and "macro" lines
25461         in one place.  Also handle "macro-constant".
25463         * conform/conformtest.pl: Only accept expected macro values with
25464         "==".  Parse all "macro" lines in one place.
25465         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25467         * conform/conformtest.pl: Handle braced types on "constant" lines
25468         instead of handling "typed-constant".
25469         * conform/data/signal.h-data: Use "constant" instead of
25470         "typed-constant".
25472         * conform/conformtest.pl: Handle "optional-" at start of lines in
25473         one place rather than duplicating several cases.  Handle each
25474         format of "macro" line with initial "optional-".
25476         * conform/conformtest.pl: Only accept expected constant or
25477         optional-constant values with "==".  Parse all "constant" lines in
25478         one place.  Parse all "optional-constant" lines in one place.
25479         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25480         * conform/data/fmtmsg.h-data: Likewise.
25481         * conform/data/netinet/in.h-data: Likewise.
25482         * conform/data/tar.h-data: Likewise.
25483         * conform/data/limits.h-data: Use "==" form on "constant" and
25484         "optional-constant" lines.
25486         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25487         Use -std=c99 for XOPEN2K.
25488         (@knownproblems): Remove.
25489         (newtoken): Don't check %isknown.
25491         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25492         Do not expect macro.
25493         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25494         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25495         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25496         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25497         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25498         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25499         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25500         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25501         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25502         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25503         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25504         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25505         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25506         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25507         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25508         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25509         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25510         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25511         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25512         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25513         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25514         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25515         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25516         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25517         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25518         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25519         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25520         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25521         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25522         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25523         [XPG3] (acosh): Likewise.
25524         [XPG3] (asinh): Likewise.
25525         [XPG3] (atanh): Likewise.
25526         [XPG3] (cbrt): Likewise.
25527         [XPG3] (expm1): Likewise.
25528         [XPG3] (ilogb): Likewise.
25529         [XPG3] (log1p): Likewise.
25530         [XPG3] (logb): Likewise.
25531         [XPG3] (nextafter): Likewise.
25532         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25533         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25534         [XPG3] (remainder): Likewise.
25535         [XPG3] (rint): Likewise.
25536         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25537         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25538         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25539         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25540         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25541         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25542         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25543         [UNIX98 || XOPEN2K] (scalb): Expect.
25544         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25545         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25546         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25547         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25548         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25549         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25550         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25551         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25552         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25553         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25554         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25555         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25556         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25557         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25558         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25559         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25560         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25561         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25562         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25563         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25564         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25565         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25566         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25567         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25568         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25569         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25570         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25571         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25572         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25573         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25574         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25575         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25576         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25577         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25578         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25579         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25580         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25581         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25582         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25583         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25584         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25585         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25586         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25587         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25588         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25589         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25590         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25591         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25592         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25593         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25594         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25595         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25596         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25597         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25598         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25599         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25600         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25601         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25602         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25603         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25604         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25605         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25606         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25607         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25608         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25609         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25610         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25611         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25612         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25613         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25614         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25615         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25616         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25617         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25618         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25619         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25620         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25621         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25622         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25623         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25624         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25625         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25626         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25627         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25628         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25629         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25630         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25631         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25632         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25633         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25634         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25635         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25636         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25637         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25638         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25639         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25640         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25641         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25642         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25643         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25644         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25645         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25646         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25647         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25648         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25649         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25650         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25651         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25652         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25653         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25654         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25655         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25656         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25657         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25658         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25659         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25660         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25661         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25662         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25663         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25664         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25665         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25666         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25667         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25668         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25669         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25670         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25671         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25672         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25673         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25674         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25675         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25676         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25677         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25678         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25679         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25680         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25682         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25683         _XOPEN_SOURCE_EXTENDED for XPG4.
25685         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25687         * Makeconfig (localtime): Remove variable.
25688         (inst_localtime-file): Likewise.
25690 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25693         Update.
25694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25695         Update.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25697         Update.
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25699         Update.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25701         Update.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25703         Update.
25704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25705         Update.
25706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25707         Update.
25708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25709         Update.
25711 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25713         [BZ #2550]
25714         [BZ #2570]
25715         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25716         comparisons to determine direction to adjust input.
25717         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25718         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25719         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25720         Likewise.
25721         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25722         Likewise.
25723         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25724         Likewise.
25725         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25726         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25727         Likewise.
25728         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25729         Likewise.
25730         * math/libm-test.inc (nexttoward_test): Add more tests.
25732 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25734         [BZ #14040]
25735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25736         in version GLIBC_2.1, not GLIBC_2.0.
25737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25738         Likewise.
25740 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #13942]
25743         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25744         (1 - x) * (1 + x).
25745         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25746         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25747         * math/libm-test.inc (acos_test): Add more tests.
25748         (asin_test): Likewise.
25749         * sysdeps/i386/fpu/libm-test-ulps: Update.
25750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25752         [BZ #14034]
25753         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25754         of square root.
25755         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25756         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25757         * math/libm-test.inc (acos_test_tonearest): New function.
25758         (acos_test_towardzero): Likewise.
25759         (acos_test_downward): Likewise.
25760         (acos_test_upward): Likewise.
25761         (asin_test_tonearest): Likewise.
25762         (asin_test_towardzero): Likewise.
25763         (asin_test_downward): Likewise.
25764         (asin_test_upward): Likewise.
25765         (main): Call the new functions.
25766         * sysdeps/i386/fpu/libm-test-ulps: Update.
25767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25769         [BZ #13884]
25770         [BZ #13924]
25771         * math/e_exp10.c: Include <float.h>.
25772         (__ieee754_exp10): Handle underflow here rather than multiplying
25773         large negative argument by M_LN10.
25774         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25775         of __ieee754_expf.
25776         * math/e_exp10l.c: Include <float.h>.
25777         (__ieee754_exp10l): Handle underflow here rather than multiplying
25778         large negative argument by M_LN10l.
25779         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25780         spurious overflow exception on underflow.
25782 2012-04-29  Marek Polacek  <polacek@redhat.com>
25784         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25785         (__fortify_function): New macro.
25786         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25787         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25788         __extern_always_inline.
25789         * libio/bits/stdio2.h: Likewise.
25790         * libio/bits/stdio.h: Likewise.
25791         * string/string.h: Likewise.
25792         * string/bits/string3.h: Likewise.
25793         * include/stdio.h: Likewise.
25794         * stdlib/bits/stdlib.h: Likewise.
25795         * stdlib/stdlib.h: Likewise.
25796         * rt/bits/mqueue2.h: Likewise.
25797         * rt/mqueue.h: Likewise.
25798         * posix/bits/unistd.h: Likewise.
25799         * posix/unistd.h: Likewise.
25800         * io/bits/poll2.h: Likewise.
25801         * io/bits/fcntl2.h: Likewise.
25802         * io/fcntl.h: Likewise.
25803         * io/sys/poll.h: Likewise.
25804         * misc/bits/syslog.h: Likewise.
25805         * misc/bits/syslog-ldbl.h: Likewise.
25806         * misc/sys/syslog.h: Likewise.
25807         * socket/bits/socket2.h: Likewise.
25808         * socket/sys/socket.h: Likewise.
25809         * debug/tst-chk1.c: Likewise.
25810         * wcsmbs/bits/wchar2.h: Likewise.
25811         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25812         * wcsmbs/wchar.h: Likewise.
25814 2012-04-29  Andreas Jaeger  <aj@suse.de>
25816         * Makerules (tests): Remove enable-check-abi protection.
25817         (check-abi-warn): Remove.
25818         (check-abi-%): Remove check-abi-warn usage.
25820         * configure.in: Remove check-abi configure option.
25821         * configure: Regenerated.
25822         * config.make.in (enable-check-abi): Remove.
25824 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25826         [BZ #14033]
25827         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25828         double functions to double *_finite functions.
25830         [BZ #13941]
25831         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25832         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25833         LDBL_MIN_EXP.
25834         * stdio-common/Makefile (tests): Add tst-sprintf3.
25835         * stdio-common/tst-sprintf3.c: New file.
25837         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25838         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25840 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25842         * conform/conformtest.pl: Remove duplicate typed-constant
25843         handling.
25845 2012-04-28  David S. Miller  <davem@davemloft.net>
25847         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25848         (check-abi-%): Remove AWK script prerequisite and explicit
25849         abilist directory.
25850         (check-abi): Rewrite to just diff the symlist with the abilist.
25851         (config-tls, config-abi-config): Delete, no longer used.
25852         (update-abi-%): Remove AWK script and explicit abilist directory.
25853         (update-abi): Rewrite to simply compare and conditionally copy the
25854         symlist and the sysdep abilist file.  Remove update-abi-config
25855         checks.
25856         * abilist/ld.abilist: Remove.
25857         * abilist/libBrokenLocale.abilist: Remove.
25858         * abilist/libanl.abilist: Remove.
25859         * abilist/libcrypt.abilist: Remove.
25860         * abilist/libdl.abilist: Remove.
25861         * abilist/librt.abilist: Remove.
25862         * abilist/libthread_db.abilist: Remove.
25863         * abilist/libutil.abilist: Remove.
25864         * scripts/extract-abilist.awk: Remove.
25865         * scripts/merge-abilist.awk: Remove.
25866         * sysdeps/generic/libcidn.abilist: New file.
25867         * sysdeps/generic/libnss_compat.abilist: New file.
25868         * sysdeps/generic/libnss_db.abilist: New file.
25869         * sysdeps/generic/libnss_dns.abilist: New file.
25870         * sysdeps/generic/libnss_files.abilist: New file.
25871         * sysdeps/generic/libnss_hesiod.abilist: New file.
25872         * sysdeps/generic/libnss_nis.abilist: New file.
25873         * sysdeps/generic/libnss_nisplus.abilist: New file.
25874         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25875         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25876         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25877         file.
25878         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25879         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25880         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25881         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25882         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25883         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25884         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25885         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25886         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25887         file.
25888         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25889         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25890         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25891         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25892         file.
25893         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25894         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25895         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25896         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25897         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25898         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25899         file.
25900         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25901         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25902         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25903         file.
25904         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25906         New file.
25907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25908         New file.
25909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25910         New file.
25911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25912         New file.
25913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25914         New file.
25915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25916         New file.
25917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25918         New file.
25919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25920         New file.
25921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25922         New file.
25923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25924         New file.
25925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25926         New file.
25927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25928         New file.
25929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25930         New file.
25931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25932         file.
25933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25934         New file.
25935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25936         New file.
25937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25938         file.
25939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25940         New file.
25941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25942         New file.
25943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25944         file.
25945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25946         New file.
25947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25948         New file.
25949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25950         New file.
25951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25952         New file.
25953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25954         New file.
25955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25956         New file.
25957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25959         file.
25960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25961         New file.
25962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25963         file.
25964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25965         file.
25966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25967         file.
25968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25969         file.
25970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25971         file.
25972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25973         New file.
25974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25975         file.
25976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25977         file.
25978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25979         New file.
25980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25981         file.
25982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25984         file.
25985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25986         New file.
25987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25988         file.
25989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25990         file.
25991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25992         file.
25993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25994         file.
25995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25996         file.
25997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25998         New file.
25999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26000         file.
26001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26002         file.
26003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26004         New file.
26005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26006         file.
26007         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26008         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26009         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26010         file.
26011         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26012         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26013         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26014         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26015         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26016         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26017         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26018         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26019         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26020         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26023         file.
26024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26025         New file.
26026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26027         file.
26028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26029         file.
26030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26031         file.
26032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26033         file.
26034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26035         file.
26036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26037         New file.
26038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26039         New file.
26040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26041         file.
26042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26043         New file.
26044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26045         file.
26046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26048         file.
26049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26050         New file.
26051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26052         file.
26053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26054         file.
26055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26056         file.
26057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26058         file.
26059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26060         file.
26061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26062         New file.
26063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26064         New file.
26065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26066         file.
26067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26068         New file.
26069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26070         file.
26072 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26074         * conform/conformtest.pl: Fix typo in handling typed-constant from
26075         allow-header.
26077 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26079         * README: Cut down references to pre-2.6 Linux kernels and
26080         Linuxthreads.  Update lists of configurations in libc and ports
26081         and sort alphabetically.  Say "or newer" with Linux kernel version
26082         requirements.
26084         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26086 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26088         [BZ #887]
26089         * math/libm-test.inc (logb_test_downward): New test to expose
26090         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26091         rounding mode.
26093 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26095         [BZ #14027]
26096         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26097         to be done.
26098         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26099         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26101 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26103         * sysdeps/unix/i386/brk.S: Remove file.
26104         * sysdeps/unix/i386/dl-brk.S: Likewise.
26105         * sysdeps/unix/i386/pipe.S: Likewise.
26106         * sysdeps/unix/i386/sigreturn.S: Likewise.
26107         * sysdeps/unix/i386/syscall.S: Likewise.
26108         * sysdeps/unix/i386/vfork.S: Likewise.
26109         * sysdeps/unix/i386/wait.S: Likewise.
26111         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26112         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26114         * configure.in (arm*-none*): Do not allow without
26115         --enable-hacker-mode.
26116         (netbsd*): Remove case setting base_os.
26117         (386bsd*): Likewise.
26118         (freebsd*): Likewise.
26119         (bsdi*): Likewise.
26120         (osf*): Likewise.
26121         (sunos*): Likewise.
26122         (ultrix*): Likewise.
26123         (newsos*): Likewise.
26124         (dynix*): Likewise.
26125         (*bsd*): Likewise.
26126         (sysv*): Likewise.
26127         (isc*): Likewise.
26128         (esix*): Likewise.
26129         (sco*): Likewise.
26130         (minix*): Likewise.
26131         (irix4*): Likewise.
26132         (irix6*): Likewise.
26133         (solaris[2-9]*): Likewise.
26134         (none): Likewise.
26135         * configure: Regenerated.
26137 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26139         [BZ #11521]
26140         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26141         overflow or cancellation in calculating denominator.
26142         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26143         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26144         down expression to avoid unexpected rounding in newer GCCs.
26145         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26147 2012-04-26  David S. Miller  <davem@davemloft.net>
26149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26150         long-double compat symbols.
26151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26165 2012-04-25  David S. Miller  <davem@davemloft.net>
26167         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26168         HWCAP_* values only after the memory barriers have been defined.
26169         (atomic_full_barrier): Define.
26170         (atomic_read_barrier): Define.
26171         (atomic_write_barrier): Define.
26173 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26175         * shlib-versions: Add libgcc_s version information.
26176         * sysdeps/generic/libgcc_s.h: Remove.
26177         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26178         libgcc_s.h.
26179         * sysdeps/gnu/unwind-resume.c: Likewise.
26180         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26182 2012-04-25  David S. Miller  <davem@davemloft.net>
26184         * sysdeps/unix/sparc/brk.S: Delete.
26185         * sysdeps/unix/sparc/dl-brk.S: Delete.
26186         * sysdeps/unix/sparc/pipe.S: Delete.
26187         * sysdeps/unix/sparc/sysdep.S: Delete.
26188         * sysdeps/unix/sparc/sysdep.h: Delete.
26189         * sysdeps/unix/sparc/vfork.S: Delete.
26190         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26191         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26192         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26193         ret_ERRVAL, r0, r1, MOVE): Define.
26194         (JUMPTARGET): Remove.
26195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26196         sysdeps/unix/sparc/sysdep.h
26197         (ENTRY, END): Remove.
26198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26200 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26202         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26203         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26204         -DIS_IN_build.
26206         * timezone/README: Update upstream location and email address for
26207         tzcode and tzdata.
26208         * timezone/zdump.c: Update from tzcode 2012b.
26209         * timezone/zic.c: Likewise.
26211         * configure.in (libc_cv_as_needed): Remove test.
26212         * configure: Regenerated.
26213         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26214         conditional definition.
26215         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26216         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26217         * config.make.in (have-as-needed): Remove variable.
26219 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26220             Paul Pluzhnikov  <ppluzhnikov@google.com>
26222         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26223         strings correctly.
26225 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26227         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26228         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26229         * sysdeps/sh/strlen.S: Likewise.
26231 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26233         * sysdeps/unix/fork.S: Remove file.
26234         * sysdeps/unix/i386/fork.S: Likewise.
26235         * sysdeps/unix/sparc/fork.S: Likewise.
26237         * sysdeps/unix/system.c: Remove file.
26238         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26240         * sysdeps/unix/getegid.S: Remove file.
26241         * sysdeps/unix/geteuid.S: Likewise.
26243 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26245         * scripts/check-localplt.awk: New file.
26246         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26247         of diff.
26248         * scripts/data/localplt-generic.data: Add a comment.
26250         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26251         NODE when __dir_mkfile failed.
26252         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26253         Reported by Ludovic Courtès <ludo@gnu.org>.
26255 2012-04-24  Andreas Jaeger  <aj@suse.de>
26257         * Makerules (common-clean): Also remove gen-as-const-headers
26258         files.
26260 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26262         * Makerules (native-compile): Do not change working directory for
26263         build.  Use $(OUTPUT_OPTION) in command.
26264         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26266 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26268         [BZ #13886]
26269         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26270         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26271         * math/libm-test.inc (floor_test): Add more tests.
26272         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26274 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26276         * sysdeps/unix/getdents.c: Remove file.
26277         * sysdeps/unix/sysv/getdents.c: Likewise.
26278         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26280         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26281         sysdeps/unix/mman/syscalls.list.
26282         (mmap): Likewise.
26283         (mprotect): Likewise.
26284         (msync): Likewise.
26285         (munmap): Likewise.
26286         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26287         * sysdeps/unix/mman/syscalls.list: Remove.
26288         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26290         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26291         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26292         * configure: Regenerated.
26293         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26294         $(libgcc_s_suffix).
26295         * config.make.in (libgcc_s_suffix): Remove variable.
26297 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26299         * sysdeps/unix/sysv/gethostname.c: Move to ...
26300         * sysdeps/posix/gethostname.c: ... here.
26302         * sysdeps/unix/execve.S: Remove file.
26304         * sysdeps/unix/_exit.S: Remove file.
26306 2012-04-23  Andreas Jaeger  <aj@suse.de>
26308         [BZ #13739]
26309         * manual/Makefile: Remove make dist support, there's no
26310         need for a stand-alone documentation tar ball.
26311         (TEXI2DVI): Define always, it's not in Makeconfig.
26312         (dist): Removed.
26313         (tar-it): Removed.
26314         (edition): Removed.
26315         (glibc-doc-$(edition).tar): Removed
26316         (%.Z): Removed.
26317         (%.gz): Removed.
26318         (%.uu): Removed.
26319         (ETAGS): Remove, it's in Makeconfig.
26320         (move-if-change): Remove, it's in Makeconfig.
26322 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26324         [BZ #13970]
26325         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26326         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26327         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26328         (strtod_l, strtof_l, strtold_l): Remove __wur.
26329         It is not necessarily an error to ignore strtol's return value.
26330         One can reliably look at the stored endptr to decide whether
26331         the number had valid syntax.
26333 2012-04-21  Andreas Jaeger  <aj@suse.de>
26335         [BZ #13739]
26336         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26338 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26340         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26341         * sysdeps/unix/sysv/Versions: Remove file.
26343 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26345         [BZ #13927]
26346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26348 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26350         [BZ #7064]
26351         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26352         version from __vm86.
26354 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26356         * sysdeps/unix/common/lxstat.c: Remove file.
26357         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26359         * sysdeps/unix/sysv/Makefile: Remove file.
26361         * sysdeps/unix/sysv/direct.h: Remove file.
26363         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26364         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26365         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26366         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26367         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26368         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26369         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26371         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26373         * sysdeps/unix/xmknod.c: Remove file.
26374         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26376         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26378         * sysdeps/unix/sysv/i386/time.S: Remove file.
26380         * sysdeps/unix/fxstat.c: Remove file.
26381         * sysdeps/unix/xstat.c: Likewise.
26382         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26384         * sysdeps/unix/sysv/sigaction.c: Remove file.
26386         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26387         (sysdep_headers): Remove variable.
26388         [termio.h not in sysdep_headers] (generated): Likewise.
26389         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26390         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26391         * sysdeps/unix/sysv/tcdrain.c: Likewise.
26392         * sysdeps/unix/sysv/tcflow.c: Likewise.
26393         * sysdeps/unix/sysv/tcflush.c: Likewise.
26394         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26395         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26396         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26397         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26398         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26400         * sysdeps/unix/siglist.c: Remove file.
26402         * sysdeps/unix/getppid.S: Remove file.
26404         * sysdeps/unix/mkdir.c: Remove file.
26405         * sysdeps/unix/rmdir.c: Likewise.
26407 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
26409         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26410         ERR_MAX value.
26411         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26412         errlist-compat value.
26414 2012-04-18  David S. Miller  <davem@davemloft.net>
26416         * sysdeps/generic/memcopy.h (reg_char): Delete.
26417         * debug/strcat_chk.c: Use char, not reg_char.
26418         * debug/strcpy_chk.c: Likewise.
26419         * debug/strncat_chk.c: Likewise.
26420         * debug/strncpy_chk.c: Likewise.
26421         * string/memchr.c: Likewise.
26422         * string/memrchr.c: Likewise.
26423         * string/rawmemchr.c: Likewise.
26424         * string/strcat.c: Likewise.
26425         * string/strchr.c: Likewise.
26426         * string/strchrnul.c: Likewise.
26427         * string/strcmp.c: Likewise.
26428         * string/strcpy.c: Likewise.
26429         * string/strncat.c: Likewise.
26430         * string/strncmp.c: Likewise.
26431         * string/strncpy.c: Likewise.
26433 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26435         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26436         __builtin_memcopy is called when src and dest ranges are known to not
26437         overlap.
26439 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26441         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26442         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26443         fwd_align_merge macro call.
26444         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26445         bwd_align_merge macro call.
26446         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26448 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
26450         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26451         bwd_align_merge macros.
26452         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26453         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26454         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26456 2012-04-18  David S. Miller  <davem@davemloft.net>
26458         * sysdeps/sparc/sparc64/memcopy.h: Delete.
26460 2012-04-18  Andreas Jaeger  <aj@suse.de>
26462         [BZ# 6794]
26463         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26464         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26465         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26467         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26468         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26469         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26471         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26472         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26473         Adjust for changed ldbl-128 files.
26475         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26476         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26477         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26479 2012-04-17  David S. Miller  <davem@davemloft.net>
26481         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26483 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26485         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26486         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26487         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26488         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26489         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26490         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26492 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26494         [BZ #6794]
26495         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26496         * math/libm-test.inc: Add ilogb errno and exception tests.
26497         * math/w_ilogb.c: New file: ilogb wrapper.
26498         * math/w_ilogbf.c: New file: ilogbf wrapper.
26499         * math/w_ilogbl.c: New file: ilogbl wrapper.
26500         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26501         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26502         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26503         exception being thrown with 0.0 as argument.
26504         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26505         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26506         exception being thrown with 0.0 as argument.
26507         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26508         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26509         exception being thrown with 0.0 as argument.
26510         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26511         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26512         exception being thrown with 0.0 as argument.
26513         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26514         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26515         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26516         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26517         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26518         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26519         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26520         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26521         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26523 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26525         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26526         with altivec.
26528 2012-04-16  Marek Polacek  <polacek@redhat.com>
26530         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26532 2012-04-16  Marek Polacek  <polacek@redhat.com>
26534         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26535         operands of fdivp instruction.
26537 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26539         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26540         * elf/tst-auditmod3b.c: Likewise.
26541         * elf/tst-auditmod4b.c: Likewise.
26542         * elf/tst-auditmod5b.c: Likewise.
26543         * elf/tst-auditmod6b.c: Likewise.
26544         * elf/tst-auditmod6c.c: Likewise.
26545         * elf/tst-auditmod7b.c: Likewise.
26546         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26547         * sysdeps/x86_64/preconfigure.in: Likewise.
26548         * sysdeps/x86_64/preconfigure: Regenerated.
26550 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26552         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26553         __ILP32__.
26555 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26557         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26558         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26560 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26562         [BZ #13973]
26563         * locale/iso-639.def: Fix gl language name. Spotted by
26564         Yaron Shahrabani.
26566 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26568         [BZ #2074]
26569         * libio/libio.h (__io_write_fn): Update comment.
26571 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26573         [BZ #2074]
26574         * stdio.texi (Hook Functions): The user provided writer function
26575         is not allowed to return -1.
26577 2012-04-11  David S. Miller  <davem@davemloft.net>
26579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26581 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26583         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26584         Add a leading slash to rtkaio.
26586 2012-04-11  Jim Meyering  <meyering@redhat.com>
26588         [BZ #11959]
26589         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26590         It is not necessarily an error to ignore fwrite's return
26591         value.  One can reliably use ferror to test for errors after
26592         the fact.
26594 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26596         * bits/types.h (__snseconds_t): New type.
26597         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26599         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26600         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26601         (__SNSECONDS_T_TYPE): Likewise.
26602         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26603         (__SNSECONDS_T_TYPE): Likewise.
26604         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26605         (__SNSECONDS_T_TYPE): Likewise.
26607 2012-04-10  Andreas Jaeger  <aj@suse.de>
26609         [BZ #2636]
26610         * manual/time.texi (Processor Time): Return type of times is
26611         elapsed real time since an arbitrary point in the past.
26612         (CPU Time): Move CLK_TCK from here...
26613         (Processor Time): ...to here.  Correct description.
26614         * manual/conf.texi (Constants for Sysconf): Correct description of
26615         _SC_CLK_TCK.
26617 2012-04-10  David S. Miller  <davem@davemloft.net>
26619         [BZ #13967]
26620         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26621         where the is a gap between DT_REL(A) and DT_JMPREL.
26623 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26625         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26626         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26627         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26629 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26631         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26632         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26633         (dl_main): Handle --inhibit-cache.
26634         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26635         _dl_inhibit_cache.
26636         * elf/dl-load.c (_dl_map_object): Use it.
26637         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26639 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26641         [BZ #13872]
26642         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26643         (__ieee754_powl): Saturate large exponents rather than testing for
26644         overflow of y*log2(x).
26645         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26646         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26647         exceptions.
26649         [BZ #11521]
26650         * math/s_ctan.c: Include <float.h>.
26651         (__ctan): Avoid internal overflow or cancellation in calculating
26652         denominator.
26653         * math/s_ctanf.c: Likewise.
26654         * math/s_ctanl.c: Likewise.
26655         * math/s_ctanh.c: Likewise.
26656         * math/s_ctanhf.c: Likewise.
26657         * math/s_ctanhl.c: Likewise.
26658         * math/libm-test.inc (ctan_test): Add more tests.
26659         (ctanh_test): Likewise.
26660         * sysdeps/i386/fpu/libm-test-ulps: Update.
26661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26663 2012-04-09  Andreas Jaeger  <aj@suse.de>
26665         [BZ #6894]
26666         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26667         is an optional BSD extension.
26669         [BZ #10254]
26670         * manual/stdio.texi (Opening Streams): Document additional fopen
26671         parameters.
26673 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26675         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26676         %eax without telling the compiler.
26678 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26680         [BZ # 13963]
26681         * manual/install.texi: Use sourceware.org.
26683 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26685         [BZ #13873]
26686         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26687         (__ieee754_pow): Generate overflow and underflow using huge*huge
26688         and tiny*tiny rather than just returning constant infinity or zero
26689         for large exponents.
26690         * math/libm-test.inc (pow_test): Require overflow exceptions for
26691         applicable cases of large exponents.
26693         [BZ #706]
26694         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26695         (__ieee754_pow): Use iterative multiplication algorithm only for
26696         integer exponents with absolute value below 1024.  Check for odd
26697         integer exponents when using algorithm for real exponents.
26698         * math/libm-test.inc (pow_test): Add more tests.
26699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26701 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26703         [BZ #13705]
26704         * math/libm-test.inc (exp_test): Do not allow overflow exception
26705         on underflow test.
26707 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26709         [BZ #13705]
26710         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26711         instead of __kernel_standard_f.
26713 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26715         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26716         * sysdeps/x86_64/memset_chk.S: Likewise.
26718 2012-04-08  Andreas Jaeger  <aj@suse.de>
26720         [BZ #10153]
26721         * manual/startup.texi (Environment Access): Describe return value
26722         for putenv and setenv.
26724         [BZ #6895]
26725         * manual/filesys.texi (Directory Entries): Add description for
26726         DT_LNK.
26728         [BZ #6890]
26729         * manual/filesys.texi (Directory Entries): Clarify that it's file
26730         system not operating system in the description of DT_UNKNOWN.
26732         [BZ #6578]
26733         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26735 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26737         [BZ #6649]
26738         * manual/llio.texi (Opening and Closing Files): Add cross
26739         reference to explain mode argument.
26741 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26743         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26744         * sysdeps/x86_64/memset_chk.S: Likewise.
26746 2012-04-07  David S. Miller  <davem@davemloft.net>
26748         * elf/elf.h (R_SPARC_WDISP10): Define.
26749         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26750         R_SPARC_SIZE32.
26751         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26752         R_SPARC_SIZE64 and R_SPARC_H34.
26754 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26756         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26757         conditions and remove no longer applicable assertion.
26759 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26761         * bits/byteswap.h: Include <features.h>.
26762         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26763         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26765 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26767         * bits/byteswap.h (__bswap_16): Removed.
26768         Include <bits/byteswap-16.h> to get __bswap_16.
26769         * sysdeps/i386/bits/byteswap.h: Likewise.
26770         * sysdeps/s390/bits/byteswap.h: Likewise.
26771         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26772         * bits/byteswap-16.h: New file.
26773         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26774         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26775         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26776         * string/Makefile (headers): Add bits/byteswap-16.h.
26778 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26780         [BZ #13895]
26781         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26782         extra indirection.
26783         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26784         * nss/tst-nss-static.c: New.
26786 2012-04-06  Robert Millan  <rmh@gnu.org>
26788         [BZ #6486]
26789         * manual/llio.texi (File Position Primitive): lseek
26790         refers to WHENCE when it really means OFFSET.
26792 2012-04-06  Andreas Jaeger  <aj@suse.de>
26794         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26795         strncmp declarations.
26797         * abilist/libc.abilist: Add __poll and __ppoll.
26799 2012-04-05  David S. Miller  <davem@davemloft.net>
26801         * scripts/check-local-headers.sh: Accept a host triplet in the
26802         path matched by the exclude regexp.
26804         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26805         definition.
26806         * sysdeps/powerpc/powerpc32/dl-machine.h
26807         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26808         * sysdeps/s390/s390-32/dl-machine.h
26809         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26810         * sysdeps/sparc/sparc32/dl-machine.h
26811         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26812         * sysdeps/sparc/sparc64/dl-machine.h
26813         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26815         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26816         lazy binding.
26817         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26818         undefined symbol errors.
26820         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26821         DT_NEEDED entries.
26823 2012-04-05  Michael Matz  <matz@suse.de>
26825         [BZ #13592]
26826         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26828 2012-04-05  Andreas Jaeger  <aj@suse.de>
26830         [BZ #13908]
26831         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26832         comment.
26834 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26836         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26837         which ROUND is no valid rounding mode.
26839 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26841         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26842         read again.
26843         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26845 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26847         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26848         an exception using FPU order intentionally.
26850 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26852         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26853         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26854         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26855         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26857 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26859         [BZ #12340]
26860         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26861         EINVAL when BUFLEN is too smal.
26863 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26865         [BZ #13553]
26866         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26867         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26869 2012-04-03  Andreas Jaeger  <aj@suse.de>
26871         [BZ #13938]
26872         * manual/setjmp.texi (System V contexts): Fix sentence.
26874         [BZ #13926]
26875         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26876         New macro for this case.
26877         [!__GNUC__] (__bswap_64): New inline function for this case.
26878         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26879         * bits/byteswap.h: Likewise.
26880         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26881         ull, guard with __GLIBC_HAVE_LONG_LONG.
26883         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26884         __GLIBC_HAVE_LONG_LONG.
26886         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26887         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26889 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26891         [BZ #13691]
26892         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26893         inptr and inend, rather than using last_ch.
26895 2012-04-02  David S. Miller  <davem@davemloft.net>
26897         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26898         * stdio-common/printf-parse.h (read_int): Change return type to
26899         'int', return -1 on INT_MAX overflow.
26900         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26901         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26902         overflows INT_MAX.  Check for overflow of in-format-string precision
26903         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26904         SIZE_MAX not INT_MAX for integer overflow test.
26905         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26906         skip the construct in the format string but do not record anything.
26907         * stdio-common/bug22.c: Adjust to test both width/prevision
26908         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26909         explicitly for proper errno values.
26911 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26913         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26914         CHAR_MAX.
26915         * string/test-strcmp.c [! WIDE]: Likewise.
26916         * time/tst-mktime2.c: Likewise for INT_MAX.
26917         * string/test-string.h: #include <sys/param.h> for MIN.
26919         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26920         * sysdeps/i386/init-first.c (init): Likewise.
26921         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26922         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26923         * sysdeps/sh/init-first.c (init): Likewise.
26925 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26927         * po/ru.po: Update from translation team.
26928         * po/vi.po: Likewise.
26930 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26932         * resolv/nss_dns/dns-host.c: Merge copyright years.
26934 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26936         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26937         Optimize memcpy with prefetch if
26938         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26939         src, dst pointers have unequal 16 byte alignments.
26941 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26943         [BZ #13928]
26944         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26945         from a CNAME entry and return the minimum ttl for the query.
26946         (gaih_getanswer_slice): Likewise.
26948 2012-03-30  Jeff Law  <law@redhat.com>
26950         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26951         due to long keys.
26952         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26953         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26955         * resolv/nss_dns/dns-host.c: Update copyright year.
26957 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26959         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26960         requests to save a system call.  Fix check that all bytes are sent.
26962         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26963         comments for sendmmsg.
26965 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26967         [BZ #13691]
26968         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26969         with only 1 character between 0x0041 and 0x01b0.
26970         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26971         * wcsmbs/tst-mbsnrtowcs.c: New file.
26973 2012-03-29  David S. Miller  <davem@davemloft.net>
26975         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26976         small copies by hand.
26978 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26980         [BZ #13761]
26981         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26982         _nss_compat_initgroups_dyn): Fall back to malloc/free
26983         for large group memberships.
26985 2012-03-28  David S. Miller  <davem@davemloft.net>
26987         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26988         that branches into memcpy.
26989         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26990         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26991         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26992         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26993         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26994         bits.
26995         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26996         implementation too.
26997         * sysdeps/sparc/mempcpy.S: New file.
26999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27000         the IFUNC routine in the libc case.
27001         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27003         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27004         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27005         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27006         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27007         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27008         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27009         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27010         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27012         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27013         loop to 256 bytes instead of 64 bytes and fix test signedness.
27015         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27016         * sysdeps/sparc/sparc32/Makefile: rather than here...
27017         * sysdeps/sparc/sparc64/Makefile: and here.
27019 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27021         * malloc/mallocbug.c: Avoid warnings about unused variables.
27023 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27025         [BZ #13760]
27026         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27027         in the right place. Discard and retry query if response is
27028         larger than input buffer size.
27030 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27032         [BZ #369]
27033         [BZ #2678]
27034         [BZ #3866]
27035         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27036         x for large integer exponent.
27037         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27038         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27039         sign of result as needed afterwards.
27040         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27041         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27042         result for underflowing pow the same as for overflow.
27043         (__kernel_standard_l): Handle powl overflow and underflow here
27044         rather than calling __kernel_standard.
27045         * math/libm-test.inc (pow_test): Add more tests.
27047         [BZ #3868]
27048         [BZ #13879]
27049         [BZ #13910]
27050         [BZ #13911]
27051         [BZ #13912]
27052         [BZ #13913]
27053         [BZ #13915]
27054         [BZ #13916]
27055         [BZ #13917]
27056         [BZ #13918]
27057         [BZ #13919]
27058         [BZ #13920]
27059         [BZ #13921]
27060         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27061         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27062         (__kernel_standard_l): New function.
27063         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27064         __kernel_standard.
27065         * math/w_acosl.c (__acosl): Likewise.
27066         * math/w_asinl.c (__asinl): Likewise.
27067         * math/w_atan2l.c (__atan2l): Likewise.
27068         * math/w_atanhl.c (__atanhl): Likewise.
27069         * math/w_coshl.c (__coshl): Likewise.
27070         * math/w_exp10l.c (__exp10l): Likewise.
27071         * math/w_exp2l.c (__exp2l): Likewise.
27072         * math/w_fmodl.c (__fmodl): Likewise.
27073         * math/w_hypotl.c (__hypotl): Likewise.
27074         * math/w_j0l.c (__j0l, __y0l): Likewise.
27075         * math/w_j1l.c (__j1l, __y1l): Likewise.
27076         * math/w_jnl.c (__jnl, __ynl): Likewise.
27077         * math/w_lgammal.c (__lgammal): Likewise.
27078         * math/w_log10l.c (__log10l): Likewise.
27079         * math/w_log2l.c (__log2l): Likewise.
27080         * math/w_logl.c (__logl): Likewise.
27081         * math/w_powl.c (__powl): Likewise.
27082         * math/w_remainderl.c (__remainderl): Likewise.
27083         * math/w_scalbl.c (sysv_scalbl): Likewise.
27084         * math/w_sinhl.c (__sinhl): Likewise.
27085         * math/w_sqrtl.c (__sqrtl): Likewise.
27086         * math/w_tgammal.c (__tgammal): Likewise.
27087         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27088         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27089         * math/libm-test.inc (acos_test): Add more tests.
27090         (acosh_test): Likewise.
27091         (asin_test): Likewise.
27092         (atanh_test): Likewise.
27093         (exp_test): Likewise.
27094         (exp10_test): Likewise.
27095         (exp2_test): Likewise.
27096         (expm1_test): Likewise.
27097         (lgamma_test): Likewise.
27098         (log_test): Likewise.
27099         (log10_test): Likewise.
27100         (log1p_test): Likewise.
27101         (log2_test): Likewise.
27102         (pow_test): Do not allow some spurious overflow exceptions.
27103         (sqrt_test): Add more tests.
27104         (tgamma_test): Likewise.
27105         (y0_test): Likewise.
27106         (y1_test): Likewise.
27107         (yn_test): Likewise.
27109 2012-03-27  Anton Blanchard  <anton@samba.org>
27111         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27112         MAP_HUGETLB.
27113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27114         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27115         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27117 2012-03-27  David S. Miller  <davem@davemloft.net>
27119         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27121         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27122         have-as-vis3 check.
27124 2012-03-27  Andreas Jaeger  <aj@suse.de>
27126         * sysdeps/x86_64/elf/configure.in: Moved to ...
27127         * sysdeps/x86_64/configure.in: ... here.
27128         * sysdeps/x86_64/elf/start.S: Moved to ...
27129         * sysdeps/x86_64/start.S: ... here.
27130         * sysdeps/x86_64/elf/configure: Delete.
27132         * sysdeps/x86_64/configure.in: Merge contents from
27133         sysdeps/i386/configure.in (without i686 check).
27135         * sysdeps/i386/elf/Versions: Merge into ...
27136         * sysdeps/i386/Versions: ... this.
27137         * sysdeps/i386/elf/Versions: Delete file.
27138         * sysdeps/i386/elf/start.S: Moved to ...
27139         * sysdeps/i386/start.S: ...here.
27140         * sysdeps/i386/elf/configure.in: Merge into...
27141         * sysdeps/i386/configure.in: ...here.
27142         * sysdeps/i386/elf/configure.in: Delete file.
27143         * sysdeps/i386/elf/configure: Delete file.
27145         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27146         * debug/backtracesyms.c: ... here.
27147         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27148         * debug/backtracesymsfd.c: ... here.
27149         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27150         * sysdeps/generic/ifunc-sel.h: ... here.
27152         * sysdeps/unix/i386/start.c: Delete file.
27153         * sysdeps/unix/sparc/start.c: Delete file.
27154         * sysdeps/unix/start.c: Delete file.
27156         * sysdeps/sh/elf/configure.in: Moved to ...
27157         * sysdeps/sh/configure.in: ... here.
27158         * sysdeps/sh/elf/start.S: Moved to ...
27159         * sysdeps/sh/start.S: ... here.
27160         * sysdeps/sh/elf/configure: Delete file.
27162         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27163         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27164         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27165         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27166         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27167         * sysdeps/powerpc/powerpc64/start.S: here.
27168         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27169         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27170         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27171         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27172         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27174         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27175         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27176         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27177         * sysdeps/powerpc/powerpc32/start.S: ... here.
27178         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27179         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27180         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27182         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27183         * sysdeps/powerpc/ifunc-sel.h: ... here.
27184         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27185         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27187         * sysdeps/sparc/elf/configure.in: Moved to ...
27188         * sysdeps/sparc/configure.in: ... here.
27189         * sysdeps/sparc/elf/configure: Delete file.
27190         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27191         * sysdeps/sparc/sparc32/start.S: ... here.
27192         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27193         * sysdeps/sparc/sparc64/start.S: ... here.
27194         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27195         * sysdeps/sparc/sparc32/Makefile: ... this.
27196         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27197         * sysdeps/sparc/sparc64/Makefile: ... this.
27199         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27200         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27201         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27202         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27203         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27204         * sysdeps/s390/s390-32/setjmp.S: ... here.
27205         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27206         * sysdeps/s390/s390-32/configure.in: ... here.
27207         * sysdeps/s390/s390-32/elf/configure: Delete file.
27208         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27209         * sysdeps/s390/s390-32/start.S: ... here.
27211         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27212         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27213         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27214         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27215         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27216         * sysdeps/s390/s390-64/setjmp.S: ... here.
27217         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27218         * sysdeps/s390/s390-64/configure.in: ... here
27219         * sysdeps/s390/s390-64/elf/configure: Delete file.
27220         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27221         * sysdeps/s390/s390-64/start.S: ... here.
27222         * sysdeps/s390/s390-64/elf/configure: Delete.
27224         * configure.in: Remove support for elf directories in sysdeps.
27226         * configure: Regenerated.
27227         * sysdeps/i386/configure: Regenerated.
27228         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27229         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27230         * sysdeps/s390/s390-32/configure: Regenerated.
27231         * sysdeps/s390/s390-64/configure: Regenerated.
27232         * sysdeps/sh/configure: Regenerated.
27233         * sysdeps/sparc/configure: Regenerated.
27234         * sysdeps/x86_64/configure: Regenerated.
27236 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27240         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27241         denormal result into account.
27243 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27245         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27246         Reported by Allan McRae <allan@archlinux.org>.
27248 2012-03-23  Jeff Law  <law@redhat.com>
27250         * nss/getnssent.c (__nss_getent): Fix typo.
27252 2012-03-23  David S. Miller  <davem@davemloft.net>
27254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27256 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27258         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27259         to pad to uint64_t for each field.
27260         (dl_tls_index): Replace unsigned long with uint64_t.
27262 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27263         Paul Pluzhnikov  <ppluzhnikov@google.com>
27265         [BZ #6528]
27266         * grp/Makefile (otherlibs): Don't set it.
27267         * inet/Makefile (otherlibs): Likewise.
27268         * login/Makefile (otherlibs): Likewise.
27269         * nscd/Makefile (otherlibs): Likewise.
27270         * posix/Makefile (otherlibs): Likewise.
27271         * pwd/Makefile (otherlibs): Likewise.
27272         * rt/Makefile (otherlibs): Likewise.
27273         * sunrpc/Makefile (otherlibs): Likewise.
27274         * nss/Makefile (otherlibs): Likewise.
27275         Add libnss_files to routines and static-only-routines.
27276         ($(objpfx)getent): Remove rule.
27277         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27278         static-only-routines.
27280 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27282         [BZ #13892]
27283         * math/s_cexp.c: Include <float.h>.
27284         (__cexp): Handle exp result overflowing not necessarily
27285         overflowing both real and imaginary parts of result.
27286         * math/s_cexpf.c: Likewise.
27287         * math/s_cexpl.c: Likewise.
27288         * math/libm-test.inc (cexp_test): Add more tests.
27289         * sysdeps/i386/fpu/libm-test-ulps: Update.
27290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27292 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27294         * include/link.h (ELFW): New macro.
27295         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27296         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27298 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27300         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27301         with uint64_t.
27303 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27305         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27306         declaration.
27307         (struct La_x32_retval): Likewise.
27309 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27311         * sysdeps/x86_64/preconfigure.in: New file.
27312         * sysdeps/x86_64/preconfigure: New generated file.
27314 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27316         [BZ #13824]
27317         * math/e_exp2l.c: Include <float.h>.
27318         (__ieee754_exp2l): Handle overflow and underflow cases
27319         separately.  Only pass fractional part of argument to
27320         __ieee754_expl.
27321         * math/libm-test.inc (exp2_test): Add more tests.
27323         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27324         negating x to take absolute value.
27325         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27326         Likewise.
27327         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27328         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27329         Likewise.
27330         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27331         computing low part if x was negated.
27332         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27334 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27336         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27337         la_x32_gnu_pltexit.
27338         (pltexit): Cast int_retval to ptrdiff_t.
27339         * elf/tst-auditmod3b.c: Likewise.
27340         * elf/tst-auditmod4b.c: Likewise.
27341         * elf/tst-auditmod5b.c: Likewise.
27342         * elf/tst-auditmod6b.c: Likewise.
27343         * elf/tst-auditmod6c.c: Likewise.
27344         * elf/tst-auditmod7b.c: Likewise.
27346         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27347         and x32_gnu_pltexit.
27349         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27350         __ELF_NATIVE_CLASS.
27351         (La_x32_regs): New macro.
27352         (La_x32_retval): Likewise.
27353         (la_x32_gnu_pltenter): New function prototype.
27354         (la_x32_gnu_pltexit): Likewise.
27356 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27359         exponent.
27361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27363         * configure.in (libc_cv_cc_nofma): Check for option to disable
27364         generation of FMA instructions.
27365         * configure: Regenerate.
27366         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27367         * sysdeps/ieee754/dbl-64/Makefile: New file.
27368         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27369         Remove brandred-fma4.
27370         (CFLAGS-brandred-fma4.c): Remove.
27371         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27372         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27373         define.
27374         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27375         define.
27377 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27379         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27380         LLONG_MAX != LONG_MAX.
27381         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27382         (_fitoa_word): Likewise.
27383         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27384         LLONG_MAX != LONG_MAX.
27385         * stdio-common/_itowa.h: Include <_itoa.h>.
27386         (_itowa_word): Use _ITOA_WORD_TYPE on value.
27387         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
27388         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
27389         only if not defined.
27390         (_ITOA_WORD_TYPE): Likewise.
27391         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27392         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27394 2012-03-21  David S. Miller  <davem@davemloft.net>
27396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27398 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27400         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27401         of x86_64 when setting libc_cv_slibdir, libdir and
27402         libc_cv_localedir.
27403         * sysdeps/unix/sysv/linux/configure: Regenerated.
27405 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27407         * manual/lang.texi (Old Varargs): Remove section.
27408         (How Variadic): Update menu.
27409         (va_start): Do not mention varargs.h.
27411 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27412             Joseph Myers  <joseph@codesourcery.com>
27414         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27415         link test.
27416         * configure: Regenerated.
27418 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27420         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27421         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27422         conformtest.pl
27424 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27426         * NOTES: Remove.
27427         * Makefile (files-for-dist): Remove NOTES.
27428         (NOTES): Remove rule.
27429         * README: Don't refer to NOTES.
27430         * manual/creature.texi: Don't include macros.texi.
27431         * manual/intro.texi (creature.texi): Remove comment referring to
27432         NOTES.
27434         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27435         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27436         * configure: Regenerated.
27437         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27438         LIBC_TRY_CC_OPTION.
27439         (libc_cv_as_i686): Likewise.
27440         (libc_cv_cc_avx): Likewise.
27441         (libc_cv_cc_sse2avx): Likewise.
27442         (libc_cv_cc_fma4): Likewise.
27443         (libc_cv_cc_novzeroupper): Likewise.
27444         * sysdeps/i386/configure: Regenerated.
27446         [BZ #13883]
27447         * sysdeps/i386/fpu/s_cexp.S: Remove.
27448         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27449         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27450         * math/libm-test.inc (cexp_test): Add more tests.
27451         * sysdeps/i386/fpu/libm-test-ulps: Update.
27452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27454 2012-03-21  Allan McRae  <allan@archlinux.org>
27456         * timezone/Makefile: Do not install iso3166.tab and zone.tab
27458 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
27460         [BZ #13871]
27461         * math/w_exp2.c: Do not include <float.h>.
27462         (o_threshold, u_threshold): Remove.
27463         (__exp2): Calculate result before checking finiteness and calling
27464         __kernel_standard.
27465         * math/w_exp2f.c: Likewise.
27466         * math/w_exp2l.c: Likewise.
27467         * math/libm-test.inc (exp2_test): Require overflow exception for
27468         1e6 input.
27470         [BZ #3866]
27471         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27472         range of signed 64-bit integers before using fistpll.  Remove
27473         checks for whether integers fit in mantissa bits.
27474         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27475         the range of signed 32-bit integers before using fistpl.  Remove
27476         checks for whether integers fit in mantissa bits.
27477         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27478         (__ieee754_powl): Test for y outside the range of signed 64-bit
27479         integers before using fistpll.  Reduce 64-bit values to 63-bit
27480         ones as needed.
27481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27482         divide-by-zero is raised for zero to large negative powers.
27483         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27484         (__ieee754_powl): Test for y outside the range of signed 64-bit
27485         integers before using fistpll.  Reduce 64-bit values to 63-bit
27486         ones as needed.
27487         * math/libm-test.inc (pow_test): Add more tests.
27489 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27491         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27492         <stdio-common/_itoa.h>.
27493         * debug/segfault.c: Likewise.
27494         * elf/dl-cache.c: Likewise.
27495         * elf/dl-minimal.c: Likewise.
27496         * elf/dl-misc.c: Likewise.
27497         * elf/dl-sysdep.c: Likewise.
27498         * elf/dl-version.c: Likewise.
27499         * elf/rtld.c: Likewise.
27500         * hurd/hurdsock.c: Likewise.
27501         * hurd/lookup-retry.c: Likewise.
27502         * malloc/malloc.c: Likewise.
27503         * malloc/mtrace.c: Likewise.
27504         * nscd/nscd_getgr_r.c: Likewise.
27505         * nscd/nscd_getpw_r.c: Likewise.
27506         * nscd/nscd_getserv_r.c: Likewise.
27507         * posix/getopt_init.c: Likewise.
27508         * posix/wordexp.c: Likewise.
27509         * stdio-common/_itoa.c: Likewise.
27510         * stdio-common/printf_fphex.c: Likewise.
27511         * stdio-common/vfprintf.c: Likewise.
27512         * string/_strerror.c: Likewise.
27513         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27514         * sysdeps/i386/i686/hp-timing.h: Likewise.
27515         * sysdeps/mach/_strerror.c: Likewise.
27516         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27517         * sysdeps/mach/hurd/sethostid.c: Likewise.
27518         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27519         * sysdeps/mach/xpg-strerror.c: Likewise.
27520         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27521         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27522         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27523         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27524         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27525         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27527         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27528         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27529         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27530         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27531         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27532         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27533         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27534         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27535         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27536         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27537         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27538         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27539         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27540         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27542         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27544         * stdio-common/_itoa.h: Moved to ...
27545         * sysdeps/generic/_itoa.h: Here.
27547         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27549         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27550         instead of "_itoa.h" and "_itowa.h".
27551         * stdio-common/vfprintf.: Likewise.
27553 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27555         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27556         <bits/wordsize.h>.
27557         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27558         (__signbit): Likwise.
27559         (llrintf): Likwise.
27560         (llrint): Likwise.
27562 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27564         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27565         __WORDSIZE != 64.
27567 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27569         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27570         OVERFLOW_EXCEPTION_OK.
27571         * math/libm-test.inc ("Philosophy"): Update comment about
27572         exception testing.
27573         (OVERFLOW_EXCEPTION): Define.
27574         (OVERFLOW_EXCEPTION_OK): Likewise.
27575         (INVALID_EXCEPTION_OK): Renumber.
27576         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27577         (IGNORE_ZERO_INF_SIGN): Likewise.
27578         (test_exceptions): Handle FE_OVERFLOW.
27579         (exp10_test): Expect overflow exceptions.
27580         (exp2_test): Likewise.
27581         (expm1_test): Likewise.
27582         (nextafter_test): Likewise.
27583         (pow_test): Likewise.
27584         (scalbn_test): Likewise.
27585         (scalbln_test): Likewise.
27587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27589         * sysdeps/x86_64/bits/atomic.h
27590         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27591         64bit integer.
27592         (atomic_exchange_acq): Likewise.
27593         (__arch_exchange_and_add_body): Likewise.
27594         (__arch_add_body): Likewise.
27595         (atomic_add_negative): Likewise.
27596         (atomic_add_zero): Likewise.
27598 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27600         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27601         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27603 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27605         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27606         Check __x86_64__ instead of __WORDSIZE.
27608 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27610         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27612 2012-03-19  David S. Miller  <davem@davemloft.net>
27614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27616         * sysdeps/sparc/fpu/fenv_private.h: New file.
27617         * sysdeps/sparc/fpu/math_private.h: Use it.
27618         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27619         Remove.
27620         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27621         (libc_feholdexcept_setroundl): Remove.
27622         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27623         Remove.
27624         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27625         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27627 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27629         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27630         int64_t instead of long int.
27631         (INSERT_WORDS64): Likwise.
27633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27635         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27636         _Unwind_GetCFA return to _Unwind_Ptr first.
27638 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27640         [BZ #13629]
27641         * math/s_clog.c: Include <float.h>.
27642         (__clog): Scale large or subnormal inputs.
27643         * math/s_clogf.c: Likewise.
27644         * math/s_clogl.c: Likewise.
27645         * math/s_clog10.c: Include <float.h>.
27646         (M_LOG10_2): Define.
27647         (__clog10): Scale large or subnormal inputs.
27648         * math/s_clog10f.c: Likewise.
27649         * math/s_clog10l.c: Likewise.
27650         * math/libm-test.inc (clog_test): Add more tests.
27651         (clog10_test): Likewise.
27652         * sysdeps/i386/fpu/libm-test-ulps: Update.
27653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27655         [BZ #11451]
27656         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27657         x and y.
27658         * math/libm-test.inc (atan2_test): Add another test.
27660         * Makerules (common-objdir-compile): Remove.
27661         * sysdeps/unix/Makefile (config-generated): Do not add
27662         $(unix-generated) to variable.
27663         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27664         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27665         Remove rule.
27666         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27667         Likewise.
27668         [generic bits/local_lim.h] (before-compile): Do not append to
27669         variable.
27670         [generic bits/local_lim.h] (common-generated): Likewise.
27671         [generic sys/param.h] (before-compile): Do not append to variable.
27672         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27673         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27674         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27675         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27676         include.
27677         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27678         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27679         [generic sys/param.h] ($(addprefix
27680         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27681         [generic sys/param.h] (common-generated): Do not append to
27682         variable.
27683         [generic sys/param.h] (sysdep_headers): Likewise.
27684         [generic bits/errno.h] (before-compile): Do not append to
27685         variable.
27686         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27687         rule.
27688         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27689         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27690         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27691         [generic bits/errno.h] (common-generated): Do not append to
27692         variable.
27693         [generic bits/ioctls.h] (before-compile): Do not append to
27694         variable.
27695         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27696         rule.
27697         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27698         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27699         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27700         rule.
27701         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27702         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27703         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27704         [generic bits/ioctls.h] (common-generated): Do not append to
27705         variable.
27706         [generic sys/syscall.h] (syscall.h): Remove variable.
27707         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27708         rule.
27709         [generic sys/syscall.h] (before-compile): Do not append to
27710         variable.
27711         [generic sys/syscall.h] (common-generated): Likewise.
27712         * sysdeps/unix/errnos-tmpl.c: Remove file.
27713         * sysdeps/unix/errnos.awk: Likewise.
27714         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27715         * sysdeps/unix/ioctls.awk: Likewise.
27716         * sysdeps/unix/mk-local_lim.c: Likewise.
27717         * sysdeps/unix/snarf-ioctls: Likewise.
27719 2012-03-19  Richard Henderson  <rth@twiddle.net>
27721         * sysdeps/i386/fpu/fenv_private.h: New file.
27722         * sysdeps/i386/fpu/math_private.h: Use it.
27723         (math_opt_barrier, math_force_eval): Remove.
27724         (libc_feholdexcept_setround_53bit): Remove.
27725         (libc_feupdateenv_53bit): Remove.
27726         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27727         (math_opt_barrier, math_force_eval): Remove.
27728         (libc_feholdexcept): Remove.
27729         (libc_feholdexcept_setround): Remove.
27730         (libc_fetestexcept, libc_fesetenv): Remove.
27731         (libc_feupdateenv_test): Remove.
27732         (libc_feupdateenv, libc_feholdsetround): Remove.
27733         (libc_feresetround): Remove.
27735         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27736         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27738         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27739         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27740         (libc_feupdateenv_testl): New.
27741         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27742         (libc_feupdateenv_testf): New.
27743         (libc_feupdateenv): Use libc_feupdateenv_test.
27744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27745         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27747         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27748         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27749         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27750         (libc_feresetround_noex): New.
27751         (libc_feresetround_noexf): New.
27752         (libc_feresetround_noexl): New.
27753         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27754         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27755         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27756         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27757         SET_RESTORE_ROUND.
27758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27759         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27760         (__cos): Likewise.
27761         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27762         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27763         SET_RESTORE_ROUND_NOEX.
27764         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27765         SET_RESTORE_ROUND_NOEXF.
27766         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27767         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27768         (libc_feholdsetroundf): New.
27769         (libc_feresetround, libc_feresetroundf): New.
27771         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27772         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27773         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27775         * sysdeps/generic/math_private.h: Include <fenv.h>.
27776         (default_libc_feholdexcept): New.
27777         (default_libc_feholdexcept_setround): New.
27778         (default_libc_fesetenv, default_libc_feupdateenv): New.
27779         (libc_feholdexcept): Only define if undefined.
27780         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27781         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27782         (libc_feholdexcept_setroundl): Likewise.
27783         (libc_feholdexcept_setround_53bit): Likewise.
27784         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27785         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27786         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27787         (libc_feupdateenv_53bit): Likewise.
27788         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27789         (libc_feholdexcept): Convert from macro to inline function.
27790         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27791         (libc_fesetenv, libc_feupdateenv): Likewise.
27793         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27794         not previously defined.
27795         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27796         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27797         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27798         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27799         * sysdeps/ieee754/flt-32/math_private.h: New file.
27800         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27801         math_private.h below SET_FLOAT_WORD.
27802         (__isnan, __isinf_ns, __finite): Remove.
27803         (__isnanf, __isinf_nsf, __finitef): Remove.
27805 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27809 2012-03-17  David S. Miller  <davem@davemloft.net>
27811         [BZ #6471]
27812         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27813         for 2.16.
27815 2012-03-16  David S. Miller  <davem@davemloft.net>
27817         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27818         warnings.
27820         [BZ #6471]
27821         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27822         properly.
27823         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27824         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27825         sysdep_routines when subdir is sysvipc.
27826         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27827         __getshmlba helper.
27829         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27831 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27833         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27834         [__LP64__].
27836 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27838         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27839         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27840         (__lround): Renamed to ...
27841         (__llround): This.  Replace long int with long long int.
27842         Define lround functions as aliases of llround functions.
27843         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27845 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27847         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27848         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27849         adresses to uintptr_t.  Replace "long int" and "unsigned long
27850         int" with "greg_t" on va_arg.
27852 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27854         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27855         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27857         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27858         Move e_machine check before EI_CLASS check.  Handle x32
27859         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27860         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27861         SKIP_EM_IA_64 and include
27862         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27864         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27865         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27866         (add_system_dir): New macro.
27868         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27869         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27871 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27873         [BZ #2551]
27874         [BZ #2552]
27875         [BZ #2553]
27876         [BZ #2554]
27877         [BZ #2562]
27878         [BZ #2563]
27879         [BZ #2565]
27880         [BZ #2566]
27881         [BZ #2576]
27882         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27883         (y0): Likewise.
27884         * math/w_j0f.c (j0f): Likewise.
27885         (y0f): Likewise.
27886         * math/w_j0l.c (__j0l): Likewise.
27887         (__y0l): Likewise.
27888         * math/w_j1.c (j1): Likewise.
27889         (y1): Likewise.
27890         * math/w_j1f.c (j1f): Likewise.
27891         (y1f): Likewise.
27892         * math/w_j1l.c (__j1l): Likewise.
27893         (__y1l): Likewise.
27894         * math/w_jn.c (jn): Likewise.
27895         (yn): Likewise.
27896         * math/w_jnf.c (jnf): Likewise.
27897         (ynf): Likewise.
27898         * math/w_jnl.c (__jnl): Likewise.
27899         (__ynl): Likewise.
27900         * math/libm-test.inc (j0_test): Add more tests.
27901         (j1_test): Likewise.
27902         (jn_test): Likewise.  Add trailing semicolon to existing test.
27903         (y0_test): Likewise.
27904         (y1_test): Likewise.
27905         * sysdeps/i386/fpu/libm-test-ulps: Update.
27906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27908         [BZ #13851]
27909         [BZ #13854]
27910         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27911         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27912         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27913         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27914         (__tanl): Set errno for infinite argument.
27915         * sysdeps/i386/fpu/mptan.c: Remove.
27916         * sysdeps/i386/fpu/s_tan.S: Likewise.
27917         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27918         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27919         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27920         * math/libm-test.inc (tan_test): Add more tests and enable more
27921         tests for double and long double.
27922         * sysdeps/i386/fpu/libm-test-ulps: Update.
27923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27925 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27927         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27928         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27930 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27932         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27933         * configure.in: Use it for both main tree and add-ons.
27934         * configure: Regenerated.
27936 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27938         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27940 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27942         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27943         in comment.
27945         [BZ #13851]
27946         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27947         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27948         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27949         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27950         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27951         infinite argument.
27952         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27954         != 0 for prec == 2.
27955         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27956         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27957         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27958         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27959         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27960         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27961         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27962         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27963         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27964         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27965         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27966         * math/libm-test.inc (cos_test): Add more tests and enable more
27967         tests for long double.
27968         (sin_test): Likewise.
27969         (sincos_test): Likewise.
27970         * sysdeps/i386/fpu/libm-test-ulps: Update.
27971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27973 2012-03-16  David S. Miller  <davem@davemloft.net>
27975         * sysdeps/sparc/fpu/math_private.h: New file.
27977 2012-03-15  David S. Miller  <davem@davemloft.net>
27979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27980         file.
27981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27983         file.
27984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27985         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27989         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27990         sysdep routines.
27991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27993         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27994         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27996         * sysdeps/sparc/sparc-ifunc.h: New file.
27997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27998         sparc-ifunc.h
27999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28001         Likewise.
28002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28003         Likewise.
28004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28008         Likewise.
28009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28014         Likewise.
28015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28016         Likewise.
28017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28021         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28022         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28023         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28024         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28035         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28036         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28037         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28038         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28039         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28040         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28042 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28044         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28045         scaling.
28046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28048 2012-03-15  Andreas Jaeger  <aj@suse.de>
28050         [BZ #13852]
28051         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28052         ieee754/flt-32 implementation for sin, cos and sincos.
28053         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28054         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28055         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28056         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28057         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28058         ieee754/flt-32 implementation for tan.
28060         * math/libm-test.inc (cos_test): Enable some large input tests for
28061         float as well
28062         (sin_test): Likewise.
28063         (sincos_test): Likewise.
28064         (tan_test): Add tests for large input.
28066         * sysdeps/i386/fpu/libm-test-ulps: Update.
28068 2012-03-15  Andreas Jaeger  <aj@suse.de>
28070         [BZ #13658]
28071         * math/libm-test.inc (cos_test): Add more test cases.
28072         (sin_test): Likewise.
28073         (sincos_test): Likewise.
28075 2012-03-15  Andreas Jaeger  <aj@suse.de>
28077         [BZ #13837]
28078         * math/libm-test.inc (cos_test): Add a test case for large input
28079         value.
28080         (sin_test): Likewise.
28081         (sincos_test): Likewise.
28083 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28084         Joseph Myers  <joseph@codesourcery.com>
28086         [BZ #13658]
28087         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28088         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28089         * sysdeps/i386/fpu/branred.c: Likewise.
28090         * sysdeps/i386/fpu/dosincos.c: Likewise.
28091         * sysdeps/i386/fpu/mpa.c: Likewise.
28092         * sysdeps/i386/fpu/s_cos.S: Likewise.
28093         * sysdeps/i386/fpu/s_sin.S: Likewise.
28094         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28095         * sysdeps/i386/fpu/sincos32.c: Likewise.
28097         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28098         Define.
28099         (libc_feupdateenv_53bit): Define.
28100         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28101         Define.
28102         (libc_feupdateenv_53bit): Define.
28104         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28105         53 bit (without extend i386 double precision).
28107         * math/libm-test.inc (sincos_test): Add tests for large input.
28108         (sin): Likewise.
28109         (cos): Likewise.
28111         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28113 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28117 2012-03-15  David S. Miller  <davem@davemloft.net>
28119         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28120         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28121         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28122         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28135         file.
28136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28138         file.
28139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28141         file.
28142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28144         file.
28145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28146         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28147         fmin/fmax sysdep routines.
28148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28150 2012-03-14  David S. Miller  <davem@davemloft.net>
28152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28156         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28157         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28158         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28159         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28165         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28166         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28167         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28172         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28173         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28175         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28176         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28177         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28180         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28181         routines.
28182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28183         file.
28184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28186         file.
28187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28189         file.
28190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28192         file.
28193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28195         file.
28196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28198         file.
28199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28200         file.
28201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28202         file.
28203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28204         file.
28205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28206         New file.
28207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28208         file.
28209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28210         file.
28211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28213         file.
28214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28216         file.
28217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28219         file.
28220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28222         VIS3 routines.
28224         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28225         New file.
28227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28229         * sysdeps/sparc/configure.in: New file.
28230         * sysdeps/sparc/configure: Generate.
28231         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28232         * configure: Regenerate.
28233         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28234         * config.make.in (have-as-vis3): New.
28235         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28236         available use -Av9d instead of -Av9a.
28237         * sysdeps/sparc/sparc64/Makefile: Likewise.
28238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28240         New file.
28241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28242         file.
28243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28244         New file.
28245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28246         file.
28247         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28248         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28249         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28250         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28251         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28253         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28254         fzeros/fnegs to load 0x80000000 into a float register instead of
28255         using the stack.
28256         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28258 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28261         bits/syscall.h.
28262         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28263         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28264         ($(inst_includedir)/bits/syscall.h): Remove rule.
28265         ($(objpfx)bits/syscall.d): Include instead of
28266         $(objpfx)syscall-list.d.
28267         (generated): Change syscall-list.h and syscall-list.d to
28268         bits/syscall.h and bits/syscall.d.
28270 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28272         [BZ #13846]
28273         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28275 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28277         [BZ #13841]
28278         * math/s_csqrt.c: Include <float.h>.
28279         (__csqrt): Scale large or subnormal inputs.
28280         * math/s_csqrtf.c: Likewise.
28281         * math/s_csqrtl.c: Likewise.
28282         * math/libm-test.inc (csqrt_test): Add more tests.
28283         * sysdeps/i386/fpu/libm-test-ulps: Update.
28284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28286         [BZ #13840]
28287         * math/libm-test.inc (hypot_test): Add more tests.
28289 2012-03-13  David S. Miller  <davem@davemloft.net>
28291         [BZ #13840]
28292         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28293         double-precision for the calculation instead of scaling.
28295 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28297         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28298         manipulate bits before adding and subtracting TWO52[sx].
28299         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28300         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28301         Likewise.
28302         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28304 2012-03-13  David S. Miller  <davem@davemloft.net>
28306         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28307         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28308         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28309         rtld-global-offsets.h
28310         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28312         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28313         large parameters.
28315         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28317         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28318         'err' in the ifdef scope in which it is actually used.
28320         * nss/nss_db/db-init.c: Include string.h
28322 2012-03-12  David S. Miller  <davem@davemloft.net>
28324         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28325         masking out of the most significant byte of random value used.
28326         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28327         Fix coding style in previous change.
28329         * sysdeps/unix/sysv/linux/kernel-features.h
28330         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28331         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28332         expression.
28333         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28334         later.
28336 2012-03-11  David S. Miller  <davem@davemloft.net>
28338         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28339         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28340         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28341         for 'resultvar' otherwise things get truncated on 64-bit.
28343         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28344         Fix masking out of the most significant byte of random value used.
28346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28348 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28352 2012-03-09  David S. Miller  <davem@davemloft.net>
28354         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28355         variables with appropriate CPP guards.
28356         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28357         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28358         on resulting framesize and the management of the outregs buffer for pltexit.
28359         Preserve floating point return values across _dl_call_pltexit call.
28360         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28361         framesize and the management of the outregs buffer for pltexit.
28362         Preserve floating point return values across _dl_call_pltexit
28363         call.
28364         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28365         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28366         (print_exit): Fix format string for return register value.
28368 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28370         * sunrpc/Makefile (others): Add rpcgen.
28371         ($(objpfx)rpcgen): Remove special build rule and dependency on
28372         libc.
28373         * sunrpc/rpcgen.c: New file.
28375 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28377         [BZ #13673]
28378         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28379         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28380         * sysdeps/i386/crti.S: Likewise.
28381         * sysdeps/i386/crtn.S: Likewise.
28382         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28383         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28384         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28385         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28386         * sysdeps/sh/crti.S: Likewise.
28387         * sysdeps/sh/crtn.S: Likewise.
28388         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28390         [BZ #13673]
28391         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28392         with URL.
28393         * locale/programs/locfile-kw.gperf: Likewise.
28394         * locale/programs/charmap-kw.h: Regenerated.
28395         * locale/programs/locfile-kw.h: Likewise.
28397         [BZ #13673]
28398         * intl/plural.y: Replace FSF snail mail address with URL.
28399         * intl/plural.c: Regenerated.
28401 2012-03-09  Richard Henderson  <rth@twiddle.net>
28403         * include/math_private.h: Remove file.
28404         * math/math_private.h: Move file ...
28405         * sysdeps/generic/math_private.h: ... here.
28407         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28408         * sysdeps/powerpc/fpu/math_private.h: Likewise.
28409         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28411         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28412         and <math_private.h>.
28413         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28414         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28415         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28416         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28417         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28418         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28419         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28421         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28422         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28423         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28424         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28447         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28448         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28449         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28450         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28451         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28452         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28453         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28454         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28455         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28456         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28457         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28458         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28459         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28460         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28461         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28462         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28463         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28464         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28465         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28466         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28467         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28468         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28469         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28470         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28471         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28472         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28473         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28474         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28475         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28476         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28477         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28478         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28479         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28480         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28481         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28482         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28483         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28484         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28485         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28486         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28487         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28488         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28489         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28492         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28493         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28494         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28495         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28496         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28497         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28498         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28500         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28501         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28502         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28503         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28504         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28505         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28506         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28507         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28508         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28509         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28510         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28511         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28512         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28513         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28514         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28515         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28516         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28517         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28518         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28519         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28520         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28521         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28522         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28523         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28524         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28525         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28526         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28527         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28528         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28529         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28530         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28531         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28532         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28533         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28534         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28535         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28536         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28537         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28538         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28539         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28540         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28541         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28542         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28543         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28544         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28545         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28546         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28547         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28548         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28549         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28550         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28551         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28552         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28553         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28554         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28555         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28556         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28557         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28558         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28559         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28560         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28561         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28562         * sysdeps/ieee754/k_standard.c: Likewise.
28563         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28565         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28567         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28569         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28570         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28571         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28572         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28573         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28575         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28576         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28577         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28578         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28579         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28580         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28581         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28582         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28583         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28584         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28585         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28586         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28587         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28588         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28589         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28590         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28591         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28593         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28594         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28595         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28596         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28597         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28598         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28599         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28600         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28601         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28602         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28603         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28604         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28605         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28606         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28607         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28608         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28609         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28610         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28613         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28644         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28652         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28654         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28655         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28656         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28657         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28660         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28664         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28665         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28666         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28667         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28668         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28669         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28670         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28671         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28672         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28673         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28674         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28675         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28676         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28677         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28678         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28679         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28680         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28681         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28683         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28684         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28685         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28686         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28687         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28688         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28690         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28691         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28692         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28693         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28694         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28695         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28696         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28697         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28698         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28699         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28700         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28701         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28702         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28703         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28704         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28705         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28706         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28707         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28708         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28709         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28710         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28711         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28712         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28713         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28714         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28715         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28716         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28717         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28718         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28719         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28720         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28721         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28722         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28723         * sysdeps/ieee754/s_lib_version.c: Likewise.
28724         * sysdeps/ieee754/s_matherr.c: Likewise.
28725         * sysdeps/ieee754/s_signgam.c: Likewise.
28726         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28727         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28728         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28729         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28730         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28731         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28732         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28733         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28734         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28735         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28736         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28737         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28738         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28739         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28740         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28741         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28742         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28743         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28744         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28745         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28748 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28750         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28751         * sunrpc/rpc_main.c: Likewise.
28752         * sunrpc/rpc_svcout.c: Likewise.
28754 2012-03-09  David S. Miller  <davem@davemloft.net>
28756         * include/math_private.h: New file.
28758 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28760         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28761         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28762         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28763         from <bits/socket_type.h>.
28764         (enum __socket_type): Don't define here.
28765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28767         bits/socket_type.h.
28769         [BZ #13566]
28770         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28771         checking __USE_GNU.
28773         * Makerules ($(inst_includedir)/%.h): New rule.
28774         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28775         (install-others): Remove variable setting.
28776         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28778 2012-03-08  Richard Henderson  <rth@twiddle.net>
28780         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28781         from macro to inline function; merge with the
28782         !__LIBC_INTERNAL_MATH_INLINES version.
28783         (__ieee754_sqrtf): Likewise.
28785         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28786         to inline function.
28787         (__rintf, __floor, __floorf): Likewise.
28789         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28790         macro to inline function.
28791         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28793         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28794         not <math/math_private.h>.
28796 2012-03-08  David S. Miller  <davem@davemloft.net>
28798         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28799         copyright year.
28800         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28802 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28804         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28805         normalization.
28806         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28807         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28809 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28811         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28812         be defined individually, they must be defined as a block.  Define
28813         S for printing a string instead of hidint the different by using a
28814         macro for adding the 'l'.
28815         * stdio-common/tst-fphex-wide.c: Adjust.
28817 2012-03-07  Marek Polacek  <polacek@redhat.com>
28819         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28821 2012-03-08  Marek Polacek  <polacek@redhat.com>
28823         [BZ #13806]
28824         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28825         * stdio-common/tst-fphex.c: Define a few macros to make the
28826         test reusable.  Use them.
28827         * stdio-common/tst-fphex-wide.c: New file.
28829 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28831         [BZ #6911]
28832         * manual/macros.texi (gnusystems): New macro.
28833         (nongnusystems): Likewise.
28834         (gnulinuxhurdsystems): Likewise.
28835         (gnuhurdsystems): Likewise..
28836         (gnulinuxsystems): Likewise.
28837         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28838         variants of the GNU system, not "GNU system".
28839         * manual/conf.texi: Likewise.
28840         * manual/errno.texi: Likewise.  Update example of errno macro
28841         expansion.
28842         * manual/filesys.texi: Likewise.
28843         (getumask): Document as specific to GNU/Hurd.
28844         * manual/install.texi: Likewise.  Reword some references to
28845         GNU/Linux.
28846         * manual/intro.texi: Likewise.
28847         * manual/io.texi: Likewise.
28848         (File Name Portability): Detail which constraints are inapplicable
28849         to all GNU systems and which are only inapplicable to GNU/Hurd.
28850         * manual/job.texi: Likewise.
28851         * manual/llio.texi: Likewise.
28852         (O_NOCTTY): Document as present on GNU/Linux.
28853         * manual/maint.texi: Likewise.
28854         * manual/memory.texi: Likewise.
28855         * manual/pattern.texi: Likewise.
28856         * manual/pipe.texi: Likewise.
28857         * manual/process.texi: Likewise.
28858         * manual/resource.texi: Likewise.
28859         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28860         child on GNU/Hurd.
28861         * manual/setjmp.texi: Likewise.
28862         * manual/signal.texi: Likewise.
28863         * manual/startup.texi: Likewise.
28864         * manual/stdio.texi: Likewise.
28865         * manual/terminal.texi: Likewise.
28866         (ONLCR): Document as POSIX.
28867         (OXTABS): Document availability on GNU/Linux as XTABS.
28868         (ONOEOT): Document availability separately from other bits.
28869         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28870         * manual/time.texi: Likewise.
28871         * manual/users.texi: Likewise.
28872         * INSTALL: Regenerated.
28873         * sysdeps/gnu/errlist.c: Regenerated.
28875         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28876         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28877         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28878         puts.
28879         * configure: Regenerated.
28881 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28883         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28884         default includes instead of AC_HEADER_CHECK.
28885         * sysdeps/i386/configure: Regenerated.
28887         [BZ #10716]
28888         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28889         * math/s_cacoshf.c (__cacoshf): Likewise.
28890         * math/s_cacoshl.c (__cacoshl): Likewise.
28891         * math/s_casinh.c (__casinh): Set signs of result from argument.
28892         * math/s_casinhf.c (__casinhf): Likewise.
28893         * math/s_casinhl.c (__casinhl): Likewise.
28894         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28895         (casinh_test): Add more tests.
28896         * sysdeps/i386/fpu/libm-test-ulps: Update.
28897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28899 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28901         * po/zh_TW.po: Update from translation team.
28903         * login/Makefile (distribute): Remove variable.
28904         * catgets/Makefile: Likewise.
28905         * mach/Makefile: Likewise.
28906         * malloc/Makefile: Likewise.
28907         * misc/Makefile: Likewise.
28908         * iconv/Makefile: Likewise.
28909         * nscd/Makefile: Likewise.
28910         * hurd/Makefile: Likewise.
28911         * manual/Makefile: Likewise.
28912         * locale/Makefile: Likewise.
28913         * intl/Makefile: Likewise.
28914         * conform/Makefile: Likewise.
28915         * nss/Makefile: Likewise.
28916         * time/Makefile: Likewise.
28917         * soft-fp/Makefile: Likewise.
28918         * dirent/Makefile: Likewise.
28919         * gmon/Makefile: Likewise.
28920         * po/Makefile: Likewise.
28921         * rt/Makefile: Likewise.
28922         * socket/Makefile: Likewise.
28923         * math/Makefile: Likewise.
28924         * signal/Makefile: Likewise.
28925         * debug/Makefile: Likewise.
28926         * elf/Makefile: Likewise.
28927         * timezone/Makefile: Likewise.
28928         * stdlib/Makefile: Likewise.
28929         * iconvdata/Makefile: Likewise.
28930         * sunrpc/Makefile: Likewise.
28931         * io/Makefile: Likewise.
28932         * argp/Makefile: Likewise.
28933         * inet/Makefile: Likewise.
28934         * hesiod/Makefile: Likewise.
28935         * grp/Makefile: Likewise.
28936         * csu/Makefile: Likewise.
28937         * wctype/Makefile: Likewise.
28938         * crypt/Makefile: Likewise.
28939         * libio/Makefile: Likewise.
28940         * string/Makefile: Likewise.
28941         * nis/Makefile: Likewise.
28942         * resolv/Makefile: Likewise.
28943         * stdio-common/Makefile: Likewise.
28944         * wcsmbs/Makefile: Likewise.
28945         * dlfcn/Makefile: Likewise.
28946         * posix/Makefile: Likewise.
28948         [BZ #6959]
28949         * timezone/Makefile: Don't install timezone files, just the programs
28950         and scripts.
28952 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28954         * nss/databases.def: Add missing gshadow entry.
28956         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28958 2012-03-06  Marek Polacek  <polacek@redhat.com>
28960         [BZ #13726]
28961         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28962         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28963         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28964         * stdio-common/tst-long-dbl-fphex.c: New file.
28966 2012-03-06  David S. Miller  <davem@davemloft.net>
28968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28969         (set_obp_int): New function.
28970         (get_obp_int): New function.
28971         (__get_clockfreq_via_dev_openprom): Likewise.
28972         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28973         Avoid unused variable warnings on 'val' and use builtin_expect.
28974         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28975         __builtin_expect.
28976         (INLINE_CLONE_SYSCALL): Likewise.
28978 2012-03-05  David S. Miller  <davem@davemloft.net>
28980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28982 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28986         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28987         only for |x| >= 40.
28988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28990 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28993         Replace gettimeofday with __vdso_gettimeofday.
28995         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28996         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28997         __vdso_clock_gettime and __vdso_getcpu.
28999         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29000         time with __vdso_time.
29002 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29004         * manual/lang.texi (size_t): Note types to which size_t may be
29005         equivalent with the GNU C Library, but do not describe when
29006         differences between them are significant.
29008 2012-03-05  Andreas Jaeger  <aj@suse.de>
29010         * sysdeps/i386/fpu/libm-test-ulps: Update.
29012 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29014         [BZ #3976]
29015         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29016         (__ieee754_pow): Save and restore rounding mode and use
29017         round-to-nearest for main computations.
29018         * math/libm-test.inc (pow_test_tonearest): New function.
29019         (pow_test_towardzero): Likewise.
29020         (pow_test_downward): Likewise.
29021         (pow_test_upward): Likewise.
29022         (main): Call the new functions.
29023         * sysdeps/i386/fpu/libm-test-ulps: Update.
29024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29026         [BZ #3976]
29027         * math/libm-test.inc (cosh_test_tonearest): New function.
29028         (cosh_test_towardzero): Likewise.
29029         (cosh_test_downward): Likewise.
29030         (cosh_test_upward): Likewise.
29031         (sinh_test_tonearest): Likewise.
29032         (sinh_test_towardzero): Likewise.
29033         (sinh_test_downward): Likewise.
29034         (sinh_test_upward): Likewise.
29035         (main): Call the new functions.
29036         * sysdeps/i386/fpu/libm-test-ulps: Update.
29037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29039 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29041         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29042         default stack guard is set in last bytes.
29043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29045 2012-03-05  Kees Cook  <keescook@chromium.org>
29047         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29049         [BZ #13656]
29050         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29051         possibly allocate from heap instead of stack.
29052         * stdio-common/bug-vfprintf-nargs.c: New file.
29053         * stdio-common/Makefile (tests): Add nargs overflow test.
29055 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29059 2012-03-03  Marek Polacek  <polacek@redhat.com>
29061         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29062         * math/math_private.h: Likewise.
29063         * stdlib/tst-strtod.c: Likewise.
29064         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29065         * sysdeps/x86_64/bits/atomic.h: Likewise.
29067 2012-03-02  David S. Miller  <davem@davemloft.net>
29069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29073         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29074         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29075         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29076         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29078 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29080         [BZ #13792]
29081         * manual/examples/README: New file, says the example source files
29082         can be used under GPL>=2.
29083         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29084         line containing just "*/".
29085         * manual/examples/add.c: Add copyright header (GPL>=2).
29086         * manual/examples/argp-ex1.c: Likewise.
29087         * manual/examples/argp-ex2.c: Likewise.
29088         * manual/examples/argp-ex3.c: Likewise.
29089         * manual/examples/argp-ex4.c: Likewise.
29090         * manual/examples/atexit.c: Likewise.
29091         * manual/examples/db.c: Likewise.
29092         * manual/examples/dir.c: Likewise.
29093         * manual/examples/dir2.c: Likewise.
29094         * manual/examples/execinfo.c: Likewise.
29095         * manual/examples/filecli.c: Likewise.
29096         * manual/examples/filesrv.c: Likewise.
29097         * manual/examples/fmtmsgexpl.c: Likewise.
29098         * manual/examples/genpass.c: Likewise.
29099         * manual/examples/inetcli.c: Likewise.
29100         * manual/examples/inetsrv.c: Likewise.
29101         * manual/examples/isockad.c: Likewise.
29102         * manual/examples/longopt.c: Likewise.
29103         * manual/examples/memopen.c: Likewise.
29104         * manual/examples/memstrm.c: Likewise.
29105         * manual/examples/mkfsock.c: Likewise.
29106         * manual/examples/mkisock.c: Likewise.
29107         * manual/examples/mygetpass.c: Likewise.
29108         * manual/examples/pipe.c: Likewise.
29109         * manual/examples/popen.c: Likewise.
29110         * manual/examples/rprintf.c: Likewise.
29111         * manual/examples/search.c: Likewise.
29112         * manual/examples/select.c: Likewise.
29113         * manual/examples/setjmp.c: Likewise.
29114         * manual/examples/sigh1.c: Likewise.
29115         * manual/examples/sigusr.c: Likewise.
29116         * manual/examples/stpcpy.c: Likewise.
29117         * manual/examples/strdupa.c: Likewise.
29118         * manual/examples/strftim.c: Likewise.
29119         * manual/examples/strncat.c: Likewise.
29120         * manual/examples/subopt.c: Likewise.
29121         * manual/examples/swapcontext.c: Likewise.
29122         * manual/examples/termios.c: Likewise.
29123         * manual/examples/testopt.c: Likewise.
29124         * manual/examples/testpass.c: Likewise.
29125         * manual/examples/timeval_subtract.c: Likewise.
29127         [BZ #13792]
29128         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29129         function to ...
29130         * manual/timeval_subtract.c.texi: ... here, new file.
29132 2012-03-02  David S. Miller  <davem@davemloft.net>
29134         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29136 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29138         [BZ #3976]
29139         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29140         (__sin): Save and restore rounding mode and use round-to-nearest
29141         for all computations.
29142         (__cos): Save and restore rounding mode and use round-to-nearest
29143         for all computations.
29144         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29145         <fenv.h>.
29146         (tan): Save and restore rounding mode and use round-to-nearest for
29147         all computations.
29148         * math/libm-test.inc (cos_test_tonearest): New function.
29149         (cos_test_towardzero): Likewise.
29150         (cos_test_downward): Likewise.
29151         (cos_test_upward): Likewise.
29152         (sin_test_tonearest): Likewise.
29153         (sin_test_towardzero): Likewise.
29154         (sin_test_downward): Likewise.
29155         (sin_test_upward): Likewise.
29156         (tan_test_tonearest): Likewise.
29157         (tan_test_towardzero): Likewise.
29158         (tan_test_downward): Likewise.
29159         (tan_test_upward): Likewise.
29160         (main): Call the new functions.
29161         * sysdeps/i386/fpu/libm-test-ulps: Update.
29162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29164         [BZ #10135]
29165         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29166         small n, then large n, before computing and testing k+n.
29167         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29168         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29169         Likewise.
29170         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29171         Likewise.
29172         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29173         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29174         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29175         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29176         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29178         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29179         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29180         * math/libm-test.inc (scalbn_test): Add more tests.
29181         (scalbln_test): Likewise.
29183         * manual/filesys.texi (mode_t): Describe constraints on size and
29184         signedness, not exact equivalence to a particular type.
29185         (ino_t): Likewise.
29186         (ino64_t): Likewise.
29187         (dev_t): Likewise.
29188         (nlink_t): Likewise.
29189         (blkcnt_t): Likewise.
29190         (blkcnt64_t): Likewise.
29191         * manual/llio.texi (off_t): Likewise.
29193         [BZ #3976]
29194         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29195         (__ieee754_exp): Save and restore rounding mode and use
29196         round-to-nearest for all computations.
29197         * math/libm-test.inc (exp_test_tonearest): New function.
29198         (exp_test_towardzero): Likewise.
29199         (exp_test_downward): Likewise.
29200         (exp_test_upward): Likewise.
29201         (main): Call the new functions.
29202         * sysdeps/i386/fpu/libm-test-ulps: Update.
29203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29205 2012-03-01  Chris Demetriou  <cgd@google.com>
29207         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29208         have predictable order.
29210 2012-03-01  David S. Miller  <davem@davemloft.net>
29212         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29214         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29215         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29216         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29217         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29219         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29220         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29221         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29223         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29224         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29225         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29226         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29227         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29231         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29232         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29233         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29235         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29236         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29237         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29238         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29239         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29240         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29241         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29242         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29243         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29244         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29245         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29246         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29248         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29249         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29251         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29252         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29253         * sysdeps/sparc/elf/configure: Regenerated.
29255 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29257         * configure.in (AS, LD): Require binutils 2.20 or later.
29258         * configure: Regenerated.
29259         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29260         as required minimum version.
29261         * INSTALL: Regenerated.
29263         [BZ #2541]
29264         [BZ #4108]
29265         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29266         before squaring exponent.
29267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29268         bottom long double and 27 bits of top long double before squaring
29269         exponent.
29270         * math/libm-test.inc (erfc_test): Add more tests.
29271         * sysdeps/i386/fpu/libm-test-ulps: Update.
29272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29275 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29277         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29278         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29279         containing bit-fields.
29280         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29281         * soft-fp/single.h (_FP_UNION_S): Likewise.
29282         * soft-fp/double.h (_FP_UNION_D): Likewise.
29284 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29286         [BZ #13786]
29287         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29288         not include ../strcmp.S.
29289         [USE_AS_STRNCASECMP_L]: Likewise.
29290         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29291         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29292         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29293         (__strncasecmp_l_ia32): Define as alias to
29294         __strncasecmp_l_nonascii.
29296         [BZ #5794]
29297         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29298         * sysdeps/i386/fpu/libm-test-ulps: Update.
29299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29301         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29304 2012-02-29  Jeff Law  <law@redhat.com>
29306         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29307         out of bounds read.
29309 2012-02-29  Marek Polacek  <polacek@redhat.com>
29311         [BZ #13706]
29312         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29313         * elf/Makefile: Add rules to run tst-unused-dep.out.
29315 2012-02-28  David S. Miller  <davem@davemloft.net>
29317         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29318         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29319         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29320         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29321         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29322         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29324 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29326         * math/libm-test.inc (llround_test): Move one test from
29327         lround_test.  Use TEST_f_L in moved test.
29328         (lround_test): Move misplaced test to llround_test.  Add testcase
29329         from bug 2561.
29331 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29333         * sysdeps/x86_64/fpu/e_expf.S: New file.
29334         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29336 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29338         [BZ #13637]
29339         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29340         of remain_len that may cause incomplete multi-byte character and
29341         false match.
29342         * posix/bug-regex33.c: New file.
29343         * posix/Makefile (tests): Add bug-regex33.
29345 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29347         * manual/macros.texi: New file.
29348         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29349         * manual/libc.texinfo: Include macros.texi.
29350         * manual/creatute.texi: Likewise.
29351         * manual/install.texi: Likewise.
29352         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29353         @glibcadj{} in references to the GNU C Library.
29354         * manual/charset.texi: Likewise.
29355         * manual/conf.texi: Likewise.
29356         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29357         when not using those macros.
29358         * manual/creature.texi: Likewise.
29359         * manual/crypt.texi: Likewise.
29360         * manual/errno.texi: Likewise.
29361         * manual/filesys.texi: Likewise.
29362         * manual/header.texi: Likewise.
29363         * manual/install.texi: Likewise.
29364         * manual/intro.texi: Likewise.
29365         * manual/io.texi: Likewise.
29366         * manual/job.texi: Likewise.
29367         * manual/lang.texi: Likewise.
29368         * manual/libc.texiinfo: Likewise.
29369         * manual/llio.texi: Likewise.
29370         * manual/locale.texi: Likewise.
29371         * manual/maint.texi: Likewise.
29372         * manual/math.texi: Likewise.
29373         * manual/memory.texi: Likewise.
29374         * manual/message.texi: Likewise.
29375         * manual/nss.texi: Likewise.
29376         * manual/pattern.texi: Likewise.
29377         * manual/process.texi: Likewise.
29378         * manual/resource.texi: Likewise.
29379         * manual/search.texi: Likewise.
29380         * manual/setjmp.texi: Likewise.
29381         * manual/signal.texi: Likewise.
29382         * manual/socket.texi: Likewise.
29383         * manual/startup.texi: Likewise.
29384         * manual/stdio.texi: Likewise.
29385         * manual/string.texi: Likewise.
29386         * manual/sysinfo.texi: Likewise.
29387         * manual/syslog.texi: Likewise.
29388         * manual/terminal.texi: Likewise.
29389         * manual/time.texi: Likewise.
29390         * manual/users.texi: Likewise.
29391         * INSTALL: Regenerated.
29392         * NOTES: Regenerated.
29393         * sysdeps/gnu/errlist.c: Regenerated.
29395 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
29397         * include/dirent.h: Include <dirstream.h> before
29398         <dirent/dirent.h>.
29400 2012-02-28  David S. Miller  <davem@davemloft.net>
29402         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29403         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29404         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29405         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29407 2012-02-27  David S. Miller  <davem@davemloft.net>
29409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29411         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29412         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29415         frame pointer instead of stack pointer relative arg slot.
29416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29417         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29418         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29420 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
29422         [BZ #3992]
29423         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29425 2012-02-27  David S. Miller  <davem@davemloft.net>
29427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29431         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29432         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29433         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29434         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29436 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29438         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29439         later.  Allow versions 5-9.
29440         * configure: Regenerated.
29441         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29442         required minimum version and 4.6 as recommended version.  Do not
29443         mention bugs in GCC 2.7 and 2.8.
29444         * INSTALL: Regenerated.
29446 2012-02-27  David S. Miller  <davem@davemloft.net>
29448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29452         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29453         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29454         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29455         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29457         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29458         manipulate bits before adding and subtracting TWO112[sx].
29459         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29461 2012-02-27  Roland McGrath  <roland@hack.frob.com>
29463         [BZ #13775]
29464         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29465         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29466         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29467         being in POSIX, because they are in 1003.1-2008.
29469         * rt/tst-aio.c: Include <fcntl.h>.
29470         * rt/tst-aio7.c: Likewise.
29471         * rt/tst-aio64.c: Likewise.
29473         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29475 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29477         * manual/install.texi (--with-headers): Describe headers as
29478         interface headers, not private headers.
29479         (Specific advice for GNU/Linux systems): Describe use of headers
29480         from "make headers_install", not private headers from older
29481         kernels.
29482         * INSTALL: Regenerated.
29483         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29484         Change to 2.6.19.
29485         * sysdeps/unix/sysv/linux/configure: Regenerated.
29487         * manual/llio.texi (fclean): Remove documentation.
29489         * manual/Makefile (libc-texi-generated): New variable.  Include
29490         version.texi.
29491         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29492         $(libc-texi-generated), not duplicated list of files.
29493         (version.texi, stamp-version): New rules.
29494         (realclean): Remove $(libc-texi-generated), not individual files
29495         from that list.  Do not remove dir-add.texinfo.
29496         * manual/libc.texinfo: Comment out uses of edition numbers and
29497         references to printed manual.  Remove last-updated dates.
29498         (EDITION): Comment out.
29499         (ISBN): Likewise.
29500         (VERSION, UPDATED): Remove.
29501         (version.texi): Include.
29503 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29505         * sysdeps/posix/spawni.c: Include <signal.h>.
29506         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29507         * sysdeps/pthread/aio_fsync.c: Likewise.
29509 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29511         * conform/Makefile (tests): Run only when not cross-compiling and
29512         when fast-check is not defined.
29514         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29515         * conform/data/limits.h-data: Fixes for POSIX2008.
29516         * conform/run-conformtest.sh: Run all tests.
29517         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29518         headers.
29519         * include/bits/dlfcn.h: Likewise.
29520         * include/langinfo.h: Likewise.
29521         * include/monetary.h: Likewise.
29522         * include/sys/poll.h: Likewise.
29524         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29525         for __USE_GNU.
29526         * posix/spawn.h: Define __need_sigset_t.
29527         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29528         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29529         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29530         to get sigevent_t only.
29531         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29532         only for __USE_GNU.
29533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29534         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29535         process_vm_writev only for __USE_GNU.
29536         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29538         * conform/Makefile: For now ignore errors from run-conformtest.
29539         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29540         POSIX to avoid namespace pollution.  Don't prepend headers.
29541         * conform/data/aio.h-data: Fixes for POSIX testing.
29542         * conform/data/fcntl.h-data: Likewise.
29543         * conform/data/glob.h-data: Likewise.
29544         * conform/data/grp.h-data: Likewise.
29545         * conform/data/pthread.h-data: Likewise.
29546         * conform/data/pwd.h-data: Likewise.
29547         * conform/data/signal.h-data: Likewise.
29548         * conform/data/spawn.h-data: Likewise.
29549         * conform/data/stdio.h-data: Likewise.
29550         * conform/data/stdlib.h-data: Likewise.
29551         * conform/data/stropts.h-data: Likewise.
29552         * conform/data/sys/mman.h-data: Likewise.
29553         * conform/data/sys/stat.h-data: Likewise.
29554         * conform/data/sys/types.h-data: Likewise.
29555         * conform/data/sys/wait.h-data: Likewise.
29556         * conform/data/time.h-data: Likewise.
29557         * conform/data/unistd.h-data: Likewise.
29558         * conform/data/utime.h-data: Likewise.
29560         * io/sys/stat.h: fchmod was always in POSIX.
29561         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29562         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29563         * rt/aio.h: Define __need_timespec before including <time.h>.
29564         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29565         struct.  Add forward declaration of pthread_attr_t and use it in
29566         sigevent.
29567         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29568         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29569         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29570         always remove CLK_TCK definition.
29572 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29574         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29576 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29578         * conform/run-conformtest.sh: New file.
29579         * conform/Makefile: Run run-conformtest for tests.
29580         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29581         support.
29583         * conform/data/uchar.h-data: New file.
29584         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29585         * conform/data/arpa/inet.h-data: Likewise.
29586         * conform/data/assert.h-data: Likewise.
29587         * conform/data/complex.h-data: Likewise.
29588         * conform/data/cpio.h-data: Likewise.
29589         * conform/data/ctype.h-data: Likewise.
29590         * conform/data/dirent.h-data: Likewise.
29591         * conform/data/dlfcn.h-data: Likewise.
29592         * conform/data/errno.h-data: Likewise.
29593         * conform/data/fcntl.h-data: Likewise.
29594         * conform/data/float.h-data: Likewise.
29595         * conform/data/fmtmsg.h-data: Likewise.
29596         * conform/data/fnmatch.h-data: Likewise.
29597         * conform/data/ftw.h-data: Likewise.
29598         * conform/data/glob.h-data: Likewise.
29599         * conform/data/grp.h-data: Likewise.
29600         * conform/data/iconv.h-data: Likewise.
29601         * conform/data/inttypes.h-data: Likewise.
29602         * conform/data/langinfo.h-data: Likewise.
29603         * conform/data/libgen.h-data: Likewise.
29604         * conform/data/limits.h-data: Likewise.
29605         * conform/data/locale.h-data: Likewise.
29606         * conform/data/math.h-data: Likewise.
29607         * conform/data/monetary.h-data: Likewise.
29608         * conform/data/mqueue.h-data: Likewise.
29609         * conform/data/ndbm.h-data: Likewise.
29610         * conform/data/net/if.h-data: Likewise.
29611         * conform/data/netdb.h-data: Likewise.
29612         * conform/data/netinet/in.h-data: Likewise.
29613         * conform/data/nl_types.h-data: Likewise.
29614         * conform/data/poll.h-data: Likewise.
29615         * conform/data/pthread.h-data: Likewise.
29616         * conform/data/pwd.h-data: Likewise.
29617         * conform/data/regex.h-data: Likewise.
29618         * conform/data/sched.h-data: Likewise.
29619         * conform/data/search.h-data: Likewise.
29620         * conform/data/semaphore.h-data: Likewise.
29621         * conform/data/setjmp.h-data: Likewise.
29622         * conform/data/signal.h-data: Likewise.
29623         * conform/data/spawn.h-data: Likewise.
29624         * conform/data/stdarg.h-data: Likewise.
29625         * conform/data/stdio.h-data: Likewise.
29626         * conform/data/stdlib.h-data: Likewise.
29627         * conform/data/string.h-data: Likewise.
29628         * conform/data/strings.h-data: Likewise.
29629         * conform/data/stropts.h-data: Likewise.
29630         * conform/data/sys/ipc.h-data: Likewise.
29631         * conform/data/sys/mman.h-data: Likewise.
29632         * conform/data/sys/msg.h-data: Likewise.
29633         * conform/data/sys/resource.h-data: Likewise.
29634         * conform/data/sys/select.h-data: Likewise.
29635         * conform/data/sys/sem.h-data: Likewise.
29636         * conform/data/sys/shm.h-data: Likewise.
29637         * conform/data/sys/socket.h-data: Likewise.
29638         * conform/data/sys/stat.h-data: Likewise.
29639         * conform/data/sys/statvfs.h-data: Likewise.
29640         * conform/data/sys/time.h-data: Likewise.
29641         * conform/data/sys/timeb.h-data: Likewise.
29642         * conform/data/sys/times.h-data: Likewise.
29643         * conform/data/sys/types.h-data: Likewise.
29644         * conform/data/sys/uio.h-data: Likewise.
29645         * conform/data/sys/un.h-data: Likewise.
29646         * conform/data/sys/utsname.h-data: Likewise.
29647         * conform/data/sys/wait.h-data: Likewise.
29648         * conform/data/syslog.h-data: Likewise.
29649         * conform/data/tar.h-data: Likewise.
29650         * conform/data/termios.h-data: Likewise.
29651         * conform/data/utime.h-data: Likewise.
29652         * conform/data/utmpx.h-data: Likewise.
29653         * conform/data/varargs.h-data: Likewise.
29654         * conform/data/wchar.h-data: Likewise.
29655         * conform/data/wctype.h-data: Likewise.
29656         * conform/data/wordexp.h-data: Likewise.
29658         * include/stropts.h: New file.
29659         * include/uchar.h: New file.
29660         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29661         * include/assert.h: Likewise.
29662         * include/ctype.h: Likewise.
29663         * include/dirent.h: Likewise.
29664         * include/dlfcn.h: Likewise.
29665         * include/fcntl.h: Likewise.
29666         * include/fnmatch.h: Likewise.
29667         * include/glob.h: Likewise.
29668         * include/grp.h: Likewise.
29669         * include/libio.h: Likewise.
29670         * include/locale.h: Likewise.
29671         * include/math.h: Likewise.
29672         * include/net/if.h: Likewise.
29673         * include/netdb.h: Likewise.
29674         * include/netinet/in.h: Likewise.
29675         * include/pthread.h: Likewise.
29676         * include/pwd.h: Likewise.
29677         * include/regex.h: Likewise.
29678         * include/sched.h: Likewise.
29679         * include/search.h: Likewise.
29680         * include/setjmp.h: Likewise.
29681         * include/signal.h: Likewise.
29682         * include/stdio.h: Likewise.
29683         * include/stdlib.h: Likewise.
29684         * include/string.h: Likewise.
29685         * include/sys/cdefs.h: Likewise.
29686         * include/sys/mman.h: Likewise.
29687         * include/sys/msg.h: Likewise.
29688         * include/sys/resource.h: Likewise.
29689         * include/sys/select.h: Likewise.
29690         * include/sys/socket.h: Likewise.
29691         * include/sys/stat.h: Likewise.
29692         * include/sys/statvfs.h: Likewise.
29693         * include/sys/time.h: Likewise.
29694         * include/sys/times.h: Likewise.
29695         * include/sys/uio.h: Likewise.
29696         * include/sys/utsname.h: Likewise.
29697         * include/sys/wait.h: Likewise.
29698         * include/termios.h: Likewise.
29699         * include/time.h: Likewise.
29700         * include/ulimit.h: Likewise.
29701         * include/unistd.h: Likewise.
29702         * include/utime.h: Likewise.
29703         * include/wchar.h: Likewise.
29704         * include/wctype.h: Likewise.
29705         * include/wordexp.h: Likewise.
29707         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29709         * time/time.h: TIME_UTC must be a macro.
29710         Make timespec_get available for ISO C11 only as well.
29712 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29714         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29715         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29717 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29719         * configure.in: Use -o not -a in test for unsupported multi-arch.
29721 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29723         * manual/texinfo.tex: Update to version 2012-01-19.16.
29725 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29727         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29729 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29731         [BZ #13738]
29732         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29733         * manual/fdl-1.3.texi: New file.
29734         * manual/fdl-1.1.texi: File removed.
29736         [BZ #13738]
29737         * manual/libc.texinfo (FDL_VERSION): New @set.
29738         Use it for mention of FDL in cover text.
29739         (Documentation License): Use it in @include file name.
29741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29742             Roland McGrath  <roland@hack.frob.com>
29744         [BZ #5461]
29745         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29746         not LONG_LONG_MAX and LONG_LONG_MIN.
29747         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29748         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29749         name.
29750         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29752 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #2547]
29755         [BZ #11365]
29756         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29757         manipulate bits before adding and subtracting TWO23[sx].
29758         * math/libm-test.inc (nearbyint_test): Add more tests.
29760 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29762         [BZ #2548]
29763         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29764         bits before adding and subtracting TWO23[sx].
29765         * math/libm-test.inc (rint_test): Add more tests.
29766         (rint_test_tonearest): Likewise.
29767         (rint_test_towardzero): Likewise.
29768         (rint_test_downward): Likewise.
29769         (rint_test_upward: Likewise.
29771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29773         [BZ #10110]
29774         * include/stdc-predef.h: New file.  Extracted from features.h.
29775         * include/features.h: Include stdc-predef.h.
29776         * Makefile (headers): Add stdc-predef.h.
29777         * CONFORMANCE (Compiler limitations): Update.
29779 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29781         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29783 2012-02-21  David S. Miller  <davem@davemloft.net>
29785         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29786         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29788 2012-02-20  David S. Miller  <davem@davemloft.net>
29790         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29791         using a normal save/restore sequence, rather than allocating a
29792         dummy stack frame just to store a frame pointer and restore.
29793         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29795 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29797         * manual/install.texi: Fix stray word in line-wrapped comment.
29799 2012-02-20  David S. Miller  <davem@davemloft.net>
29801         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29802         both binutils and gcc support GOTDATA.
29804         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29805         "rd %pc" in the PIC register setup sequences.
29807         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29808         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29809         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29810         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29811         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29813         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29816         (SYSCALL_ERROR_HANDLER): Likewise.
29817         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29818         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29820         (SYSCALL_ERROR_HANDLER): Likewise.
29822         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29823         (HAVE_GCC_GOTDATA): New.
29824         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29825         relocation support in both binutils and gcc.
29826         * sysdeps/sparc/elf/configure: Regenerate.
29828         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29829         * sysdeps/sparc/sparc32/elf/configure: Delete.
29830         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29831         * sysdeps/sparc/sparc64/elf/configure: Delete.
29832         * sysdeps/sparc/elf/configure.in: New file.
29833         * sysdeps/sparc/elf/configure: Generate.
29835         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29836         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29837         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29838         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29839         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29841 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29843         * manual/install.texi: Do not mention specific glibc version
29844         numbers.
29845         * manual/libc.texinfo (VERSION, UPDATED): Update.
29846         (@copying): Use @copyright{} and range of years.
29848 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29850         [BZ #13695]
29851         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29852         [crti.S not in sysdirs] (generated): Do not append.
29853         [crti.S not in sysdirs] (omit-deps): Likewise.
29854         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29855         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29856         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29857         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29858         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29859         Likewise.
29860         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29861         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29862         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29863         * csu/defs.awk: Remove file.
29864         * sysdeps/generic/initfini.c: Likewise.
29865         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29866         variable.
29867         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29868         Likewise.
29870 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29872         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29873         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29874         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29875         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29876         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29877         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29878         <bits/epoll.h>.
29879         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29880         (__EPOLL_PACKED): Define to empty if not defined by
29881         <bits/epoll.h>.
29882         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29884         bits/epoll.h.
29886 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29888         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29889         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29890         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29891         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29892         <bits/timerfd.h>.
29893         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29895         bits/timerfd.h.
29897 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29899         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29900         in C locale.
29901         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29902         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29903         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29906 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29908         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29909         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29911 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29913         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29914         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29915         defined.
29916         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29917         Likewise.
29918         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29919         entry for 2.16.
29921 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29923         * math/w_acos.c: Use non-signaling floating-point comparisons.
29924         * math/w_acosf.c: Likewise.
29925         * math/w_acosh.c: Likewise.
29926         * math/w_acoshf.c: Likewise.
29927         * math/w_acoshl.c: Likewise.
29928         * math/w_acosl.c: Likewise.
29929         * math/w_asin.c: Likewise.
29930         * math/w_asinf.c: Likewise.
29931         * math/w_asinl.c: Likewise.
29932         * math/w_atanh.c: Likewise.
29933         * math/w_atanhf.c: Likewise.
29934         * math/w_atanhl.c: Likewise.
29935         * math/w_exp2.c: Likewise.
29936         * math/w_exp2f.c: Likewise.
29937         * math/w_exp2l.c: Likewise.
29938         * math/w_j0.c: Likewise.
29939         * math/w_j0f.c: Likewise.
29940         * math/w_j0l.c: Likewise.
29941         * math/w_j1.c: Likewise.
29942         * math/w_j1f.c: Likewise.
29943         * math/w_j1l.c: Likewise.
29944         * math/w_jn.c: Likewise.
29945         * math/w_jnf.c: Likewise.
29946         * math/w_log.c: Likewise.
29947         * math/w_log10.c: Likewise.
29948         * math/w_log10f.c: Likewise.
29949         * math/w_log10l.c: Likewise.
29950         * math/w_log2.c: Likewise.
29951         * math/w_log2f.c: Likewise.
29952         * math/w_log2l.c: Likewise.
29953         * math/w_logf.c: Likewise.
29954         * math/w_logl.c: Likewise.
29955         * math/w_sqrt.c: Likewise.
29956         * math/w_sqrtf.c: Likewise.
29957         * math/w_sqrtl.c: Likewise.
29958         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29959         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29960         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29961         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29962         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29964 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29966         [BZ #9739]
29967         * manual/string.texi (strnlen): Use correct parameter name in
29968         equivalent expression.
29970 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29972         [BZ #11174]
29973         * manual/users.texi (seteuid): Consistently use neweuid for
29974         argument name.
29976 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #13704]
29979         * manual/nss.texi (Services in the NSS configuration): Correct
29980         list of services in example configuration file.
29982 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29984         [BZ #11322]
29985         * manual/arith.texi: Remove statements about negative zero
29986         behaving identically to zero.
29988 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29990         [BZ #5993]
29991         * manual/install.texi: Do not document upgrading from libc5.
29993 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29995         [BZ #4596]
29996         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29998 2012-02-18  David S. Miller  <davem@davemloft.net>
30000         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30001         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30002         %o7 across the call.
30003         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30004         instead.
30005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30006         SETUP_PIC_REG_LEAF.
30007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30008         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30009         * sysdeps/sparc/crtn.S: Likewise.
30011 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30013         * aout/Makefile: Remove.
30015 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30017         [BZ #13058]
30018         * manual/examples/argp-ex1.c (main): Format definition in GNU
30019         style.
30020         * manual/examples/argp-ex2.c (main): Likewise.
30021         * manual/examples/argp-ex3.c (main): Likewise.
30022         * manual/examples/argp-ex4.c (main): Likewise.
30023         * manual/examples/longopt.c (main): Use new-style prototype
30024         definition.
30025         * manual/examples/strncat.c (main): Specify return type and use
30026         (void) for arguments.
30027         * manual/examples/subopt.c (main): Use char **argv argument.
30029 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30031         [BZ #5077]
30032         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30033         rounding modes.
30035 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30037         [BZ #6907]
30038         * manual/string.texi (strchr): Change when strchrnul is
30039         recommended.
30041 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30043         [BZ #174]
30044         * manual/locale.texi (setlocale): Document LOCPATH.
30046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30048         [BZ #10210]
30049         * manual/process.texi (execle): Move @dots{} before last argument.
30051 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30053         [BZ #12047]
30054         * manual/charset.texi (Generic Charset Conversion): Fix typo
30055         (LC_TYPE -> LC_CTYPE).
30057 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30059         [BZ #5805]
30060         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30061         (scalbnf): Likewise.
30062         (scalbnl): Likewise.
30063         (scalbln): Likewise.
30064         (scalblnf): Likewise.
30065         (scalblnl): Likewise.
30066         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30067         (vwarnx): Likewise.
30068         (verr): Likewise.
30069         (verrx): Likewise.
30070         * manual/filesys.texi (telldir): Use braces around return type.
30071         * manual/llio.texi (mmap): Add space after comma.
30072         (mmap64): Likewise.
30073         * manual/math.texi (jn): Use @var{} on parameter names.
30074         (jnf): Likewise.
30075         (jnl): Likewise.
30076         (yn): Likewise.
30077         (ynf): Likewise.
30078         (ynl): Likewise.
30079         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30080         line.
30081         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30082         "...".
30083         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30084         (sched_get_priority_max): Likewise.
30085         * manual/signal.texi (sigvec): Add space after comma.
30086         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30087         names.
30088         (if_indextoname): Likewise.
30089         (if_freenameindex): Likewise.
30090         (sendto): Use ',' instead of '.' in prototype.
30091         * manual/startup.texi (syscall): Use @dots{} instead of literal
30092         "...".
30093         * manual/stdio.texi (__fpending): Separate initial words of
30094         paragraph from @deftypefun line.
30095         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30096         "...".
30097         (vsyslog): Use @var{} on parameter names.
30098         * manual/terminal.texi (stty): Use @var{} on parameter names.
30099         * manual/users.texi (getutmp): Use @var{} on parameter names.
30100         (getutmpx): Likewise.
30102 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30104         [BZ #6884]
30105         * manual/stdio.texi (fopen): Fix typos in description of
30106         ",ccs=STRING".
30108 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30110         [BZ #4026]
30111         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30112         get clock_id definition.
30114 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30116         [BZ #4822]
30117         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30118         (madvise): Cast every argument to void on its own.
30120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30122         [BZ #9902]
30123         * manual/startup.texi (Exit Status): Fix typo.
30125 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30127         [BZ #10140]
30128         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30129         * manual/examples/argp-ex2.c: Likewise.
30130         * manual/examples/argp-ex3.c: Likewise.
30132 2012-02-16  Richard Henderson  <rth@redhat.com>
30134         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30135         * sysdeps/s390/s390-32/initfini.c: Remove.
30136         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30137         * sysdeps/s390/s390-64/initfini.c: Remove.
30139 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30141         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30142         compiler output for sysdeps/generic/initfini.c.
30143         * sysdeps/sh/elf/initfini.c: Remove file.
30145 2012-02-16  David S. Miller  <davem@davemloft.net>
30147         [BZ #11494]
30148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30150         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30151         * sysdeps/sparc/crti.S: New file.
30152         * sysdeps/sparc/crtn.S: New file.
30153         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30154         * sysdeps/sparc/sparc64/Makefile: Likewise.
30156 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30158         [BZ #3335]
30159         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30161 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30163         [BZ #4822]
30164         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30166         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30167         (write, read, close): Likewise.
30168         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30170 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30172         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30173         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30174         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30175         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30176         <bits/signalfd.h>.
30177         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30179         bits/signalfd.h.
30181 2012-02-14  Marek Polacek  <polacek@redhat.com>
30183         * sysdeps/x86_64/crti.S: New file.
30184         * sysdeps/x86_64/crtn.S: New file.
30185         * sysdeps/x86_64/elf/initfini.c: Remove file.
30187 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30189         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30190         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30191         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30192         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30193         <bits/inotify.h>.
30194         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30196         bits/inotify.h.
30198 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30200         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30201         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30202         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30203         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30204         <bits/eventfd.h>.
30205         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30207         bits/eventfd.h.
30209 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30211         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30212         __feraiseexcept instead of feraiseexcept.
30214         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30215         nanosleep invocations.
30216         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30217         strings, and add error checking for a nanosleep invocations.
30219 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30221         Replace FSF snail mail address with URLs, as per GNU coding standards.
30222         Most of the snail mail addresses were wrong anyway, and omitting
30223         them makes the source code easier to maintain.  Almost all of the
30224         changes are to license notices and to locale LC_IDENTIFICATION
30225         addresses, except for this one:
30226         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30227         not its snail mail address.
30229 2012-02-09  Richard Henderson  <rth@twiddle.net>
30231         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30232         of kernel-features.h.
30234         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30236 2012-02-08  Marek Polacek  <polacek@redhat.com>
30238         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30239         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30240         * sysdeps/gnu/_G_config.h: Likewise.
30241         * sysdeps/generic/_G_config.h: Likewise.
30243 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30245         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30246         tests.
30247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30249         * sysdeps/powerpc/powerpc32/crti.S: New file.
30250         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30251         * sysdeps/powerpc/powerpc64/crti.S: New file.
30252         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30254         * Makeconfig (have-initfini): Don't set.
30255         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30256         * configure.in (nopic_initfini): Don't substitute.
30257         * config.h.in (HAVE_INITFINI): Don't #undef.
30258         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30259         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30261 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30263         Support crti.S and crtn.S provided directly by architectures.
30264         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30265         [crti.S in sysdirs] (omit-deps): Likewise.
30266         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30267         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30268         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30269         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30270         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30271         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30272         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30273         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30274         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30275         compiler output for sysdeps/generic/initfini.c.
30276         * sysdeps/i386/elf/Makefile: Remove file.
30277         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30279 2012-02-07  Marek Polacek  <polacek@redhat.com>
30281         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30282         * sysdeps/gnu/_G_config.h: Likewise.
30283         * sysdeps/mach/hurd/_G_config.h: Likewise.
30285 2012-02-07  Marek Polacek  <polacek@redhat.com>
30287         * math/Makefile (tests): Add tst-CMPLX2.
30288         * math/tst-CMPLX2.c: New file.
30290 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30292         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30294         * math/libm-test.inc (jn_test): Add missing L suffix.
30296 2012-02-06  Marek Polacek  <polacek@redhat.com>
30298         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30299         * sysdeps/i386/fpu/e_powf.S: Likewise.
30300         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30301         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30302         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30303         * sysdeps/i386/fpu/e_pow.S: Likewise.
30304         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30305         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30306         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30307         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30308         * sysdeps/i386/fpu/e_log2.S: Likewise.
30309         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30310         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30311         * sysdeps/i386/fpu/e_powl.S: Likewise.
30312         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30314         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30315         * sysdeps/i386/fpu/e_logl.S: Likewise.
30316         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30317         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30318         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30319         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30320         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30321         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30322         * sysdeps/i386/fpu/e_log.S: Likewise.
30323         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30324         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30325         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30326         * sysdeps/i386/fpu/e_logf.S: Likewise.
30327         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30328         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30329         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30330         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30331         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30332         * sysdeps/i386/fpu/e_log10.S: Likewise.
30333         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30334         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30335         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30336         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30337         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30338         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30339         * sysdeps/i386/asm-syntax.h: Likewise.
30340         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30341         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30342         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30343         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30344         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30345         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30346         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30347         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30348         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30349         * sysdeps/powerpc/sysdep.h: Likewise.
30350         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30351         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30353 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30355         [BZ #411]
30356         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30358 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30360         * sysdeps/i386/sysdep.h: Include <features.h>.
30361         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30362         version.
30364 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30366         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30367         Define.
30368         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30369         LOAD_PIC_REG_STR.
30371 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30373         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30374         (SETUP_PIC_REG): Use GET_PC_THUNK.
30375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30376         macro.
30378 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30380         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30381         for non-PIC compilation.
30382         (SETUP_PIC_REG): Add .p2align directive.
30383         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30384         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30385         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30386         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30387         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30388         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30389         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30391         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30392         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30393         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30394         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30395         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30396         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30397         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30398         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30399         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30403         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30404         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30405         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30406         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30407         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30408         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30409         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30410         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30411         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30412         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30413         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30414         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30415         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30416         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30417         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30418         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30419         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30420         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30421         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30422         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30423         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30425 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30427         * math/tst-CMPLX.c: Include <stdio.h>.
30429 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
30431         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30432         float.
30433         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30434         * sysdeps/sparc/bits/mathdef.h: Likewise.
30436 2012-01-31  Marek Polacek  <polacek@redhat.com>
30438         * libio/libio.h: Don't define _PARAMS.
30439         * locale/programs/config.h: Don't define PARAMS.
30440         * stdlib/strtol_l.c: Likewise.
30441         (__strtol_l): Remove PARAMS from the prototype.
30443 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
30445         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
30446         names.  Just use the correct names.  Remove unnecessary wrapper
30447         functions.
30448         * malloc/arena.c: Likewise.
30449         * malloc/hooks.c: Likewise.
30451         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30452         ARENA_TEST says not to.  Simplify test for creation of a new arena.
30453         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30455 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
30457         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30458         into tail calls.
30459         (update_get_addr): New function.
30460         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30461         GET_ADDR_MODULE parameter.
30463 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30465         * crypt/cert.c: Remove __STDC__ conditionals.
30466         * crypt/crypt-entry.c: Likewise.
30467         * crypt/crypt_util.c: Likewise.
30468         * libio/filedoalloc.c: Likewise.
30469         * libio/fileops.c: Likewise.
30470         * libio/genops.c: Likewise.
30471         * libio/iofclose.c: Likewise.
30472         * libio/iofdopen.c: Likewise.
30473         * libio/iofopen.c: Likewise.
30474         * libio/iofopen64.c: Likewise.
30475         * libio/iogetdelim.c: Likewise.
30476         * libio/iopopen.c: Likewise.
30477         * libio/obprintf.c: Likewise.
30478         * libio/oldfileops.c: Likewise.
30479         * libio/oldiofclose.c: Likewise.
30480         * libio/oldiofdopen.c: Likewise.
30481         * libio/oldiofopen.c: Likewise.
30482         * libio/oldiopopen.c: Likewise.
30483         * libio/wfiledoalloc.c: Likewise.
30484         * libio/wgenops.c: Likewise.
30485         * locale/programs/xmalloc.c: Likewise.
30486         * misc/syslog.c: Likewise.
30487         * stdio-common/xbug.c: Likewise.
30488         * string/memchr.c: Likewise.
30489         * string/memcmp.c: Likewise.
30490         * string/memrchr.c: Likewise.
30491         * string/rawmemchr.c: Likewise.
30492         * sysdeps/posix/getcwd.c: Likewise.
30493         * time/strftime_l.c: Likewise.
30495 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30497         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30498         * config.make.in (config-cflags-sse2avx): Define.
30499         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30500         Fix typo.
30502 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30504         * scripts/config.guess: Update from upstream config git repository.
30505         * scripts/config.sub: Likewise.
30507 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30509         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30510         (EM_NUM): Update.
30511         (R_TILEPRO_*, R_TILEGX_*): New macros.
30513         * scripts/firstversions.awk: Fix bug in version range handling.
30515         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30517         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30519         * include/sys/epoll.h: New file.
30520         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30521         libc_hidden_def.
30523 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30525         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30526         Avoid unnecessary __WORDSIZE == 64 test.
30527         (fmaxf): Use VEX format if possible.
30528         (fmax): Likewise.
30529         (fminf): Likewise.
30530         (fmin): Likewise.
30532         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30533         * math/math_private.h: Remove libc_fegetround* and
30534         libc_fesetround*.
30535         * sysdeps/i386/configure.in: Check for -msse2avx.
30536         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30537         also if SSE2AVX is defined.
30538         Remove libc_fegetround* and libc_fesetround*.
30539         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30540         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30541         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30542         of HAS_YMM_USABLE.
30543         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30544         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30545         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30546         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30547         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30549         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30551 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30554         size is not set.
30555         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30557 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30559         [BZ #13618]
30560         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30561         relocation.
30562         * Makeconfig (libm): Define.
30563         * elf/Makefile: Add rules to build and run tst-relsort1.
30564         * elf/tst-relsort1.c: New file.
30565         * elf/tst-relsort1mod1.c: New file.
30566         * elf/tst-relsort1mod2.c: New file.
30568 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30570         * math/s_ldexp.c: Remove __STDC__ conditionals.
30571         * math/s_ldexpf.c: Likewise.
30572         * math/s_ldexpl.c: Likewise.
30573         * math/s_nextafter.c: Likewise.
30574         * math/s_nexttowardf.c: Likewise.
30575         * math/s_significand.c: Likewise.
30576         * math/s_significandf.c: Likewise.
30577         * math/s_significandl.c: Likewise.
30578         * math/w_jnl.c: Likewise.
30579         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30580         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30581         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30582         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30583         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30585         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30586         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30587         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30588         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30589         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30590         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30591         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30592         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30593         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30594         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30595         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30596         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30597         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30598         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30599         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30600         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30601         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30602         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30603         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30604         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30605         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30606         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30607         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30608         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30609         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30610         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30611         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30612         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30613         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30614         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30615         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30616         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30617         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30618         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30619         * sysdeps/ieee754/k_standard.c: Likewise.
30620         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30622         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30623         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30624         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30625         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30626         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30627         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30628         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30629         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30631         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30632         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30633         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30634         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30636         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30637         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30638         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30639         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30642         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30643         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30644         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30645         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30646         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30647         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30649         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30650         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30651         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30652         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30655         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30659         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30663         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30664         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30667         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30672         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30676         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30677         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30681         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30682         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30684         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30685         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30686         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30687         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30688         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30689         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30690         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30692         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30694         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30695         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30696         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30698         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30699         * sysdeps/ieee754/s_matherr.c: Likewise.
30700         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30701         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30702         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30705 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30707         * crypt/md5.h: Remove __STDC__ conditionals.
30708         * libio/libioP.h: Likewise.
30709         * locale/programs/config.h: Likewise.
30710         * sysdeps/generic/sysdep.h: Likewise.
30711         * sysdeps/i386/asm-syntax.h: Likewise.
30712         * sysdeps/s390/asm-syntax.h: Likewise.
30713         * sysdeps/unix/sysdep.h: Likewise.
30714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30717 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30719         * libio/libio.h: Remove __STDC__ conditionals.
30720         * malloc/obstack.h: Likewise.
30721         * math/complex.h: Likewise.
30722         * math/math.h: Likewise.
30723         * sysdeps/generic/_G_config.h: Likewise.
30724         * sysdeps/gnu/_G_config.h: Likewise.
30725         * sysdeps/mach/hurd/_G_config.h: Likewise.
30726         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30727         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30728         * sysdeps/sparc/bits/mathdef.h: Likewise.
30730 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30732         [BZ #13583]
30733         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30734         Clean up HAS_* macros.
30735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30736         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30737         possible.
30738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30739         HAS_AVX.
30740         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30741         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30742         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30743         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30744         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30746 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30748         * elf/tst-unique3.cc (gets): Remove declaration.
30749         * elf/tst-unique3lib.cc (gets): Likewise.
30750         * elf/tst-unique3lib2.cc (gets): Likewise.
30751         * elf/tst-unique4.cc (gets): Likewise.
30753 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30755         * include/stdio.h: Add C++ protection.  Add gets declarations and
30756         definitions.
30757         * debug/tst-chk1.c: Don't declare gets here.
30758         * stdio-common/tst-gets.c: Likewise.
30760 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30762         * posix/glob: Remove directory.
30764 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30766         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30768 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30770         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30771         of the non-standard EPFNOSUPPORT.
30773 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30775         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30776         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30777         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30779 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30781         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30783 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30785         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30786         transient errors.
30787         * nscd/grpcache.c (cache_addgr): Likewise.
30788         * nscd/hstcache.c (cache_addhst): Likewise.
30789         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30790         * nscd/pwdcache.c (cache_addpw): Likewise.
30791         * nscd/servicescache.c (cache_addserv): Likewise.
30793 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30795         * malloc/malloc.c: Various cleanups.
30796         * malloc/hooks.c: Likewise.
30798         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30799         * stdlib/bug-fmtmsg1.c: New file.
30801         * stdlib/fmtmsg.c (init): Add missing unlock.
30802         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30804 2012-01-12  Marek Polacek  <polacek@redhat.com>
30806         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30807         and _GNU_SOURCE.
30809 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30811         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30812         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30813         macro to ensure uniqueness of label name.
30814         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30815         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30817 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30819         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30821         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30822         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30823         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30824         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30826 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30828         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30830         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30831         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30832         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30834         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30836         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30837         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30839         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30841         * math/bits/math-finite.h: Add ldexp support.
30843 2012-01-10  Marek Polacek  <polacek@redhat.com>
30845         * locale/programs/localedef.h (show_archive_content): Add noreturn
30846         attribute.
30848 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30850         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30852 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30854         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30856         * io/Makefile (headers): Add bits/poll2.h.
30858 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30861         typo #include statement.
30863 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30865         * include/sys/cdefs.h: Define __attribute_alloc_size.
30866         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30867         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30868         * elf/pldd.c: Likewise.
30869         * iconv/iconv_charmap.c: Likewise.
30870         * iconv/iconvconfig.c: Likewise.
30871         * iconv/strtab.c: Likewise.
30872         * locale/programs/locale.c: Likewise.
30873         * locale/programs/localedef.h: Likewise.
30874         * locale/programs/simple-hash.c: Likewise.
30875         * nscd/nscd.h: Likewise.
30876         * nss/makedb.c: Likewise.
30877         * sysdeps/generic/ldconfig.h: Likewise.
30878         * locale/programs/localedef.c: Remove xmalloc prototype.
30879         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30881 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30883         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30884         appropriate.
30886 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30888         * math/Makefile (tests): Add tst-CMPLX.
30889         * math/tst-CMPLX.c: New file.
30891         * math/complex.h (CMPLXL): Fix typo.
30893         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30894         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30895         GLIBC_2.16.
30896         * debug/tst-chk1.c: Add poll and ppoll tests.
30897         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30898         * include/sys/poll.h: Add hidden proto for ppoll.
30899         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30900         * sysdeps/mach/hurd/ppoll.c: Likewise.
30901         * io/ppoll.c: Likewise.
30902         * debug/poll_chk.c: New file.
30903         * debug/ppoll_chk.c: New file.
30904         * include/bits/poll2.h: New file.
30905         * io/bits/poll2.h: New file.
30907         [BZ #1350]
30908         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30910         * configure.in: static is always set to yes.  Remove.
30911         * config.make.in: Don't set build-static.
30912         * Makeconfig: Remove use of build-static.
30913         * dlfcn/Makefile: Likewise.
30914         * elf/Makefile: Likewise.
30915         * math/Makefile: Likewise.
30916         * misc/Makefile: Likewise.
30917         * nptl/Makefile: Likewise.
30918         * sysdeps/mach/hurd/Makefile: Likewise.
30920         * configure.in: PWD_P is not used anymore.
30921         * config.make.in: Remove PWD_P entry.
30923         * configure.in: Remove last remnants of RANLIB.
30924         No need to check for signed size_t anymore.
30925         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30926         and IA-64.
30927         Remove __builtin_expect test because we require at least gcc 3.4.
30928         * aclocal.m4: Likewise.
30930         * wcsmbs/mbrtoc16.c: Implement using towc function.
30931         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30932         * wcsmbs/wcsmbsload.c: Likewise.
30933         * iconv/gconv_simple.c: Likewise.
30934         * iconv/gconv_int.h: Likewise.
30935         * iconv/gconv_builtin.h: Likewise.
30936         * iconv/iconv_prog.c: Remove CHAR16 handling.
30938         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30940         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30942         * configure.in: Remove --with-elf and --enable-bounded options.
30943         Dont set base_machine for ia64.  More non-ELF conditions removed.
30944         Remove testing and setting of leading underscore information.
30945         * config.make.in (build-bounded): Set to no.
30946         * config.h.in: Remove NO_UNDERSCORES entry.
30947         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30948         them.
30949         * csu/start.c: Remove !NO_UNDERSCORE code.
30950         * locale/localeinfo.h: Likewise.
30951         * sysdeps/generic/machine-gmon.h: Likewise.
30952         * sysdeps/generic/sysdep.h: Likewise.
30953         * sysdeps/i386/sysdep.h: Likewise.
30954         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30955         * sysdeps/mach/sysdep.h: Likewise.
30956         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30957         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30958         * sysdeps/sh/sysdep.h: Likewise.
30959         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30960         * sysdeps/unix/i386/sysdep.S: Likewise.
30961         * sysdeps/unix/sparc/start.c: Likewise.
30962         * sysdeps/unix/sparc/sysdep.S: Likewise.
30963         * sysdeps/unix/sparc/sysdep.h: Likewise.
30964         * sysdeps/unix/start.c: Likewise.
30965         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30966         * sysdeps/x86_64/sysdep.h: Likewise.
30968 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30970         [BZ #13553]
30971         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30972         for non-gcc.
30973         * argp/argp-fmtstream.h: Use const instead __const.
30974         * argp/argp.h: Likewise.
30975         * assert/assert.h: Likewise.
30976         * bits/fenv.h: Likewise.
30977         * bits/sched.h: Likewise.
30978         * bits/sigset.h: Likewise.
30979         * bits/sigthread.h: Likewise.
30980         * catgets/nl_types.h: Likewise.
30981         * conform/data/pthread.h-data: Likewise.
30982         * crypt/crypt-private.h: Likewise.
30983         * crypt/crypt.h: Likewise.
30984         * crypt/crypt_util.c: Likewise.
30985         * ctype/ctype.h: Likewise.
30986         * debug/execinfo.h: Likewise.
30987         * debug/mbsnrtowcs_chk.c: Likewise.
30988         * debug/mbsrtowcs_chk.c: Likewise.
30989         * debug/wcsnrtombs_chk.c: Likewise.
30990         * debug/wcsrtombs_chk.c: Likewise.
30991         * debug/wcstombs_chk.c: Likewise.
30992         * dirent/dirent.h: Likewise.
30993         * dlfcn/dlfcn.h: Likewise.
30994         * elf/neededtest4.c: Likewise.
30995         * grp/grp.h: Likewise.
30996         * gshadow/gshadow.h: Likewise.
30997         * iconv/gconv.h: Likewise.
30998         * iconv/gconv_int.h: Likewise.
30999         * iconv/gconv_simple.c: Likewise.
31000         * iconv/iconv.h: Likewise.
31001         * iconv/loop.c: Likewise.
31002         * iconv/skeleton.c: Likewise.
31003         * include/aio.h: Likewise.
31004         * include/aliases.h: Likewise.
31005         * include/argz.h: Likewise.
31006         * include/arpa/inet.h: Likewise.
31007         * include/assert.h: Likewise.
31008         * include/dirent.h: Likewise.
31009         * include/dlfcn.h: Likewise.
31010         * include/execinfo.h: Likewise.
31011         * include/fcntl.h: Likewise.
31012         * include/fenv.h: Likewise.
31013         * include/glob.h: Likewise.
31014         * include/grp.h: Likewise.
31015         * include/libintl.h: Likewise.
31016         * include/mntent.h: Likewise.
31017         * include/netdb.h: Likewise.
31018         * include/pwd.h: Likewise.
31019         * include/rpc/netdb.h: Likewise.
31020         * include/sched.h: Likewise.
31021         * include/search.h: Likewise.
31022         * include/shadow.h: Likewise.
31023         * include/signal.h: Likewise.
31024         * include/stdio.h: Likewise.
31025         * include/stdlib.h: Likewise.
31026         * include/string.h: Likewise.
31027         * include/sys/socket.h: Likewise.
31028         * include/sys/stat.h: Likewise.
31029         * include/sys/statfs.h: Likewise.
31030         * include/sys/statvfs.h: Likewise.
31031         * include/sys/syslog.h: Likewise.
31032         * include/sys/time.h: Likewise.
31033         * include/sys/uio.h: Likewise.
31034         * include/time.h: Likewise.
31035         * include/unistd.h: Likewise.
31036         * include/utmp.h: Likewise.
31037         * include/wchar.h: Likewise.
31038         * include/wctype.h: Likewise.
31039         * inet/aliases.h: Likewise.
31040         * inet/arpa/inet.h: Likewise.
31041         * inet/netinet/ether.h: Likewise.
31042         * inet/netinet/in.h: Likewise.
31043         * intl/libintl.h: Likewise.
31044         * io/bits/fcntl2.h: Likewise.
31045         * io/fcntl.h: Likewise.
31046         * io/ftw.h: Likewise.
31047         * io/sys/poll.h: Likewise.
31048         * io/sys/stat.h: Likewise.
31049         * io/sys/statfs.h: Likewise.
31050         * io/sys/statvfs.h: Likewise.
31051         * io/utime.h: Likewise.
31052         * libio/bits/stdio.h: Likewise.
31053         * libio/bits/stdio2.h: Likewise.
31054         * libio/libio.h: Likewise.
31055         * libio/libioP.h: Likewise.
31056         * libio/stdio.h: Likewise.
31057         * locale/lc-ctype.c: Likewise.
31058         * locale/locale.h: Likewise.
31059         * login/utmp.h: Likewise.
31060         * malloc/arena.c: Likewise.
31061         * malloc/malloc.c: Likewise.
31062         * malloc/malloc.h: Likewise.
31063         * malloc/mcheck.c: Likewise.
31064         * malloc/mtrace.c: Likewise.
31065         * math/bits/mathcalls.h: Likewise.
31066         * math/fenv.h: Likewise.
31067         * math/math_private.h: Likewise.
31068         * misc/bits/error.h: Likewise.
31069         * misc/bits/syslog.h: Likewise.
31070         * misc/err.h: Likewise.
31071         * misc/error.h: Likewise.
31072         * misc/fstab.h: Likewise.
31073         * misc/mntent.h: Likewise.
31074         * misc/regexp.h: Likewise.
31075         * misc/search.h: Likewise.
31076         * misc/sgtty.h: Likewise.
31077         * misc/sys/mman.h: Likewise.
31078         * misc/sys/syslog.h: Likewise.
31079         * misc/sys/uio.h: Likewise.
31080         * misc/sys/xattr.h: Likewise.
31081         * misc/ttyent.h: Likewise.
31082         * nis/rpcsvc/ypclnt.h: Likewise.
31083         * nss/nss.h: Likewise.
31084         * posix/bits/unistd.h: Likewise.
31085         * posix/fnmatch.h: Likewise.
31086         * posix/glob.h: Likewise.
31087         * posix/sched.h: Likewise.
31088         * posix/spawn.h: Likewise.
31089         * posix/sys/wait.h: Likewise.
31090         * posix/unistd.h: Likewise.
31091         * posix/wordexp.h: Likewise.
31092         * pwd/pwd.h: Likewise.
31093         * resolv/netdb.h: Likewise.
31094         * resource/sys/resource.h: Likewise.
31095         * rt/aio.h: Likewise.
31096         * rt/bits/mqueue2.h: Likewise.
31097         * rt/mqueue.h: Likewise.
31098         * shadow/shadow.h: Likewise.
31099         * signal/signal.h: Likewise.
31100         * socket/send.c: Likewise.
31101         * socket/sendto.c: Likewise.
31102         * socket/sys/socket.h: Likewise.
31103         * stdio-common/printf.h: Likewise.
31104         * stdlib/bits/stdlib.h: Likewise.
31105         * stdlib/fmtmsg.h: Likewise.
31106         * stdlib/monetary.h: Likewise.
31107         * stdlib/stdlib.h: Likewise.
31108         * stdlib/ucontext.h: Likewise.
31109         * streams/stropts.h: Likewise.
31110         * string/argz.h: Likewise.
31111         * string/bits/string2.h: Likewise.
31112         * string/string.h: Likewise.
31113         * string/strings.h: Likewise.
31114         * sunrpc/rpc/auth.h: Likewise.
31115         * sunrpc/rpc/auth_des.h: Likewise.
31116         * sunrpc/rpc/clnt.h: Likewise.
31117         * sunrpc/rpc/netdb.h: Likewise.
31118         * sunrpc/rpc/pmap_clnt.h: Likewise.
31119         * sunrpc/rpc/xdr.h: Likewise.
31120         * sysdeps/generic/inttypes.h: Likewise.
31121         * sysdeps/generic/net/if.h: Likewise.
31122         * sysdeps/generic/sys/swap.h: Likewise.
31123         * sysdeps/gnu/net/if.h: Likewise.
31124         * sysdeps/gnu/utmpx.h: Likewise.
31125         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31126         * sysdeps/i386/i486/bits/string.h: Likewise.
31127         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31128         * sysdeps/s390/bits/string.h: Likewise.
31129         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31130         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31131         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31132         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31133         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31134         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31135         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31136         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31137         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31138         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31139         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31140         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31141         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31142         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31143         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31144         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31145         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31147         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31148         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31149         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31150         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31151         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31152         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31153         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31154         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31155         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31156         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31157         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31158         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31159         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31160         * sysvipc/sys/ipc.h: Likewise.
31161         * sysvipc/sys/msg.h: Likewise.
31162         * sysvipc/sys/sem.h: Likewise.
31163         * sysvipc/sys/shm.h: Likewise.
31164         * termios/termios.h: Likewise.
31165         * time/sys/time.h: Likewise.
31166         * time/time.h: Likewise.
31167         * wcsmbs/bits/wchar2.h: Likewise.
31168         * wcsmbs/uchar.h: Likewise.
31169         * wcsmbs/wchar.h: Likewise.
31170         * wctype/wctype.h: Likewise.
31172         [BZ #13551]
31173         * Makeconfig: Remove all but ELF support including AIX support.
31174         * Makerules: Likewise.
31175         * config.h.in: Likewise.
31176         * config.make.in: Likewise.
31177         * configure: Likewise.
31178         * configure.in: Likewise.
31179         * csu/Makefile: Likewise.
31180         * csu/version.c: Likewise.
31181         * debug/Makefile: Likewise.
31182         * dlfcn/Makefile: Likewise.
31183         * elf/Makefile: Likewise.
31184         * extra-lib.mk: Likewise.
31185         * iconv/Makefile: Likewise.
31186         * include/libc-symbols.h: Likewise.
31187         * include/shlib-compat.h: Likewise.
31188         * resolv/Makefile: Likewise.
31189         * resolv/res_libc.c: Likewise.
31190         * rt/Makefile: Likewise.
31191         * sysdeps/i386/asm-syntax.h: Likewise.
31192         * sysdeps/i386/sysdep.h: Likewise.
31193         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31194         * sysdeps/mach/sysdep.h: Likewise.
31195         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31196         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31197         * sysdeps/s390/asm-syntax.h: Likewise.
31198         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31199         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31200         * sysdeps/sh/sysdep.h: Likewise.
31201         * sysdeps/unix/sparc/sysdep.h: Likewise.
31202         * sysdeps/wordsize-32/divdi3.c: Likewise.
31203         * sysdeps/x86_64/sysdep.h: Likewise.
31205         * argp/Versions: Remove _argp_unlock_xxx.
31207         [BZ #13559]
31208         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31209         * abilist/libBrokenLocale.abilist: Likewise.
31210         * abilist/libanl.abilist: Likewise.
31211         * abilist/libc.abilist: Likewise.
31212         * abilist/libcrypt.abilist: Likewise.
31213         * abilist/libdl.abilist: Likewise.
31214         * abilist/libm.abilist: Likewise.
31215         * abilist/libnsl.abilist: Likewise.
31216         * abilist/libpthread.abilist: Likewise.
31217         * abilist/libresolv.abilist: Likewise.
31218         * abilist/librt.abilist: Likewise.
31219         * abilist/libthread_db.abilist: Likewise.
31220         * abilist/libutil.abilist: Likewise.
31221         * abilist/libnss_db.abilist: New file.
31223         * scripts/abilist.awk: Add support for indirect functions.
31225         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31227         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31229         * shlib-versions: Remove entries for ports architectures.
31231         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31232         files in ports.
31233         * elf/stackguard-macros.h: Remove support for IA-64.
31234         * elf/tst-auditmod1.c: Likewise.
31235         * sysdeps/generic/ldsodefs.h: Likewise.
31237         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31238         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31239         configure files.
31241         [BZ #13552]
31242         * configure.in: Remove --enable-omitfp support.
31243         * FAQ.in: Adjust.
31244         * config.make.in: Likewise.
31245         * Makeconfig: Likewise.
31246         * manual/install.texi: Likewise.
31248         In case anyone cares, the IA-64 architecture could move to ports.
31249         * sysdeps/ia64/*: Removed.
31250         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31251         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31253         [BZ #13555]
31254         * configure.in: Remove entries for unsupported architectures.
31256         [BZ #13533]
31257         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31258         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31259         routines.
31260         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31261         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31262         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31263         fall back to using wcrtomb.
31264         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31265         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31266         renaming.
31267         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31268         * wcsmbs/tst-c16c32-1.c: New file.
31270         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31271         local variable.
31273         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31275         * elf/tst-unique3.cc: Add explicit declaration of gets.
31276         * elf/tst-unique3lib.cc: Likewise.
31277         * elf/tst-unique3lib2.cc: Likewise.
31278         * elf/tst-unique4.cc: Likewise.
31280         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31282 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31284         [BZ #13566]
31285         * assert/assert.h (static_assert): Don't define for C++.
31286         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31287         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31289 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31291         * iconv/loop.c (single loop): Fix assertion in storing of
31292         remaining bytes.
31294         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31296 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31298         * posix/getconf.c: Update copyright year.
31299         * nss/getent.c: Likewise.
31300         * nss/makedb.c: Likewise.
31301         * iconv/iconvconfig.c: Likewise.
31302         * iconv/iconv_prog.c: Likewise.
31303         * elf/ldconfig.c: Likewise.
31304         * elf/pldd.c: Likewise.
31305         * elf/sotruss.ksh: Likewise.
31306         * catgets/gencat.c: Likewise.
31307         * csu/version.c: Likewise.
31308         * elf/ldd.bash.in: Likewise.
31309         * elf/sprof.c (print_version): Likewise.
31310         * locale/programs/locale.c: Likewise.
31311         * locale/programs/localedef.c: Likewise.
31312         * login/programs/pt_chown.c: Likewise.
31313         * nscd/nscd.c (print_version): Likewise.
31314         * debug/xtrace.sh: Likewise.
31315         * malloc/memusage.sh: Likewise.
31316         * malloc/mtrace.pl: Likewise.
31317         * debug/catchsegv.sh: Likewise.
31319 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31321         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31322         pure attribute.
31324 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31326         [BZ #13533]
31327         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31328         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31329         transformations.
31330         * iconv/gconv_int.h: Likewise.
31331         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31332         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31333         from libc for GLIBC_2.16.
31334         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31335         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31336         * wcsmbs/uchar.h: Really define mbstate_t.
31337         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31338         * wcsmbs/c16rtomb.c: New file.
31339         * wcsmbs/mbrtoc16.c: New file.
31340         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31341         for C/POSIX locale.
31342         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31343         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31345         * wcsmbs/wchar.h: Add missing __restrict.
31347 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31349         [BZ #13532]
31350         * time/Makefile (routines): Add timespec_get.
31351         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31352         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31353         timespec for ISO C11.
31354         * time/timespec_get.c: New file.
31355         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31356         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31358         [BZ #13531]
31359         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31360         * stdlib/stdlib.h: Declare aligned_alloc.
31361         * Versions.def: Add GLIBC_2.16 for libc.
31362         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31364         [BZ 13527]
31365         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31366         ISO C11.
31368         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31369         code.
31371         [BZ #13528]
31372         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31374         [BZ #13529]
31375         * assert/assert.h (static_assert): Define.
31377         * version.h: Update for 2.16 development version.
31379         [BZ #13526]
31380         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31381         _ISOC11_SOURCE.
31383         * version.h (RELEASE): Bump for 2.15 release.
31384         * include/features.h (__GLIBC_MINOR__): Bump to 15.
31386         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31387         Patch by Marek Polacek <mpolacek@redhat.com>.
31389         * bits/byteswap.h: Protect long long constants with __extension__.
31390         * sysdeps/i386/bits/byteswap.h: Likewise.
31391         * sysdeps/ia64/bits/byteswap.h: Likewise.
31392         * sysdeps/s390/bits/byteswap.h: Likewise.
31393         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31395 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31397         [BZ #13540]
31398         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31399         destination buffer.
31400         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31402 2011-12-23  Marek Polacek  <polacek@redhat.com>
31404         * elf/dl-addr.c (determine_info): Add inline keyword.
31405         * elf/tst-auditmod4b.c (check_avx): Likewise.
31406         * elf/tst-auditmod6b.c (check_avx): Likewise.
31407         * elf/tst-auditmod6c.c (check_avx): Likewise.
31408         * elf/tst-auditmod7b.c (check_avx): Likewise.
31410 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31412         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31413         !__SSE_MATH__.
31415 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31417         [BZ #13540]
31418         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31419         processing for last bytes.
31421 2011-08-06  Bruno Haible  <bruno@clisp.org>
31423         [BZ #13061]
31424         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31425         U+0385, not to U+1FEE.
31427         [BZ #13062]
31428         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31429         entry for U+00A5 U+0301.
31431 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31433         [BZ #13166]
31434         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31435         buffer for the output is too small.
31437         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31438         optimization.
31440         [BZ #13185]
31441         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31442         SSE flags if possible.
31444 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31446         [BZ #13540]
31447         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31448         processing for last bytes.
31450 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
31452         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31453         (syscall-list-default-options, syscall-list-default-condition)
31454         (syscall-list-includes): Define.
31455         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31456         list of ABIs and options and #if conditions for each ABI.  Do not
31457         handle common syscalls between ABIs specially.
31458         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31459         Remove.
31460         (syscall-list-variants, syscall-list-32bit-options)
31461         (syscall-list-32bit-condition, syscall-list-64bit-options)
31462         (syscall-list-64bit-condition): Define.
31463         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31464         (syscall-list-variants, syscall-list-32bit-options)
31465         (syscall-list-32bit-condition, syscall-list-64bit-options)
31466         (syscall-list-64bit-condition): Define.
31467         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31468         Remove.
31469         (syscall-list-variants, syscall-list-32bit-options)
31470         (syscall-list-32bit-condition, syscall-list-64bit-options)
31471         (syscall-list-64bit-condition): Define.
31472         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31473         Remove.
31474         (syscall-list-variants, syscall-list-32bit-options)
31475         (syscall-list-32bit-condition, syscall-list-64bit-options)
31476         (syscall-list-64bit-condition): Define.
31478 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31480         * locale/iso-639.def: Add brx entry.
31482         [BZ #13328]
31483         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31484         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31486         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31487         __feraiseexcept_renamed.
31489 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31491         [BZ #13538]
31492         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31493         EPOLLET with unsigned values.
31494         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31495         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31497         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31498         to large cancellation.
31499         * math/s_cacoshf.c: Likewise.
31500         * math/s_cacoshl.c: Likewise.
31502 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31504         [BZ #13305]
31505         [BZ #12786]
31506         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31507         * math/s_cacoshf.c: Likewise.
31508         * math/s_cacoshl.c: Likewise.
31510 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31512         [BZ #13439]
31513         * iconv/gconv.h: Define __GCONV_SWAP.
31514         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31515         * iconvdata/utf-16.c: Likewise.
31516         * iconvdata/utf-32.c: Likewise.
31518 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31520         [BZ #13524]
31521         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31522         numerator after shifting it by one limb.
31524 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31526         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31527         under [__USE_EXTERN_INLINES].
31529 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31531         [BZ #13446]
31532         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31534 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31536         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31537         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31538         optimized code.
31539         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31540         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31541         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31542         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31543         for strncasecmp/strncasecmp_l compilation.
31544         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31545         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31547 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31549         [BZ #13484]
31550         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31551         of __asm__.
31553 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31555         [BZ #13506]
31556         * time/tzfile.c (__tzfile_read): Check values from file header.
31558 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31560         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31561         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31562         * powerpc/powerpc32/dl-start.S: Likewise.
31563         * powerpc/powerpc32/elf/start.S: Likewise.
31564         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31565         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31566         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31567         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31568         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31569         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31570         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31571         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31572         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31573         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31574         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31575         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31576         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31577         * powerpc/powerpc32/memset.S: Likewise.
31578         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31579         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31580         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31581         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31582         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31583         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31584         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31585         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31586         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31587         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31588         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31589         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31590         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31592 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31594         * math/libm-test.inc: Added more nearbyint tests.
31595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31596         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31597         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31598         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31600 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31602         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31603         FD_CLOEXEC.
31605 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31607         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31608         Add wcscpy-ssse3 wcscpy-c.
31609         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31610         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31611         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31612         * sysdeps/x86_64/wcschr.S: New file.
31613         * sysdeps/x86_64/wcsrchr.S: New file.
31614         * string/test-strcmp.c: Remove checking of wcscmp function for
31615         wrong alignments.
31616         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31617         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31618         wcsrchr-sse2 wcsrchr-c.
31619         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31620         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31621         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31622         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31623         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31624         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31625         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31626         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31627         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31628         * wcsmbc/wcschr.c (WCSCHR): New macro.
31630 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31632         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31633         * wcsmbs/test-wcsrchr.c: New file.
31634         * string/test-strrchr.c: Add wcsrchr support.
31635         (WIDE): New macro.
31636         * wcsmbs/test-wcscpy.c: New file.
31637         * string/test-strcpy.c: Add wcscpy support.
31638         (WIDE): New macro.
31640 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31642         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31643         the inner loop.
31645 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31647         [BZ #13472]
31648         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31650 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31652         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31653         Minor optimizations.
31655         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31656         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31657         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31659 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31661         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31662         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31663         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31664         for gcc to avoid warnings.
31665         * inet/Makefile (tests): Add tst-checks.
31666         * inet/tst-checks.c: New file.
31668         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31669         warning.
31671         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31672         __wmemcmp_sse2.
31674         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31675         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31677         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31679 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31681         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31682         problem.
31684         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31686 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31688         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31689         conditional on GCC version.
31690         (__arch_compare_and_exchange_val_8_acq)
31691         (__arch_compare_and_exchange_val_16_acq)
31692         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31693         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31694         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31696 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31698         * sysdeps/sh/backtrace.c: New file.
31700 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31702         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31703         parenthesis.
31705 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31707         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31708         falling back to utime.
31710 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31712         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31713         expectations for float.
31715 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31717         * locale/weight.h (findidx): Add parameter len.
31718         * locale/weightwc.h (findidx): Likewise.
31719         * posix/fnmatch_loop.c (FCT): Adjust caller.
31720         * posix/regcomp.c (build_equiv_class): Likewise.
31721         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31722         * posix/regexec.c (check_node_accept_bytes): Likewise.
31723         * string/strcoll_l.c (STRCOLL): Likewise.
31724         * string/strxfrm_l.c (STRXFRM): Likewise.
31726 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31728         * Makefile.in: Remove CVSOPT handling.
31729         * configure.in: Remove use of AC_REVISION.
31730         * iconvdata/Makefile (distribute): No need to filter out CVS.
31731         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31732         handling.
31734 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31736         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31737         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31738         [USE_AS_STRNCASECMP_L]: Likewise.
31739         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31740         NO_TLS_DIRECT_SEG_REFS.
31741         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31742         Fix argument offsets for non-PIC.
31743         [USE_AS_STRNCASECMP_L]: Likewise.
31744         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31745         NO_TLS_DIRECT_SEG_REFS.
31747 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31749         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31750         O_CLOEXEC.
31751         * locale/loadlocale.c (_nl_load_locale): Likewise.
31753 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31755         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31756         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31757         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31758         (SYSCALL_GETTIME): Set errno on error.
31760         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31761         count references to noai6ai_cached.
31763 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31765         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31767         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31768         FD_CLOEXEC for /proc/self/maps.
31770         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31771         FD_CLOEXEC for /proc/meminfo.
31773         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31774         gai.conf.
31776         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31777         FD_CLOEXEC for given file.
31779         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31781         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31782         FD_CLOEXEC for /etc/hosts.
31783         (_gethtent): Likewise.
31785         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31787         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31788         cancellation and set FD_CLOEXEC for /etc/netgroup.
31790         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31791         reading /etc/publickey.
31793         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31794         allow cancellation when reading /etc/group.
31796         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31797         cancellation.
31798         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31800         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31801         when using data file.
31803         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31805         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31806         (write_nis_obj): Use "c" and "e" in fopen.
31808         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31810         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31812         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31814         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31816         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31817         locale.alias.
31819         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31821         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31823         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31825         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31826         file parsing and set FD_CLOEXEC.
31828 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31830         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31832 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31834         * malloc/arena.c (arena_get2): Don't call reused_arena when
31835         _int_new_arena failed.
31837 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31839         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31840         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31841         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31842         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31843         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31844         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31845         to compile strcasecmp and strncasecmp.
31846         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31847         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31849         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31851 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31853         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31854         locale-defines.sym to gen-as-const-headers.
31855         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31856         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31858         to compile strcasecmp and strncasecmp.
31859         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31860         strcasecmp_l and strncasecmp_l.
31861         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31862         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31863         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31864         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31865         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31866         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31867         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31868         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31869         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31870         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31871         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31873 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31875         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31876         result of SYSDEP_GETTIME_CPU to retval.
31877         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31878         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31880         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31881         variable.
31883         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31884         mantissa words.
31885         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31887         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31888         from unused variable.
31890         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31891         DWARF definitions.
31892         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31893         for assembling.
31895         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31896         over namespaces.
31898         * sunrpc/rpc_prot.c (rejected): Fix case value.
31900         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31901         unsigned long long int to avoid warnings in shift.
31903         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31904         of use of trans.
31905         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31906         variable tmp.
31908         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31909         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31910         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31912         * nis/nis_table.c (nis_list): Use variable of correct type for
31913         result of __follow_path call.
31915 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31917         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31918         of math functions ceil, trunc, floor, round, and sqrt, when
31919         avaliable on the platform.
31920         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31921         name clash.
31922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31923         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31924         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31926 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31928         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31929         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31931 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31933         * include/unistd.h: Fix __readlink return type.
31934         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31936 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31938         * stdlib/ucontext.h: Undo last change for makecontext.
31940 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31942         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31944         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31945         * setjmp/setjmp.h: Mark functions as non-leaf.
31946         * setjmp/bits/setjmp2.h: Likewise.
31947         * stdlib/ucontext.h: Likewise.
31949 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31951         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31952         (reused_arena): Don't check arena limit.
31953         (arena_get2): Atomically check arena limit.
31955 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31957         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31958         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31961         instructions.
31963 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31965         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31966         handler when locking.
31968         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31969         Fix size of allocated buffer.
31971 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31973         [BZ #10103]
31974         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31975         declarations for long double functions.
31976         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31978         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31980 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31982         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31983         installed.
31985         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31986         is disabled.
31988 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31990         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31992 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31994         * include/alloca.h (stackinfo_alloca_round): Define.
31995         (extend_alloca): Use it.
31996         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31997         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31998         here.
32000         * scripts/check-local-headers.sh: Ignore libaudit.h.
32002         * nscd/Makefile (extra-objs): Make recursively expanded.
32004 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32006         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32007         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32009         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32010         * posix/tst-rfc3484-2.c: Likewise.
32011         * posix/tst-rfc3484-3.c: Likewise.
32013         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32014         process_vm_writev.
32015         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32016         process_vm_writev.
32017         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32018         process_vm_writev from libc using GLIBC_2.15 version.
32020         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32022 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32024         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32025         stack usage.
32027 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32029         [BZ #13367]
32030         * nss/getent.c (initgroups_keys): Show error message in case no group
32031         names are given.
32033         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32034         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32035         __bump_nl_timestamp.
32036         * nscd/connections (nscd_init): When host database is served open
32037         netlink socket and request notification about configuration changes.
32038         (main_loop_poll): Track netlink file descriptor and bump timestamp
32039         in case data becomes available.
32040         (main_loop_epoll): Likewise.
32041         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32042         (database_pers_head): Add extra_data fileds.
32043         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32045         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32046         Adjust caller.
32047         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32048         in6ai data, call __free_in6ai.
32049         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32050         Add -DHAVE_NETLINK.
32051         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32052         interface information.  Reuse previous data if netlink timestamp
32053         is not changed.
32054         (__bump_nl_timestamp): New function.
32055         (__free_in6ai): New function.
32057 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32060         close_not_cancel_no_status here.
32061         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32063 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32065         [BZ #13276]
32066         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32067         return value.
32069         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32070         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32071         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32073 2011-07-03  Andreas Jaeger  <aj@suse.de>
32075         [BZ #10709]
32076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32077         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32078         * math/libm-test.inc (sin_test): Add test case.
32080 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32082         [BZ #13337]
32083         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32084         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32086         * elf/chroot_canon.c (chroot_canon): Cleanups.
32088         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32090         [BZ #13335]
32091         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32092         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32094         * string/test-strchr.c: Make usable for strchrnul testing.
32095         * string/test-strchrnul.c: New file.
32096         * string/Makefile (strop-tests): Add strchrnul.
32098         * po/it.po: Update from translation team.
32099         * po/es.po: Likewise.
32101 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32103         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32104         the three constants needed as parameters.  Drop the others.
32105         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32106         __m128i_strloadu_tolower.
32107         Create and initialize variable zero and use it in all the places
32108         where _mm_setzero_si128 was used.
32110         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32111         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32112         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32113         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32114         anymore.
32115         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32116         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32117         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32118         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32119         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32120         __mpranred, __mptan.
32121         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32122         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32123         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32124         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32125         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32126         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32127         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32128         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32129         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32131 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32133         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32134         redefine if SHARED.
32135         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32137         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32138         wide char related routines to wcsmbs subdir.
32140 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32142         [BZ #13344]
32143         * misc/sys/cdefs.h (__THROWNL): Define.
32144         * posix/unistd.h: Use __THREADNL instead of __THREAD
32145         for memory synchronization functions.
32147 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32149         [BZ #13349]
32150         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32151         doesn't exist.
32152         * manual/stdio.texi (Obstack Streams): Node removed.
32154 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32156         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32157         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32158         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32160         * math/math_private.h (math_force_eval): Allow non-addressable
32161         arguments.
32162         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32166         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32167         file is not needed.
32169         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32170         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32171         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32172         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32173         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32174         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32176         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32177         Add AVX variants.
32178         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32179         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32180         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32181         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32182         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32183         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32184         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32185         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32186         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32187         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32188         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32189         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32190         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32191         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32192         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32193         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32194         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32195         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32196         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32198         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32199         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32201         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32202         place.  Use VEX encoding when compiling for AVX.
32204 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32206         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32207         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32209         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32211 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32213         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32214         useless if() expression.
32215         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32216         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32217         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32218         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32219         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32220         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32221         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32223         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32224         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32225         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32226         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32227         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32228         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32229         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32230         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32231         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32232         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32233         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32235         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32237 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32239         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32240         condition.
32241         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32243 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32245         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32246         .text section.  Avoid duplicate constants.
32247         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32248         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32249         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32250         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32252         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32254         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32255         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32256         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32257         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32258         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32259         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32260         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32262         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32263         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32264         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32265         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32266         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32267         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32268         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32269         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32270         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32271         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32272         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32273         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32274         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32275         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32276         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32277         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32278         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32279         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32280         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32281         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32282         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32283         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32284         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32285         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32286         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32287         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32288         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32289         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32290         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32291         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32293 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32295         * sysdeps/x86_64/dla.h: Move to ...
32296         * sysdeps/x86_64/fpu/dla.h: ...here.
32297         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32298         situations.  Use __builtin_fma only for gcc 4.6 and up.
32300         * config.make.in: Add have-mfma4 entry.
32301         * configure.in: Substitute libc_cv_cc_fma4.
32302         * math/Makefile (dbl-only-routines): Add sincostab.
32303         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32304         Use __sincostab not sincos.
32305         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32306         name is a macro.
32307         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32310         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32311         using __copysign.
32312         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32313         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32314         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32315         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32316         and __inv.
32317         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32318         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32319         __copysign.
32320         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32321         define aliases when function name is a macro.
32322         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32323         sysdeps/ieee754/dbl-64/sincos.tbl.
32324         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32325         fma4-enabled routines.
32326         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32327         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32328         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32329         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32330         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32331         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32332         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32333         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32334         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32335         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32336         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32337         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32338         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32339         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32340         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32341         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32342         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32343         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32344         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32345         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32346         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32347         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32348         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32349         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32350         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32351         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32352         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32353         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32354         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32355         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32357         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32358         rename.
32359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32362         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32363         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32366         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32368 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32370         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32372 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32374         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32376         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32377         prediction.
32378         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32380         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32381         Remove unused variable magic_bits.
32382         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32384         * string/strnlen.c: Define and use STRNLEN macro.
32385         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32386         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32387         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32388         * wcsmbs/wcslen.c: Define and use WCSLEN.
32389         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32390         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32391         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32392         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32393         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32394         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32395         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32397 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32400         strnlen-sse2-no-bsf.
32401         Rename strlen-no-bsf to strlen-sse2-no-bsf.
32402         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32403         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32404         Add strnlen support.
32405         (USE_AS_STRNLEN): New macro.
32406         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32407         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32408         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32409         * sysdeps/x86_64/wcslen.S: New file.
32411 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
32413         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32414         XMM-moves are used for copying on small sizes.
32416 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32418         * wcsmbs/Makefile (strop-tests): Add wcschr.
32419         * wcsmbs/test-wcschr.c: New file.
32420         * string/test-strchr.c: Update.
32421         Add wcschr support.
32422         (WIDE): New macro.
32424 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32426         * wcsmbs/Makefile (strop-tests): Add wcslen.
32427         * wcsmbs/test-wcslen.c: New file.
32428         * string/test-strlen.c: Update.
32429         Add wcslen support.
32430         (WIDE): New macro.
32432 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32434         * po/it.po: Update from translation team.
32436 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32438         * sysdeps/x86_64/wcscmp.S: Update.
32439         Fix wrong comparison semantics.
32440         wcscmp shall use signed comparison not unsigned.
32441         Don't use substraction to avoid overflow bug.
32442         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32443         * wcsmbc/wcscmp.c: Likewise.
32444         * string/test-strcmp.c: Likewise.
32445         Add new tests to check cases with negative values.
32447 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32449         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32450         * sysdeps/x86_64/dla.h: ...here.  New file.
32451         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32454         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32455         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32458         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32459         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32461 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
32463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32464         __ynl_finite aliases.
32466 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32470         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32471         define DLA_FMA.
32472         [DLA_FMA] (EMULV): Use DLA_FMA.
32473         [DLA_FMA] (MUL12): Use EMULV.
32474         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32475         that are not needed.
32476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32478         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32480         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32484 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32486         * math/s_nan.c: Undef __nan.
32487         * math/s_nanf.c: Undef __nanf.
32488         * math/s_nanl.c: Undef __nanl.
32489         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32490         "math_private.h".
32492 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32494         * math/s_catan.c: Add branch predictions.
32495         * math/s_catanf.c: Likewise.
32496         * math/s_catanh.c: Likewise.
32497         * math/s_catanhf.c: Likewise.
32498         * math/s_catanhl.c: Likewise.
32499         * math/s_catanl.c: Likewise.
32500         * math/s_cexp.c: Likewise.
32501         * math/s_cexpf.c: Likewise.
32502         * math/s_cexpl.c: Likewise.
32503         * math/s_clog.c: Likewise.
32504         * math/s_clog10.c: Likewise.
32505         * math/s_clog10f.c: Likewise.
32506         * math/s_clog10l.c: Likewise.
32507         * math/s_clogf.c: Likewise.
32508         * math/s_clogl.c: Likewise.
32509         * math/s_csqrt.c: Likewise.
32510         * math/s_csqrtf.c: Likewise.
32511         * math/s_csqrtl.c: Likewise.
32512         * math/s_ctanf.c: Likewise.
32513         * math/s_ctanh.c: Likewise.
32514         * math/s_ctanhf.c: Likewise.
32515         * math/s_ctanhl.c: Likewise.
32516         * math/s_ctanl.c: Likewise.
32518         * math/math_private.h: Define __nan, __nanf, __nanl.
32519         * math/s_cacosh.c: Include <math_private.h>.
32520         * math/s_cacoshl.c: Likewise.
32521         * math/s_casinh.c: Likewise.
32522         * math/s_casinhf.c: Likewise.
32523         * math/s_casinhl.c: Likewise.
32524         * math/s_ccos.c: Rely entire on ccosh.
32525         * math/s_ccosf.c: Rely entire on ccoshf.
32526         * math/s_ccosl.c: Rely entirely on ccoshl.
32527         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32528         Remove tests for FE_INVALID.
32529         * math/s_ccoshf.c: Likewise.
32530         * math/s_ccoshl.c: Likewise.
32531         * math/s_csin.c: Likewise.
32532         * math/s_csinf.c: Likewise.
32533         * math/s_csinh.c Likewise.
32534         * math/s_csinhf.c: Likewise.
32535         * math/s_csinhl.c: Likewise.
32536         * math/s_csinl.c: Likewise.
32537         * math/s_ctan.c: Likewise.
32538         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32539         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32540         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32542 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32545         compilation problems.
32547         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32548         __builtin_expect.
32550 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32552         * sysdeps/i386/configure.in: Test for -mfma4 option.
32553         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32554         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32555         COMMON_CPUID_INDEX_80000001.
32556         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32557         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32558         use it if FMA3 is not supported.
32559         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32561         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32562         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32564 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32566         [BZ #12892]
32567         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32568         it would create a cycle with a link time dependency.
32570 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32572         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32573         instruction.
32574         * string/Makefile (strop-tests): Add rawmemchr.
32575         * string/test-rawmemchr.c: New file.
32577         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32578         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32579         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32580         when compiling str{,n}casecmp and when AVX is available.  Hook up
32581         new optimized code in initializers.
32583 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32585         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32586         __feraiseexcept instead of feraiseexcept.
32588 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32590         * math/math_private.h: Define defaults for libc_fetestexcept and
32591         libc_feupdateenv.
32592         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32593         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32594         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32595         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32596         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32597         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32598         libc_fetestexcept and libc_feupdateenv.
32600         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32601         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32602         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32603         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32604         libc_feholdexcept_setround.
32606         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32607         Add s_nearbyint-c and s_nearbyintf-c.
32608         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32609         nearbyintf inlines.
32610         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32611         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32612         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32613         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32615         * math/math_private.h: Define defaults for libc_fegetround,
32616         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32617         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32618         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32619         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32620         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32621         standard functions.
32622         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32623         Remove comments and hacks for old compiler versions.
32624         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32625         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32626         libc_feholdexceptl.
32628 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32630         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32631         (__feraiseexcept_renamed): Add __NTH.
32632         (feraiseexcept): Add __NTH.  Rename local variables to fix
32633         namespace violations.
32635 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32637         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32639         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32641         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32642         recently added interfaces.
32643         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32645         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32646         about macro parameter expansion.
32648         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32649         __NO_MATH_INLINES is defined.  Cleanups.
32651         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32652         and __floorf is target has SSE4.1.
32653         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32654         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32655         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32656         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32658         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32659         name.
32660         (floorf): Likewise.
32662         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32664 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32666         * misc/sys/cdefs.h: Fix last change.
32668         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32669         database lookup.
32671 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32673         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32675         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32676         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32677         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32678         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32679         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32680         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32681         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32682         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32683         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32684         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32685         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32686         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32687         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32688         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32689         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32690         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32691         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32692         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32693         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32694         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32695         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32696         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32698         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32699         ceil, ceilf, floor, floorf.
32701         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32702         Perform IRELATIVE relocations last.
32704         * elf/do-rel.h: Add another parameter nrelative, replacing the
32705         local variable with the same name.  Change name of the function
32706         to end in Rel or Rela (uppercase).
32707         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32708         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32709         elf_dynamic_do_##reloc function.
32711 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32713         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32714         is sufficient, at least on modern CPUs.
32716         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32718         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32719         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32721         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32722         __expl_finite.
32723         * math/bits/math-finite.h: Add entries for exp.
32724         * math/e_expl.c: Add __*_finite alias.
32725         * sysdeps/i386/fpu/e_exp.S: Likewise.
32726         * sysdeps/i386/fpu/e_expf.S: Likewise.
32727         * sysdeps/i386/fpu/e_expl.c: Likewise.
32728         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32729         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32730         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32731         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32732         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32733         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32734         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32736         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32737         is sufficient, at least on modern CPUs.
32739         * ctype/ctype-info.c (__ctype_init): Define.
32740         * include/ctype.h (__ctype_init): Declare.
32741         (__ctype_b_loc): The variable is always initialized.
32742         (__ctype_toupper_loc): Likewise.
32743         (__ctype_tolower_loc): Likewise.
32744         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32745         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32747 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32749         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32751         * configure.in: Also look in $cxxmachine/include for C++ system
32752         headers.
32754 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32756         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32757         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32758         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32759         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32760         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32761         (USE_AS_WMEMCMP): New macro.
32762         Fixing indents.
32763         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32764         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32765         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32766         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32768         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32769         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32770         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32771         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32772         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32774         (USE_AS_WMEMCMP): New macro.
32775         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32776         * sysdeps/string/test-memcmp.c: Update.
32777         Fix simple_wmemcmp.
32778         Add new tests.
32779         * wcsmbs/wmemcmp.c: Update.
32780         (WMEMCMP): New macro.
32781         Fix overflow bug.
32783 2011-10-12  Andreas Jaeger  <aj@suse.de>
32785         [BZ #13268]
32786         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32788 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32790         * libio/iofwide.c (do_length): Avoid warning.
32792         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32794 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32796         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32798         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32799         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32800         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32801         * sysdeps/i386/i686/fpu/e_log.S: New file.
32802         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32803         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32805         * ctype/ctype.h: Add support for inlined isXXX functions when
32806         compiling C++ code.
32808 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32810         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32812         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32814 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32816         [BZ #13291]
32817         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32819 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32821         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32822         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32823         feraiseexcept.
32825         * sysdeps/x86_64/memrchr.S: Check for zero size.
32827         * string/stratcliff.c: Add memrchr tests.
32829 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32832         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32833         rawmemchr-sse2 rawmemchr-sse2-bsf.
32834         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32835         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32836         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32837         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32838         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32839         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32840         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32841         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32842         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32843         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32844         * string/memrchr.c (MEMRCHR): New macro.
32846 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32848         Add integration with gcc's -ffinite-math-only and optimize wrapper
32849         functions in libm.
32850         * Versions.def: Define GLIBC_2.15 version for libm.
32851         * math/Makefile (headers): Add bits/math-finite.h.
32852         * math/bits/math-finite.h: New file.
32853         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32854         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32855         * math/e_acoshl.c: Add __*_finite alias.
32856         * math/e_acosl.c: Likewise.
32857         * math/e_asinl.c: Likewise.
32858         * math/e_atan2l.c: Likewise.
32859         * math/e_atanhl.c: Likewise.
32860         * math/e_coshl.c: Likewise.
32861         * math/e_exp10.c: Likewise.
32862         * math/e_exp10f.c: Likewise.
32863         * math/e_exp10l.c: Likewise.
32864         * math/e_exp2l.c: Likewise.
32865         * math/e_fmodl.c: Likewise.
32866         * math/e_gammal_r.c: Likewise.
32867         * math/e_hypotl.c: Likewise.
32868         * math/e_j0l.c: Likewise.
32869         * math/e_j1l.c: Likewise.
32870         * math/e_jnl.c: Likewise.
32871         * math/e_lgammal_r.c: Likewise.
32872         * math/e_log10l.c: Likewise.
32873         * math/e_log2l.c: Likewise.
32874         * math/e_logl.c: Likewise.
32875         * math/e_powl.c: Likewise.
32876         * math/e_sinhl.c: Likewise.
32877         * math/e_sqrtl.c: Likewise.
32878         * math/e_scalb.c: Completely rewritten and optimized.
32879         * math/e_scalbf.c: Likewise.
32880         * math/e_scalbl.c: Likewise.
32881         * math/w_acos.c: Likewise.
32882         * math/w_acosf.c: Likewise.
32883         * math/w_acosl.c: Likewise.
32884         * math/w_acosh.c: Likewise.
32885         * math/w_acoshf.c: Likewise.
32886         * math/w_acoshl.c: Likewise.
32887         * math/w_asin.c: Likewise.
32888         * math/w_asinf.c: Likewise.
32889         * math/w_asinl.c: Likewise.
32890         * math/w_atan2.c: Likewise.
32891         * math/w_atan2f.c: Likewise.
32892         * math/w_atan2l.c: Likewise.
32893         * math/w_atanh.c: Likewise.
32894         * math/w_atanhf.c: Likewise.
32895         * math/w_atanhl.c: Likewise.
32896         * math/w_exp10.c: Likewise.
32897         * math/w_exp10f.c: Likewise.
32898         * math/w_exp10l.c: Likewise.
32899         * math/w_fmod.c: Likewise.
32900         * math/w_fmodf.c: Likewise.
32901         * math/w_fmodl.c: Likewise.
32902         * math/w_j0.c: Likewise.
32903         * math/w_j0f.c: Likewise.
32904         * math/w_j0l.c: Likewise.
32905         * math/w_j1.c: Likewise.
32906         * math/w_j1f.c: Likewise.
32907         * math/w_j1l.c: Likewise.
32908         * math/w_jn.c: Likewise.
32909         * math/w_jnf.c: Likewise.
32910         * math/w_log.c: Likewise.
32911         * math/w_logf.c: Likewise.
32912         * math/w_logl.c: Likewise.
32913         * math/w_log10.c: Likewise.
32914         * math/w_log10f.c: Likewise.
32915         * math/w_log10l.c: Likewise.
32916         * math/w_log2.c: Likewise.
32917         * math/w_log2f.c: Likewise.
32918         * math/w_log2l.c: Likewise.
32919         * math/w_pow.c: Likewise.
32920         * math/w_powf.c: Likewise.
32921         * math/w_powl.c: Likewise.
32922         * math/w_remainder.c: Likewise.
32923         * math/w_remainderf.c: Likewise.
32924         * math/w_remainderl.c: Likewise.
32925         * math/w_scalb.c: Likewise.
32926         * math/w_scalbf.c: Likewise.
32927         * math/w_scalbl.c: Likewise.
32928         * math/w_sqrt.c: Likewise.
32929         * math/w_sqrtf.c: Likewise.
32930         * math/w_sqrtl.c: Likewise.
32931         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32932         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32933         used.
32934         * math/math_private.h: Declare __kernel_standard_f.
32935         * math/w_cosh.c: Remove cruft and optimize a bit.
32936         * math/w_coshf.c: Likewise.
32937         * math/w_coshl.c: Likewise.
32938         * math/w_exp2.c: Likewise.
32939         * math/w_exp2f.c: Likewise.
32940         * math/w_exp2l.c: Likewise.
32941         * math/w_hypot.c: Likewise.
32942         * math/w_hypotf.c: Likewise.
32943         * math/w_hypotl.c: Likewise.
32944         * math/w_lgamma.c: Likewise.
32945         * math/w_lgamma_r.c: Likewise.
32946         * math/w_lgammaf.c: Likewise.
32947         * math/w_lgammaf_r.c: Likewise.
32948         * math/w_lgammal.c: Likewise.
32949         * math/w_lgammal_r.c: Likewise.
32950         * math/w_sinh.c: Likewise.
32951         * math/w_sinhf.c: Likewise.
32952         * math/w_sinhl.c: Likewise.
32953         * math/w_tgamma.c: Likewise.
32954         * math/w_tgammaf.c: Likewise.
32955         * math/w_tgammal.c: Likewise.
32956         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32957         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32958         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32959         Minor optimizations.  Pretty printing.  Remove cruft.
32960         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32961         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32962         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32963         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32964         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32965         * sysdeps/i386/fpu/e_asin.S: Likewise.
32966         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32967         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32968         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32969         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32970         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32971         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32972         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32973         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32974         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32975         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32976         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32977         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32978         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32979         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32980         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32981         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32982         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32983         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32984         * sysdeps/i386/fpu/e_log.S: Likewise.
32985         * sysdeps/i386/fpu/e_log10.S: Likewise.
32986         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32987         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32988         * sysdeps/i386/fpu/e_log2.S: Likewise.
32989         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32990         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32991         * sysdeps/i386/fpu/e_logf.S: Likewise.
32992         * sysdeps/i386/fpu/e_logl.S: Likewise.
32993         * sysdeps/i386/fpu/e_pow.S: Likewise.
32994         * sysdeps/i386/fpu/e_powf.S: Likewise.
32995         * sysdeps/i386/fpu/e_powl.S: Likewise.
32996         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32997         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32998         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32999         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33000         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33001         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33002         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33003         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33004         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33005         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33009         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33011         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33012         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33013         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33014         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33015         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33016         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33018         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33019         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33020         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33021         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33022         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33023         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33024         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33025         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33026         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33027         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33028         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33029         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33030         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33031         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33032         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33033         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33034         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33035         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33036         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33037         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33038         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33039         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33040         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33041         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33042         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33043         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33044         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33045         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33046         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33047         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33049         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33051         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33052         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33054         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33055         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33057         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33058         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33059         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33060         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33061         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33062         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33064         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33067         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33068         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33069         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33071         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33072         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33073         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33074         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33075         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33076         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33077         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33078         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33079         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33080         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33081         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33082         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33083         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33084         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33085         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33086         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33088         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33089         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33090         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33091         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33092         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33093         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33094         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33095         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33096         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33097         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33098         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33099         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33100         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33101         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33102         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33103         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33104         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33105         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33106         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33107         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33108         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33109         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33110         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33111         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33112         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33113         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33114         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33115         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33116         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33117         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33118         (__isnanf): Likewise.
33119         (__isinf_ns): Likewise.
33120         (__isinf_nsf): Likewise.
33121         (__finite): Likewise.
33122         (__finitef): Likewise.
33123         (__ieee754_sqrt): Define as macro.
33124         (__ieee754_sqrtf): Define as macro.
33125         (__ieee754_sqrtl): Define as macro.
33126         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33127         inlined copy.
33128         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33129         __FINITE_MATH_ONLY__ consistent.
33130         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33132 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33134         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33135         of rawmemchr.
33137         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33139 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33141         * po/ja.po: Update from translation team.
33143 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33145         * locale/programs/locarchive.c (prepare_address_space): New function.
33146         (create_archive, enlarge_archive, open_archive): Use it.
33148         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33149         inside [SHARED], where it is used.
33151         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33153         * nss/getent.c (netgroup_keys): Remove unused variable.
33154         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33156 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33158         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33159         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33160         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33161         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33162         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33163         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33164         * math/Makefile (libm-calls): Add s_isinf_ns.
33165         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33166         * math/multc3.c: Likewise.
33167         * math/s_casin.c: Likewise.
33168         * math/s_casinf.c: Likewise.
33169         * math/s_casinl.c: Likewise.
33170         * math/s_ccos.c: Likewise.
33171         * math/s_ccosf.c: Likewise.
33172         * math/s_ccosl.c: Likewise.
33173         * math/s_ctan.c: Likewise.
33174         * math/s_ctanf.c: Likewise.
33175         * math/s_ctanh.c: Likewise.
33176         * math/s_ctanhf.c: Likewise.
33177         * math/s_ctanhl.c: Likewise.
33178         * math/s_ctanl.c: Likewise.
33179         * math/w_fmod.c: Likewise.
33180         * math/w_fmodf.c: Likewise.
33181         * math/w_fmodl.c: Likewise.
33182         * math/w_remainder.c: Likewise.
33183         * math/w_remainderf.c: Likewise.
33184         * math/w_remainderl.c: Likewise.
33185         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33186         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33187         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33189         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33190         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33191         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33192         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33194         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33195         of the number.
33196         * stdio-common/printf_fphex.c: Likewise.
33197         * stdio-common/printf_size.c: Likewise.
33199         * math/e_exp10.c: Include math_private.h using <...> not "...".
33200         * math/e_exp10f.c: Likewise.
33201         * math/e_exp10l.c: Likewise.
33202         * math/e_exp2l.c: Likewise.
33203         * math/e_j0l.c: Likewise.
33204         * math/e_j1l.c: Likewise.
33205         * math/e_jnl.c: Likewise.
33206         * math/e_lgammal_r.c: Likewise.
33207         * math/e_rem_pio2l.c: Likewise.
33208         * math/e_scalb.c: Likewise.
33209         * math/e_scalbf.c: Likewise.
33210         * math/e_scalbl.c: Likewise.
33211         * math/k_cosl.c: Likewise.
33212         * math/k_sinl.c: Likewise.
33213         * math/k_tanl.c: Likewise.
33214         * math/s_cacoshf.c: Likewise.
33215         * math/s_catan.c: Likewise.
33216         * math/s_catanf.c: Likewise.
33217         * math/s_catanh.c: Likewise.
33218         * math/s_catanhf.c: Likewise.
33219         * math/s_catanhl.c: Likewise.
33220         * math/s_catanl.c: Likewise.
33221         * math/s_ccosh.c: Likewise.
33222         * math/s_ccoshf.c: Likewise.
33223         * math/s_ccoshl.c: Likewise.
33224         * math/s_cexp.c: Likewise.
33225         * math/s_cexpf.c: Likewise.
33226         * math/s_cexpl.c: Likewise.
33227         * math/s_clog.c: Likewise.
33228         * math/s_clog10.c: Likewise.
33229         * math/s_clog10f.c: Likewise.
33230         * math/s_clog10l.c: Likewise.
33231         * math/s_clogf.c: Likewise.
33232         * math/s_clogl.c: Likewise.
33233         * math/s_csin.c: Likewise.
33234         * math/s_csinf.c: Likewise.
33235         * math/s_csinh.c: Likewise.
33236         * math/s_csinhf.c: Likewise.
33237         * math/s_csinhl.c: Likewise.
33238         * math/s_csinl.c: Likewise.
33239         * math/s_csqrt.c: Likewise.
33240         * math/s_csqrtf.c: Likewise.
33241         * math/s_csqrtl.c: Likewise.
33242         * math/s_ctan.c: Likewise.
33243         * math/s_ctanf.c: Likewise.
33244         * math/s_ctanh.c: Likewise.
33245         * math/s_ctanhf.c: Likewise.
33246         * math/s_ctanhl.c: Likewise.
33247         * math/s_ctanl.c: Likewise.
33248         * math/s_ldexp.c: Likewise.
33249         * math/s_ldexpf.c: Likewise.
33250         * math/s_ldexpl.c: Likewise.
33251         * math/s_significand.c: Likewise.
33252         * math/s_significandf.c: Likewise.
33253         * math/s_significandl.c: Likewise.
33254         * math/w_acos.c: Likewise.
33255         * math/w_acosf.c: Likewise.
33256         * math/w_acosh.c: Likewise.
33257         * math/w_acoshf.c: Likewise.
33258         * math/w_acoshl.c: Likewise.
33259         * math/w_acosl.c: Likewise.
33260         * math/w_asin.c: Likewise.
33261         * math/w_asinf.c: Likewise.
33262         * math/w_asinl.c: Likewise.
33263         * math/w_atan2.c: Likewise.
33264         * math/w_atan2f.c: Likewise.
33265         * math/w_atan2l.c: Likewise.
33266         * math/w_atanh.c: Likewise.
33267         * math/w_atanhf.c: Likewise.
33268         * math/w_atanhl.c: Likewise.
33269         * math/w_cosh.c: Likewise.
33270         * math/w_coshf.c: Likewise.
33271         * math/w_coshl.c: Likewise.
33272         * math/w_dremf.c: Likewise.
33273         * math/w_exp10.c: Likewise.
33274         * math/w_exp10f.c: Likewise.
33275         * math/w_exp10l.c: Likewise.
33276         * math/w_exp2.c: Likewise.
33277         * math/w_exp2f.c: Likewise.
33278         * math/w_fmod.c: Likewise.
33279         * math/w_fmodf.c: Likewise.
33280         * math/w_fmodl.c: Likewise.
33281         * math/w_hypot.c: Likewise.
33282         * math/w_hypotf.c: Likewise.
33283         * math/w_hypotl.c: Likewise.
33284         * math/w_j0.c: Likewise.
33285         * math/w_j0f.c: Likewise.
33286         * math/w_j0l.c: Likewise.
33287         * math/w_j1.c: Likewise.
33288         * math/w_j1f.c: Likewise.
33289         * math/w_j1l.c: Likewise.
33290         * math/w_jn.c: Likewise.
33291         * math/w_jnf.c: Likewise.
33292         * math/w_jnl.c: Likewise.
33293         * math/w_lgamma.c: Likewise.
33294         * math/w_lgamma_r.c: Likewise.
33295         * math/w_lgammaf.c: Likewise.
33296         * math/w_lgammaf_r.c: Likewise.
33297         * math/w_lgammal.c: Likewise.
33298         * math/w_lgammal_r.c: Likewise.
33299         * math/w_log.c: Likewise.
33300         * math/w_log10.c: Likewise.
33301         * math/w_log10f.c: Likewise.
33302         * math/w_log10l.c: Likewise.
33303         * math/w_log2.c: Likewise.
33304         * math/w_log2f.c: Likewise.
33305         * math/w_log2l.c: Likewise.
33306         * math/w_logf.c: Likewise.
33307         * math/w_logl.c: Likewise.
33308         * math/w_pow.c: Likewise.
33309         * math/w_powf.c: Likewise.
33310         * math/w_powl.c: Likewise.
33311         * math/w_remainder.c: Likewise.
33312         * math/w_remainderf.c: Likewise.
33313         * math/w_remainderl.c: Likewise.
33314         * math/w_scalb.c: Likewise.
33315         * math/w_scalbf.c: Likewise.
33316         * math/w_scalbl.c: Likewise.
33317         * math/w_sinh.c: Likewise.
33318         * math/w_sinhf.c: Likewise.
33319         * math/w_sinhl.c: Likewise.
33320         * math/w_sqrt.c: Likewise.
33321         * math/w_sqrtf.c: Likewise.
33322         * math/w_sqrtl.c: Likewise.
33323         * math/w_tgamma.c: Likewise.
33324         * math/w_tgammaf.c: Likewise.
33325         * math/w_tgammal.c: Likewise.
33327         * po/ja.po: Update from translation team.
33329 2011-09-29  Andreas Jaeger  <aj@suse.de>
33331         [BZ #13179]
33332         * sunrpc/netname.c (netname2host): Fix logic.
33334         [BZ #6779]
33335         [BZ #6783]
33336         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33337         correctly.
33338         * math/w_remainder.c (__remainder): Likewise.
33339         * math/w_remainderf.c (__remainderf): Likewise.
33340         * math/libm-test.inc (remainder_test): Add test cases.
33342 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33344         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33345         sdiv_qrnnd.
33347 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33349         * string/test-memcmp.c: Avoid unncessary #defines.
33350         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33352 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33354         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33355         Use new sse2 version for core i3 - i7 as it's faster
33356         than sse42 version.
33357         (bit_Prefer_PMINUB_for_stringop): New.
33358         * sysdeps/x86_64/rawmemchr.S: Update.
33359         Replace with faster SSE2 version.
33360         * sysdeps/x86_64/memrchr.S: New file.
33361         * sysdeps/x86_64/memchr.S: Update.
33362         Replace with faster SSE2 version.
33364 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33366         * elf/dl-load.c (lose): Add cast to avoid warning.
33368 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33370         * po/ca.po: Update from translation team.
33372         * inet/getnetgrent_r.c: Hook up nscd.
33373         * nscd/Makefile (routines): Add nscd_netgroup.
33374         (nscd-modules): Add netgroupcache.
33375         (CFLAGS-netgroupcache.c): Define.
33376         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33377         (cache_search): Add const to second parameter.
33378         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33379         INNETGR.
33380         (dbs): Add netgrdb entry.
33381         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33382         (verify_persistent_db): Handle netgrdb.
33383         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33384         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33385         GETFDNETGR.
33386         (netgroup_response_header): Define.
33387         (innetgroup_response_header): Define.
33388         (datahead): Add netgroup_response_header and innetgroup_response_header
33389         elements.
33390         * nscd/nscd.conf: Add entries for netgroup cache.
33391         * nscd/nscd.h (dbtype): Add netgrdb.
33392         (_PATH_NSCD_NETGROUP_DB): Define.
33393         (netgroup_iov_disabled): Declare.
33394         (xmalloc, xcalloc, xrealloc): Move declarations here.
33395         (cache_search): Adjust prototype.
33396         Add netgroup-related prototypes.
33397         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33398         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33399         (__nscd_innetgr): Declare.
33400         * nscd/selinux.c (perms): Use access_vector_t as element type and
33401         add netgroup-related initializers.
33402         * nscd/netgroupcache.c: New file.
33403         * nscd/nscd_netgroup.c: New file.
33404         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33405         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33406         For four parameters use innetgr.
33407         * nss/nss_files/files-init.c: Add definition and callback for netgr.
33408         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33409         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33410         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33412         * nscd/connections.c (register_traced_file): Don't register file
33413         for disabled databases.
33415 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
33417         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33419         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33420         from tree and freeing node.
33422 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
33424         * nss/nsswitch.c (__nss_database_lookup): Handle
33425         nss_parse_service_list out of memory case.
33427 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
33429         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33430         out of memory case.
33432 2011-10-04  Andreas Schwab  <schwab@redhat.com>
33434         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33435         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33436         pass it down.
33437         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33438         elf_machine_rela, elf_machine_lazy_rel.
33439         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33440         (ELF_DYNAMIC_DO_REL): Likewise.
33441         (ELF_DYNAMIC_DO_RELA): Likewise.
33442         (ELF_DYNAMIC_RELOCATE): Likewise.
33443         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33444         to ELF_DYNAMIC_DO_REL.
33445         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33446         (dl_main): In trace mode always set __RTLD_NOIFUNC.
33447         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33448         elf_machine_rela.
33449         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33450         skip_ifunc, don't call ifunc function if non-zero.
33451         (elf_machine_rela): Likewise.
33452         (elf_machine_lazy_rel): Likewise.
33453         (elf_machine_lazy_rela): Likewise.
33454         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33455         (elf_machine_lazy_rel): Likewise.
33456         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33457         Likewise.
33458         (elf_machine_lazy_rel): Likewise.
33459         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33460         Likewise.
33461         (elf_machine_lazy_rel): Likewise.
33462         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33463         (elf_machine_lazy_rel): Likewise.
33464         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33465         (elf_machine_lazy_rel): Likewise.
33466         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33467         (elf_machine_lazy_rel): Likewise.
33468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33469         (elf_machine_lazy_rel): Likewise.
33470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33471         (elf_machine_lazy_rel): Likewise.
33472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33473         (elf_machine_lazy_rel): Likewise.
33475 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33477         * nss/nss_files/files-init.c (_nss_files_init): Use static
33478         initialization for all the *_traced_file variables.
33480 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33482         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33484 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33486         [BZ #13226]
33487         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33489 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33492         Reread the line before reparsing it.
33494 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33496         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33498 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33499             Maxim Kuvyrkov  <maxim@codesourcery.com>
33500             Joseph Myers  <joseph@codesourcery.com>
33502         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33503         if needed for __stack_chk_guard.
33505 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33507         * sysdeps/posix/spawni.c (script_execute): Always define it.
33508         It will be optimized away if unused.
33509         (maybe_script_execute): New function.
33510         (__spawni): Call it.
33512         * Makerules: Don't include tls.make.
33513         (config-tls): Always set to thread.
33514         * tls.make.c: File removed.
33516 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33518         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33519         * config.make.in (CPPFLAGS-config): New substituted variable.
33521 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33523         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33525         [BZ #13192]
33526         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33527         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33529 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33531         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33532         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33533         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33534         (CALL_FAIL): Likewise.
33535         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33536         (CALL_FAIL): Macro removed.
33537         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33539 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33541         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33542         for __FINITE_MATH_ONLY__ == 1.
33544 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33546         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33547         __ieee754_sqrt instead of sqrt.
33548         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33549         __ieee754_sqrtf instead of sqrtf.
33550         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33551         __floorf instead of floorf.
33552         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33553         __floorf, __truncf instead of floorf, truncf.
33555 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33557         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33559         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33560         __extern_always_inline.
33561         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33562         32-bit.
33564 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33566         * elf/rtld.c (dl_main): Also relocate in dependency order when
33567         doing symbol dependency testing.
33569 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33572         Always define `refsym'.
33574 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33576         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33577         (__FD_ELT): Renamed from __FDELT.
33578         * misc/bits/select2.h (__FD_ELT): Likewise.
33579         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33580         __FD_MASK instead of __FDELT, __FDMASK.
33581         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33582         Likewise.
33583         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33584         Likewise.
33586         * elf/Makefile (gen-ldd): Fix pattern.
33588         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33589         (init_tls): Likewise.
33591 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33595 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33597         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33598         `struct cmsghdr *' instead of `void *'.
33599         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33600         Likewise.
33602 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33604         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33605         if non-absolute.
33606         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33607         ldd_rewrite_script.
33609 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33611         * configure.in: Remove --with-tls option.
33612         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33613         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33614         out in case it is missing.
33615         * sysdeps/ia64/elf/configure.in: Likewise.
33616         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33617         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33618         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33619         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33620         * sysdeps/sh/elf/configure.in: Likewise.
33621         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33622         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33623         * sysdeps/x86_64/elf/configure.in: Likewise.
33624         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33625         * sysdeps/mach/hurd/tls.h: Likewise.
33627         [BZ #13067]
33628         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33630         [BZ #13090]
33631         * configure.in: Fix use of AC_INIT.
33633         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33635 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33637         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33638         __set_errno.
33639         * malloc/hooks.c: Likewise.
33641         [BZ #11929]
33642         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33643         variables statically.
33644         (narenas): Initialize.
33645         (list_lock): Initialize.
33646         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33647         initializtion of main_arena and list_lock.  Small cleanups.
33648         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33649         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33650         Add initializers to main_arena and mp_.
33651         (malloc_state): Remove pagesize member.  Change all users to use
33652         GLRO(dl_pagesize).
33654         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33655         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33656         is always initialized.
33658         * malloc/malloc.c: Removed unused configurations and dead code.
33659         * malloc/arena.c: Likewise.
33660         * malloc/hooks.c: Likewise.
33661         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33663         * include/tls.h: Removed.  USE___THREAD must always be defined.
33664         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33665         * elf/dl-libc.c: Likewise.
33666         * elf/dl-tsd.c: Likewise.
33667         * include/errno.h: Likewise.
33668         * include/netdb.h: Likewise.
33669         * include/resolv.h: Likewise.
33670         * inet/herrno-loc.c: Likewise.
33671         * inet/herrno.c: Likewise.
33672         * malloc/arena.c: Likewise.
33673         * malloc/hooks.c: Likewise.
33674         * malloc/malloc.c: Likewise.
33675         * resolv/res-state.c: Likewise.
33676         * resolv/res_libc.c: Likewise.
33677         * sysdeps/i386/dl-machine.h: Likewise.
33678         * sysdeps/ia64/dl-machine.h: Likewise.
33679         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33680         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33681         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33682         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33683         * sysdeps/sh/dl-machine.h: Likewise.
33684         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33685         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33686         * sysdeps/unix/i386/sysdep.S: Likewise.
33687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33688         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33689         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33692         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33693         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33697         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33698         * sysdeps/x86_64/dl-machine.h: Likewise.
33699         * tls.make.c: Likewise.
33701         * configure.in: Remove --with-__thread option.  Make tests for
33702         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33703         tls_model attribute fail if no support is available.  Remove
33704         USE_IN_LIBIO.
33705         * Makeconfig: Adjust for dropped configure option.  All features are
33706         now mandatory.
33707         * Makerules: Likewise.
33708         * Versions.def: Likewise.
33709         * argp/argp-fmtstream.c: Likewise.
33710         * argp/argp-fmtstream.h: Likewise.
33711         * argp/argp-help.c: Likewise.
33712         * assert/assert.c: Likewise.
33713         * config.h.in: Likewise.
33714         * config.make.in: Likewise.
33715         * configure: Likewise.
33716         * configure.in: Likewise.
33717         * csu/Versions: Likewise.
33718         * csu/init.c: Likewise.
33719         * elf/tst-audit2.c: Likewise.
33720         * elf/tst-tls10.c: Likewise.
33721         * elf/tst-tls10.h: Likewise.
33722         * elf/tst-tls11.c: Likewise.
33723         * elf/tst-tls12.c: Likewise.
33724         * elf/tst-tls14.c: Likewise.
33725         * elf/tst-tlsmod11.c: Likewise.
33726         * elf/tst-tlsmod12.c: Likewise.
33727         * elf/tst-tlsmod13.c: Likewise.
33728         * elf/tst-tlsmod13a.c: Likewise.
33729         * elf/tst-tlsmod14a.c: Likewise.
33730         * elf/tst-tlsmod15b.c: Likewise.
33731         * elf/tst-tlsmod16a.c: Likewise.
33732         * elf/tst-tlsmod16b.c: Likewise.
33733         * elf/tst-tlsmod7.c: Likewise.
33734         * elf/tst-tlsmod8.c: Likewise.
33735         * elf/tst-tlsmod9.c: Likewise.
33736         * gmon/gmon.c: Likewise.
33737         * grp/fgetgrent_r.c: Likewise.
33738         * grp/putgrent.c: Likewise.
33739         * hurd/fopenport.c: Likewise.
33740         * include/libc-symbols.h: Likewise.
33741         * include/tls.h: Likewise.
33742         * intl/gettextP.h: Likewise.
33743         * intl/loadinfo.h: Likewise.
33744         * locale/global-locale.c: Likewise.
33745         * locale/localeinfo.h: Likewise.
33746         * mach/devstream.c: Likewise.
33747         * malloc/arena.c: Likewise.
33748         * malloc/set-freeres.c: Likewise.
33749         * misc/err.c: Likewise.
33750         * misc/getttyent.c: Likewise.
33751         * misc/mntent_r.c: Likewise.
33752         * posix/getopt.c: Likewise.
33753         * posix/wordexp.c: Likewise.
33754         * pwd/fgetpwent_r.c: Likewise.
33755         * resolv/Versions: Likewise.
33756         * resolv/res_hconf.c: Likewise.
33757         * shadow/fgetspent_r.c: Likewise.
33758         * shadow/putspent.c: Likewise.
33759         * stdio-common/printf_fphex.c: Likewise.
33760         * stdio-common/tmpfile.c: Likewise.
33761         * stdlib/abort.c: Likewise.
33762         * stdlib/fmtmsg.c: Likewise.
33763         * sunrpc/auth_unix.c: Likewise.
33764         * sunrpc/clnt_perr.c: Likewise.
33765         * sunrpc/clnt_tcp.c: Likewise.
33766         * sunrpc/clnt_udp.c: Likewise.
33767         * sunrpc/clnt_unix.c: Likewise.
33768         * sunrpc/openchild.c: Likewise.
33769         * sunrpc/svc_simple.c: Likewise.
33770         * sunrpc/svc_tcp.c: Likewise.
33771         * sunrpc/svc_udp.c: Likewise.
33772         * sunrpc/svc_unix.c: Likewise.
33773         * sunrpc/xdr.c: Likewise.
33774         * sunrpc/xdr_array.c: Likewise.
33775         * sunrpc/xdr_rec.c: Likewise.
33776         * sunrpc/xdr_ref.c: Likewise.
33777         * sunrpc/xdr_stdio.c: Likewise.
33779 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33781         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33783 2011-07-03  Andreas Jaeger  <aj@suse.de>
33785         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33786         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33787         regenerate with gen-libm-tests.pl.
33789 2010-05-12  Petr Baudis  <pasky@suse.cz>
33791         [BZ #11589]
33792         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33793         around j0() zero points by switching to j1().
33794         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33795         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33797         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33799 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33801         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33802         instead of 0.
33803         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33804         instead of 0.
33805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33806         Patch in part by Pavel Roskin <proski@gnu.org>.
33808         [BZ #13138]
33809         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33810         realloc.
33811         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33812         Free memory block if necessary.
33814         [BZ #12847]
33815         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33816         be NULL.  Don't lock in this case.
33818 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33820         * elf/elf.h (ELFOSABI_GNU): New macro.
33821         (ELFOSABI_LINUX): Define to that.
33823 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33825         * string/strncat.c (strncat): Undef the symbol in case it has been
33826         defined in bits/string.h.
33828 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33830         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33832         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33833         link map.
33835 2011-08-17  Andreas Jaeger  <aj@suse.de>
33837         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33839 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33840             Ian Lance Taylor  <iant@google.com>
33842         * math/libm-test.inc (lround_test): New testcase.
33843         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33845 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33847         * Makefile: Remove support for automatic cvs check-ins.
33848         * Makerules: Likewise.
33849         * config.make.in: Likewise.
33850         * configure.in: Likewise.
33851         * intl/Makefile: Likewise.
33852         * locale/Makefile: Likewise.
33853         * po/Makefile: Likewise.
33854         * posix/Makefile: Likewise.
33855         * sysdeps/gnu/Makefile: Likewise.
33856         * sysdeps/mach/hurd/Makefile: Likewise.
33857         * sysdeps/sparc/sparc32/Makefile: Likewise.
33859         [BZ #13118]
33860         * posix/Makefile (bug-regex32-ENV): Define.
33861         Patch by John Stanley <jpsinthemix@verizon.net>.
33863         * misc/Makefile (headers): Add bits/select2.h.
33864         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33865         * misc/bits/select2.h: New file.
33866         * include/bits/select2.h: New file.
33867         * debug/Makefile (routines): Add fdelt_chk.
33868         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33869         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33870         FD_ISSET.
33871         * debug/fdelt_chk.c: New file.
33873         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33874         * wcsmbs/test-wmemcmp.c: Likewise.
33875         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33876         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33878 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33880         * string/Makefile (strop-tests): Add memcmp.
33881         * string/test-wmemcmp.c: New file.
33882         * string/test-memcmp.c: Add wmemcmp support.
33884 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33886         [BZ #13153]
33887         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33888         2011-07-19 change.
33890         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33891         garbage value in a __mach_port_mod_refs call in the cases of the
33892         task-self and thread-self ports.
33894 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33896         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33898 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33900         * elf/dl-load.c (lose): Check for non-null L.
33902 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33904         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33906         * elf/dl-libc.c (dlerror_run): Pass back error code from
33907         dl_catch_error.
33909         [BZ #13123]
33910         * elf/dl-load.c (lose): Free l_origin if it is valid.
33912         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33913         names.
33914         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33915         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33916         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33917         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33918         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33919         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33921 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33923         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33924         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33925         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33926         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33927         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33928         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33929         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33930         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33931         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33932         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33934 2011-08-15  Alan Modra  <amodra@gmail.com>
33936         [BZ #13092]
33937         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33938         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33939         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33940         ppc_mcount to static-only-routines.
33941         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33942         __mcount_internal.
33943         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33944         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33946 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33948         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33949         for finite and infinity parameters.
33951 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33953         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33954         and add nop instructions for throughput optimization.
33955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33957 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33959         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33960         aligned copy for power7 with vector-scalar instructions.
33961         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33963 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33965         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33966         AVX check.
33968 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33970         [BZ #13144]
33971         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33972         last change.
33974 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33976         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33977         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33978         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33979         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33980         clock_gettime.
33982 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33984         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33985         Forgot to demangle the pointer.
33987         * sysdeps/i386/sysdep.h: Define atom_text_section.
33988         * sysdeps/x86_64/sysdep.h: Likewise.
33989         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33990         section with atom_text_section.
33991         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33992         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33993         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33995         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33997         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33998         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33999         already be defined.  Change to take two parameters and don't assign
34000         result to variable.  Adjust all users.
34001         Define INTERNAL_GETTIME if not already defined.
34002         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34003         call.
34004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34005         HAVE_CLOCK_GETTIME_VSYSCALL.
34006         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34009         gettimeofday vsyscall, just use time.
34011 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34013         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34014         <errno.h>.
34016 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34018         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34019         syscall on x86-64.
34020         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34021         syscall.
34022         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34023         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34024         syscall if possible.
34026 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34028         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34029         e_ident.  Don't pass to find_mapsXX.
34030         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34032 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34035         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34036         * sysdeps/x86_64/multiarch/strchr.S: Update.
34037         Check bit_slow_BSF bit.
34038         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34039         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34040         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34042 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34044         [BZ #13134]
34045         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34046         before glibc 2.15.
34047         (tryshell): Define.
34048         (__spawni): Change last parameter to be flag.  Test
34049         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34050         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34051         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34052         * posix/spawni.c: Likewise.
34053         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34054         * posix/spawnp.c: Likewise.  Change normal version to use
34055         SPAWN_XFLAGS_USE_PATH.
34056         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34057         SPAWN_XFLAGS_TRY_SHELL.
34059         [BZ #13150]
34060         * posix/glob.h: Remove gcc 1.x support.
34062         [BZ #13068]
34063         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34065 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34067         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34068         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34069         strrchr-sse2-bsf
34070         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34071         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34072         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34073         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34074         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34075         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34077 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34079         * sysdeps/x86_64/wcscmp.S: New file.
34081         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34082         wcscmp-c wcscmp-sse2
34083         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34084         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34085         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34086         * wcsmbs/wcscmp.c: Allow renaming.
34088 2011-09-05  David S. Miller  <davem@davemloft.net>
34090         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34091         stack slot, rather than the struct return pointer slot.
34092         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34093         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34095         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34097 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34099         * po/ja.po: Update from translation team.
34101         [BZ #13144]
34102         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34103         kernel in 64-bit binaries.
34105 2011-09-01  David S. Miller  <davem@davemloft.net>
34107         * elf/elf.h (HWCAP_SPARC_*): Move to..
34108         * sysdeps/sparc/sysdep.h: this new file and add new values.
34109         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34110         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34111         _DL_HWCAP_COUNT to 24.
34112         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34113         entries.
34114         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34115         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34116         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34118         instead of magic constants.
34119         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34121 2011-08-31  David S. Miller  <davem@davemloft.net>
34123         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34124         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34125         Reimplement to do errno handling inline.
34126         (SYSCALL_ERROR_HANDLER): New macro.
34127         (__SYSCALL_STRING): Do not do errno handling in asm.
34128         (__CLONE_SYSCALL_STRING): Delete.
34129         (__INTERNAL_SYSCALL_STRING): Delete.
34130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34131         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34132         (PSEUDO): Reimplement to do errno handling inline.
34133         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34134         (SYSCALL_ERROR_HANDLER): New macro.
34135         (__SYSCALL_STRING): Do not do errno handling in asm.
34136         (__CLONE_SYSCALL_STRING): Delete.
34137         (__INTERNAL_SYSCALL_STRING): Delete.
34138         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34139         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34140         i386.
34141         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34142         (inline_syscall*): Add 'err' argument.
34143         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34144         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34145         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34146         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34148         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34149         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34151 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34153         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34155 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34157         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34158         directive.
34160 2011-08-24  David S. Miller  <davem@davemloft.net>
34162         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34164 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34166         * elf/Makefile: Add rules to build and run unload8 test.
34167         * elf/unload8.c: New file.
34168         * elf/unload8mod1.c: New file.
34169         * elf/unload8mod1x.c: New file.
34170         * elf/unload8mod2.c: New file.
34171         * elf/unload8mod3.c: New file.
34173         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34174         it wasn't used.
34176 2011-08-23  David S. Miller  <davem@davemloft.net>
34178         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34179         subtract stack bias.
34180         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34181         %sp not %fp in calculations.
34182         (_JMPBUF_UNWINDS_ADJ): Likewise.
34184         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34185         (aio_suspend): Call it to force an exception region around the
34186         AIO_MISC_WAIT() invocation.
34188 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34190         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34191         backslash.
34193 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34195         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34196         protection macro.
34197         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34198         and <dl-machine.h>.
34199         (Elf64_FuncDesc): Remove.
34201 2011-08-22  David S. Miller  <davem@davemloft.net>
34203         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34204         sigaltstack check, add missing cfi directives.
34205         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34206         missing cfi directives, and sigaltstack handling.
34208 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34210         [BZ #11724]
34211         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34212         object is seen twice.
34213         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34215         * elf/Makefile (distribute): Add tst-initorder2.c.
34216         (tests): Add tst-initorder2.
34217         (modules-names): Add tst-initorder2a tst-initorder2b
34218         tst-initorder2c tst-initorder2d.  Add rules to build them.
34219         ($(objpfx)tst-initorder2.out): New rule.
34220         * elf/tst-initorder2.c: New file.
34221         * elf/tst-initorder2.exp: New file.
34223 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34225         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34227         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34228         dependencies back to end of function.
34230         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34231         $(elfobjdir)/ld.so.
34233 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34235         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34236         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34238         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34239         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34240         of __vdso_gettimeofday.
34241         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34242         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34243         attribute_hidden.
34244         (_libc_vdso_platform_setup): Remove initialization of
34245         __vdso_gettimeofday and __vdso_time.
34247 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34249         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34250         and fgetc_unlocked.
34251         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34252         getc_unlocked.
34254         * elf/dl-open.c (add_to_global): Report additions to the global scope
34255         for LD_DEBUG=scopes.
34256         (dl_open_worker): Also print scope of newly loaded dependencies.
34257         (_dl_show_scope): Indicate if there is no scope.
34259         [BZ #13114]
34260         * stdio-common/Makefile (tests): Add bug24.
34261         * stdio-common/bug24.c: New file.
34263 2011-08-19  Andreas Jaeger  <aj@suse.de>
34265         [BZ #13114]
34266         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34267         non-existant file when using close-on-exec mode.
34269 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34271         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34272         the very first instruction.
34274         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34275         the CFI state in the end.
34276         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34277         inclusion of dl-trampoline.h.
34278         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34280 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34282         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34283         expectations for long double.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34286         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34288 2011-08-14  David S. Miller  <davem@davemloft.net>
34290         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34291         artificual limit depends upon the system page size.
34293 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34295         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34296         * resolv/Makefile: Define CFLAGS-libresolv.
34298 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34300         * nss/makedb.c (compute_tables): Make variables used in nested
34301         function static.
34303 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34305         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34306         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34307         if buffer was too small.
34309         * elf/pldd.c (main): Attach to all threads in the process.
34310         Rewrite /proc handling to use *at functions.
34312 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34314         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34315         specifies first scope to show.
34316         (dl_open_worker): Update callers.  Move printing scope of new
34317         object to before the relocation.
34318         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34319         * sysdeps/generic/ldsodefs.h: Update declaration.
34321         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34322         string for the scope number.
34324 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34326         * nscd/servicescache.c (cache_addserv): Make sure written is always
34327         initialized.
34329 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34331         * sysdeps/i386/i486/bits/atomic.h
34332         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34333         statement expression, so as to suppress "set but not used" warning.
34334         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34336         * string/strncat.c (STRNCAT): Use prototype definition.
34338         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34339         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34340         -Iprograms here.
34341         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34342         (localedef-modules): Add localedef.
34343         (locale-modules): Add locale.
34345         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34346         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34347         to avoid a warning.
34349 2011-08-14  David S. Miller  <davem@davemloft.net>
34351         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34352         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34354 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34356         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34357         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34358         * elf/rtld.c (dl_main): Set l_name of vDSO.
34359         Call _dl_show_scope when DL_DEBUG_SCOPES.
34360         (process_dl_debug): Recognize scopes flag and also set it for all.
34361         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34362         Declare _dl_show_scope.
34364         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34365         (do_dlopen): Pass caller_dlopen to dl_open.
34366         (__libc_dlopen_mode): Initialize caller_dlopen.
34368         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34369         of libc.  Make tolower call locale-independent.  Optimize a bit by
34370         using isdigit instead of isalnum.
34371         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34373 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34375         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34376         was a dependency or dynamically loaded.
34378 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34380         * intl/l10nflist.c: Allow architecture-specific pop function.
34381         * sysdeps/x86_64/l10nflist.c: New file.
34383         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34384         classification.
34386 2011-08-10  Andreas Schwab  <schwab@redhat.com>
34388         * include/dirent.h: Add libc_hidden_proto for scandirat and
34389         scandirat64.  Don't declare __scandirat64.
34390         * dirent/scandirat.c: Add libc_hidden_def.
34391         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34392         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34394 2011-08-10  David S. Miller  <davem@davemloft.net>
34396         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34397         enum.
34398         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34399         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34400         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34402 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
34404         * Versions.def [libc]: Add GLIBC_2.15.
34405         * dirent/Makefile (routines): Add scandirat and scandirat64.
34406         * dirent/Versions [libc]: Export scandirat and scandirat64 for
34407         GLIBC_2.15.
34408         * dirent/dirent.h: Declare scandirat and scandirat64.
34409         * dirent/scandirat.c: New file.
34410         * dirent/scandirat64.c: New file.
34411         * sysdeps/wordsize-64/scandirat.c: New file.
34412         * sysdeps/wordsize-64/scandirat64.c: New file.
34413         * dirent/opendir.c: Define opendirat.
34414         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
34415         using scandirat.
34416         * dirent/scandir64.c: Adjust for scandir.c change.
34417         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
34418         __scandirat64, and __scandir_cancel_handler.
34419         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
34420         additional parameter and use openat instead of open (outside of ld.so).
34421         Add new __opendir as wrapper around __opendirat.
34422         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34423         here without requiring old scandirat implementation.
34425 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
34427         * dirent/scandir.c (cancel_handler): Renamed to
34428         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
34429         defined.  Adjust users.
34430         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34431         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34433 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
34435         * string/test-string.h (IMPL): Use __STRING to expand name and then
34436         stringify it.
34438         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
34439         of cleanups.
34441 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34443         * string/Makefile: Update.
34444         (strop-tests): Append strncat.
34445         * string/test-wcscmp.c: New file.
34446         New comprehensive test for wcscmp.
34447         * string/test-strcmp.c: Update.
34448         (WIDE): New define.
34450 2011-07-22  Andreas Schwab  <schwab@redhat.com>
34452         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34453         line.
34455 2011-07-26  Andreas Schwab  <schwab@redhat.com>
34457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34458         encoding to ACE if AI_IDN.
34460 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
34462         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34463         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34465 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34467         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34468         Fix overflow bug in strncat.
34469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34471         * string/test-strncat.c: Update.
34472         Add new tests for checking overflow bugs.
34474 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34477         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34478         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34479         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34480         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34481         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34482         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34483         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34484         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34486         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34487         (USE_AS_STRCAT): Define.
34488         Add strcat and strncat support.
34489         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34491 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34493         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34494         __n bigger than INT_MAX+1.
34495         (__strncmp_g): Likewise.
34497 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34499         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34500         * libio/stido.h: Likewise.
34502         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34503         (AF_NFC): Define.
34504         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34505         (AF_NFC): Define.
34507         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34508         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34509         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34510         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34511         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34513         [BZ #13021]
34514         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34515         installed.
34517         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34518         typo.
34519         (_dl_x86_64_save_sse): Likewise.
34521 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34523         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34524         OSXSAVE.
34525         (_dl_x86_64_save_sse): Likewise.
34527         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34529         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34531 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34534         change.
34535         (_dl_x86_64_save_sse): Use correct AVX check.
34537 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34539         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34540         bug in strncpy/strncat.
34541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34543 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34545         * string/tester.c (test_strcat): Add tests for different alignments
34546         of source and destination.
34547         (test_strncat): Likewise.
34549 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34551         [BZ #12852]
34552         * posix/glob.c (glob): Check passed in values before using them in
34553         expressions to avoid some overflows.
34554         (glob_in_dir): Likewise.
34556         [BZ #13007]
34557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34558         check for AVX enablement so that we don't crash with old kernels and
34559         new hardware.
34560         * elf/tst-audit4.c: Add same checks here.
34561         * elf/tst-audit6.c: Likewise.
34563         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34565 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34567         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34569 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34571         * po/cs.po: Update from translation team.
34572         * po/bg.po: Likewise.
34574 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34576         * misc/sys/cdefs.h: Add support for const attribute.
34577         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34578         to gnu_dev_{major,minor,makedev} functions.
34580 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34582         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34584 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34586         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34587         strlen results.
34589 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34592         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34593         register in order to avoid conflicts with the soft frame pointer
34594         being held in r11 when necessary.
34595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34596         (INTERNAL_VSYSCALL_NCS): Likewise.
34598 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34600         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34601         * elf/dl-fini.c (_dl_fini): Adjust caller.
34602         * elf/dl-close.c (_dl_close_worker): Likewise.
34603         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34605 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34607         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34608         "aux_cache->nlibs < 0".
34610         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34611         in the reload-count case.
34613 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34616         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34617         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34618         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34619         * sysdeps/x86_64/multiarch/strcat.S: New file.
34620         * sysdeps/x86_64/multiarch/strncat.S: New file.
34621         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34622         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34623         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34624         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34625         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34626         (USE_AS_STRCAT): Define.
34627         Add strcat and strncat support.
34628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34630         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34631         * string/strncat.c: Update.
34632         (USE_AS_STRNCAT): Define.
34633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34634         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34635         and i7.
34636         * sysdeps/x86_64/multiarch/init-arch.h
34637         (bit_Prefer_PMINUB_for_stringop): New.
34638         (index_Prefer_PMINUB_for_stringop): Likewise.
34639         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34640         bit_Prefer_PMINUB_for_stringop.
34642 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34644         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34645         buffer64.
34646         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34647         of casting of buffer.
34648         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34649         buffer32 and buffer64.
34650         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34651         writes instead of casting of buffer.
34652         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34653         buffer32.
34654         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34655         casting of buffer.
34657 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34659         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34661 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34663         * nscd/nscd.c (termination_handler): Don't do anything for a database
34664         if it has not yet been initialized.
34666 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34668         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34670 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34672         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34674 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34676         * po/nl.po: Update from translation team.
34677         * po/sv.po: Likewise.
34679 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34681         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34682         now disallowed by GCC.
34684         * configure.in (use-default-link): Default to yes if a test -shared
34685         link meets our qualifications.
34686         * configure: Regenerated.
34688         * config.make.in (output-format): New variable.
34689         * configure.in: Check for ld --print-output-format support.
34690         * configure: Regenerated.
34691         * Makerules ($(common-objpfx)format.lds)
34692         [$(output-format) != unknown]: Just use $(output-format),
34693         instead of the linker-script munging.
34695 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34697         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34698         of $(common-objpfx)shlib.lds.
34699         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34701         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34702         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34704         * configure.in (-z relro check): Adjust test code to add a large
34705         writable data section after it.
34706         * configure: Regenerated.
34708 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34710         * configure.in (-z relro check): Fix test code to make the variable
34711         truly const.
34712         * configure: Regenerated.
34714 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34716         * nscd/nscd.h (struct traced_file): Define.
34717         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34718         elements.  Add traced_files.
34719         (inotify_fd): Declare.
34720         (register_traced_file): Declare.
34721         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34722         (inotify_fd): Export.
34723         (resolv_conf_descr): Remove.
34724         (nscd_init): Move inotify descriptor creation to main.
34725         Don't register files for notification here.
34726         (register_traced_file): New function.
34727         (invalidate_cache): Don't use reset_res to determine whether to call
34728         res_init, go through the list of registered files.
34729         (main_loop_poll): The inotify descriptors are now stored in the
34730         structures for the traced files.
34731         (main_loop_epoll): Likewise
34732         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34733         to __nss_disable_nscd.
34734         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34735         for a database anymore.  Check the records for all the registered
34736         files instead.
34737         * nss/Makefile (libnss_files-routines): Add files-init.
34738         (libnss_db-routines): Add db-init.
34739         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34740         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34741         * nss/nss_db/db-init.c: New file.
34742         * nss/nss_files/files-init.c: New file.
34743         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34744         __nss_lookup_function.
34745         (__nss_lookup_function): Call nss_load_library.
34746         (nss_load_all_libraries): New function.
34747         (__nss_disable_nscd): Take parameter with callback function for files
34748         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34749         used for the cached services.
34750         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34751         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34752         options for features to all the files in nscd.
34754         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34756 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34758         * csu/elf-init.c (__libc_csu_init): Comment typo.
34760 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34762         * po/pl.po: Update from translation team.
34763         * po/ja.po: Likewise.
34764         * po/ru.po: Likewise.
34765         * po/ko.po: Likewise.
34766         * po/fr.po: Likewise.
34768 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34770         * configure.in (.ctors/.dtors header and trailer check):
34771         Use an empirical test on a built program.
34772         * configure: Regenerated.
34774         * configure.in (-z relro check): Use an empirical test on a built DSO.
34775         Detect, but do not require, on ia64.
34776         * configure: Regenerated.
34778         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34779         Update tests that use readelf to use $READELF instead.
34780         * configure: Regenerated.
34782 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34784         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34785         if the result is not used.
34787 2011-07-05  Andreas Jaeger  <aj@suse.de>
34789         [BZ#9696]
34790         * stdlib/tst-strtod.c: Add testcase.
34792 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34794         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34795         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34796         The latter has a higher limit.  Take additional parameter to pass to
34797         the new function.
34798         (__pathconf): Pass file to __statfs_link_max.
34799         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34800         __statfs_link_max.
34801         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34802         __statfs_link_max.
34804         [BZ #12868]
34805         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34806         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34807         Handle Lustre.
34808         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34809         (__statfs_filesize_max): Likewise.
34810         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34812 2011-07-05  Andreas Jaeger  <aj@suse.de>
34814         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34816 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34818         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34819         `status' variable.
34820         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34821         Likewise.
34823 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34825         * Makefile (strop-tests): Add strncat.
34826         * string/test-strncat.c: New file.
34828 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34830         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34832 2011-06-21  Andreas Jaeger  <aj@suse.de>
34834         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34835         Copy rule from iconvdata/Makefile.
34837 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34839         [BZ #12922]
34840         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34841         but no long options are defined, just return 'W'.
34843 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34845         [BZ #9696]
34846         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34848 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34850         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34851         netgroups to read.
34852         (innetgr): Likewise.
34854 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34856         * config.make.in (install_root): Default to $(DESTDIR).
34858 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34860         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34862 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34864         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34866         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34867         containing directory rather than embedding absolute directory names.
34869         * scripts/check-local-headers.sh: Rewritten using awk.
34870         Match by word, not by line.  Print error messages for matches.
34871         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34873         * Makerules [shlib-lds-flags empty]:
34874         ($(common-objpfx)libc_pic.opts): New target.
34875         ($(common-objpfx)libc_pic.os.clean): New target.
34876         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34878         * config.make.in (OBJCOPY): New variable.
34879         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34880         * configure: Regenerated.
34882         * config.make.in (use-default-link): New variable.
34883         * configure.in (use_default_link): Grok --with-default-link to set it.
34884         * configure: Regenerated.
34885         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34886         (shlib-lds, shlib-lds-flags): Define to empty.
34888         * Makerules (shlib-lds): New variable.
34889         (shlib-lds-flags): New variable.
34890         (build-shlib, build-moduile, build-module-asneeded): Use it.
34891         ($(common-objpfx)libc.so): Use $(shlib-lds).
34892         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34893         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34895         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34896         DT_FLAGS/DT_FLAGS_1 with zero flags.
34898         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34899         linker script munging.
34901 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34903         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34904         as 128-bit value.
34905         * crypt/sha512.c (sha512_process_block): Perform total addition using
34906         128-bit if possible.
34907         (__sha512_finish_ctx): Likewise.
34908         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34909         as 64-bit value.
34910         * crypt/sha256.c (SWAP64): Define.
34911         (sha256_process_block): Perform total addition using 64-bit if
34912         possible.
34913         (__sha256_finish_ctx): Likewise.
34915 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34917         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34919         * nscd/hstcache.c (cache_addhst): Likewise.
34920         * nscd/grpcache.c (cache_addgr): Likewise.
34921         * nscd/aicache.c (addhstaiX): Likewise
34922         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34924 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34926         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34928         * nscd/hstcache.c (cache_addhst): Likewise.
34929         * nscd/grpcache.c (cache_addgr): Likewise.
34930         * nscd/aicache.c (addhstaiX): Likewise
34932 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34934         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34935         domain only when needed.
34937 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34940         is always restored.
34942 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34944         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34945         are re-adding the entry.
34946         * nscd/servicescache.c (cache_addserv): Likewise.
34948 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34950         * sysdeps/generic/dl-irel.h: fix protection against multiple
34951         inclusions.
34952         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34954 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34956         [BZ #12935]
34957         * malloc/memusage.sh: Fix quoting in message.
34958         * debug/xtrace.sh: Likewise.
34960         * configure.in: Remove support for --experimental-malloc option, make
34961         it the default.
34962         * config.make.in: Likewise.
34963         * malloc/Makefile: Likewise.
34965 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34967         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34968         two-byte characters.
34970 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34972         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34973         AC_CACHE_CHECK invocation.
34974         * configure: Regenerated.
34976         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34978 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34980         [BZ #12350]
34981         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34982         bit from old_res_options.
34984         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34986         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34987         value type for setfct.
34989 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34992         __gettimeofday instead of gettimeofday.
34994 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34996         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34998 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35002         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35003         info.
35005 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35008         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35009         strcpy-sse2-unaligned strncpy-sse2-unaligned
35010         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35011         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35012         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35013         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35014         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35017         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35018         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35019         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35020         (STRCPY): Support SSE2 and SSSE3 versions.
35022 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35024         [BZ #12874]
35025         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35026         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35027         kernels which artificially limit size of requests.
35029 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35031         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35032         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35033         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35034         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35035         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35036         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35037         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35038         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35039         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35040         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35041         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35042         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35043         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35044         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35045         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35047         Enable unaligned load optimization for Intel Core i3, i5 and i7
35048         processors.
35049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35050         Define.
35051         (index_Fast_Unaligned_Load): Define.
35052         (HAS_FAST_UNALIGNED_LOAD): Define.
35054 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35056         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35058 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35060         [BZ #12907]
35061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35062         until it is clear that the information is realy needed.
35063         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35065 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35069 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35071         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35072         /sys/devices/system/cpu/online if it is usable.
35074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35075         reading the information from the /proc filesystem to once a second.
35077 2011-06-21  Andreas Jaeger  <aj@suse.de>
35079         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35080         NULL after inclusion of kernel headers.
35082 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35084         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35085         calls to internal_setent.
35087         [BZ #12885]
35088         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35089         addresses using gethostbyname4_r ignore IPv4 addresses.
35091         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35092         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35094         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35096 2011-06-20  David S. Miller  <davem@davemloft.net>
35098         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35099         inclusions.
35100         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35102         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35103         (elf_irel): Use it.
35104         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35105         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35106         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35107         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35108         * sysdeps/x86_64/dl-irel.h: Likewise.
35110         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35111         * elf/dl-sym.c: Likewise.
35113 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35115         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35116         need to dereference resplen2.
35118 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35120         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35122 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35124         * Makeconfig: Define vardbdir and inst_vardbdir.
35125         * nss/Makefile: Add rules to install db-Makefile.
35127         * nss/nss_db/db-XXX.c: Cleanup.
35129         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35130         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35131         GLIBC_PRIVATE.
35132         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35133         * nss/makedb.c: Implement -g option to specify that value strings
35134         are generated and should not be added to table iterated over for
35135         get*ent calls.
35136         * nss/nss_db/db-initgroups.c: New file.
35138         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35139         interface.
35141         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35142         (internal_getgrouplist): Adjust to name change.
35143         Update use_initgroups_entry if this is not the first call.
35144         * nss/databases.def: Add initgroups entry.
35146         * nss/makedb.c (compute_tables): Check result of multiple hash table
35147         sizes to minimize maximum chain length.
35149 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35151         * Versions.def: Add entry for libnss_db.
35152         * shlib-versions: Likewise.
35153         * nss/Makefile: Add rules to build libnss_db.
35154         * nss/Versions: Add libnss_db information.  Organize libnss_files
35155         entries better.
35156         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35157         makedb progra.  Some minor improvements to generate smaller files.
35158         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35159         here from...
35160         * nss/makedb.c: ...here.
35161         Improve database format to be smaller and require less memory at
35162         runtime.
35163         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35164         db anymore.
35165         * nss/nss_db/db-netgrp.c: Likewise.
35166         * nss/nss_db/db-open.c: Likewise.
35167         * nss/nss_files/flies-XXX.x: Adjust comments.
35168         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35169         * nss/nss_files/files-grp.c: Likewise.
35170         * nss/nss_files/files-hosts.c: Likewise.
35171         * nss/nss_files/files-network.c: Likewise.
35172         * nss/nss_files/files-proto.c: Likewise.
35173         * nss/nss_files/files-pwd.c: Likewise.
35174         * nss/nss_files/files-rpc.c: Likewise.
35175         * nss/nss_files/files-service.c: Likewise.
35176         * nss/nss_files/files-sgrp.c: Likewise.
35177         * nss/nss_files/files-spwd.c: Likewise.
35178         * nss/nss_db/db-alias.c: Removed.
35179         * nss/nss_db/dummy-db.h: Removed.
35181 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35183         * nss/makedb.c: Rewritten to not use database library.
35184         * nss/Makefile: Update to build new makedb program.
35186 2011-06-14  Andreas Jaeger  <aj@suse.de>
35188         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35189         memset declaration.
35191 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35194         tmpbuf.
35196 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35198         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35199         * elf/Makefile ($(objpfx)ld.so): Likewise.
35201         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35202         Don't list ld.so twice in dependencies.
35204         * posix/bug-regex31.c: Include <stdlib.h>.
35206         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35208         * nis/nss_compat/compat-spwd.c
35209         (getspent_next_nss_netgr): Remove unused variable.
35210         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35212         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35213         nonmembers" output to use the right array.
35215         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35217         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35219         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35220         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35221         * catgets/gencat.c (read_input_file): Likewise.
35222         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35224         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35225         variable definition inside #if's controlling its use.
35227         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35229         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35231         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35233         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35234         unreachable code.
35236         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35238         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35239         * configure: Regenerated.
35241         * Makerules: Revert last change.
35242         * elf/Makefile: Likewise.
35244 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35246         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35247         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35248         (reloc-link): Likewise.
35250 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35252         * elf/Makefile: Add rules to build pldd.
35253         * elf/pldd.c: New file.
35254         * elf/pldd-xx.c: New file.
35256 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35258         * version.h: Update for 2.15 development version.
35260 2011-06-07  David S. Miller  <davem@davemloft.net>
35262         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35263         ifuncs.
35264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35265         elf_machine_lazy_rel): Likewise.
35266         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35267         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35268         elf_machine_lazy_rel): Likewise.
35269         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35270         dl_hwcap via passed in argument.
35271         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35272         Likewise.
35274 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35276         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35278 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35280         [BZ #12849]
35281         * manual/fdl-1.1.texi: New file, verbatim from:
35282         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35283         * manual/lgpl-2.1.texi: New file, verbatim from:
35284         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35285         * manual/Makefile (licenses): New variable, list those new file names.
35286         (texis): Use it.
35287         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35289         * manual/fdl.texi: File removed.
35290         * manual/lesser.texi: File removed.
35291         * manual/libc.texinfo (Copying, Documentation License):
35292         Use new @include file names, put @appendix directive before @include.
35294 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35296         [BZ #12841]
35297         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35298         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35299         (mq_open): Add __NTH.
35301 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35304         Assume Intel Core i3/i5/i7 processor if AVX is available.
35306 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35309         typo.
35311 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35313         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35314         memory.  Use alloca_account.  Fix memory leak when retrying.
35316 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35318         * version.h (RELEASE): Bump for 2.14 release.
35319         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35321         * config.make.in (RANLIB): Remove entry.
35323 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35325         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35326         (libc.pot): Work around missing support for .ksh extension in xgettext.
35328         [BZ #12684]
35329         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35330         if both request failed.
35331         (send_dg): In case of server errors clear resplen or *resplen2.
35333         [BZ #12454]
35334         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35335         when there are multiple maps.
35336         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35337         (_dl_fini): Remove test here.
35339         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35341 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35343         [BZ #12350]
35344         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35345         bit from old_res_options.
35346         (gaih_inet): Likewise.
35348         [BZ #11099]
35349         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35350         as signed.
35352         * resolv/res_init.c (res_setoptions): Make the code more compact.
35354         [BZ #11558]
35355         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35356         set RES_USEVC.
35358         [BZ #11634]
35359         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35361         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35363         [BZ #11781]
35364         * malloc/malloc.h: Declare malloc hook variables as volatile.
35366         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35367         in last patch.
35369         [BZ #11799]
35370         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35371         raise in the comment.
35372         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35373         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35374         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35376 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35378         [BZ #12811]
35379         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35380         grow the buffers more if it already has to be sufficient.
35381         (build_wcs_upper_buffer): Likewise.
35382         * posix/regexec.c (check_matching): Likewise.
35383         (clean_state_log_if_needed): Likewise.
35384         (extend_buffers): Don't enlarge buffers beyond size of the input
35385         buffer.
35386         Patches mostly by Emil Wojak <emil@wojak.eu>.
35387         * posix/bug-regex32.c: New file.
35388         * posix/Makefile (tests): Add bug-regex32.
35390         * locale/findlocale.c (_nl_find_locale): Return right away if
35391         _nl_explode_name failed.
35392         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35394         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35396         * debug/xtrace.sh: Unify messages.
35397         * malloc/memusage.sh: Likewise.
35399         [BZ #12813]
35400         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35401         time symbol from vDSO.  Substitute with vsyscall if not available.
35402         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35403         __vdso_time.
35405         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35406         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35407         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35408         Add sendmmsg and internal_sendmmsg.
35409         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35410         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35411         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35413         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35414         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35415         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35417 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
35419         [BZ #12813]
35420         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35421         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
35422         available.
35423         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35424         __vdso_getcpu.
35426         [BZ #12814]
35427         * iconvdata/Makefile (tests): Add bug-iconv9.
35428         * iconvdata/bug-iconv9.c: New file.
35430 2011-05-27  Andreas Schwab  <schwab@redhat.com>
35432         [BZ #12814]
35433         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35435 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
35437         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35438         (struct user_regs_struct): Change intcs field back to cs.
35440 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
35442         * po/ja.po: Update from translation team.
35444 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
35446         [BZ #12795]
35447         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35448         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35450 2011-05-20  Andreas Schwab  <schwab@redhat.com>
35452         * stdlib/longlong.h: Update from GCC.
35454 2011-05-23  Andreas Schwab  <schwab@redhat.com>
35456         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35457         parameter name.
35458         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35459         Add parameter name.
35460         (__sysconf): Pass it down.
35462 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
35464         [BZ #12671]
35465         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35466         some situations.
35467         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35468         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35469         add in in __libc_use_alloca calls.  Adjust callers.
35470         (glob): Use malloc in some situations.
35472         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35473         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35474         pltexit.
35476 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35478         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35479         and CLOCK_BOOTTIME_ALARM.
35481         [BZ #12782]
35482         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35483         is returned.
35485         * string/_strerror.c (__strerror_r): Print negative errors as signed
35486         numbers.
35488         [BZ #12777]
35489         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35490         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35491         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35493         * configure.in: Fix typo in redirection and correct removal of test
35494         files in two cases.
35496         [BZ #12788]
35497         * locale/setlocale.c (new_composite_name): Fix test to check for
35498         identical name of all categories.
35500         [BZ #12792]
35501         * libio/filedoalloc.c (local_isatty): New function.
35502         (_IO_file_doallocate): Use local_isatty.
35503         * stdio-common/perror.c (perror): In case a new stream is used
35504         forward the stream error.
35505         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35506         error flag.
35508 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35510         [BZ #11869]
35511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35512         alloca.
35513         * include/alloca.h (extend_alloca_account): Define.
35515         [BZ #11857]
35516         * posix/regex.h: Fix comments with documentation of user-accessible
35517         fields after compilation and describe correct free'ing of pattern
35518         after re_compile_pattern.
35519         Patch by Reuben Thomas <rrt@sc3d.org>.
35521 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35523         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35524         and -mno-altivec to prevent the compiler from using Altivec and/or
35525         VSX instructions when the corresponding registers are not available.
35527 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35529         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35531 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35533         * libio/freopen.c (freopen): Use __dup2, not dup2.
35534         * libio/freopen64.c (freopen64): Likewise.
35536 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35538         [BZ #12775]
35539         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35540         * math/Makefile (tests): Add test-powl.
35541         (CFLAGS-test-powl.c): Define.
35542         * math/test-powl.c: New file.
35544 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35546         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35548 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35550         [BZ #11837]
35551         * iconvdata/gb18030.c: Update to GB18020-2005.
35553 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35555         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35556         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35557         Patch by Aharon Robbins <arnold@skeeve.com>.
35559         [BZ #11892]
35560         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35561         on the stack.
35563         [BZ #11895]
35564         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35565         through underflows.
35567         [BZ #12766]
35568         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35569         point to strings before performing equality test for error_one_per_line
35570         mode.
35572         [BZ #11697]
35573         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35575         [BZ #11820]
35576         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35577         (struct user_fpregs_struct): Avoid __uint*_t types.
35579         [BZ #6420]
35580         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35581         symbol info.  Use it instead of calling _dl_addr locally.
35582         (lock_and_info): New function.
35583         (tr_freehook): Call lock_and_info and pass symbol info as additional
35584         parameter to tr_where.
35585         (tr_mallochook): Likewise.
35586         (tr_reallochook): Likewise.
35587         (tr_memalignhook): Likewise.
35589         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35590         used and couldn't be at all thread-safe.
35592 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35594         * libio/freopen.c (freopen): Don't close old file descriptor
35595         before the new one is opened.  Instead dup the new file descriptor
35596         to the old one after the new stream is created.
35597         * libio/freopen64.c (freopen64): Likewise.
35598         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35599         * libio/fileops.c (_IO_new_file_close_it): Handle new
35600         _IO_FLAGS2_NOCLOSE flag.
35601         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35602         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35603         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35604         _IO_FLAGS2_NOCLOSE flag.
35605         * include/unistd.h: Add hidden_proto for dup3.
35606         Define __have_dup3.
35607         * io/dup3.c: Define hidden symbol.
35608         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35610         [BZ #7101]
35611         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35612         when an incomplete long option is used.
35613         * posix/tst-getopt_long1.c: New file.
35614         * posix/Makefile (tests): Add tst-getopt_long1.
35616         [BZ #10138]
35617         * scripts/config.guess: Update from autoconf-2.68.
35618         * scripts/config.sub: Likewise.
35620         [BZ #10157]
35621         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35622         tests into ...
35623         (has_cpuclock): ...this.  New function.
35624         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35625         macro here based on has_cpuclock code.
35627         [BZ #10149]
35628         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35629         First byte (not low byte) is now always NUL.
35630         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35633         Use non-cancelable interfaces.
35635         [BZ #9809]
35636         * locale/iso-639.def: Add entry for Sorani.
35638         [BZ #11901]
35639         * include/stdlib.h: Move include protection to the right place.
35640         Define abort_msg_s.  Declare __abort_msg with it.
35641         * stdlib/abort.c (__abort_msg): Adjust type.
35642         * assert/assert.c (__assert_fail_base): New function.  Majority
35643         of code from __assert_fail.  Allocate memory for __abort_msg with
35644         mmap.
35645         (__assert_fail): Now call __assert_fail_base.
35646         * assert/assert-perr.c: Remove bulk of implementation.  Use
35647         __assert_fail_base.
35648         * include/assert.hL Declare __assert_fail_base.
35649         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35650         mmap.
35651         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35653 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35655         [BZ #11952]
35656         [BZ #12453]
35657         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35658         until all modules are registered in the DTV.
35659         * elf/Makefile: Add rules to build and run tst-tls19.
35660         * elf/tst-tls19.c: New file.
35661         * elf/tst-tls19mod1.c: New file.
35662         * elf/tst-tls19mod2.c: New file.
35663         * elf/tst-tls19mod3.c: New file.
35664         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35666         [BZ #12083]
35667         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35668         correctly.
35670         [BZ #12601]
35671         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35672         two-byte sequence errors.
35673         * iconvdata/Makefile (tests): Add bug-iconv8.
35674         * iconvdata/bug-iconv8.c: New file.
35676         [BZ #12626]
35677         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35678         buf2 definition.
35680         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35682         [BZ #12432]
35683         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35684         (dummy_getcfa): New function.
35685         (init): Get _Unwind_GetCFA address, use dummy if not found.
35686         (backtrace_helper): In recursion check, also check whether CFA changes.
35687         (__backtrace): Completely initialize arg.
35689         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35690         storing incomplete byte sequence in state object.  Avoid testing for
35691         guaranteed too small input if we know there is enough data available.
35693 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35695         * Makeconfig (+link-pie): Indent.
35696         * Rules (binaries-pie): Define if $(have-fpie) and
35697         $(build-shared).
35698         (binaries-shared): Also filter out $(binaries-pie).
35699         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35700         * nscd/Makefile (others-pie): Add nscd.
35701         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35702         ($(objpfx)nscd): Remove command override.
35703         * login/Makefile (others-pie): Add pt_chown.
35704         ($(objpfx)pt_chown): Remove command override.
35705         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35706         remove command overrides.
35708 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35710         * libio/tst_putwc.c: Fix error messages.
35712         [BZ #12724]
35713         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35714         currently writing and seek to current position when not.
35715         * libio/Makefile (tests): Add bug-fclose1.
35716         * libio/bug-fclose1.c: New file.
35718 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35720         [BZ #12511]
35721         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35722         don't set DF_1_NODELETE here.
35723         (do_lookup_x): When entering new entry test for copy relocation
35724         and if necessary set DF_1_NODELETE flag.
35725         * elf/tst-unique4.cc: New file.
35726         * elf/tst-unique4.h: New file.
35727         * elf/tst-unique4lib.cc: New file.
35728         * elf/Makefile: Add rules to build and run tst-unique4.
35729         Patch by Piotr Bury <pbury@goahead.com>.
35731 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35733         [BZ #12052]
35734         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35736         [BZ #12625]
35737         * misc/mntent_r.c (addmntent): Flush the stream after the output
35739         [BZ #12393]
35740         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35741         (is_trusted_path_normalize): Skip initial colon.  Append slash
35742         to empty buffer.  Duplicate is_trusted_path code but allow
35743         constructed patch to be prefix.
35744         (is_dst): Allow $ORIGIN followed by /.
35745         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35746         Correct testing of result of is_trusted_path_normalize
35747         (decompose_rpath): Fix warning.
35749 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35751         [BZ #11257]
35752         * grp/initgroups.c (internal_getgrouplist): When we found the service
35753         list through the initgroups entry in nsswitch.conf do not always
35754         continue on a successful lookup.  Don't always use the
35755         __nss_group_database value if it is set.
35756         * nss/nsswitch.conf (initgroups): Change action for successful db
35757         lookup to continue for compatibility.
35759 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35761         [BZ #11532]
35762         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35763         and CP774 modules.
35764         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35765         and CP774 modules.
35766         * iconvdata/tst-tables.sh: Likewise.
35767         * iconvdata/cp770.c: New file.
35768         * iconvdata/cp771.c: New file.
35769         * iconvdata/cp772.c: New file.
35770         * iconvdata/cp773.c: New file.
35771         * iconvdata/cp774.c: New file.
35772         * iconvdata/testdata/CP770: New file.
35773         * iconvdata/testdata/CP770..UTF8: New file.
35774         * iconvdata/testdata/CP771: New file.
35775         * iconvdata/testdata/CP771..UTF8: New file.
35776         * iconvdata/testdata/CP772: New file.
35777         * iconvdata/testdata/CP772..UTF8: New file.
35778         * iconvdata/testdata/CP773: New file.
35779         * iconvdata/testdata/CP773..UTF8: New file.
35780         * iconvdata/testdata/CP774: New file.
35781         * iconvdata/testdata/CP774..UTF8: New file.
35783         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35784         END CHARMAP line.
35785         * iconvdata/gen-8bit-gap.sh: Likewise.
35786         * iconvdata/gen-8bit.sh: Likewise.
35788         * locale/iso-639.def: Add ary entry.
35790         [BZ #11258]
35791         * locale/C-translit.h.in: Add U20A1 transliteration.
35793         [BZ #12178]
35794         * locale/iso-639.def: Add wae entry.
35795         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35797         [BZ #12545]
35798         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35799         for n.
35801         [BZ #12711]
35802         * locale/C-translit.h.in: Add entry for U20B9.
35803         Patch by pravin.d.s@gmail.com.
35805 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35807         [BZ #12713]
35808         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35809         ENAMETOOLONG use generic getcwd.
35810         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35811         in rtld.  Use *stat64.
35812         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35813         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35814         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35815         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35816         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35817         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35818         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35819         __fstatat64 macros.
35820         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35821         * dirent/rewinddir.c: Add libc_hidden_def.
35822         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35823         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35825         * include/dirent.h (__alloc_dir): Add flags parameter.
35826         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35827         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35828         __alloc_dir.
35829         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35830         from fdopendir if O_CLOEXEC is already set.
35832 2011-03-15  Alan Modra  <amodra@gmail.com>
35834         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35835         l_tls_firstbyte_offset non-zero.  Save padding offset in
35836         l_tls_firstbyte_offset for later use.
35837         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35838         freeing static tls block.
35840 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35842         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35843         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35844         being defined by the kernel headers.
35846 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35848         [BZ #12734]
35849         * resolv/resolv.h: Define RES_NOTLDQUERY.
35850         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35851         no-tld-query and set RES_NOTLDQUERY.
35852         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35853         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35854         modern BIND to search name as TLD unless forbidden.
35856 2011-05-07  Petr Baudis  <pasky@suse.cz>
35857             Ulrich Drepper  <drepper@gmail.com>
35859         [BZ #12393]
35860         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35861         (is_trusted_path): ...to here.
35862         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35863         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35864         using is_trusted_path_normalize() in setuid scripts.
35866 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35868         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35869         __BEGIN/__END_DECLS.
35871 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35873         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35874         NSS_STATUS_NOTFOUND if no record was found.
35876 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35878         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35879         (headers-not-in-tirpc): Remove rpc/netdb.h
35880         * resolv/netdb.h: Revert last change.
35882 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35884         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35885         circular dependency between libgcc.a and libc.a.
35887 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35889         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35890         * nis/Makefile: Don't install rpcsvc/*.
35891         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35892         instead of <rpc/types.h>.
35893         (MAXHOSTNAMELEN): Define.
35895 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35897         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35899 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35901         [BZ #12714]
35902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35903         gethostbyname4_r when IPv6 results are possible.
35905 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35907         [BZ #12723]
35908         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35909         _PC_PIPE_BUF handling.
35911 2011-04-30  Bruno Haible  <bruno@clisp.org>
35913         [BZ #12717]
35914         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35915         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35916         to 'int'.
35917         * inet/getnameinfo.c (getnameinfo): Likewise.
35919 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35921         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35922         to groups setting in database lookup.
35923         * nss/nsswitch.conf: Add initgroups entry.
35925 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35927         [BZ #12685]
35928         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35929         mode string.
35930         Patch by Eric Blake <eblake@redhat.com>.
35932 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35934         * sunrpc/Makefile (need-export-routines): Add svc_run.
35935         (routines): Remove svc_run.
35936         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35937         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35938         * sunrpc/svc_run.c (svc_run): Likewise.
35939         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35941 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35943         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35944         problem in reallocation in last patch.
35946 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35948         * sunrpc/Makefile: Move inclusion of Rules.
35950 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35952         * nss/nss_files/files-initgroups.c: New file.
35953         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35954         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35955         _nss_files_initgroups_dyn.
35957 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35959         * elf/elf.h (R_ARM_IRELATIVE): Define.
35961 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35963         * po/ru.po: Update from translation team.
35965 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35967         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35968         dependencies.
35970 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35972         [BZ #12653]
35973         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35974         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35975         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35977         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35979 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35981         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35982         differing bytes.
35983         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35984         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35987 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35989         [BZ #12420]
35990         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35991         storing it.
35992         * stdlib/bug-getcontext.c: New file.
35993         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35995 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35997         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35998         instructions into .machine "z9-109".
35999         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36000         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36002 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36004         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36005         between environment variables and auxiliary vector.
36007 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36009         * Makefile: Add rules to build linkobj/libc.so.
36010         * include/libc-symbols.h: Define libc_hidden_nolink.
36011         * include/rpc/auth.h: Mark functions which are to be hidden.
36012         * include/rpc/auth_des.h: Likewise.
36013         * include/rpc/auth_unix.h: Likewise.
36014         * include/rpc/clnt.h: Likewise.
36015         * include/rpc/des_crypt.h: Likewise.
36016         * include/rpc/key_prot.h: Likewise.
36017         * include/rpc/pmap_clnt.h: Likewise.
36018         * include/rpc/pmap_prot.h: Likewise.
36019         * include/rpc/pmap_rmt.h: Likewise.
36020         * include/rpc/rpc_msg.h: Likewise.
36021         * include/rpc/svc.h: Likewise.
36022         * include/rpc/svc_auth.h: Likewise.
36023         * include/rpc/xdr.h: Likewise.
36024         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36025         * nss/Makefile: Likewise.
36026         * sunrpc/Makefile: Don't install headers.  Build library with normal
36027         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36028         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36029         for the compat linking library.  Remove use of INTDEF/INTUSE.
36030         * sunrpc/auth_none.c: Likewise.
36031         * sunrpc/auth_unix.c: Likewise.
36032         * sunrpc/authdes_prot.c: Likewise.
36033         * sunrpc/authuxprot.c: Likewise.
36034         * sunrpc/clnt_gen.c: Likewise.
36035         * sunrpc/clnt_perr.c: Likewise.
36036         * sunrpc/clnt_raw.c: Likewise.
36037         * sunrpc/clnt_simp.c: Likewise.
36038         * sunrpc/clnt_tcp.c: Likewise.
36039         * sunrpc/clnt_udp.c: Likewise.
36040         * sunrpc/clnt_unix.c: Likewise.
36041         * sunrpc/des_crypt.c: Likewise.
36042         * sunrpc/des_soft.c: Likewise.
36043         * sunrpc/get_myaddr.c: Likewise.
36044         * sunrpc/key_call.c: Likewise.
36045         * sunrpc/key_prot.c: Likewise.
36046         * sunrpc/netname.c: Likewise.
36047         * sunrpc/pm_getmaps.c: Likewise.
36048         * sunrpc/pm_getport.c: Likewise.
36049         * sunrpc/pmap_clnt.c: Likewise.
36050         * sunrpc/pmap_prot.c: Likewise.
36051         * sunrpc/pmap_prot2.c: Likewise.
36052         * sunrpc/pmap_rmt.c: Likewise.
36053         * sunrpc/publickey.c: Likewise.
36054         * sunrpc/rpc_cmsg.c: Likewise.
36055         * sunrpc/rpc_common.c: Likewise.
36056         * sunrpc/rpc_dtable.c: Likewise.
36057         * sunrpc/rpc_prot.c: Likewise.
36058         * sunrpc/rpc_thread.c: Likewise.
36059         * sunrpc/rtime.c: Likewise.
36060         * sunrpc/svc.c: Likewise.
36061         * sunrpc/svc_auth.c: Likewise.
36062         * sunrpc/svc_authux.c: Likewise.
36063         * sunrpc/svc_raw.c: Likewise.
36064         * sunrpc/svc_run.c: Likewise.
36065         * sunrpc/svc_simple.c: Likewise.
36066         * sunrpc/svc_tcp.c: Likewise.
36067         * sunrpc/svc_udp.c: Likewise.
36068         * sunrpc/svc_unix.c: Likewise.
36069         * sunrpc/svcauth_des.c: Likewise.
36070         * sunrpc/xcrypt.c: Likewise.
36071         * sunrpc/xdr.c: Likewise.
36072         * sunrpc/xdr_array.c: Likewise.
36073         * sunrpc/xdr_float.c: Likewise.
36074         * sunrpc/xdr_intXX_t.c: Likewise.
36075         * sunrpc/xdr_mem.c: Likewise.
36076         * sunrpc/xdr_rec.c: Likewise.
36077         * sunrpc/xdr_ref.c: Likewise.
36078         * sunrpc/xdr_sizeof.c: Likewise.
36079         * sunrpc/xdr_stdio.c: Likewise.
36081 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36083         [BZ #12650]
36084         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36085         * sysdeps/ia64/dl-tls.h: Likewise.
36086         * sysdeps/powerpc/dl-tls.h: Likewise.
36087         * sysdeps/s390/dl-tls.h: Likewise.
36088         * sysdeps/sh/dl-tls.h: Likewise.
36089         * sysdeps/sparc/dl-tls.h: Likewise.
36090         * sysdeps/x86_64/dl-tls.h: Likewise.
36091         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36093 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36095         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36096         rpath element also skip the following colon.
36097         (expand_dynamic_string_token): Add is_path parameter and pass
36098         down to DL_DST_REQUIRED and _dl_dst_substitute.
36099         (decompose_rpath): Call expand_dynamic_string_token with
36100         non-zero is_path.  Ignore empty rpaths.
36101         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36102         with zero is_path.
36104 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36107         Make cancelable.
36109 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36111         [BZ #12655]
36112         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36113         Patch by Filipe David Manana <fdmanana@apache.org>.
36115 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36117         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36118         Maintain aligned stack.
36119         (CHECK_RSP): Remove unused macro.
36121 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36123         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36126 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36128         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36130         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36132 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36134         [BZ #12518]
36135         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36136         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36137         * sysdeps/x86_64/memmove.c: New file.
36138         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36139         (memcpy): Renamed to ...
36140         (__new_memcpy): This.
36141         (memcpy): Provide GLIBC_2_14 memcpy.
36142         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36143         (memcpy): Provide GLIBC_2_2_5 memcpy.
36145 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36147         [BZ #12631]
36148         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36150 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36152         * misc/syncfs.c: New file.
36153         * misc/Makefile (routines): Add syncfs.
36154         * posix/unistd.h: Declare syncfs.
36155         * sysdeps/unix/syscalls.list: Add syncfs.
36157 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36159         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36160         open_by_handle_at.
36161         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36162         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36164         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36166         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36167         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36169 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36171         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36172         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36173         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36175         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36177         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36179         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36180         sync_file_range.c with -fexceptions.
36181         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36182         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36183         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36184         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36185         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36186         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36188         sync_file_range as cancellation point
36189         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36190         now a wrapper around __call_sync_file_range with cancellation handling.
36191         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36192         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36193         function name to __call_sync_file_range.
36194         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36195         Add call_sync_file_range.
36197 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36200         bits/timex.h.
36202 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36204         * iconv/iconv.h: Fix typo in comment.
36205         * io/fcntl.h: Likewise.
36206         * libio/stdio.h: Likewise.
36207         * posix/spawn.h: Likewise.
36208         * posix/unistd.h: Likewise.
36209         * stdlib/stdlib.h: Likewise.
36210         * time/time.h: Likewise.
36211         * wcsmbs/wchar.h: Likewise.
36213         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36214         open_by_handle): Add.
36215         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36216         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36217         Augment a few comments.
36218         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36220         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36222         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36223         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36224         open_by_handle.
36226         * io/fcntl.h (AT_EMPTY_PATH): Define.
36228 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36230         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36231         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36232         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36233         to...
36234         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36235         * Versions.def: Add GLIBC_2.14.
36236         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36237         Export.
36239 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36241         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36242         round counter.
36243         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36245 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36247         [BZ #12597]
36248         * string/test-strncmp.c (do_page_test): New function.
36249         (check2): Likewise.
36250         (test_main): Call check2.
36251         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36253 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36255         [BZ #12587]
36256         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36257         Handle cache information in CPU leaf 4.
36258         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36260 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36262         [BZ #12583]
36263         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36264         character representation.
36265         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36267 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36269         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36270         END(__isnan) to END(__isnanf) to match function entry point/label
36271         EALIGN(__isnanf,...).
36273 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36275         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36277 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36279         [BZ #12510]
36280         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36281         copy from the symbol referenced in the relocation to initialize the
36282         used variable.
36283         Patch by Piotr Bury <pbury@goahead.com>.
36284         * elf/Makefile: Add rules to build and tst-unique3.
36285         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36286         * elf/tst-unique3.cc: New file.
36287         * elf/tst-unique3.h: New file.
36288         * elf/tst-unique3lib.cc: New file.
36289         * elf/tst-unique3lib2.cc: New file.
36291         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36293 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36295         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36296         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36297         to _start.
36299 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36301         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36302         to-be-loaded object along a path to loader is ld.so.
36304 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36305             Ulrich Drepper  <drepper@gmail.com>
36307         * sysdeps/x86_64/memset.S: After aligning destination, code
36308         branches to different locations depending on the value of
36309         misalignment, when multiarch is enabled. Fix this.
36311 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36313         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36314         Set _x86_64_preferred_memory_instruction for AMD processsors.
36315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36316         Set bit_Prefer_SSE_for_memop for AMD processors.
36318 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36320         * libio/fmemopen.c (fmemopen): Optimize a bit.
36322 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36324         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36326 2011-03-03  Roland McGrath  <roland@redhat.com>
36328         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36330 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36332         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36333         __bzero_ultra1 instead of __memset_ultra1.
36335 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36336             Ulrich Drepper  <drepper@gmail.com>
36338         [BZ #12509]
36339         * include/link.h (struct link_map): Add l_orig_initfini.
36340         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36341         returning unsuccessfully.
36342         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36343         close of a file loaded at startup, restore the original l_initfini
36344         list.
36345         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36346         list, store the pointer.
36347         * elf/Makefile ($(objpfx)noload-mem): New rule.
36348         (noload-ENV): Define.
36349         (tests): Add $(objpfx)noload-mem.
36350         * elf/noload.c: Include <memcheck.h>.
36351         (main): Call mtrace.  Close all opened handles.
36353 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36355         [BZ #12454]
36356         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36357         dependencies are missing.
36359 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36361         Fix __if_freereq crash: Unlike the generic version which uses free,
36362         Hurd needs munmap.
36363         * sysdeps/mach/hurd/ifreq.h: New file.
36365 2011-01-27  Petr Baudis  <pasky@suse.cz>
36366             Ulrich Drepper  <drepper@gmail.com>
36368         [BZ 12445]#
36369         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36370         to extend_alloca().
36371         * stdio-common/bug23.c: New file.
36372         * stdio-common/Makefile (tests): Add bug23.
36374 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36375             Ulrich Drepper  <drepper@gmail.com>
36377         [BZ #12489]
36378         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36379         before performing relro protection.  At old place add assertion
36380         to make sure nothing changed.
36382 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
36383             Glauber de Oliveira Costa  <glommer@gmail.com>
36385         * elf/elf.h: Add new ARM TLS relocs.
36387 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
36389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36390         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36391         cast from r3.
36392         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
36393         'tests' variable.
36394         * sysdeps/wordsize-64/tst-writev.c: New file.
36396 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
36398         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36399         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36400         insns in _dl_start to prevent a TOC reference before relocs are
36401         resolved.
36403 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
36405         [BZ #12469]
36406         * Makeconfig: Remove RANLIB definition.
36407         * Makerules: Don't use RANLIB.
36408         * aclocal.m4: Remove ranlib test.
36409         * configure.in: No need to check for ranlib.
36410         * elf/rtld-Rules: Don't use RANLIB.
36412 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36414         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36415         protection macro.
36416         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36417         inclusion protection macro.
36419         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36420         SIGRTMIN and SIGRTMAX and print information in that case only when
36421         SIGRTMIN is defined.
36423 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
36425         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36426         arginfo fn returning -1.
36428         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36429         and thousands string is zero terminated.
36431 2011-02-03  Andreas Schwab  <schwab@redhat.com>
36433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36434         sysdeps/unix/sysv/linux/bits/socket.h.
36436 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36438         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36439         (__CPU_COUNT): Remove old macros.
36440         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36441         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36442         (__CPU_ALLOC, __CPU_FREE): Add macros.
36443         (__sched_cpualloc, __sched_cpufree): Add declarations.
36445 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
36447         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36448         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36449         * nscd/aicache.c (addhstaiX): Return timeout of added value.
36450         (readdhstai): Return value of addhstaiX call.
36451         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36452         (addgrbyX): Return value returned by cache_addgr.
36453         (readdgrbyname): Return value returned by addgrbyX.
36454         (readdgrbygid): Likewise.
36455         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36456         (addpwbyX): Return value returned by cache_addpw.
36457         (readdpwbyname): Return value returned by addhstbyX.
36458         (readdpwbyuid): Likewise.
36459         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36460         (addservbyX): Return value returned by cache_addserv.
36461         (readdservbyname): Return value returned by addservbyX:
36462         (readdservbyport): Likewise.
36463         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36464         (addhstbyX): Return value returned by cache_addhst.
36465         (readdhstbyname): Return value returned by addhstbyX.
36466         (readdhstbyaddr): Likewise.
36467         (readdhstbynamev6): Likewise.
36468         (readdhstbyaddrv6): Likewise.
36469         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36470         (readdinitgroups): Return value returned by addinitgroupsX.
36471         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36472         (prune_cache): Keep track of timeout value of re-added entries.
36473         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36474         * nscd/nscd.h: Adjust prototypes of readd* functions.
36476 2011-02-04  Roland McGrath  <roland@redhat.com>
36478         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36479         (nis_stats): Likewise.
36480         * nis/nis_modify.c (nis_modify): Likewise.
36481         * nis/nis_remove.c (nis_remove): Likewise.
36482         * nis/nis_add.c (nis_add): Likewise.
36484         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36486         * posix/fnmatch_loop.c: Add some consts.
36488         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36490 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36492         [BZ #12460]
36493         * config.make.in (config-cflags-novzeroupper): Define.
36494         * configure.in: Substitute libc_cv_cc_novzeroupper.
36495         * elf/Makefile (AVX-CFLAGS): Define.
36496         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36497         (CFLAGS-tst-auditmod4a.c): Likewise.
36498         (CFLAGS-tst-auditmod4b.c): Likewise.
36499         (CFLAGS-tst-auditmod6b.c): Likewise.
36500         (CFLAGS-tst-auditmod6c.c): Likewise.
36501         (CFLAGS-tst-auditmod7b.c): Likewise.
36502         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36504 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36506         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36507         function to the callback.
36508         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36510 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36512         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36513         of errno.
36515 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36517         [BZ #11724]
36518         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36519         of constructors.
36520         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36521         of destructors.
36522         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36524         [BZ #11724]
36525         * elf/Makefile: Add rules to build and run new test.
36526         * elf/tst-initorder.c: New file.
36527         * elf/tst-initorder.exp: New file.
36528         * elf/tst-initordera1.c: New file.
36529         * elf/tst-initordera2.c: New file.
36530         * elf/tst-initordera3.c: New file.
36531         * elf/tst-initordera4.c: New file.
36532         * elf/tst-initorderb1.c: New file.
36533         * elf/tst-initorderb2.c: New file.
36534         * elf/tst-order-a1.c: New file.
36535         * elf/tst-order-a2.c: New file.
36536         * elf/tst-order-a3.c: New file.
36537         * elf/tst-order-a4.c: New file.
36538         * elf/tst-order-b1.c: New file.
36539         * elf/tst-order-b2.c: New file.
36540         * elf/tst-order-main.c: New file.
36541         New test case by George Gensure <werkt0@gmail.com>.
36543 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36546         decoding ACE if AI_CANONIDN.
36548 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36550         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36552 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36554         * version.h (RELEASE): Bump for 2.13 release.
36555         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36557         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36559         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36560         MADV_NOHUGEPAGE.
36561         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36563         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36564         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36565         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36566         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36568         * posix/getconf.c: Update copyright year.
36569         * catgets/gencat.c: Likewise.
36570         * csu/version.c: Likewise.
36571         * debug/catchsegv.sh: Likewise.
36572         * debug/xtrace.sh: Likewise.
36573         * elf/ldconfig.c: Likewise.
36574         * elf/ldd.bash.in: Likewise.
36575         * elf/sprof.c (print_version): Likewise.
36576         * iconv/iconv_prog.c: Likewise.
36577         * iconv/iconvconfig.c: Likewise.
36578         * locale/programs/locale.c: Likewise.
36579         * locale/programs/localedef.c: Likewise.
36580         * malloc/memusage.sh: Likewise.
36581         * malloc/mtrace.pl: Likewise.
36582         * nscd/nscd.c (print_version): Likewise.
36583         * nss/getent.c: Likewise.
36585         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36586         PF_CAIF, and PF_ALG.
36587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36589 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36591         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36592         (modules-names): Use them.
36593         (ifunc-test-modules, ifunc-pie-tests): Define.
36594         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36595         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36596         (test-extras): Likewise.
36597         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36598         $(compile-command.c).
36599         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36600         (all-built-dso): Define.
36601         (check-textrel.out, check-execstack.out): Depend on it.
36603         * configure.in: Don't override --enable-multi-arch.
36605 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36607         [BZ #6812]
36608         * nscd/hstcache.c (tryagain): Define.
36609         (cache_addhst): Return tryagain not notfound for temporary errors.
36610         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36611         failed.
36613 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36615         [BZ #10563]
36616         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36617         to make the syscall.
36618         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36620         [BZ #12378]
36621         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36622         and fall back to matching as normal character if the string ends before
36623         the matching ']' is found.  This is what POSIX requires.
36624         * posix/testfnm.c: Adjust test result.
36625         * posix/globtest.sh: Adjust test result.  Add new test.
36626         * posix/tst-fnmatch.input: Likewise.
36627         * posix/tst-fnmatch2.c: Add new test.
36629 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36631         * elf/Makefile (check-execstack): Revert last change.  Depend on
36632         check-execstack.h.
36633         (check-execstack.h): New target.
36634         (generated): Add check-execstack.h.
36635         * elf/check-execstack.c: Include "check-execstack.h".
36636         (main): Revert last change.
36637         (handle_file): Return zero if GNU_STACK is absent and
36638         DEFAULT_STACK_PERMS doesn't include PF_X.
36640 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36642         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36643         in child fails because the descriptor is already closed.
36644         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36645         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36646         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36648         [BZ #12397]
36649         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36650         syscall.
36652         [BZ #10484]
36653         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36654         temporary buffer used to handle multi lookups locally.
36655         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36657 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36659         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36660         loader is ld.so.
36662 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36664         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36665         alignment for SSE2.
36667 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36669         [BZ #12394]
36670         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36671         characters.  When rounding increased number of integer digits recompute
36672         number of groups.
36673         * stdio-common/tst-grouping.c: New file.
36674         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36676 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36678         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36679         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36681         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36682         void.
36683         * bits/select.h: Likewise.
36685 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36687         * po/ja.po: Update from translation team.
36689 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36691         [BZ #11155]
36692         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36693         implementation just like for lxstat, fxstatat, et al.
36695 2010-12-27  Jim Meyering  <meyering@redhat.com>
36697         [BZ #12348]
36698         * posix/regexec.c (build_trtable): Return failure indication upon
36699         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36701 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36703         [BZ #12201]
36704         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36705         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36706         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36707         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36709         [BZ #12207]
36710         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36712         [BZ #12204]
36713         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36714         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36716 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36718         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36719         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36720         script has SORT_BY_INIT_PRIORITY.
36721         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36722         NO_CTORS_DTORS_SECTIONS is defined.
36723         * elf/soinit.c: Likewise.
36724         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36725         NO_CTORS_DTORS_SECTIONS is defined.
36726         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36727         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36728         * sysdeps/sh/init-first.c: Likewise.
36729         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36731 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36733         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36734         always use the slow path.
36736 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36738         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36739         similar rule which adds the sysdep directories to the header search in
36740         order to pick up the correct platform stackinfo.h.
36741         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36742         perform test if it is, otherwise return successfully without testing.
36743         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36744         DEFAULT_STACK_PERMS define in stackinfo.h.
36745         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36746         defined in stackinfo.h.
36747         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36748         DEFAULT_STACK_PERMS defined in stackinfo.h.
36749         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36750         * sysdeps/ia64/stackinfo.h: Likewise.
36751         * sysdeps/s390/stackinfo.h: Likewise.
36752         * sysdeps/sh/stackinfo.h: Likewise.
36753         * sysdeps/sparc/stackinfo.h: Likewise.
36754         * sysdeps/x86_64/stackinfo.h: Likewise.
36755         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36756         PF_X for powerpc64.  Retain PF_X for powerpc32.
36758 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36760         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36761         accurately.
36762         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36763         GETDENTS_64BIT_ALIGNED.
36765 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36767         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36769 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36771         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36772         _GNU_SOURCE.
36774         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36775         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36776         Remove __restrict.
36777         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36778         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36780 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36782         [BZ #11655]
36783         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36784         are initialized.
36786 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36788         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36790 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36792         * po/it.po: Update from translation team.
36794 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36797         unused codes.
36799 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36801         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36803 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36805         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36806         specially.
36807         (gaih_getanswer_slice): Likewise.
36809 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36813 2010-05-31  Petr Baudis  <pasky@suse.cz>
36815         [BZ #11149]
36816         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36817         silently even in the chroot mode.
36819 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36821         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36822         last patch a bit.  Pretty printing
36824 2010-05-31  Petr Baudis <pasky@suse.cz>
36826         [BZ #10085]
36827         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36828         initialization of skip_initgroups_dyn.
36830 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36832         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36833         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36835 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36837         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36839 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36841         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36842         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36843         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36844         ($(objpfx)tst-fnmatch-mem): New rule.
36845         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36846         * posix/tst-fnmatch.c (main): Call mtrace.
36848 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36851         Support Intel processor model 6 and model 0x2c.
36853 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36855         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36856           signed comparison.
36858 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36860         [BZ #12205]
36861         * string/test-strncasecmp.c (check_result): New function.
36862         (do_one_test): Use it.
36863         (check1): New function.
36864         (test_main): Use it.
36865         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36866         Support strcasecmp and strncasecmp.
36868 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36870         [BZ #12194]
36871         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36872         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36874 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36876         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36877         IFUNC support.
36878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36879         memset-x86-64.
36880         * sysdeps/x86_64/multiarch/bzero.S: New file.
36881         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36882         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36883         * sysdeps/x86_64/multiarch/memset.S: New file.
36884         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36886         Set bit_Prefer_SSE_for_memop for Intel processors.
36887         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36888         Define.
36889         (index_Prefer_SSE_for_memop): Define.
36890         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36892 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36894         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36895         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36897 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36899         [BZ #12191]
36900         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36901         (__x86_64_raw_data_cache_size_half): Likewise.
36902         (__x86_64_raw_shared_cache_size): Likewise.
36903         (__x86_64_raw_shared_cache_size_half): Likewise.
36905         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36906         (__x86_64_raw_data_cache_size_half): Likewise.
36907         (__x86_64_raw_shared_cache_size): Likewise.
36908         (__x86_64_raw_shared_cache_size_half): Likewise.
36909         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36910         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36911         and __x86_64_raw_shared_cache_size_half.  Round
36912         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36913         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36914         to multiple of 256 bytes.
36916 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36918         [BZ #12167]
36919         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36920         of inacessible symlinks.  Verify result of symlink before returning it.
36921         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36922         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36924 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36926         * math/math.h (isinf): Fix typo in comment.
36928 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36930         * po/da.po: Update from translation team.
36932 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36934         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36935         is added to the list.
36937 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36938             Ulrich Drepper  <drepper@gmail.com>
36940         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36941         the global list here.  Move code to...
36942         (_dl_add_to_namespace_list): ...here.  New function.
36943         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36944         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36945         * elf/dl-load.c (lose): Don't remove the element from the list.
36946         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36947         (_dl_map_object): Likewise.
36949 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36951         [BZ #12159]
36952         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36953         into all bytes of SSE register.
36954         Patch by Richard Li <richardpku@gmail.com>.
36956 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36958         [BZ #12140]
36959         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36960         perturbing.
36962 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36964         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36965         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36966         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36967         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36969         submachine.
36970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36972 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36974         * include/dlfcn.h (__RTLD_SECURE): Define.
36975         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36976         mode & __RTLD_SECURE instead.
36977         (open_path): Rename preloaded parameter to secure.
36978         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36979         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36980         * elf/dl-deps.c (openaux): Likewise.
36981         * elf/rtld.c (struct map_args): Remove is_preloaded.
36982         (map_doit): Don't use it.
36983         (dl_main): Likewise.
36984         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36985         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36987 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36989         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36990         (sysd-rules-targets): Remove duplicates.
36991         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36992         rtld-%.$o dependency.
36994 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36996         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36997         _dl_map_object do it.
36999 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37001         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37002         fast fma builtins, define the macros in the C99 standard.
37003         (FP_FAST_FMAF): Likewise.
37004         (FP_FAST_FMAL): Likewise.
37005         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37007         * bits/mathdef.h: Update copyright year.
37008         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37010 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37012         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37013         builtins, define the macros in the C99 standard.
37014         (FP_FAST_FMAF): Likewise.
37015         (FP_FAST_FMAL): Likewise.
37016         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37017         multiply/add.
37018         (FP_FAST_FMAF): Likewise.
37020 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37022         [BZ #3268]
37023         * math/libm-test.inc (fma_test): Some new testcases.
37024         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37025         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37026         y and infinite z.  Do multiplication by C already in long double.
37027         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37029         y and infinite z.  Do bitwise or of inexact bit into u.d.
37030         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37031         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37032         * sysdeps/i386/fpu/s_fma.S: Removed.
37033         * sysdeps/i386/fpu/s_fmal.S: Removed.
37035 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37037         [BZ #3268]
37038         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37039         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37040         computation is not scheduled after fetestexcept.  Fix value
37041         of minimum denormal long double.
37043 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37045         [BZ #3268]
37046         * math/libm-test.inc (fma_test): Add some more tests.
37047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37048         correctly.
37050 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37052         * scripts/data/localplt-s390-linux-gnu.data: New file.
37053         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37055 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37057         [BZ #3268]
37058         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37059         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37060         instead of dbl-64.
37061         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37062         inlines.
37063         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37065         if one of x and y is very large and the other is subnormal.
37066         * sysdeps/s390/fpu/s_fmaf.c: New file.
37067         * sysdeps/s390/fpu/s_fma.c: New file.
37068         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37069         * sysdeps/powerpc/fpu/s_fma.S: New file.
37070         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37071         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37072         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37074 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37076         [BZ #3268]
37077         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37078         fma tests.
37079         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37080         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37081         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37082         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37083         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37084         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37085         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37087 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37089         [BZ #12078]
37090         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37091         * posix/bug-regex31.input: Add test case.
37093 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37095         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37096         * posix/bug-regex31.input: New file.
37098         [BZ #12078]
37099         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37100         (parse_sub_exp): Fix last change, use postorder.
37102         * posix/bug-regex31.c: New file.
37103         * posix/Makefile: Add rules to build and run bug-regex31.
37105         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37107         [BZ #12078]
37108         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37110         [BZ #12108]
37111         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37112         to have entries in sys_siglist.
37114         [BZ #12093]
37115         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37116         be NULL.
37118 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37120         [BZ #3268]
37121         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37122         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37123         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37124         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37125         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37126         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37127         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37128         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37129         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37130         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37131         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37132         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37133         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37134         * math/ftestexcept.c (fetestexcept): Likewise.
37135         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37136         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37137         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37138         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37139         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37140         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37141         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37143 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37145         [BZ #12107]
37146         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37147         newline.
37149 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37151         * string/bug-strstr1.c: New file.
37152         * string/Makefile: Add rules to build and run bug-strstr1.
37154 2010-10-05  Eric Blake  <eblake@redhat.com>
37156         [BZ #12092]
37157         * string/str-two-way.h (two_way_long_needle): Always clear memory
37158         when skipping input due to the shift table.
37160 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37162         [BZ #12005]
37163         * malloc/mcheck.c: Handle large requests.
37165         [BZ #12077]
37166         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37167         for strncmp and strncasecmp.
37168         * string/stratcliff.c: Add tests for strcmp and strncmp.
37169         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37171 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37173         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37174         __set_fpscr.
37176 2010-09-30  Andreas Jaeger  <aj@suse.de>
37178         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37179         (CGROUP_SUPER_MAGIC): Define.
37180         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37181         Handle btrfs and cgroup file systems.
37182         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37183         Likewise.
37185 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37187         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37188         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37190 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37192         [BZ #12067]
37193         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37194         trying to locate the ELF header.
37196 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37198         [BZ #11611]
37199         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37200         Mask out sign-bit copies when constructing f_fsid.
37202 2010-09-24  Petr Baudis <pasky@suse.cz>
37204         * debug/stack_chk_fail_local.c: Add missing licence exception.
37205         * debug/warning-nop.c: Likewise.
37207 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37210         implementing getdents64 using getdents syscall, set d_type if
37211         __ASSUME_GETDENTS32_D_TYPE.
37213 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37215         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37216         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37218 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37220         [BZ #12037]
37221         * posix/unistd.h: Undo change of feature selection for ftruncate from
37222         2010-01-11.
37224 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37226         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37227         detection.
37229 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37231         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37232         fanotify_mark.
37233         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37235 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37237         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37238         variables after CHECK_SP call.
37239         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37241 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37242             Ulrich Drepper  <drepper@redhat.com>
37244         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37245         re-relocationg ld.so.
37246         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37247         _dl_init_paths call.
37248         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37249         here anymore.
37251 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37253         * resolv/res_init.c (__res_vinit): Count the default server we added.
37255 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37256             Ulrich Drepper  <drepper@redhat.com>
37258         [BZ #11968]
37259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37260         (____longjmp_chk): Use %ebx for saving value across system call.
37261         Add unwind info.
37263 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37265         * manual/Makefile: Don't mix pattern rules with normal rules.
37267 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37269         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37270         operation.
37271         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37272         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37273         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37274         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37276         Likewise.
37278 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37280         [BZ #11979]
37281         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37282         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37284 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37286         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37287         * sysdeps/x86_64/addmul_1.S: Likewise.
37288         * sysdeps/x86_64/lshift.S: Likewise.
37289         * sysdeps/x86_64/mul_1.S: Likewise.
37290         * sysdeps/x86_64/rshift.S: Likewise.
37291         * sysdeps/x86_64/sub_n.S: Likewise.
37292         * sysdeps/x86_64/submul_1.S: Likewise.
37294 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37296         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37297         Define __sched_param instead of SCHED_* and sched_param when
37298         <bits/sched.h> is included with __need_schedparam defined.
37299         * bits/sched.h [__need_schedparam]
37300         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37301         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37302         (__defined_schedparam): Define to 1.
37303         (__sched_param): New structure, identical to sched_param.
37304         (__need_schedparam): Undefine.
37306 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37308         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37309         (epoll_create1): Declare.
37311         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37313 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37315         [BZ #7066]
37316         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37317         shifting retval into place.
37319 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37321         * nis/rpcsvc/nis.h: Update copyright notice.
37322         * nis/rpcsvc/nis.x: Likewise.
37323         * nis/rpcsvc/nis_callback.h: Likewise.
37324         * nis/rpcsvc/nis_callback.x: Likewise.
37325         * nis/rpcsvc/nis_object.x: Likewise.
37326         * nis/rpcsvc/nis_tags.h: Likewise.
37327         * nis/rpcsvc/yp.h: Likewise.
37328         * nis/rpcsvc/yp.x: Likewise.
37329         * nis/rpcsvc/ypupd.h: Likewise.
37330         * nis/yp_xdr.c: Likewise.
37331         * nis/ypupdate_xdr.c: Likewise.
37333         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37334         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37335         (pmap_getport): Use __libc_rpc_getport.
37336         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37337         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37338         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37340 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37343         fanotify_mark.
37345 2010-08-27  Roland McGrath  <roland@redhat.com>
37347         * sysdeps/i386/i686/multiarch/Makefile
37348         (CFLAGS-varshift.c): New variable.
37350 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37352         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37353         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37357         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37359 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37361         * sysdeps/x86_64/strlen.S: Unroll the loop.
37362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37363         strlen-sse2 strlen-sse2-bsf.
37364         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37365         __strlen_no_bsf if bit_Slow_BSF is set.
37366         (__strlen_sse42): Removed.
37367         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37368         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37370 2010-08-25  Roland McGrath  <roland@redhat.com>
37372         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37373         * sysdeps/x86_64/multiarch/varshift.c: New file.
37374         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37375         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37376         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37377         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37379 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37382         strlen-sse2 strlen-sse2-bsf.
37383         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37384         __strlen_sse2_bsf if bit_Slow_BSF is unset.
37385         (__strlen_sse2): Removed.
37386         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37387         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37389         bit_Slow_BSF for Atom.
37390         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37391         (index_Slow_BSF): Define.
37392         (HAS_SLOW_BSF): Define.
37394 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
37396         [BZ #10851]
37397         * resolv/res_init.c (__res_vinit): When no server address at all
37398         is given default to loopback.
37400 2010-08-24  Roland McGrath  <roland@redhat.com>
37402         * configure.in: Remove config-name.h generation.
37403         * configure: Regenerated.
37404         * config-name.in: File removed.
37405         * scripts/config-uname.sh: New file.
37406         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37407         ($(objdir)config-name.h): New target.
37409         * sunrpc/rpc_parse.h: Avoid nested comment.
37411 2010-08-24  Richard Henderson  <rth@redhat.com>
37412             Ulrich Drepper  <drepper@redhat.com>
37413             H.J. Lu  <hongjiu.lu@intel.com>
37415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37417         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37418         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
37419         _mm_alignr_epi8 with _mm_loadu_si128.
37420         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37421         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37422         (__m128i_shift_right): Removed.
37423         * sysdeps/i386/i686/multiarch/varshift.h: New file.
37424         * sysdeps/i386/i686/multiarch/varshift.S: New file.
37425         * sysdeps/x86_64/multiarch/varshift.h: New file.
37426         * sysdeps/x86_64/multiarch/varshift.S: New file.
37428 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
37430         * configure.in: Move assembler checks to before sysdep dir checking.
37432 2010-08-20  Petr Baudis  <pasky@suse.cz>
37434         * LICENSES: Sync the sunrpc license.
37436 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
37438         * sunrpc/auth_des.c: Update copyright notice once again.
37439         * sunrpc/auth_none.c: Likewise.
37440         * sunrpc/auth_unix.c: Likewise.
37441         * sunrpc/authdes_prot.c: Likewise.
37442         * sunrpc/authuxprot.c: Likewise.
37443         * sunrpc/bindrsvprt.c: Likewise.
37444         * sunrpc/clnt_gen.c: Likewise.
37445         * sunrpc/clnt_perr.c: Likewise.
37446         * sunrpc/clnt_raw.c: Likewise.
37447         * sunrpc/clnt_simp.c: Likewise.
37448         * sunrpc/clnt_tcp.c: Likewise.
37449         * sunrpc/clnt_udp.c: Likewise.
37450         * sunrpc/clnt_unix.c: Likewise.
37451         * sunrpc/des_crypt.c: Likewise.
37452         * sunrpc/des_soft.c: Likewise.
37453         * sunrpc/get_myaddr.c: Likewise.
37454         * sunrpc/getrpcport.c: Likewise.
37455         * sunrpc/key_call.c: Likewise.
37456         * sunrpc/key_prot.c: Likewise.
37457         * sunrpc/openchild.c: Likewise.
37458         * sunrpc/pm_getmaps.c: Likewise.
37459         * sunrpc/pm_getport.c: Likewise.
37460         * sunrpc/pmap_clnt.c: Likewise.
37461         * sunrpc/pmap_prot.c: Likewise.
37462         * sunrpc/pmap_prot2.c: Likewise.
37463         * sunrpc/pmap_rmt.c: Likewise.
37464         * sunrpc/rpc/auth.h: Likewise.
37465         * sunrpc/rpc/auth_unix.h: Likewise.
37466         * sunrpc/rpc/clnt.h: Likewise.
37467         * sunrpc/rpc/des_crypt.h: Likewise.
37468         * sunrpc/rpc/key_prot.h: Likewise.
37469         * sunrpc/rpc/netdb.h: Likewise.
37470         * sunrpc/rpc/pmap_clnt.h: Likewise.
37471         * sunrpc/rpc/pmap_prot.h: Likewise.
37472         * sunrpc/rpc/pmap_rmt.h: Likewise.
37473         * sunrpc/rpc/rpc.h: Likewise.
37474         * sunrpc/rpc/rpc_des.h: Likewise.
37475         * sunrpc/rpc/rpc_msg.h: Likewise.
37476         * sunrpc/rpc/svc.h: Likewise.
37477         * sunrpc/rpc/svc_auth.h: Likewise.
37478         * sunrpc/rpc/types.h: Likewise.
37479         * sunrpc/rpc/xdr.h: Likewise.
37480         * sunrpc/rpc_clntout.c: Likewise.
37481         * sunrpc/rpc_cmsg.c: Likewise.
37482         * sunrpc/rpc_common.c: Likewise.
37483         * sunrpc/rpc_cout.c: Likewise.
37484         * sunrpc/rpc_dtable.c: Likewise.
37485         * sunrpc/rpc_hout.c: Likewise.
37486         * sunrpc/rpc_main.c: Likewise.
37487         * sunrpc/rpc_parse.c: Likewise.
37488         * sunrpc/rpc_parse.h: Likewise.
37489         * sunrpc/rpc_prot.c: Likewise.
37490         * sunrpc/rpc_sample.c: Likewise.
37491         * sunrpc/rpc_scan.c: Likewise.
37492         * sunrpc/rpc_scan.h: Likewise.
37493         * sunrpc/rpc_svcout.c: Likewise.
37494         * sunrpc/rpc_tblout.c: Likewise.
37495         * sunrpc/rpc_util.c: Likewise.
37496         * sunrpc/rpc_util.h: Likewise.
37497         * sunrpc/rpcinfo.c: Likewise.
37498         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37499         * sunrpc/rpcsvc/key_prot.x: Likewise.
37500         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37501         * sunrpc/rpcsvc/mount.x: Likewise.
37502         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37503         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37504         * sunrpc/rpcsvc/rex.x: Likewise.
37505         * sunrpc/rpcsvc/rstat.x: Likewise.
37506         * sunrpc/rpcsvc/rusers.x: Likewise.
37507         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37508         * sunrpc/rpcsvc/spray.x: Likewise.
37509         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37510         * sunrpc/rtime.c: Likewise.
37511         * sunrpc/svc.c: Likewise.
37512         * sunrpc/svc_auth.c: Likewise.
37513         * sunrpc/svc_authux.c: Likewise.
37514         * sunrpc/svc_raw.c: Likewise.
37515         * sunrpc/svc_run.c: Likewise.
37516         * sunrpc/svc_simple.c: Likewise.
37517         * sunrpc/svc_tcp.c: Likewise.
37518         * sunrpc/svc_udp.c: Likewise.
37519         * sunrpc/svc_unix.c: Likewise.
37520         * sunrpc/svcauth_des.c: Likewise.
37521         * sunrpc/xcrypt.c: Likewise.
37522         * sunrpc/xdr.c: Likewise.
37523         * sunrpc/xdr_array.c: Likewise.
37524         * sunrpc/xdr_float.c: Likewise.
37525         * sunrpc/xdr_mem.c: Likewise.
37526         * sunrpc/xdr_rec.c: Likewise.
37527         * sunrpc/xdr_ref.c: Likewise.
37528         * sunrpc/xdr_sizeof.c: Likewise.
37529         * sunrpc/xdr_stdio.c: Likewise.
37531         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37532         handling.
37534 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37536         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37538 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37540         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37541         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37543         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37545         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37546         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37547         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37548         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37549         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37550         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37551         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37552         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37553         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37555 2010-07-26  Anton Blanchard  <anton@samba.org>
37557         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37558         * malloc/arena.c (heap_trim): Likewise.
37560 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37562         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37563         here.  Not...
37564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37565         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37567 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37569         * sysdeps/i386/elf/Makefile: New file.
37571 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37573         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37574         from fanotify_init.
37575         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37576         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37578 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37580         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37581         of strncasecmp_l.
37582         * sysdeps/multiarch/strcmp.S: Likewise.
37584 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37586         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37587         strncase_l-nonascii.
37588         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37589         Add strncase_l-ssse3.
37590         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37591         * sysdeps/x86_64/strcmp.S: Likewise.
37592         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37593         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37594         * sysdeps/x86_64/strncase.S: New file.
37595         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37596         * sysdeps/x86_64/strncase_l.S: New file.
37597         * string/Makefile (strop-tests): Add strncasecmp.
37598         * string/test-strncasecmp.c: New file.
37600         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37601         warning.
37603         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37604         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37606 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37608         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37610 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37612         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37613         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37614         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37616 2010-05-01  Alan Modra  <amodra@gmail.com>
37618         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37619         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37620         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37621         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37622         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37623         tidying.  Don't tail-call __sigjmp_save for static lib.
37624         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37625         save location.
37626         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37627         (CALL_MCOUNT): Add eh info, and nop after bl.
37628         (TAIL_CALL_SYSCALL_ERROR): New macro.
37629         (PSEUDO_RET): Use it.
37630         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37631         Correct save location of integer regs and cr.
37632         (_dl_profile_resolve): Correct cr save location.  Delete nops
37633         after bl when SHARED.  Reduce cfi size a little by better
37634         placement of cfi directives.
37635         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37636         make a stack frame.  Instead use parm save area as a temp.
37637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37638         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37640         Don't make a stack frame for parent, use parm save area.
37641         Increase child stack frame to 112 bytes.  Don't save unused reg,
37642         and adjust reg usage.  Set up cfi on error recovery and
37643         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37645         (__makecontext): Add dummy nop after jump to exit.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37647         Use correct parm save area and cr save, reduce stack frame.
37648         Correct cfi for possible PSEUDO_RET frame setup.
37649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37650         Branch to local label emitted by PSEUDO_RET rather than
37651         __syscall_error.
37653 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37655         [BZ #11904]
37656         * locale/programs/locale.c (print_assignment): New function.
37657         (show_locale_vars): Use it.
37659 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37661         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37662         field.
37663         (struct statfs64): Likewise.
37664         (_STATFS_F_FLAGS): Define.
37665         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37666         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37667         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37668         (ST_VALID): Define locally.
37669         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37670         __statvfs_getflags, use the provided value.
37671         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37672         __ASSUME_STATFS_F_FLAGS.
37674         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37676         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37677         Add sys/fanotify.h.
37678         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37679         fanotify_mask for GLIBC_2.13.
37680         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37681         fanotify_init and fanotify_mark.
37682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37683         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37685         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37686         Add prlimit.
37687         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37688         prlimit64 for GLIBC_2.13.
37689         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37690         prlimit64.
37691         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37692         syscall.
37693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37694         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37695         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37696         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37697         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37698         add prlimit alias.
37699         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37701         [BZ #11903]
37702         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37703         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37705         * nss/Makefile: Add rules to build and run tst-nss-test1.
37706         * shlib-versions: Add entry for libnss_test1.
37707         * nss/nss_test1.c: New file.
37708         * nss/tst-nss-test1.c: New file.
37710         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37711         (__nss_configure_lookup): Set appropriate entry in
37712         __nss_configure_lookup to true.
37713         * nss/nsswitch.h: Define enum with indeces of databases in
37714         databases and __nss_database_custom arrays.  Declare
37715         __nss_database_custom.
37716         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37717         to avoid using nscd when custom rules are installed.
37718         * nss/getXXbyYY_r.c: Likewise.
37719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37721         * nss/nss_files/files-parse.c: Whitespace fixes.
37723 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37725         [BZ #11883]
37726         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37727         * posix/fnmatch_loop.c: Likewise.
37729 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37731         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37732         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37733         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37734         * Versions.def [GLIBC_2.13]: Add.
37736 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37738         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37739         Also fail if tpwd after pwuid call is NULL.
37741 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37743         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37744         when converting to ms.
37746 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37748         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37749         EOPNOTSUPP errors with ENOTTY.
37750         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37751         EOPNOTSUPP errors with ENOTTY.
37753 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37755         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37756         Add strcasecmp_l-ssse3.
37757         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37758         strcasecmp.
37759         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37760         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37761         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37763 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37765         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37767         * string/Makefile (strop-tests): Add strcasecmp.
37768         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37769         strcasecmp_l-nonascii.
37770         (gen-as-const-headers): Add locale-defines.sym.
37771         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37772         * sysdeps/x86_64/strcasecmp.S: New file.
37773         * sysdeps/x86_64/strcasecmp_l.S: New file.
37774         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37775         * sysdeps/x86_64/locale-defines.sym: New file.
37776         * string/test-strcasecmp.c: New file.
37778         * string/test-strcasestr.c: Test both ends of the range of characters.
37779         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37781 2010-07-29  Roland McGrath  <roland@redhat.com>
37783         [BZ #11856]
37784         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37786 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37788         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37789         for ld.so.
37791 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37793         * manual/memory.texi (Malloc Tunable Parameters): Document
37794         M_PERTURB.
37796 2010-07-26  Roland McGrath  <roland@redhat.com>
37798         [BZ #11840]
37799         * configure.in (-fgnu89-inline check): Set and substitute
37800         gnu89_inline, not libc_cv_gnu89_inline.
37801         * configure: Regenerated.
37802         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37804 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37806         * string/test-strnlen.c: New file.
37807         * string/Makefile (strop-tests): Add strnlen.
37808         * string/tester.c (test_strnlen): Add a few more test cases.
37809         * string/tst-strlen.c: Better error reporting.
37811         * sysdeps/x86_64/strnlen.S: New file.
37813 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37815         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37816         lower-latency instructions.
37818 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37820         * string/test-strcasestr.c: New file.
37821         * string/test-strstr.c: New file.
37822         * string/Makefile (strop-tests): Add strstr and strcasestr.
37823         * string/str-two-way.h: Don't undefine MAX.
37824         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37826 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37829         strcasestr-nonascii.
37830         (CFLAGS-strcasestr-nonascii.c): Define.
37831         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37832         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37833         Remove unused attribute.
37835 2010-07-20  Roland McGrath  <roland@redhat.com>
37837         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37838         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37839         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37840         like LD_HWCAP_MASK can disable hwcaps.
37842 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37844         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37846 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37848         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37849         call in strcasestr.
37850         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37851         __strcasestr_sse42_nonascii.
37852         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37853         strcasestr-nonascii.c.
37854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37856 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37858         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37859         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37860         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37861         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37863 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37865         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37866         fcntl.
37868 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37870         [BZ #11577]
37871         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37872         dl_signal_cerror.
37874 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37876         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37877         _PC_PIPE_BUF using F_GETPIPE_SZ.
37879 2010-07-05  Roland McGrath  <roland@redhat.com>
37881         * manual/arith.texi (Rounding Functions): Fix rint description
37882         implicit in round description.
37884 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37886         * elf/Makefile: Fix linking for a few tests to make recent linker
37887         happy.
37889 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37891         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37892         $(common-objpfx)libc_nonshared.a.
37894 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37896         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37897         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37898         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37899         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37900         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37901         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37902         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37903         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37918         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37919         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37920         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37921         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37922         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37923         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37924         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37925         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37926         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37927         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37928         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37929         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37945 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37947         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37948         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37949         * string/memmove.c (memmove): Renamed to ...
37950         (MEMMOVE): ...this.  Default to memmove.
37951         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37952         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37953         (END_CHK): Define.
37954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37955         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37956         mempcpy-ssse3-back memmove-ssse3-back.
37957         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37958         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37960         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37961         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37962         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37963         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37964         * sysdeps/x86_64/multiarch/memmove.c: New file.
37965         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37966         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37967         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37968         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37969         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37971         Define.
37972         (index_Fast_Copy_Backward): Define.
37973         (HAS_ARCH_FEATURE): Define.
37974         (HAS_FAST_REP_STRING): Define.
37975         (HAS_FAST_COPY_BACKWARD): Define.
37977 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37979         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37980         Restore proper fallback handling.
37982 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37984         [BZ #11701]
37985         * posix/group_member.c (__group_member): Correct checking loop.
37987         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37988         OOM in getpwuid_r correctly.  Return error number when the caller
37989         should return, otherwise -1.
37990         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37991         call returning > 0 value.
37992         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37994 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37996         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37997         libc_nonshared.a from targets in modules-names.
37999 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38001         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38002         requires it.
38004 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38006         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38007         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38008         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38009         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38011 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38013         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38015 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38017         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38018         and F_GETPIPE_SZ.
38019         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38020         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38023         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38024         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38026 2010-06-14  Roland McGrath  <roland@redhat.com>
38028         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38030 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38032         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38033         __REDIRECT followed by __THROW.
38034         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38035         * posix/getopt.h (getopt): Likewise.
38037 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38039         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38040         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38041         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38042         in AT_FLAGS.
38043         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38044         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38046 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38048         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38050 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38052         [BZ #11640]
38053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38054         Properly check family and model.
38056 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38058         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38060 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38062         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38064 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38066         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38067         symbol reference.
38069 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38071         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38072         symbol reference.
38074 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38076         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38077         and internal_recvmmsg.
38078         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38079         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38080         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38081         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38083         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38084         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38085         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38087 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38089         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38091 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38093         POWER7 optimizations.
38094         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38095         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38097 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38099         * version.h: Update for 2.13 development version.
38101 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38103         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38104         exceptions.  Return 0.
38106 2010-05-07  Roland McGrath  <roland@redhat.com>
38108         * elf/ldconfig.c (main): Add a const.
38110 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38112         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38113         (args_options): Add no-idn option.
38114         (ahosts_keys_int): Add idn_flags to ai_flags.
38115         (parse_option): Handle 'i' option to clear idn_flags.
38117         * malloc/malloc.c (_int_free): Possible race in the most recently
38118         added check.  Only act on the data if no current modification
38119         happened.
38121 See ChangeLog.17 for earlier changes.