powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define
[glibc.git] / ChangeLog
blob10410dcfd5fa7a5cae82df16279725d3cf87e65e
1 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5         Remove define.
6         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
10         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12         define.
13         * nptl_db/td_symbol_list.c (td_lookup): Remove
14         HAVE_ASM_GLOBAL_DOT_NAME code.
15         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16         HAVE_ASM_GLOBAL_DOT_NAME check.
17         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19         (DOT_LABEL): Remove define.
20         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24         (__TLS_GET_ADDR): Likewise.
25         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
26         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30         [BZ #18111]
31         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32         (_FPU_SETCW): Initialize cw from fpsr before storing.
33         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34         (fesetexceptflag): Rewrite using fpu_control.h.
35         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
39         [BZ #18110]
40         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
41         asms.
42         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
44 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
46         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
47         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
48         abort.
49         (_FP_FMA): Likewise.
50         (_FP_DIV): Likewise.
52 2015-03-10  Roland McGrath  <roland@hack.frob.com>
54         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
55         with 0 in that case.
56         * Makefile (summarize-tests): New canned sequence, factored out of
57         commands for targets tests and xtests.  Display summary lines that
58         don't start with PASS: or XFAIL: rather than ones that do start with
59         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
60         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
61         do start with ERROR: or FAIL:.
62         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
63         (except for [$(build-shared) = yes]).
64         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
65         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
66         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
67         * nptl/Makefile: Revert 2015-03-04 changes.
68         [$(CXX) empty] (tests-unsupported): New variable.
69         * debug/Makefile: Likewise.
71         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
72         gnulib file.  Replace __attribute with __attribute__ throughout.
74 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
76         * sysdeps/hppa/fpu/libm-test-ulps: Update.
78 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
80         [BZ #18104]
81         * math/auto-libm-test-in: Add another test of pow.
82         * math/auto-libm-test-out: Regenerated.
84 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
87         $(config-cflags-nofma).
89 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
91         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
92         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
93         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
94         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
95         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
96         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
97         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
98         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
99         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
100         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
101         Add comment on closing #endif.
103 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
105         * posix/wordexp.c (CHAR_IN_SET): New macro.
106         (parse_param): Use it.
108 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
110         * sysdeps/powerpc/fpu/libm-test-ulps: update.
112 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
114         [BZ #18043]
115         * posix/wordexp.c (parse_param): Fix buffer overflow.
116         * posix/wordexp-test.c (test_case): Add test case.
118 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
120         [BZ #18042]
121         * posix/wordexp.c (parse_backtick): Fix off-by-one.
122         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
124 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
126         [BZ #18043]
127         * posix/wordexp-test.c (test_case): Add test for BZ #18043
128         (do_bz18043): Delete.
129         (at_page_end): New.
130         (testit): Refactor to have words at the edge of unreadable page.
132 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
134         [BZ #16734]
135         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
136         Cleanup read-only streams as well.
137         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
139 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
141         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
142         <bits/libc-lockP.h>
144 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
146         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
147         on [__KERNEL__].
148         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
149         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
150         * soft-fp/op-common.h (_FP_DECL): Likewise.
152 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
154         * elf/ifuncdep2.c (global): Replace
155         __attribute__((visibility("protected"))) with
156         asm (".protected global").
157         * elf/ifuncmod1.c (global): Likewise.
158         * elf/ifuncmod5.c (global): Likewise.
160 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
162         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
163         <asm/sfp-machine.h> instead of <sfp-machine.h>.
165 2015-03-06  Roland McGrath  <roland@hack.frob.com>
167         * manual/install.texi (Configuring and compiling):
168         Document test-wrapper-env-only.
169         * INSTALL: Regenerated.
171 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
173         [BZ #18043]
174         * posix/wordexp.c (parse_param): Fix buffer overflow.
175         * posix/wordexp-test.c (do_bz18043): Add test case.
177 2015-03-06  Vincent Bernat  <vincent@bernat.im>
179         * time/tst-strptime2.c (do_test): Ensure failing tests are
180         reported correctly.
181         * time/tst-strptime3.c (do_test): Likewise.
183 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
185         Fix aio_error thread-safety.
186         * sysdeps/pthread/aio_error.c: New file
187         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
188         synchronization.
190 2015-03-06  Florian Weimer  <fweimer@redhat.com>
192         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
193         (group_number, vfprintf): Use it.
194         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
195         (JUMP, REF): Use it.
196         (WORK_BUFFER_SIZE): New enum constant.
197         (process_arg, vfprintf): Use it.
199 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
201         * manual/errno.texi (Error Messages): Complete example function
202         by adding missing #define.
203         (program_invocation_name): Add statement indicating GNU
204         extension and reference which header file declares the variable.
205         (program_invocation_short_name): Likewise.
207 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
209         * manual/errno.texi (Error Messages): Delete strerror ISO C89
210         compatibility note.
212 2015-03-05  Roland McGrath  <roland@hack.frob.com>
214         * Makeconfig (test-wrapper-env-only): New variable.
215         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
216         then use that with $(test-wrapper-env-only) rather than using
217         $(test-wrapper-env) $(run-program-env) $($*-ENV).
219 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
221         [BZ #18082]
222         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
223         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
224         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
225         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
226         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
227         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
228         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
229         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
230         Likewise.
231         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
232         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
233         Likewise.
234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
235         Likewise.
236         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
237         Likewise.
238         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
239         Likewise.
240         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
241         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
242         Likewise.
243         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
244         Likewise.
245         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
246         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
248 2015-03-04  Roland McGrath  <roland@hack.frob.com>
250         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
251         (ETH_ALEN): New macro.
252         (struct ether_addr): Use it for length of ether_addr_octet.
254         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
255         (setdb): Don't call __nss_configure_lookup for "rpc".
256         (do_test): Don't call test_rpc.
257         (output_rpcent, test_rpc): Functions moved ...
258         * sunrpc/test-rpcent.c: ... to this new file.
259         * sunrpc/Makefile (tests): Add it.
261         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
262         __xpg_sigpause.
263         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
264         * nptl/tst-signal6.c: Likewise.
265         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
266         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
268         * configure.ac (libc_cv_cxx_link_ok): New check.
269         Reset CXX to empty if it fails to link.
270         * configure: Regenerated.
271         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
272         bug-atexit3-lib only if $(CXX) is nonempty.
273         * nptl/Makefile (tests): Likewise for tst-cancel24.
274         (tests, tests-static): Likewise for tst-cancel24-static.
275         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
276         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
277         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
278         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
280 2015-03-04  Andreas Schwab  <schwab@suse.de>
282         [BZ #17631]
283         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
284         for non-GCC compilers.
285         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
286         Likewise.
288 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
290         [BZ #17776]
291         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
292         integer before bitwise and assembly operations.
293         (feclearexcept): Likewise.
294         * math/test-fenvinline.c: New file.
295         * math/Makefile: Add test-fenvinline test.
297 2015-03-03  Alan Modra  <amodra@gmail.com>
299         [BZ #16512]
300         * scripts/localplt.awk: Strip off symbol version.
301         * NEWS: Mention bug fix.
303 2015-03-02  Roland McGrath  <roland@hack.frob.com>
305         * sysdeps/pthread/timer_routines.c
306         (timer_free_list, thread_free_list, thread_active_list): Make static.
308 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
310         [BZ #17779]
311         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
312         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
313         Undefine.
314         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
315         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
316         Likewise.
317         * sysdeps/unix/sysv/linux/sh/kernel-features.h
318         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
319         Likewise.
321 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
323         [BZ #18036]
324         * posix/fnmatch_loop.c (END): Detect invalid pattern.
325         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
327 2015-03-02  Andreas Schwab  <schwab@suse.de>
329         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
330         variable name.
332 2015-03-02  Florian Weimer  <fweimer@redhat.com>
334         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
335         Return error status.
337 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
339         [BZ #15969]
340         * locale/findlocale.c (_nl_find_locale): Introduce const
341         version of loc_name and drop unsafe type casts.
343 2015-02-27  Roland McGrath  <roland@hack.frob.com>
345         * dlfcn/tststatic2.c (main): Converted to ...
346         (do_test): ... this.
347         (TEST_FUNCTION): New macro.
348         Include test-skeleton.c.
350 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
352         [BZ #17711]
353         * elf/Makefile (tests): Add vismain only if PIE is enabled.
354         (tests-pie): Add vismain.
355         (CFLAGS-vismain.c): New.
356         * elf/vismain.c: Add comments for PIE requirement.
358 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
360         [BZ #18046]
361         [BZ #18047]
362         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
363         0x1p-56L as threshold for just returning the argument.
364         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
365         0x1p-32L as threshold for just returning the argument.
366         * math/auto-libm-test-in: Add more tests of atanh.
367         * math/auto-libm-test-out: Regenerated.
368         * sysdeps/i386/fpu/libm-test-ulps: Update.
369         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
371 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
373         * string/bcopy.c (bcopy): Call memmove for performance.
375 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
377         * string/bzero.c (__bzero): Call memset for performance.
379 2015-02-27  John David Anglin  <dave.anglin@bell.net>
381         [BZ #18068]
382         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
383         to 00100000.
385 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
387         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
389 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
391         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
392         (__kernel_standard): Use CSTR macro when setting exc.name.
393         * sysdeps/ieee754/Makefile [$(subdir) = math]
394         (CFLAGS-k_standard.c): Remove variable.
396         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
397         setting p and q from "else if" to "else".
398         (qzero): Likewise.
399         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
400         (qone): Likewise.
401         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
402         (qzerof): Likewise.
403         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
404         (qonef): Likewise.
405         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
406         (qzero): Likewise.
407         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
408         (qone): Likewise.
410         [BZ #18038]
411         [BZ #18039]
412         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
413         return pi/2 for arguments below 0x1p-113L.
414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
415         return pi/2 for arguments below 0x1p-106L.
416         * math/auto-libm-test-in: Add more tests of acos.
417         * math/auto-libm-test-out: Regenerated.
419         [BZ #16351]
420         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
421         (MO): New macro.
422         (__ieee754_asin): Force underflow exception for results with small
423         absolute value.
424         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
425         (MO): New macro.
426         (__ieee754_asinf): Force underflow exception for results with
427         small absolute value.
428         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
429         (__ieee754_asin): Force underflow exception for results with small
430         absolute value.
431         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
432         (__ieee754_asinf): Force underflow exception for results with
433         small absolute value.
434         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
435         (__ieee754_asinl): Force underflow exception for results with
436         small absolute value.
437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
438         (__ieee754_asinl): Force underflow exception for results with
439         small absolute value.
440         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
441         (__ieee754_asinl): Force underflow exception for results with
442         small absolute value.
443         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
444         Include <math.h>.
445         * math/auto-libm-test-in: Do not mark underflow exceptions as
446         possibly missing for bug 16351.
447         * math/auto-libm-test-out: Regenerated.
449         [BZ #18030]
450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
451         of power of 2 down when low part has opposite sign.
452         * math/libm-test.inc (logb_test_data): Add more tests.
454 2015-02-26  Andreas Schwab  <schwab@suse.de>
456         [BZ #18032]
457         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
458         over collating symbol inside a bracket expression.  Minor cleanup.
459         * posix/tst-fnmatch3.c (do_test): Add test case.
461 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
463         [BZ #18029]
464         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
465         Adjust exponent of power of 2 down when low part has opposite
466         sign.
467         * math/libm-test.inc (ilogb_test_data): Add more tests.
469 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
471         [BZ #15969]
472         * locale/findlocale.c (_nl_find_locale): Fix constness error in
473         the previous change.
475         [BZ #15969]
476         * locale/findlocale.c (_nl_find_locale): Retry archive search
477         after alias expansion.
479 2015-02-25  Roland McGrath  <roland@hack.frob.com>
481         * iconv/tst-iconv3.c (main): Converted to ...
482         (do_test): ... this.
483         (TEST_FUNCTION): New macro.
484         Include test-skeleton.c.
486         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
487         (convert): Make function static.
488         (test_unalign): Likewise.  Add const to argument pointee types.
489         (main): Replace with static function do_test.
490         Print "Succeeded." only if RET is zero.
491         (TEST_FUNCTION): New macro.
492         Include test-skeleton.c.
494         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
495         returns a null pointer.
497 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
499         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
500         to __memcpy_ppc only for static builds.
502 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
504         [BZ #18020]
505         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
506         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
507         * math/auto-libm-test-in: Add more tests of asinh.
508         * math/auto-libm-test-out: Regenerated.
509         * sysdeps/i386/fpu/libm-test-ulps: Update.
510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
514         [BZ #15850]
515         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
516         and ip6_mtuinfo definitions here.
517         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
518         in this define too.  Update comment.
520 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
522         * elf/sprof.c (load_shobj): Tweak error message to match others.
524 2015-02-24  Kevin Easton  <kevin@guarana.org>
526         [BZ #16145] (partial fix)
527         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
528         to reduce lock contention.
530 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
532         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
533         (struct timex): Update time comment.
534         (ADJ_SETOFFSET): Define.
536 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
538         [BZ #18019]
539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
540         2**56 not 2**28 as threshold for log (2x) formula.
541         * math/auto-libm-test-in: Add more tests of acosh.
542         * math/auto-libm-test-out: Regenerated.
543         * sysdeps/i386/fpu/libm-test-ulps: Update.
544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
546 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
548         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
549         parenthesis around the buf assignment.
550         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
552 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
554         [BZ #16783]
555         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
556         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
557         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
558         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
559         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
560         * math/libm-test.inc (scalb_test_data): Add more tests.
562 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
564         [BZ #17916]
565         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
566         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
568 2015-02-24  Eric Rannaud  <e@nanocritical.com>
570         [BZ #17523]
571         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
572         * io/bits/fcntl2.h (open): Use it.
573         (openat): Likewise.
574         * io/open.c (__libc_open): Likewise.
575         * io/open64.c (__libc_open64): Likewise.
576         * io/open64_2.c (__open64_2): Likewise.
577         * io/open_2.c (__open_2): Likewise.
578         * io/openat.c (__openat): Likewise.
579         * io/openat64.c (__openat64): Likewise.
580         * io/openat64_2.c (__openat64_2): Likewise.
581         * io/openat_2.c (__openat_2): Likewise.
582         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
583         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
584         * sysdeps/posix/open64.c (__libc_open64): Likewise.
585         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
586         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
587         (__open_nocancel): Likewise.
588         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
589         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
590         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
592 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
594         [BZ #14841]
595         * resolv/gethnamaddr.c (getanswer): Skip logging if
596         RES_USE_DNSSEC is set.
597         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
599 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
601         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
603 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
605         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
606         201304L, for Unicode 7.
608 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
610         [BZ #17836]
611         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
612         shared library.  Add gmon-start.os otherwise.
613         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
614         $(objpfx)gmon-start.os if builing shared library.
615         ($(objpfx)g$(static-start-installed-name)): Likewise.
617 2015-02-23  Andreas Schwab  <schwab@suse.de>
619         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
621 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
623         [BZ #17269]
624         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
625         (enlarge_userbuf): Likewise.
627 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
629         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
630         * math/atest-exp.c (TIMEOUT): Adjust to 200.
631         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
632         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
634 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
636         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
637         expression inside statement expression.
639 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
641         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
642         <sysdeps/nptl/lowlevellock.h> and remove macros and
643         functions that are now defined there.
644         (SYS_futex): Remove.
645         (lll_compare_and_swap): Remove.
646         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
648 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
650         [BZ #17999]
651         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
652         instead of scandirat.
653         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
654         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
655         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
656         __scandirat.
657         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
658         (__scandirat): Declare.  Use libc_hidden_proto.
659         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
660         Remove variable.
661         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
663 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
665         [BZ #15319]
666         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
667         (MO): New macro.
668         (__ieee754_atan2): For results with small absolute value, force
669         underflow exception and remove excess range and precision from
670         return value.
671         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
672         (MO): New macro.
673         (__ieee754_atan2f): For results with small absolute value, force
674         underflow exception and remove excess range and precision from
675         return value.
676         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
677         (MO): New macro.
678         (__atan): For results with small absolute value, force underflow
679         exception and remove excess range and precision from return value.
680         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
681         (MO): New macro.
682         (__atanf): For results with small absolute value, force underflow
683         exception and remove excess range and precision from return value.
684         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
685         <math.h>.
686         (__ieee754_atan2): Force underflow exception for results with
687         small absolute value.
688         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
689         <math_private.h>.
690         (atan): Force underflow exception for results with small absolute
691         value.
692         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
693         (__atanf): Force underflow exception for results with small
694         absolute value.
695         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
696         <math.h>.
697         (__atanl): Force underflow exception for results with small
698         absolute value.
699         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
700         (__atanl): Force underflow exception for results with small
701         absolute value.
702         * sysdeps/x86/fpu/bits/mathinline.h
703         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
704         (__ieee754_atan2): Only define inline for long double.
705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
706         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
707         * math/auto-libm-test-in: Do not mark underflow exceptions as
708         possibly missing for bug 15319.  Add more tests of atan2.
709         * math/auto-libm-test-out: Regenerated.
710         * math/libm-test.inc (casin_test_data): Do not mark underflow
711         exceptions as possibly missing for bug 15319.
712         (casinh_test_data): Likewise.
713         * sysdeps/i386/fpu/libm-test-ulps: Update.
715 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
717         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
718         * sysdeps/mips/bits/endian.h: Fix comments.
720 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
722         [BZ #17996]
723         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
724         (hdestroy_r): Likewise.
725         (hsearch_r): Likewise.
726         (__hcreate_r): Declare and use libc_hidden_proto.
727         (__hdestroy_r): Likewise.
728         (__hsearch_r): Likewise.
729         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
730         (hcreate): Call __hcreate_r instead of hcreate_r.
731         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
732         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
733         as weak alias of __hcreate_r.
734         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
735         __hdestroy_r.
736         (hsearch_r): Rename to __hsearch_r and define as weak alias of
737         __hsearch_r.
738         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
739         Remove variable.
740         (test-xfail-XPG4/search.h/linknamespace): Likewise.
741         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
742         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
743         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
745 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
747         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
748         arena_lock into a single arena_get.
750 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
752         * dl-reloc.c: Inlucde libc-internal.h.
753         (_dl_try_allocate_static_tls): Call ALIGN_UP.
754         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
755         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
756         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
757         (grow_heap): Likewise.
758         * malloc/malloc.c: Include libc-internal.h.
759         (do_check_malloc): Call powerof2.
760         (sysmalloc): Use pagesize. Call ALIGN_UP.
761         (systrim): Use pagesize.
762         (mremap_chunk): Use pagesize. Call ALIGN_UP.
763         (__libc_valloc): Use pagesize.
764         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
766 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
768         [BZ #17991]
769         * include/sys/resource.h (__getrlimit64): Declare.  Use
770         libc_hidden_proto.
771         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
772         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
773         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
774         getrlimit64.
775         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
776         __getrlimit64.
777         [!getrlimit64] (getrlimit64): Define as weak alias of
778         __getrlimit64.  Use libc_hidden_weak.
779         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
780         using __getrlimit64 not __new_getrlimit64.
781         (__GI_getrlimit64): Likewise.
782         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
783         Likewise.
784         (__GI_getrlimit64): Likewise.
785         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
787         (getrlimit): Add __getrlimit64 alias.
788         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
789         Likewise.
790         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
791         Remove variable.
792         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
793         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
795 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
797         * libio/fileops.c: Add missing sys/mman.h
798         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
800 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
802         * manual/math.texi (Errors in Math Functions): Clarify goals
803         regarding inexact and underflow exceptions.
805 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
807         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
808         * sysdeps/mips/memset.S: Ditto.
810 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
812         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
814 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
816         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
817         (__v1longjmp): Remove versioned symbol.
818         (__v1siglongjmp): Remove alias and versioned symbol.
819         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
820         (__v2siglongjmp): Likewise.
822 2015-02-16  Torvald Riegel  <triegel@redhat.com>
824         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
826 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
828         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
830 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
832         [BZ #17987]
833         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
834         zero result does not depend on the sign resulting from
835         subtraction.
836         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
837         Likewise.
838         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
839         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
840         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
841         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
842         * math/libm-test.inc (remquo_test_data): Add more tests.
844 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
846         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
847         Problem reported by J William Piggott.
849 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
851         [BZ #17978]
852         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
853         products 4 * y and 2 * y where those would overflow.
854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
855         Likewise.
856         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
857         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
858         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
859         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
860         * math/libm-test.inc (remquo_test_data): Add more tests.
862         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
864         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
865         [defined _COMPILING_NEWLIB].
866         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
867         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
869         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
870         [!defined __mips_isa_rev || __mips_isa_rev < 6].
872 2015-02-16  Torvald Riegel  <triegel@redhat.com>
874         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
875         acquired.
877 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
879         [BZ #17792]
880         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
881         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
882         HOST_STACK_END_ADDR): Likewise.
884 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
886         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
887         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
888         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
890 2015-02-13  Roland McGrath  <roland@hack.frob.com>
892         * sysdeps/generic/c++-types.data: New file.
893         * sysdeps/generic/ld.abilist: New file.
894         * sysdeps/generic/libBrokenLocale.abilist: New file.
895         * sysdeps/generic/libanl.abilist: New file.
896         * sysdeps/generic/libc.abilist: New file.
897         * sysdeps/generic/libcrypt.abilist: New file.
898         * sysdeps/generic/libdl.abilist: New file.
899         * sysdeps/generic/libm.abilist: New file.
900         * sysdeps/generic/libpthread.abilist: New file.
901         * sysdeps/generic/libresolv.abilist: New file.
902         * sysdeps/generic/librt.abilist: New file.
904 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
906         [BZ #17569]
907         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
908         Compute absolute value of x as modified by fmod, not original
909         value of x.
910         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
911         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
912         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
913         RUN_TEST_ffI_f1_mod8.
914         (remquo_test_data): Add more tests.
916 2015-02-13  Roland McGrath  <roland@hack.frob.com>
918         * sysdeps/init_array/pt-crti.S: New file.
920 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
922         [BZ #17967]
923         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
924         __builtin_fmaf instead of relying on contraction of a * b + c.
926 2015-02-12  J William Piggott  <elseifthen@gmx.com>
928         [BZ #17969]
929         * manual/time.texi: correct the zoneinfo path in the TZ Variable
930         node.
932 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
934         [BZ #17964]
935         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
936         __builtin_fma instead of relying on contraction of a * b + c.
938 2015-02-12  Roland McGrath  <roland@hack.frob.com>
940         * Makeconfig (ASFLAGS): Add -Werror=undef.
941         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
942         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
943         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
945         * Makeconfig (after-link): New variable.
946         (+link-pie, +link-pie-tests): Use it.
947         (+link-static, +link-static-tests): Likewise.
948         (+link, +link-tests): Likewise.
949         * Makerules (build-module, build-module-asneeded): Likewise.
950         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
951         Likewise.
952         * elf/Makefile ($(objpfx)ld.so): Likewise.
954 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
956         [BZ #17965]
957         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
958         both struct timeval and struct timespec.
960 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
962         [BZ #16560]
963         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
964         and redefine.
965         (__ieee754_exp2l): Do not multiply small fractional parts by
966         M_LN2l.
967         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
968         small argument.
969         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
970         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
971         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
972         * math/auto-libm-test-in: Add more tests of exp2.
973         * math/auto-libm-test-out: Regenerated.
975 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
977         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
978         unaligned path.
980 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
982         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
983         little endian.
985 2015-02-12  Andreas Schwab  <schwab@suse.de>
987         [BZ #15790]
988         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
989         Filter out elision flags from value returned in kind.
990         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
991         * nptl/tst-pthread-mutexattr.c: New file.
993 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
995         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
996         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
997         into gnu-gnu, and update comment to refer to abi-tags.
999 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1001         [BZ #15467]
1002         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1003         (__sincos): Set errno to EDOM for infinite argument.
1004         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1005         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1006         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1007         (__sincosl): Set errno to EDOM for infinite argument.
1008         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1009         (__sincosl): Set errno to EDOM for infinite argument.
1010         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1011         (__sincosl): Set errno to EDOM for infinite argument.
1012         * math/libm-test.inc (sincos_test_data): Test errno setting.
1014 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1016         * string/strxfrm_l.c: Remove #define STRCMP.
1017         * string/strcoll_l.c: Remove #define STRLEN.
1018         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1019         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1021 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1023         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1024         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1025         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1026         * sysdeps/mips/mips64/Makefile: ... here.
1027         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1028         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1029         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1030         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1031         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1032         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1033         * sysdeps/mips/mips64/n64/Implies: Likewise.
1035 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1037         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1038         <sys/time.h>, <string.h>, and <errno.h>.
1039         (dest_offset, dest_address, value, zero): Remove unused variables.
1040         (ldouble): Remove typedef.
1041         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1042         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1043         1).  Fix code style.
1044         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1045         (check): Function removed.
1046         (CHECK): New macro.
1047         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1048         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1049         Don't call set_sigaction_FP and remove_sigaction_FP here.
1050         (ldouble_test): Just use 'long double' as macro argument, no need for
1051         the 'ldouble' typedef.
1052         (do_test): Set up SIGFPE handler at start, using plain signal rather
1053         than sigaction.  Fix code style.
1055 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1057         [BZ #17949]
1058         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1059         jump label.
1061 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1063         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1064         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1066         * sysdeps/powerpc/configure.ac: Remove file.
1067         * sysdeps/powerpc/configure: Likewise.
1069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1070         [sysdep_routines]: Remove wordcopy-power6 object.
1071         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1072         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1073         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1074         (__memmove_ppc32): Likewise.
1075         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1076         file.
1077         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1078         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1079         Remove preprocessor.
1081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1082         [sysdep_routines]: Remove wide chars objects.
1083         [wcsmbs]: New rule for wide char objects.
1085         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1086         Remove wordcopy-power6 obejct.
1087         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1088         Use local call for wordcopy and memcpy symbols.
1089         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1090         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1091         implementation for loader.
1092         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1094         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1095         Remove wordcopy-power7 object.
1096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1097         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1098         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1099         (_wordcopy_fwd_dest_aligned): Likewise.
1100         (_wordcopy_bwd_aligned): Likewise.
1101         (_wordcopy_bwd_dest_aligned): Likewise.
1103         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1104         Rewrite to call __memmove_ppc instead of include default
1105         implementation.
1107         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1108         Remove wide chars objects.
1109         [wcsmbs]: New rule for wide char objects.
1111 2015-02-09  Andreas Schwab  <schwab@suse.de>
1113         [BZ #17912]
1114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1115         in terms of __O_DIRECTORY.
1117 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1119         * time/getdate.c: Include <stdbool.h>.
1120         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1121         call PTR_MANGLE.
1122         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1123         PTR_DEMANGLE.
1125 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1127         Add ersatz _Static_assert on older C hosts
1128         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1129         pre-C11 C platform that is not known to support _Static_assert.
1131 2015-02-07  Richard Braun  <rbraun@sceen.net>
1133         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1134         sigstate.
1135         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1137 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1139         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1140         priority against unexistent AIO_PRIO_DELTA_MAX.
1141         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1142         instead of int.
1143         * misc/fchflags.c (fchflags): Likewise.
1144         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1145         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1146         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1147         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1148         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1149         Declare macros.
1150         [__USE_MISC] (chflags, fchflags): Declare functions.
1151         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1152         EINVAL when nfds is greater than FD_SETSIZE.
1153         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1154         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1155         45.
1156         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1157         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1158         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1159         MACH_RCV_TIMED_OUT.
1160         * hurd/hurd/signal.h (_hurd_self_sigstate,
1161         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1162         Explicit casts from void *.
1163         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1164         * abi-tags: Rename gnu-gnu os into gnu.
1166         [BZ #4719]
1167         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1168         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1169         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1170         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1171         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1172         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1174         [BZ #17944]
1175         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1176         duplicates ADDR->sun_path with sockaddr LEN limitation.
1177         * sysdeps/mach/hurd/connect.c: Include <string.h>
1178         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1179         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1180         * sysdeps/mach/hurd/sendto.c: Likewise.
1181         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1182         implementing it by hand.
1184 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1186         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1187         Use sfi_breg on ldr.
1188         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1189         Likewise.
1191         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1192         it's defined.
1193         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1194         Test SIGSETXID only if it's defined.
1196         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1198         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1199         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1201         * nptl/tst-align2.c: Moved ...
1202         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1203         * nptl/Makefile (tests): Remove tst-align2.
1204         * sysdeps/unix/sysv/linux/Makefile
1205         [$(subdir) = nptl] (tests): Add tst-align-clone.
1206         * nptl/tst-getpid1.c: Moved ...
1207         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1208         * nptl/tst-getpid2.c: Moved ...
1209         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1210         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1211         * sysdeps/unix/sysv/linux/Makefile
1212         [$(subdir) = nptl] (tests): ... here.
1213         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1214         * sysdeps/unix/sysv/linux/Makefile
1215         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1217         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1218         Drop trailing \n from perror argument.  Use return rather than exit.
1220         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1221         on [SA_SIGINFO].
1222         * nptl/tst-cancel21.c (do_test): Likewise.
1223         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1224         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1225         [!SA_SIGINFO]: Make it a stub test.
1227         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1228         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1230         * posix/tst-getlogin.c: Move to ...
1231         * login/tst-getlogin.c: ... here.
1232         * posix/Makefile (tests): Move tst-getlogin to ...
1233         * login/Makefile (tests): ... here.
1235         * libio/tst-atime.c (do_test): Move local variables SV and E
1236         inside [ST_NOATIME] conditional.
1238         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1240         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1242         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1243         (wait_code): New function replaces macro.
1244         Call nanosleep rather than syscall.
1246         * nptl/pt-system.c: Rewritten.  Put everything under
1247         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1248         Use IFUNC to redirect when possible.
1250         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1251         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1252         Use IFUNC to redirect when possible.
1254         * nptl/pt-fork.c: Rewritten.  Put everything under
1255         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1256         Use IFUNC to redirect when possible.
1257         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1260         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1261         unconditionally nowadays.  This included the only reference to
1262         __vdso_clock_gettime that appears outside libc proper.
1263         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1264         Remove version set (containing only __vdso_clock_gettime).
1265         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1266         Add attribute_hidden.
1267         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1268         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1269         libc_hidden_data_def.
1270         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1271         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1273         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1274         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1275         setrpcent, and getrpcport to ...
1276         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1277         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1278         getrpcbynumber_r, and getrpcent_r to ...
1279         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1280         * inet/getrpcbyname.c: Moved ...
1281         * sunrpc/getrpcbyname.c: ... here.
1282         * inet/getrpcbyname_r.c: Moved ...
1283         * sunrpc/getrpcbyname_r.c: ... here.
1284         * inet/getrpcbynumber.c: Moved ...
1285         * sunrpc/getrpcbynumber.c: ... here.
1286         * inet/getrpcbynumber_r.c: Moved ...
1287         * sunrpc/getrpcbynumber_r.c: ... here.
1288         * inet/getrpcent.c: Moved ...
1289         * sunrpc/getrpcent.c: ... here.
1290         * inet/getrpcent_r.c: Moved ...
1291         * sunrpc/getrpcent_r.c: ... here.
1292         * inet/Makefile (routines): Move those to ...
1293         * sunrpc/Makefile (routines): ... here.
1294         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1295         the $(subdirs) list.
1296         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1297         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1298         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1299         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1301         * elf/Makefile (routines): Include $(all-dl-routines), not just
1302         $(dl-routines).
1303         (rtld-routines): Likewise.  Use = rather than :=.
1304         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1305         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1306         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1307         * sysdeps/arm/Makefile: Likewise.
1308         * sysdeps/i386/Makefile: Likewise.
1309         * sysdeps/x86_64/Makefile: Likewise.
1310         * sysdeps/hppa/Makefile [$(subdir) = elf]
1311         (sysdep_routines, sysdep-rtld-routines): Don't add
1312         $(sysdep-dl-routines) to these.
1313         * sysdeps/ia64/Makefile: Likewise.
1314         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1315         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1316         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1317         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1318         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1319         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1320         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1321         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1322         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1323         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1324         these; sysdep-dl-routines alone is enough.
1326 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1328         [BZ #17932]
1329         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1330         where multiplication results in zero and third argument is finite
1331         and nonzero.
1332         * math/auto-libm-test-in: Add more tests of fma.
1333         * math/auto-libm-test-out: Regenerated.
1335         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1336         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1337         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1338         (_FP_CMP_EQ): Likewise.
1339         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1341         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1342         extra argument CHECK_NAN.  Redefine as wrapper around
1343         _FP_EXTEND_CNAN.
1345 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1347         * version.h (RELEASE): Set to "stable".
1348         (VERSION): Set to "2.21"
1349         * include/features.h (__GLIBC_MINOR__): Set to 21.
1351         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1353 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1354             Paul Eggert  <eggert@cs.ucla.edu>
1356         [BZ #16618]
1357         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1358         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1359         size in bytes. Store needed elements in wpmax. Use needed size
1360         in bytes for extend_alloca.
1362 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1364         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1365         binutls 2.25, and texinfo 5.2.
1366         * INSTALL: Regenerate.
1367         * sysdeps/nios2/configure: Regenerate.
1368         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1369         * manual/contrib.texi: Update.
1370         * po/be.po: Update.
1371         * po/bg.po: Update.
1372         * po/ca.po: Update.
1373         * po/cs.po: Update.
1374         * po/da.po: Update.
1375         * po/de.po: Update.
1376         * po/el.po: Update.
1377         * po/eo.po: Update.
1378         * po/es.po: Update.
1379         * po/fi.po: Update.
1380         * po/fr.po: Update.
1381         * po/gl.po: Update.
1382         * po/hr.po: Update.
1383         * po/hu.po: Update.
1384         * po/ia.po: Update.
1385         * po/id.po: Update.
1386         * po/it.po: Update.
1387         * po/ja.po: Update.
1388         * po/ko.po: Update.
1389         * po/lt.po: Update.
1390         * po/nb.po: Update.
1391         * po/nl.po: Update.
1392         * po/pl.po: Update.
1393         * po/pt_BR.po: Update.
1394         * po/ru.po: Update.
1395         * po/rw.po: Update.
1396         * po/sk.po: Update.
1397         * po/sl.po: Update.
1398         * po/sv.po: Update.
1399         * po/tr.po: Update.
1400         * po/uk.po: Update.
1401         * po/vi.po: Update.
1402         * po/zh_CN.po: Update.
1403         * po/zh_TW.po: Update.
1405         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1406         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1407         * sysdeps/hppa/dl-irel.h: Remove #warning.
1408         * sysdeps/hppa/entry.h: Provide prototype for
1409         __canonicalize_funcptr_for_compare and cast argument.
1410         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1411         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1412         * sysdeps/hppa/sotruss-lib.c: New file.
1413         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1414         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1415         (atomic_compare_and_exchange_bool_acq): Likewise.
1416         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1417         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1419         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1420         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1421         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1423 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1425         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1426         called function in non-PIC case.
1428 2015-01-31  David S. Miller  <davem@davemloft.net>
1430         * sysdeps/sparc/sparc32/bits/atomic.h
1431         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1432         unlock not after it.
1433         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1434         volatile register usage warnings from the compiler.
1436         * sysdeps/sparc/nptl/sem_init.c: Delete.
1437         * sysdeps/sparc/nptl/sem_post.c: Delete.
1438         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1439         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1440         * sysdeps/sparc/sparc32/sem_init.c: New file.
1441         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1442         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1443         padding explicitly initialized.
1444         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1445         padding for in-semaphore spinlock.
1446         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1447         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1448         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1449         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1450         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1451         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1452         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1453         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1454         version.
1455         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1456         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1458 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1460         [BZ #17801]
1461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1462         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1463         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1464         New.
1465         (index_AVX_Fast_Unaligned_Load): Likewise.
1466         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1467         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1468         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1469         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1470         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1471         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1472         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1473         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1474         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1476 2015-01-29  Andreas Schwab  <schwab@suse.de>
1478         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1480 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1482         [BZ #17892]
1483         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1485 2015-01-28  Martin Sebor  <msebor@redhat.com>
1487         * math/README.libm-test: Clarify. Add "How to read the test output."
1489 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1491         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1492         Define to 0.
1494 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1496         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1497         (__HAVE_64B_ATOMICS): Define to 0.
1499 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1501         [BZ #17885]
1502         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1503         value to set as new flag.
1505         [BZ #16576]
1506         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1507         and use _ARCH_PPCSQ instead.
1508         (__ieee754_sqrt): Likewise.
1509         (__ieee754_sqrtf): Likewise.
1510         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1511         _ARCH_PPCSQ is defined.
1512         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1513         fsqrt instruction.
1514         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1515         _ARCH_PPCSQ is defined.
1516         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1517         fsqrts instruction.
1518         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1520 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1522         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1523         bug (GCC BZ #64739).
1525 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1527         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1528         Mark _retval as used.
1529         (lll_futex_wake_unlock): Likewise.
1530         (lll_futex_timed_wait_requeue_pi): Likewise.
1532         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1533         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1534         register variables.
1536         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1537         libm_hidden_def.
1539         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1540         (__bswap_64): Mark as __always_inline.
1542 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1544         [BZ #15378]
1545         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1546         when none of the search directories exist.
1548 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1550         [BZ #17869]
1551         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1552         power8 in .machine directive.
1554         [BZ #17868]
1555         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1556         set dependency from opd value.
1558 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1561         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1562         architecture.
1564 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1566         [BZ #17870]
1567         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1568         with uint64_t.
1569         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1570         (uint64_t) 1.
1571         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1572         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1573         Replace 1UL with (uint64_t) 1.
1574         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1575         int with uint64_t.
1577 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1579         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1580         (if_freenameindex): Likewise.
1582         * resource/getrlimit64.c: Add missing libc_hidden_def.
1584 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1586         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1587         __label__.
1588         (_FP_FMA): Likewise.
1589         (_FP_TO_INT_ROUND): Likewise.
1590         (_FP_FROM_INT): Likewise.
1592 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1594         [BZ #16418]
1595         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1596         Make code racy and cancel safe.
1598 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1600         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1601         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1602         attribution.
1604         * pwd/tst-getpw.c: Rewrite.
1606         [BZ #17702]
1607         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1608         (modules-names): Add moddummy1 and moddummy2.
1609         ($(objpfx)tst-rec-dlopen): Define.
1610         * dlfcn/moddummy1.c: New file.
1611         * dlfcn/moddummy2.c: New file.
1612         * dlfcn/tst-rec-dlopen.c: New file.
1613         * elf/dl-cache.c (_dl_load_cache_lookup):
1614         Return char*. Copy result with alloca/strcpy/strdup.
1615         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1616         returns char*. Free cached. If not saving realname
1617         free cached.
1618         * elf/dl-open.c (dl_open_worker): Do not assert that
1619         _r_debug->r_state is RT_CONSISTENT.
1620         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1621         returns char*.
1623 2015-01-21  Torvald Riegel  <triegel@redhat.com>
1624             Carlos O'Donell  <carlos@redhat.com>
1626         [BZ #12674]
1627         * nptl/sem_waitcommon.c: New file.
1628         * nptl/sem_wait.c: Include sem_waitcommon.c.
1629         (__sem_wait_cleanup, do_futex_wait): Remove.
1630         (__new_sem_wait): Adapt.
1631         (__new_sem_trywait): New function.
1632         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1633         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1634         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1635         (sem_timedwait): Adapt.
1636         * nptl/sem_post.c (__new_sem_post): Adapt.
1637         (futex_wake): New function.
1638         (__old_sem_post): Add release MO fence.
1639         * nptl/sem_open.c (sem_open): Adapt.
1640         * nptl/sem_init.c (__new_sem_init): Adapt.
1641         (futex_private_if_supported): New function.
1642         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1643         (__old_sem_getvalue): Add using previous code.
1644         * sysdeps/nptl/internaltypes.h: Adapt.
1645         * nptl/tst-sem13.c (do_test): Adapt.
1646         * nptl/tst-sem11.c (main): Adapt.
1647         * nptl/sem_trywait.c: Remove.
1648         * nptl/DESIGN-sem.txt: Remove.
1649         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1650         (gen-as-const-headers): Remove structsem.sym.
1651         * nptl/structsem.sym: Remove.
1652         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1653         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1654         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1655         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1656         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1657         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1658         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1659         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1660         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1661         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1662         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1663         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1664         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1665         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1666         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1667         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1668         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1669         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1670         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1671         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1672         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1673         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1675 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
1677         * INSTALL: Regenerated.
1679         * po/libc.pot: Regenerated.
1681 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
1682             Sandra Loosemore  <sandra@codesourcery.com>
1683             Andrew Jenner  <andrew@codesourcery.com>
1684             Joseph Myers  <joseph@codesourcery.com>
1685             Nathan Sidwell  <nathan@codesourcery.com>
1687         * NEWS: Mention new Nios II port.
1688         * sysdeps/nios2/Implies: New file.
1689         * sysdeps/nios2/Makefile: New file.
1690         * sysdeps/nios2/Subdirs: New file.
1691         * sysdeps/nios2/Versions: New file.
1692         * sysdeps/nios2/__longjmp.S: New file.
1693         * sysdeps/nios2/abort-instr.h: New file.
1694         * sysdeps/nios2/backtrace.c: New file.
1695         * sysdeps/nios2/bits/endian.h: New file.
1696         * sysdeps/nios2/bits/fenv.h: New file.
1697         * sysdeps/nios2/bits/link.h: New file.
1698         * sysdeps/nios2/bits/setjmp.h: New file.
1699         * sysdeps/nios2/bsd-_setjmp.S: New file.
1700         * sysdeps/nios2/bsd-setjmp.S: New file.
1701         * sysdeps/nios2/configure: New generated file.
1702         * sysdeps/nios2/configure.ac: New file.
1703         * sysdeps/nios2/crti.S: New file.
1704         * sysdeps/nios2/crtn.S: New file.
1705         * sysdeps/nios2/dl-init.c: New file.
1706         * sysdeps/nios2/dl-machine.h: New file.
1707         * sysdeps/nios2/dl-sysdep.h: New file.
1708         * sysdeps/nios2/dl-tls.h: New file.
1709         * sysdeps/nios2/dl-trampoline.S: New file.
1710         * sysdeps/nios2/gccframe.h: New file.
1711         * sysdeps/nios2/gmp-mparam.h: New file.
1712         * sysdeps/nios2/jmpbuf-offsets.h: New file.
1713         * sysdeps/nios2/jmpbuf-unwind.h: New file.
1714         * sysdeps/nios2/ldsodefs.h: New file.
1715         * sysdeps/nios2/libc-tls.c: New file.
1716         * sysdeps/nios2/libm-test-ulps: New file.
1717         * sysdeps/nios2/machine-gmon.h: New file.
1718         * sysdeps/nios2/math-tests.h: New file.
1719         * sysdeps/nios2/math_private.h: New file.
1720         * sysdeps/nios2/memusage.h: New file.
1721         * sysdeps/nios2/nptl/Makefile: New file.
1722         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1723         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1724         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1725         * sysdeps/nios2/nptl/pthreaddef.h: New file.
1726         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1727         * sysdeps/nios2/nptl/tls.h: New file.
1728         * sysdeps/nios2/preconfigure: New file.
1729         * sysdeps/nios2/s_fma.c: New file.
1730         * sysdeps/nios2/s_fmaf.c: New file.
1731         * sysdeps/nios2/setjmp.S: New file.
1732         * sysdeps/nios2/sfp-machine.h: New file.
1733         * sysdeps/nios2/sotruss-lib.c: New file.
1734         * sysdeps/nios2/stackguard-macros.h: New file.
1735         * sysdeps/nios2/stackinfo.h: New file.
1736         * sysdeps/nios2/start.S: New file.
1737         * sysdeps/nios2/sysdep.h: New file.
1738         * sysdeps/nios2/tls-macros.h: New file.
1739         * sysdeps/nios2/tst-audit.h: New file.
1740         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1741         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1742         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1743         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1744         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1745         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1746         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1747         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1748         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1749         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1750         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1751         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1752         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1753         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1754         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1755         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1756         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1757         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1758         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1759         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1760         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1761         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1762         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1763         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1764         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1765         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1766         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1767         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1768         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1769         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1770         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1771         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1772         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1773         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1774         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1775         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1776         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1777         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1778         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1779         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1780         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1781         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1782         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1783         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1785 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1787         [BZ #17844]
1788         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1789         (getutent): Use weak_alias in non SHARED case
1790         and default_symbol_version in SHARED case.
1791         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1792         (getutent_r, pututline): Likewise.
1793         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1794         (getutid): Likewise.
1795         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1796         (getutid_r): Likewise.
1797         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1798         (getutline): Likewise.
1799         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1800         (getutline_r): Likewise.
1801         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1802         (updwtmp): Likewise.
1804 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1806         [BZ #17848]
1807         * sysdeps/s390/s390-32/memcmp.S
1808         (memcmp_g5): Rename to __memcmp_g5.
1809         * sysdeps/s390/s390-32/memcpy.S
1810         (memcpy_g5): Rename to __memcpy_g5.
1811         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1812         (memcpy_mvcle) Rename to __memcpy_mvcle.
1813         * sysdeps/s390/s390-32/memset.S
1814         (memset_g5): Rename to __memset_g5.
1815         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1816         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1817         and use prefixed functions.
1818         * sysdeps/s390/s390-32/multiarch/memcmp.S
1819         (memcmp_z196): Rename to __memcmp_z196.
1820         (memcmp_z10): Rename to __memcmp_z10.
1821         (memcmp): Set alias to __memcmp_g5.
1822         (bcmp): Set alias to __memcmp_g5.
1823         * sysdeps/s390/s390-32/multiarch/memcpy.S
1824         (memcpy_z196): Rename to __memcpy_z196.
1825         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1826         (memcpy_z10): Rename to __memcpy_z10.
1827         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1828         (memcpy): Set alias to __memcpy_g5.
1829         * sysdeps/s390/s390-32/multiarch/memset.S
1830         (memset_z196): Rename to __memset_z196.
1831         Jump to __memset_mvcle instead of memset_mvcle.
1832         (memset_z10): Rename to __memset_z10.
1833         Jump to __memset_mvcle instead of memset_mvcle.
1834         (memset_mvcle) Rename to __memset_mvcle.
1835         (memset): Set alias to __memset_g5.
1836         * sysdeps/s390/s390-64/memcmp.S
1837         (memcmp_z900): Rename to __memcmp_z900.
1838         * sysdeps/s390/s390-64/memcpy.S
1839         (memcpy_z900): Rename to __memcpy_z900.
1840         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1841         (memcpy_mvcle) Rename to __memcpy_mvcle.
1842         * sysdeps/s390/s390-64/memset.S
1843         (memset_z900): Rename to __memset_z900.
1844         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1845         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1846         and use prefixed functions.
1847         * sysdeps/s390/s390-64/multiarch/memcmp.S
1848         (memcmp_z196): Rename to __memcmp_z196.
1849         (memcmp_z10): Rename to __memcmp_z10.
1850         (memcmp): Set alias to __memcmp_z900.
1851         (bcmp): Set alias to __memcmp_z900.
1852         * sysdeps/s390/s390-64/multiarch/memcpy.S
1853         (memcpy_z196): Rename to __memcpy_z196.
1854         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1855         (memcpy_z10): Rename to __memcpy_z10.
1856         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1857         (memcpy): Set alias to __memcpy_z900.
1858         * sysdeps/s390/s390-64/multiarch/memset.S
1859         (memset_z196): Rename to __memset_z196.
1860         Jump to __memset_mvcle instead of memset_mvcle.
1861         (memset_z10): Rename to __memset_z10.
1862         Jump to __memset_mvcle instead of memset_mvcle.
1863         (memset_mvcle) Rename to __memset_mvcle.
1864         (memset): Set alias to __memset_z900.
1866 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1868         [BZ #17748]
1869         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1870         __fesetenv instead of fesetenv.
1872 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1874         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1875         macro.
1877 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1879         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1880         regression on LE.
1882         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1883         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1884         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1885         strncmp-power8 object.
1886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1887         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1888         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1889         * NEWS: Update.
1891 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1892             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1895         trailing byte check.
1897 2015-01-13  David S. Miller  <davem@davemloft.net>
1899         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1901 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1903         * login/logout.c (logout): Use memset rather than bzero.
1904         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1905         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1906         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1907         (_gethtbyaddr): Likewise.
1908         * locale/programs/simple-hash.c (bcopy): Macro removed.
1910 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1913         Add strcmp-power8 object.
1914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1915         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1916         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1917         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1918         __strcmp_power8 implementation.
1919         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1920         * NEWS: Update.
1922         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1923         Add strncpy-power8 and stpncpy-power8 objects.
1924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1925         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1926         implementations.
1927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1929         __stpncpy_power8 implementation.
1930         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1931         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1932         __strncpy_power8 implementation.
1933         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1934         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1935         * NEWS: Update.
1937         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1938         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1939         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1941         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1942         strncat-power8 object.
1943         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1944         __strcat_power8 implementation.
1945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1946         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1947         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1948         optimized strcat for power8.
1950         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1951         strcpy-power8 and stpcpy-power8 objects.
1952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1953         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1954         implementations.
1955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1956         multiarch stpcpy implementation for POWER8.
1957         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1958         multiarch strcpy implementation for POWER8.
1959         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1960         __strcpy_power8 function.
1961         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1962         stpcpy for POWER8.
1963         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1964         strcpy for POWER8.
1965         * NEWS: Update.
1967 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1969         [BZ #16009]
1970         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1971         weights and rules. Use do_xfrm_cached if data fits in cache,
1972         do_xfrm otherwise.  Moved former main loop to...
1973         * (do_xfrm_cached): New function.
1974         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1975         find_idx, find_position and stack_push.
1976         * (find_idx): New function.
1977         * (find_position): Likewise.
1978         * localedata/sort-test.sh: Added test run for do_xfrm.
1979         * localedata/xfrm-test.c (main): Added command line option
1980         -nocache to run the test with strings that are too large for
1981         the STRXFRM cache.
1983 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1985         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1986         variable to lll_futex_wake call, not the value itself.
1988 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1990         [BZ #17803]
1991         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1992         twom64.  Adjust value to 0x1p-64L.
1993         (__scalblnl): Only return standard underflowing result for K <=
1994         -64 not K <= -63; adjust exponent for underflowing result by 64
1995         not 63.
1996         * math/libm-test.inc (scalbn_test_data): Add more tests.
1997         (scalbln_test_data): Likewise.
1999         [BZ #17834]
2000         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2001         0x1p63L.
2002         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2003         not HX.
2004         * math/libm-test.inc (scalbn_test_data): Add more tests.
2005         (scalbln_test_data): Likewise.
2007 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2008             Stefani Seibold  <stefani@seibold.net>
2010         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2011         (sysdep_routines): Add dl-vdso here, ...
2012         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2013         (sysdep_routines): ... not here.
2014         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2015         fallback when vDSO is not presented.
2016         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2017         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2018         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2019         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2020         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2021         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2022         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2023         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2024         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2026         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2027         fallback configurable symbol when vDSO is not available.
2028         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2029         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2030         be able to redefine fallback symbol when vDSO is not available.
2031         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2032         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2034 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2036         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2037         (TLS_INIT_TP): Add tm_capable initialization.
2038         (TLS_DEFINE_INIT_TP): Likewise.
2039         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2040         TCB.
2041         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2042         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2043         calculation.
2044         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2045         transactoion is lock elision is built and TCB tm_capable is set.
2046         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2048         (INTERNAL_SYSCALL_NCS): Likewise.
2049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2050         (INTERNAL_SYSCALL_NCS): Likewise.
2051         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2053         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2054         for powerpc.
2055         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2056         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2057         and remove it for 32 bits case.
2058         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2060         initialization.
2061         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2062         Disable lock elision with rdlocks if elision is not available.
2064         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2065         (sysdep_routines): Add lock elision objects.
2066         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2067         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2068         [pthread_mutex_t] (__elision): Add field.
2069         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2070         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2071         elision definitions for powerpc.
2072         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2073         implementation of lock elision for powerpc.
2074         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2075         implementation of timed lock elision for powerpc.
2076         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2077         implementation of trylock with lock elision for powerpc.
2078         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2079         implementaion of unlock for lock elision for powerpc.
2080         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2081         automatic enable lock elision for mutexes.
2082         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2083         transaction execution definitions for powerpc.
2084         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2085         definitions.
2086         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2087         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2088         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2089         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2090         * NEWS: Update.
2092 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2094         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2095         for #include of <shm-directory.h>.
2097 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2099         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2100         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2102 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2104         [BZ #17791]
2105         * NEWS: Mention bug fix.
2106         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2107         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2108         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2110 2015-01-09  Torvald Riegel <triegel@redhat.com>
2112         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2114 2015-01-09  Torvald Riegel <triegel@redhat.com>
2116         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2118 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2120         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2121         pointer and cast to uintptr_t.
2123 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2125         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2126         removed.
2127         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2129 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2131         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2132         of 0.
2134 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2136         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2137         <nptl/pthreadP.h> instead.
2138         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2140         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2141         already defined.
2142         [__SIGRTMIN] (init): Function removed.
2143         [__SIGRTMIN] (initialized): Variable removed.
2144         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2145         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2146         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2147         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2148         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2149         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2150         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2151         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2152         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2153         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2154         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2155         * sysdeps/nptl/allocrtsig.c: New file.
2156         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2157         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2158         * sysdeps/generic/testrtsig.h: File removed.
2160         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2161         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2163         * nptl/nptl-init.c (pthread_functions): Conditionalize
2164         .ptr__nptl_setxid initialization on [SIGSETXID].
2166         * sysdeps/nptl/sys/procfs.h: New file.
2167         * nptl_db/Makefile (headers): Add it.
2168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2170         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2171         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2172         * nptl/pthread_attr_setaffinity.c: Include it.
2173         * nptl/pthread_setattr_default_np.c: Likewise.
2174         * nptl/check-cpuset.h: New file.
2176 2015-01-08  Richard Henderson  <rth@redhat.com>
2178         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2179         (CFLAGS-tst-execstack-prog.c): Likewise.
2180         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2182 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2183             Sandra Loosemore  <sandra@codesourcery.com>
2184             Andrew Jenner  <andrew@codesourcery.com>
2185             Joseph Myers  <joseph@codesourcery.com>
2186             Nathan Sidwell  <nathan@codesourcery.com>
2188         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2189         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2190         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2191         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2192         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2193         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2194         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2195         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2196         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2197         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2198         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2199         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2200         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2201         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2202         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2203         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2204         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2206 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2208         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2209         timespec struct member in syscall macro.
2210         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2211         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2212         first timeval struct member in syscall macro.
2213         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2215 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2217         [BZ #17748]
2218         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2219         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2220         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2221         __feupdateenv and define as weak alias of __feupdateenv.  Use
2222         libm_hidden_weak.
2223         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2224         libm_hidden_def.
2225         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2226         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2227         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2228         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2229         libm_hidden_def.
2230         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2231         __feupdateenv and define as weak alias of __feupdateenv.  Use
2232         libm_hidden_weak.
2233         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2234         libm_hidden_def.
2235         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2236         __feupdateenv and define as weak alias of __feupdateenv.  Use
2237         libm_hidden_weak.
2238         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2239         libm_hidden_def.
2240         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2241         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2242         (__feupdateenv): Likewise.
2243         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2244         __feupdateenv and define as weak alias of __feupdateenv.  Use
2245         libm_hidden_weak.
2246         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2247         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2248         libm_hidden_def.
2249         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2250         function.
2251         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2252         libm_hidden_def.
2253         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2254         __feupdateenv instead of feupdateenv.
2255         (default_libc_feupdateenv_test): Likewise.
2256         (libc_feresetround_ctx): Likewise.
2258 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2260         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2261         prototype.
2263 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2265         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2266         COLL_SYM in a couple of places to avoid uninitialized variable
2267         wanings on tilegx gcc 4.8.2.
2269 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2271         * sysdeps/aarch64/strcpy.S: New file.
2272         * sysdeps/aarch64/stpcpy.S: New file.
2273         * NEWS: Updated.
2275 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2277         * sysdeps/aarch64/strrchr.S: New file.
2278         * NEWS: Updated.
2280 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2282         [BZ #17658]
2283         * stdlib/setenv.c: Fix memory leak when setting large,
2284         duplicate string.
2286 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2288         [BZ #17273]
2289         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2290         and tabs from buffer before parsing fstab entry.
2291         * misc/tst-mntent.c (main): Add test for mount entry with
2292         trailing spaces and tabs.
2294 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2296         [BZ #17748]
2297         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2298         * math/fesetround.c (fesetround): Rename to __fesetround and
2299         define as weak alias of __fesetround.  Use libm_hidden_weak.
2300         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2301         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2302         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2303         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2304         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2305         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2306         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2307         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2308         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2309         __fesetround_inline.
2310         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2311         __fesetround_inline instead of __fesetround.
2312         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2313         __fesetround and define as weak alias of __fesetround.  Use
2314         libm_hidden_weak.  Call __fesetround_inline instead of
2315         __fesetround.
2316         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2317         __fesetround and define as weak alias of __fesetround.  Use
2318         libm_hidden_weak.
2319         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2320         Likewise.
2321         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2322         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2323         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2324         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2325         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2326         __fesetround and define as weak alias of __fesetround.  Use
2327         libm_hidden_weak.
2328         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2329         __fesetround instead of fesetround.
2330         (default_libc_feholdexcept_setround): Likewise.
2331         (libc_feholdsetround_ctx): Likewise.
2332         (libc_feholdsetround_noex_ctx): Likewise.
2334         [BZ #17748]
2335         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2336         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2337         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2338         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2339         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2340         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2341         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2342         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2343         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2344         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2345         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2346         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2347         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2348         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2349         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2350         libm_hidden_def.
2351         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2352         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2353         Likewise.
2354         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2355         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2356         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2357         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2358         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2359         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2360         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2361         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2362         __fesetenv instead of fesetenv.
2363         (libc_feresetround_noex_ctx): Likewise.
2364         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2365         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2366         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2367         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2368         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2369         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2370         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2371         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2372         (__feupdateenv): Likewise.
2373         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2374         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2375         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2376         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2378 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2380         [BZ #17806]
2381         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2382         addresses have been freed.
2384 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2386         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2387         and nservall.
2389 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2391         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2392         Clean up check_pf allocation pattern. addresses
2394 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2396         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2397         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2398         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2399         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2400         * nptl/pthread_join.c (pthread_join): Likewise.
2401         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2402         * sysdeps/posix/waitid.c (__waitid): Likewise.
2403         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2404         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2405         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2406         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2408         Likewise.
2409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2410         (__libc_pread64): Likewise.
2411         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2412         (__libc_pwrite): Likewise.
2413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2414         (__libc_pwrite64): Likewsie.
2415         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2416         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2417         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2418         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2419         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2420         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2421         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2423         Likewise.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2425         (__libc_pread64): Likewise.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2427         Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2429         (__libc_pwrite64): Likewise.
2430         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2431         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2432         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2433         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2434         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2435         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2436         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2437         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2438         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2439         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2440         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2441         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2442         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2443         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2444         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2446         Likewise.
2448 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2450         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2451         (CFLAGS-test-double.c): Likewise.
2452         (CFLAGS-test-ldouble.c): Likewise.
2453         (CPPFLAGS-test-ifloat.c): Likewise.
2454         (CPPFLAGS-test-idouble.c): Likewise.
2455         (CPPFLAGS-test-ildoubl.c): Likewise.
2456         (CFLAGS-test-test-fenv.c): Remove variable.
2457         (CFLAGS-test-misc.c): Likewise.
2459 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2461         [BZ #17797]
2462         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2463         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2464         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2465         CLOCKS_PER_SEC == 1000000.
2466         * time/clocktest.c (main): Replace %ld with %jd and cast to
2467         intmax_t.
2469 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2471         * sysdeps/generic/unwind-resume.h: New file.
2472         * sysdeps/gnu/unwind-resume.c: Include it.
2473         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2474         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2475         argument list.
2476         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2477         global rather than static.
2478         (_Unwind_Resume): Update user.
2479         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2480         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2481         rather than static.  Add __attribute__ ((cold)).
2482         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2483         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2484         * sysdeps/arm/arm-unwind-resume.S: New file.
2485         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2486         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2487         * sysdeps/arm/Makefile [$(subdir) = csu]
2488         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2489         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2490         Add rt-arm-unwind-resume.
2491         [$(subdir) = nptl]
2492         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2493         Add pt-arm-unwind-resume.
2494         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2495         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2497 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2499         [BZ #17748]
2500         * include/fenv.h (__feholdexcept): Declare.  Use
2501         libm_hidden_proto.
2502         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2503         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2504         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2505         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2506         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2507         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2508         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2509         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2510         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2511         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2512         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2513         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2514         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2515         (feholdexcept): Likewise.
2516         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2517         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2518         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2519         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2520         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2521         __feholdexcept instead of feholdexcept.
2522         (default_libc_feholdexcept_setround): Likewise.
2524 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2526         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2527         to avoid using stl/str to align destination.
2529 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2531         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2533 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2535         [BZ #17796]
2536         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2537         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2538         Define as weak alias not strong alias.
2540 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2542         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2543         bltzal with addiupc.
2544         (RTLD_START): Ditto.
2546 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2548         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2549         for __vdso_* functions in declarations.
2550         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2551         definitions.
2552         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2553         INTERNAL_VSYSCALL): Use struct return types to check for error.
2555         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2556         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2557         function with cast from llround().
2558         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2559         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2560         Define.
2562 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2564         [BZ #17793]
2565         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2566         Define as weak alias not strong alias.
2568         [BZ #17635]
2569         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2570         ...
2571         * ctype/ctype-extn.c: ... here.
2572         (__isblank_l): Move to ...
2573         * ctype/ctype-c99_l.c: ... here.  New file.
2574         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2575         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2576         Remove variable.
2577         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2578         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2579         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2580         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2581         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2583         [BZ #17777]
2584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2585         (posix_fadvise64): Define as weak alias not strong alias.
2586         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2587         (posix_fallocate64): Likewise.
2588         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2589         Remove variable.
2590         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2591         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2592         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2593         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2594         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2596 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2598         [BZ #16191]
2599         * NEWS: Mention bug fix.
2600         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2601         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2602         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2603         (HOST_STACK_END_ADDR): Likewise.
2605 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2607         [BZ #17748]
2608         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2609         * math/fegetround.c (fegetround): Rename to __fegetround and
2610         define as weak alias of __fegetround.  Use libm_hidden_weak.
2611         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2612         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2613         * sysdeps/arm/fegetround.c (fegetround): Likewise.
2614         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2615         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2616         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2617         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2618         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2619         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2620         Undefine after rather than before function definition; use
2621         parentheses around function name in definition.
2622         (__fegetround): Also undefine macro after function definition.
2623         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2624         __fegetround and define as weak alias of __fegetround.  Use
2625         libm_hidden_weak.  Do not undefine as macro.
2626         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2627         Likewise.
2628         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2629         __fegetround and define as weak alias of __fegetround.  Use
2630         libm_hidden_weak.
2631         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2632         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2633         * sysdeps/tile/math_private.h (__fegetround): New inline function.
2634         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2635         __fegetround and define as weak alias of __fegetround.  Use
2636         libm_hidden_weak.
2637         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2638         __fegetround instead of fegetround.
2640         [BZ #17782]
2641         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2642         Condition macro definition on [__USE_MISC].
2644         [BZ #17781]
2645         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2646         (struct sigaction): Change type of sa_flags field to int.
2648         [BZ #17780]
2649         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2650         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2651         __glibc_reserved0.
2653         * nptl/version.c (banner): Use single year in copyright notice.
2655         * NEWS: Update copyright dates.
2656         * catgets/gencat.c (print_version): Likewise.
2657         * csu/version.c (banner): Likewise.
2658         * debug/catchsegv.sh: Likewise.
2659         * debug/pcprofiledump.c (print_version): Likewise.
2660         * debug/xtrace.sh (do_version): Likewise.
2661         * elf/ldconfig.c (print_version): Likewise.
2662         * elf/ldd.bash.in: Likewise.
2663         * elf/pldd.c (print_version): Likewise.
2664         * elf/sotruss.sh: Likewise.
2665         * elf/sprof.c (print_version): Likewise.
2666         * iconv/iconv_prog.c (print_version): Likewise.
2667         * iconv/iconvconfig.c (print_version): Likewise.
2668         * locale/programs/locale.c (print_version): Likewise.
2669         * locale/programs/localedef.c (print_version): Likewise.
2670         * login/programs/pt_chown.c (print_version): Likewise.
2671         * malloc/memusage.sh (do_version): Likewise.
2672         * malloc/memusagestat.c (print_version): Likewise.
2673         * malloc/mtrace.pl: Likewise.
2674         * manual/libc.texinfo: Likewise.
2675         * nptl/version.c (banner): Likewise.
2676         * nscd/nscd.c (print_version): Likewise.
2677         * nss/getent.c (print_version): Likewise.
2678         * nss/makedb.c (print_version): Likewise.
2679         * posix/getconf.c (main): Likewise.
2680         * scripts/test-installation.pl: Likewise.
2681         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2683 2015-01-02  Will Newton  <will.newton@linaro.org>
2685         * sysdeps/arm/armv7/configure: Removed.
2686         * sysdeps/arm/armv7/configure.ac: Likewise.
2688 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2690         * All files with FSF copyright notices: Update copyright dates
2691         using scripts/update-copyrights.
2692         * intl/plural.c: Regenerated.
2693         * locale/programs/charmap-kw.h: Likewise.
2694         * locale/programs/locfile-kw.h: Likewise.
2696 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2698         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2700 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2702         [BZ #17748]
2703         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2704         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2705         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2706         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2707         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2708         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2709         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2710         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2711         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2712         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2713         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2714         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2715         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2716         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2717         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2718         libm_hidden_def.
2719         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2721         Likewise.
2722         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2723         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2724         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2725         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2726         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2727         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2728         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2729         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2730         __fegetenv instead of fegetenv.
2731         (libc_feholdsetround_noex_ctx): Likewise.
2733 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2735         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2736         (Elf_MIPS_ABIFlags_v0): New structure.
2737         (EF_MIPS_FP64): Define.
2738         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2739         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2740         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2741         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2742         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2743         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2744         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2745         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2746         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2747         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2748         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2749         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2750         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2751         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2752         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2753         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2754         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2755         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2756         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2757         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2758         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2759         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2760         field.
2761         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2762         EF_MIPS_FP64.
2763         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2764         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2765         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2766         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2767         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2768         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2769         * sysdeps/mips/tst-abi-interlink.c: Likewise.
2770         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2771         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2772         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2773         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2774         record the current FP ABI extension.
2775         (mips-mode-switch): Define to show if kernel headers support mode
2776         switching.
2777         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2778         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2779         supported SYSV ABI version to 3.
2780         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2781         feature.
2783 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2784             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2786         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2787         path.
2788         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2790 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2792         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2793         __fegetround and redefine to call __fegetround.  Remove condition
2794         on [!__NO_MATH_INLINES].
2795         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2796         function.
2797         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2798         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2799         Remove macro.
2800         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2801         instead of <fenv_libc.h>.
2802         (__llrintl): Call fegetround instead of __fegetround.
2803         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2804         instead of <fenv_libc.h>.
2805         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2806         (__lrintl): Call fegetround instead of __fegetround.
2807         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2808         instead of <fenv_libc.h>.
2809         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2810         (__rintl): Call fegetround instead of __fegetround.
2812 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2814         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2815         arrays.
2817 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2819         [BZ #17775]
2820         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2821         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2822         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2824 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2826         * sysdeps/i386/tls-macros.h: Include <features.h>.
2827         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2828         (TLS_IE): Likewise.
2829         (TLS_LD): Likewise.
2830         (TLS_GD): Likewise.
2831         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2832         define for GCC >= 5.0.
2834 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2836         * math/test-fenv.c (test_single_exception, set_single_exc,
2837         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2838         feexcp_mask_test, feenable_test, fe_single_test): Add
2839         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2840         case where they are not used.
2841         * math/libm-test.inc: Likewise.
2842         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2843         unused in the absence of FP rounding/exception support.
2844         * stdio-common/tst-printf-round.c: Likewise.
2845         * stdlib/tst-strtod-round.c: Likewise.
2846         * stdlib/tst-strtod-underflow.c: Likewise.
2848 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2850         [BZ #17723]
2851         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2852         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2853         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2854         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2855         libm_hidden_weak.
2856         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2857         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2858         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2859         libm_hidden_def.
2860         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2861         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2862         libm_hidden_weak.
2863         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2864         Likewise.
2865         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2866         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2867         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2868         libm_hidden_weak.
2869         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2870         libm_hidden_def.
2871         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2872         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2873         (__feraiseexcept): Likewise.
2874         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2875         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2876         libm_hidden_weak.
2877         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2878         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2879         libm_hidden_def.
2880         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2881         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2882         Use libm_hidden_def.
2883         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2884         libm_hidden_def.
2885         (feraiseexcept): Define as weak not strong alias.  Use
2886         libm_hidden_weak.
2887         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2888         New inline function.  Factored out of ...
2889         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2890         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2891         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2892         feraiseexcept.
2893         * math/w_acos.c (__acos): Likewise.
2894         * math/w_asin.c (__asin): Likewise.
2895         * math/w_ilogb.c (__ilogb): Likewise.
2896         * math/w_j0.c (y0): Likewise.
2897         * math/w_j1.c (y1): Likewise.
2898         * math/w_jn.c (yn): Likewise.
2899         * math/w_log.c (__log): Likewise.
2900         * math/w_log10.c (__log10): Likewise.
2901         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2902         * sysdeps/aarch64/fpu/math_private.h
2903         (libc_feupdateenv_test_aarch64): Likewise.
2904         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2905         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2906         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2907         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2908         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2909         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2910         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2911         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2912         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2913         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2915 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2917         [BZ #17732]
2918         * io/test-utime.c (main): Replace %ld with %jd and cast to
2919         intmax_t.
2920         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2921         * nptl/tst-mutex5.c: Include <stdint.h>.
2922         (do_test): Replace %ld with %jd and cast to intmax_t.
2923         * posix/tst-regex.c (run_test): Likewise.
2924         (run_test_backwards): Likewise.
2925         * rt/tst-clock.c: Include <stdint.h>.
2926         (clock_test): Replace %ld with %jd and cast to intmax_t.
2927         * rt/tst-cpuclock1.c: Include <stdint.h>.
2928         (do_test): Replace %lu with %ju and cast to uintmax_t.
2929         * rt/tst-cpuclock2.c: Include <stdint.h>.
2930         (do_test): Replace %lu with %ju and cast to uintmax_t.
2931         * rt/tst-mqueue1.c: Include <stdint.h>.
2932         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2933         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2934         intmax_t.
2935         * rt/tst-mqueue4.c (do_test): Likewise.
2936         * rt/tst-timer4.c: Include <stdint.h>.
2937         (check_ts): Replace %ld with %jd and cast to intmax_t.
2938         (do_test): Likewise.
2939         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2940         and cast to intmax_t.
2941         * sysdeps/pthread/tst-timer.c (main): Likewise.
2942         * time/clocktest.c (main): Likewise.
2943         * time/tst-posixtz.c (do_test): Likewise.
2944         * timezone/tst-timezone.c (main): Likewise.
2946 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2947             H.J. Lu  <hongjiu.lu@intel.com>
2949         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2950         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2951         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2952         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2953         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2954         version if bit_Fast_Unaligned_Load is set.
2955         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2956         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2957         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2958         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2959         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2960         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2961         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2962         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2963         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2964         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2965         to 4.
2966         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2967         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2968         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2969         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2971 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2973         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2974         instead of #if to avoid a Wundef warning.
2975         * stdlib/tst-limits.c (do_test): Likewise.
2977         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2978         parallel other exception macros.
2979         (fegetenv): Convert from macro to extern inline so that it applies
2980         retroactively to inline functions already seen by the compiler.
2981         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2983         * posix/Makefile (before-compile): Use $(objpfx) for
2984         posix-conf-vars-def.h.
2986 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2988         * posix/getconf.c (main): Use size_t for type of I.
2989         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2990         NSPEC.
2992         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2993         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2994         * posix/posix-envs.def: Likewise.
2995         * sysdeps/posix/sysconf.c: Likewise.
2996         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2997         (specs): Remove array.
2998         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2999         array.
3001         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3002         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3003         (__sysconf): Use CONF_IS_* macros.
3005         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3006         ($(objpfx)posix-conf-vars-def.h): New target.
3007         * posix/posix-conf-vars.list: New file.
3008         * posix/posix-conf-vars.h: New file.
3009         * posix/confstr.c: Include posix-conf-vars.h.
3010         (confstr): Use CONF_IS_* macros.
3011         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3012         CONF_IS_* macros.
3013         * scripts/gen-posix-conf-vars.awk: New file.
3015 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3017         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3018         fegetround): Add no-op macros to avoid linknamespace issues.
3020         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3021         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3023         * sysdeps/unix/sysv/linux/tile/sysdep.h
3024         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3025         assembly-specific section to avoid a redefinition warning.
3027         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3028         long before casting to pointer to avoid a cast warning.
3030 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3032         * sysdeps/tile/tilegx/Implies: New file.
3034 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3036         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3038 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3040         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3042 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3044         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3045         not define.
3046         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3047         <kernel-features.h>.
3048         (__utimes) [__NR_utimes]: Make code unconditional.
3049         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3050         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3051         (__ASSUME_UTIMES): Do not undefine.
3052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3053         (__ASSUME_UTIMES): Likewise.
3054         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3055         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3056         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3057         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3059 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3061         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3063 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3065         [BZ #17747]
3066         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3067         alias to weak alias for j0l, y0l.
3068         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3069         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3071         [BZ #17746]
3072         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3073         conversion.
3075 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3077         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3078         to zero if not already defined.
3080 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3082         [BZ #17724]
3083         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3084         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3085         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3086         (char *) casts added.
3087         * sysdeps/ieee754/k_standardf.c: New file.
3088         * sysdeps/ieee754/k_standardl.c: Likewise.
3089         * math/Makefile (libm-support): Remove k_standard.
3090         (libm-calls): Add k_standard.
3092 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3094         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3095         Optimize to avoid an unnecessary FPCR read.
3097 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3099         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3100         Optimize to reduce FPCR/FPSR accesses.
3102 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3104         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3105         Call libc_fetestexcept_aarch64.
3107 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3109         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3110         Call libc_fesetround_aarch64.
3112 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3114         [BZ #17733]
3115         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3116         (__bind): Do not define as weak alias.
3117         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3118         define.
3119         (__getsockname): Do not define as weak alias.
3121 2014-12-22  Will Newton  <will.newton@linaro.org>
3123         * manual/install.texi: Document that we require bison 2.7
3124         or above.
3125         * INSTALL: Regenerate.
3126         * configure.ac: Use AC_CHECK_PROG_VER instead of
3127         AC_PATH_PROG when checking for bison and check for
3128         version 2.7 or above.
3129         * configure: Regenerate.
3131 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3133         [BZ #17745]
3134         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3135         * sysdeps/tile/ffsll.c (ffsll): To here.
3137         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3139 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3141         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3142         if not defined.
3143         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3144         definition.
3145         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3146         hidden ___tls_get_addr.
3147         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3148         hidden __tls_get_addr.
3149         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3150         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3151         Likewise.
3153 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3155         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3156         _dl_init call.
3158 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3160         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3161         from "call _dl_init@PLT".
3162         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3164 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3166         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3167         guarantees.
3169 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3171         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3173 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3175         [BZ #17744]
3176         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3177         strnlen.
3179 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3181         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3182         of multu on MIPSr6.
3183         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3184         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3185         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3186         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3187         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3189 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3191         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3192         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3193         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3194         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3195         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3196         mips32r6/mips64r6.
3197         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3199 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3201         * string/strncat.c (STRNCAT): Simplify implementation.
3203 2014-12-19  David S. Miller  <davem@davemloft.net>
3205         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3206         access the quad as both a long double and as a series of 4 words.
3208         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3209         link_map->l_info array access.
3211 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3213         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3215         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3216         * math/atest-exp2.c (TIMEOUT): Likewise.
3217         * math/atest-sincos.c (TIMEOUT): Likewise.
3219 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3221         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3222         -Wno-error with -fno-builtin-lround.
3224 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3226         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3227         Contains futex constants and functions moved over from ...
3228         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3229         <lowlevellock-futex.h>.
3230         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3231         (lll_timedwait_tid): Add comments and parentheses around macro
3232         arguments.
3234 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3237         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3238         (__lll_private_flag): Remove.
3239         (lll_futex_wait): Likewise.
3240         (lll_futex_timed_wait): Likewise.
3241         (lll_futex_wake): Likewise.
3242         (lll_futex_requeue): Likewise.
3243         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3244         (__lll_timedwait_tid): Spell out argument names.
3245         (lll_timedwait_tid): Add comments and parentheses around macro
3246         arguments.
3247         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3248         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3250 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3252         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3253         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3255         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3256         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3257         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3258         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3259         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3260         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3261         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3262         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3264         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3266         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3267         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3268         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3269         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3270         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3272 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3274         * sysdeps/x86_64/x32/Makefile: New file.
3276 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3278         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3279         1L with (mp_limb_t) 1.
3281 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3283         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3284         * nptl/libc_pthread_init.c: ... here.
3285         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3286         * nptl/register-atfork.c: ... here.
3288         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3289         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3290         Use assert_perror to check its return value.
3291         (__gai_create_helper_thread): Likewise.
3293         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3295         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3297 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3299         [BZ #17725]
3300         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3301         __profil_counter.
3302         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3303         Likewise.
3304         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3305         Likewise.
3306         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3307         Likewise.
3308         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3309         (profil_counter): Likewise.
3310         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3311         (profil_counter): Likewise.
3312         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3313         Likewise.
3314         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3315         Likewise.
3316         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3317         (profil_counter): Likewise.
3318         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3319         Likewise.
3320         [!__profil_counter] (profil_counter): Define as weak alias of
3321         __profil_counter.
3322         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3323         (profil_counter): Rename to __profil_counter.
3324         [!__profil_counter] (profil_counter): Define as weak alias of
3325         __profil_counter.
3326         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3327         (profil_counter): Rename to __profil_counter.
3328         [!__profil_counter] (profil_counter): Define as weak alias of
3329         __profil_counter.
3330         * sysdeps/posix/profil.c: Update comment referring to
3331         profil_counter.
3332         (__profil): Use __profil_counter instead of profil_counter.
3333         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3334         __profil_counter.  Use __profil_counter_ushort and
3335         __profil_counter_uint in definitions.
3336         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3337         instead of profil_counter_uint and profil_counter_ushort.
3339         [BZ #17722]
3340         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3341         define as weak alias of __inet_makeaddr.
3342         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3343         as weak alias of __inet_addr.
3344         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3345         as weak alias of __inet_pton.  Use libc_hidden_weak.
3346         * include/arpa/inet.h (__inet_pton): Declare.  Use
3347         libc_hidden_proto.
3348         (inet_makeaddr): Don't use libc_hidden_proto.
3349         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3350         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3351         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3352         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3353         Remove variable.
3354         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3355         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3357 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3359         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3361 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3363         * stdio-common/bug-vfprintf-nargs.c (do_test):
3364         Cast value to intptr_t to avoid format warning
3365         for usage with PRIdPTR printing macro.
3367 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3369         * libio/tst-widetext.c (do_test):
3370         Use format type %td instead of %Zd for ptrdiff_t
3371         in order to avoid format warning.
3373 2014-12-17  Andreas Schwab  <schwab@suse.de>
3375         * nscd/mem.c (gc): Add size_t cast to match printf format.
3377 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3379         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3380         (init): Apply PTR_MANGLE to pointers before storing them.
3381         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3382         before using them.
3384 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3386         [BZ #17719]
3387         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3388         define as weak alias of __memrchr.
3389         (__memrchr): Do not define as strong alias of memrchr.
3390         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3391         Remove variable.
3392         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3393         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3394         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3396         [BZ #17717]
3397         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3398         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3399         (if_indextoname): Rename to __if_indextoname and define as weak
3400         alias of __if_indextoname.  Use libc_hidden_weak.
3401         (if_freenameindex): Rename to __if_freenameindex and define as
3402         weak alias of __if_freenameindex.
3403         (if_nameindex): Rename to __if_nameindex and define as weak alias
3404         of __if_nameindex.
3405         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3406         __if_nametoindex and define as weak alias of __if_nametoindex.
3407         Use libc_hidden_weak.
3408         (if_freenameindex): Rename to __if_freenameindex and define as
3409         weak alias of __if_freenameindex.
3410         (if_nameindex): Rename to __if_nameindex and define as weak alias
3411         of __if_nameindex.
3412         (if_indextoname): Rename to __if_indextoname and define as weak
3413         alias of __if_indextoname.  Use libc_hidden_weak.
3414         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3415         __if_nametoindex and define as weak alias of __if_nametoindex.
3416         Use libc_hidden_weak.
3417         (if_freenameindex): Rename to __if_freenameindex and define as
3418         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3419         (if_nameindex_netlink): Use __if_freenameindex instead of
3420         if_freenameindex.
3421         (if_nameindex): Rename to __if_nameindex and define as weak alias
3422         of __if_nameindex.  Use libc_hidden_weak.
3423         (if_indextoname): Rename to __if_indextoname and define as weak
3424         alias of __if_indextoname.  Use libc_hidden_weak.
3425         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3426         libc_hidden_proto.
3427         [!_ISOMAC] (__if_freenameindex): Likewise.
3428         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3429         if_nametoindex.
3430         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3431         variable.
3432         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3433         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3434         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3435         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3436         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3437         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3438         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3440         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3441         Remove variable.
3442         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3443         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3445 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3447         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3448         subscript above bounds'
3450         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3451         bounds.
3453 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3455         * libio/tst-fopenloc.c: Use test-skeleton.c.
3457         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3458         (entry): Rename to ITEM.
3459         (do_test, comp): Adjust.
3461         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3463 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3465         * string/tester.c: Include <libc-internal.h>.
3466         (test_memset): Ignore -Wmemset-transposed-args.
3468 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3470         * misc/tst-mntent2.c (do_test): Fix warning.
3472 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3474         * elf/tst-unique4lib.cc(a): Mark as used.
3476 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3478         [BZ #17630]
3479         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3480         names.
3482 2014-12-16  Allan McRae  <allan@archlinux.org>
3484         * stdio-common/Makefile (tests): Re-add bug26.
3486 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3488         [BZ #17657]
3489         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3490         static array.
3492 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3494         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3495         (__lll_lock_wait): Likewise.
3496         (__lll_timedlock_wait): Likewise.
3497         (__lll_timedwait_tid): Likewise.
3498         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3499         (__lll_robust_timedlock_wait): Likewise.
3500         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3501         (lll_cond_trylock): Likewise.
3502         (__lll_lock): Likewise.
3503         (__lll_robust_lock): Likewise.
3504         (__lll_cond_lock): Likewise.
3505         (lll_robust_cond_lock): Likewise.
3506         (__lll_timedlock): Likewise.
3507         (__lll_robust_timedlock): Likewise.
3508         (__lll_unlock): Likewise.
3509         (__lll_robust_unlock): Likewise.
3510         (lll_wait_tid): Likewise.
3511         (lll_timedwait_tid): Likewise.
3513 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3515         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3517 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3519         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3521 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3523         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3524         * stdio-common/tst-sprintf.c: Likewise.
3526 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3528         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3530 2014-12-15  Jeff Law  <law@redhat.com>
3532         [BZ #16617]
3533         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3534         on the heap.  (CVE-2012-3406)
3535         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3536         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3537         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3539 2014-12-15  Will Newton  <will.newton@linaro.org>
3541         * manual/install.texi: Bump required version of texinfo
3542         to 4.7 from 4.5.
3543         * INSTALL: Regenerated.
3544         * configure.ac: Check for makeinfo version 4.7 and above.
3545         * configure: Regenerated.
3547 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3549         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3550         PREFIX, string constant to insert between directory and name.
3551         * sysdeps/posix/shm_open.c: Update caller.
3552         * sysdeps/posix/shm_unlink.c: Likewise.
3553         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3554         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3555         (SEM_SHM_PREFIX): New macro.
3556         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3557         [$(have-thread-library) = no].
3558         * nptl/Makefile (libpthread-routines): Add shm-directory.
3559         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3560         * sysdeps/nptl/shm-directory.h: New file.
3561         * sysdeps/posix/shm-directory.c
3562         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3563         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3564         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3565         INTERNAL_SYSCALL.
3566         (__where_is_shmfs): Function removed.
3567         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3568         Variables removed.
3569         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3570         Use SHM_GET_NAME.
3571         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3573         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3574         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3575         unconditional for use inside libpthread.
3576         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3578 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3580         * nptl/pthread_getaffinity.c: New file.
3581         * nptl/pthread_setaffinity.c: New file.
3582         * nptl/pthread_getname.c: New file.
3583         * nptl/pthread_setname.c: New file.
3585         * nptl/pthread_create.c (START_THREAD_DEFN)
3586         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3588 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3589             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3591         * resolv/res_send.c (send_vc): Disable warning resplen may
3592         be used uninitialized.
3594 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3596         * nptl/tst-mutex6.c
3597         (ATTR_NULL): New define checks ATTR against NULL.
3598         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3599         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3601 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3603         [BZ #17581]
3604         * malloc/hooks.c
3605         (mem2mem_check): Revert my previous change.
3606         (malloc_check_get_size): Revert my previous change.
3607         (mem2chunk_check): Revert my previous change.
3609 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3611         * sysdeps/posix/shm-directory.c: New file.
3612         * sysdeps/posix/shm-directory.h: New file.
3613         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3614         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3615         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
3616         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3617         Transmute EPERM to EACCES.
3618         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3619         from ...
3620         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
3621         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3623 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3625         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3626         pointer and cast to uintptr_t.
3627         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3628         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3629         Add cast to avoid warning.
3630         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3632 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3634         * nptl/semaphore.h: Move to ...
3635         * sysdeps/pthread/semaphore.h: ... here.
3636         * Makefile (installed-headers): Change nptl/semaphore.h to
3637         sysdeps/pthread/semaphore.h.
3639 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3641         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3642         generated error format strings.
3644         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3645         -Wformat-extra-args warnings for scanf formats.
3646         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3647         test of zero-length format (duh).
3648         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3649         corner-case scanf format test.
3650         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3651         generated fprintf format string.
3652         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3653         corner-case sprintf format tests.
3654         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3655         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3656         -Wformat-extra-args warnings throughout.
3657         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3658         (CFLAGS-scanf4.c): Likewise.
3659         (CFLAGS-scanf7.c): Likewise.
3660         (CFLAGS-tst-sprintf.c): Likewise.
3661         (CFLAGS-tst-printf.c): Likewise.
3662         (CFLAGS-tst-printfsz.c): Likewise.
3664 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3666         * include/cpio.h: New file.
3667         * include/fmtmsg.h: Likewise.
3669         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
3670         corresponding format argument to size_t.
3671         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
3672         arguments.
3673         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
3674         corresponding format argument to size_t.
3675         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
3676         arguments.
3677         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
3678         corresponding format argument to size_t.
3679         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3680         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3681         (CFLAGS-tst-mbswcs2.c): Likewise.
3682         (CFLAGS-tst-mbswcs3.c): Likewise.
3683         (CFLAGS-tst-mbswcs4.c): Likewise.
3684         (CFLAGS-tst-mbswcs5.c): Likewise.
3685         (CFLAGS-tst-trans.c): Likewise
3687 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3689         * posix/regexbug1.c (main): Use "%s" format with regerror results,
3690         rather than assuming they won't contain any '%'s.
3692 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
3694         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3695         inhibit_loop_to_libcall to avoid recursive calls.
3696         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3697         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3699 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3701         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3702         prototype.
3704 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3706         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3707         integer value instead of boolean.
3709 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3711         * malloc/malloc.c: Fix powerof2 check.
3713 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3715         * locale/programs/locfile.h (maybe_swap_uint32):
3716         Remove inline and add unused attribute.
3718 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3720         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3721         Truncating assembler expression to a .long expression.
3723 2014-12-11  Andreas Schwab  <schwab@suse.de>
3725         * elf/rtld.c (struct map_args): Constify str member.
3726         (do_preload): Constify fname argument.
3728 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3731         constants definition.
3733 2014-12-11  Andreas Schwab  <schwab@suse.de>
3735         [BZ #16657]
3736         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3737         FORCE_ELISION instead of DO_ELISION.
3738         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3739         Remove.
3740         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3741         Likewise.
3743         * iconvdata/gconv-modules: Remove duplicate entry.
3745 2014-12-11  Will Newton  <will.newton@linaro.org>
3747         Merge gettext 0.19.3 into intl/.
3749         This involves a number of cosmetic changes to comments
3750         and ANSI function definitions and prototypes throughout
3751         all the files. The gettext copyright header is used but
3752         with the date ranges taken from the glibc copy.
3754         * NEWS: Add gettext merge to 2.21.
3755         * intl/bindtextdom.c: Switch to gettext copyright.
3756         Use ANSI definitions and prototypes.
3757         Use gl_* locking primitives rather than __libc_* ones.
3758         Use __builtin_expect rather than __glibc_likely/unlikely.
3759         * intl/dcgettext.c: Switch to gettext copyright.
3760         Use ANSI definitions and prototypes.
3761         * intl/dcigettext.c: Switch to gettext copyright.
3762         Use ANSI definitions and prototypes.
3763         (INTDIV0_RAISES_SIGFPE): New define.
3764         Use gl_* locking primitives rather than __libc_* ones.
3765         Include eval-plural.h instead of plural-eval.c.
3766         Use __builtin_expect rather than __glibc_likely/unlikely.
3767         * intl/dcngettext.c: Switch to gettext copyright.
3768         Use ANSI definitions and prototypes.
3769         * intl/dgettext.c: Likewise.
3770         * intl/dngettext.c: Likewise.
3771         * intl/plural-eval.c: Renamed to...
3772         * intl/eval-plural.h: ...this.
3773         * intl/explodename.c: Switch to gettext copyright.
3774         Use ANSI definitions and prototypes.
3775         (_nl_explode_name): Use strchr instead of __rawmemchr.
3776         * intl/finddomain.c: Switch to gettext copyright.
3777         Use ANSI definitions and prototypes.
3778         Use gl_* locking primitives rather than __libc_* ones.
3779         (_nl_find_domain): Use malloc rather than alloca for
3780         allocation of temporary locale name.
3781         * intl/gettext.c: Switch to gettext copyright.
3782         Use ANSI definitions and prototypes.
3783         * intl/gettextP.h: Switch to gettext copyright.
3784         Use ANSI definitions and prototypes.
3785         Use gl_* locking primitives rather than __libc_* ones.
3786         * intl/gmo.h: Switch to gettext copyright.
3787         (struct sysdep_string): Move struct segment_pair outside of
3788         struct definition.
3789         * intl/hash-string.c: Use ANSI definitions and prototypes.
3790         * intl/hash-string.h: Switch to gettext copyright.
3791         Use ANSI definitions and prototypes.
3792         * intl/l10nflist.c: Switch to gettext copyright.
3793         Use ANSI definitions and prototypes.
3794         (_nl_normalize_codeset): Avoid integer overflow.
3795         * intl/loadinfo.h: Switch to gettext copyright.
3796         Use ANSI definitions and prototypes.
3797         (LIBINTL_DLL_EXPORTED): New define.
3798         (PATH_SEPARATOR): New define.
3799         * intl/loadmsgcat.c: Switch to gettext copyright.
3800         * intl/localealias.c: Switch to gettext copyright.
3801         Use ANSI definitions and prototypes.
3802         (_nl_expand_alias): Use PATH_SEPARATOR.
3803         * intl/ngettext.c: Switch to gettext copyright.
3804         Use ANSI definitions and prototypes.
3805         * intl/plural-exp.c: Likewise.
3806         * intl/plural-exp.h: Switch to gettext copyright.
3807         Use ANSI definitions and prototypes.
3808         (struct expression): Move definition of enum operator outside
3809         of struct definition.
3810         * intl/plural.c: Regenerate.
3811         * intl/plural.y: Switch to gettext copyright.
3812         Use ANSI definitions and prototypes.
3813         Port to bison 3.0.
3814         * intl/textdomain.c: Switch to gettext copyright.
3815         Use ANSI definitions and prototypes.
3816         Use gl_* locking primitives rather than __libc_* ones.
3818 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3820         * debug/warning-nop.c: Add used atrribute.
3822 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3824         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3826         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3827         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3828         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3830 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3831             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3833         [BZ #17634]
3834         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3835         Undefine after defining function.  Define as weak alias of
3836         __wcschr.  Use libc_hidden_weak.
3837         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3838         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3839         (libc_hidden_def): Also define __GI___wcschr alias.
3840         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3841         __wcschr and define as weak alias of __wcschr.
3842         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3843         __wcschr.
3844         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3845         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3846         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3847         libc_hidden_weak.  Do not use libc_hidden_def.
3848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3849         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3850         __GI___wcschr alias.
3851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3852         [IS_IN (libc)] (wcschr): Define as macro expanding to
3853         __redirect_wcschr.
3854         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3855         [IS_IN (libc)] (__wcschr_power6): Likewise.
3856         [IS_IN (libc)] (__wcschr_power7): Likewise.
3857         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3858         instead of wcschr.
3859         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3860         __libc_wcschr.
3861         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3862         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3863         __wcschr and define as weak alias of __wcschr.  Use
3864         libc_hidden_builtin_def.
3865         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3866         as weak alias of __wcschr.  Use libc_hidden_weak.
3867         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3868         wcschr.
3869         * time/era.c (_nl_init_era_entries): Likewise.
3870         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3871         variable.
3872         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3873         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3875 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3877         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3878         format for long int variable.
3880 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3882         [BZ #10672]
3883         * manual/search.texi: (Array Sort Function): Remove claim how to make
3884         qsort stable.
3886 2014-12-10  Andreas Schwab  <schwab@suse.de>
3888         [BZ #12847]
3889         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3890         user-controlled locks.
3892 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3894         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3895         register.
3897 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3899         * configure.ac (--disable-werror): New configure option.
3900         (enable_werror): New AC_SUBST.
3901         * configure: Regenerated.
3902         * config.make.in (enable-werror): New variable.
3903         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3904         -Wno-error=undef.
3905         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3906         * manual/install.texi (Configuring and compiling): Document
3907         --disable-werror.
3908         * INSTALL: Regenerated.
3909         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3910         (CFLAGS-tst-chk2.c): Likewise.
3911         (CFLAGS-tst-chk3.c): Likewise.
3912         (CFLAGS-tst-chk4.cc): Likewise.
3913         (CFLAGS-tst-chk5.cc): Likewise.
3914         (CFLAGS-tst-chk6.cc): Likewise.
3915         (CFLAGS-tst-lfschk1.c): Likewise.
3916         (CFLAGS-tst-lfschk2.c): Likewise.
3917         (CFLAGS-tst-lfschk3.c): Likewise.
3918         (CFLAGS-tst-lfschk4.cc): Likewise.
3919         (CFLAGS-tst-lfschk5.cc): Likewise.
3920         (CFLAGS-tst-lfschk6.cc): Likewise.
3922         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3923         (main): Disable -Wdeprecated-declarations around calls to
3924         register_printf_function.
3926         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3927         (do_test): Disable -Wdiv-by-zero around some calls to
3928         fwrite_unlocked and fread_unlocked.
3930         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3931         (DIAG_POP_NEEDS_COMMENT): Likewise.
3932         (_DIAG_STR1): Likewise.
3933         (_DIAG_STR): Likewise.
3934         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3935         * stdio-common/bug21.c: Include <libc-internal.h>.
3936         (do_test): Disable -Wformat around call to sscanf.
3937         * stdio-common/scanf14.c: Include <libc-internal.h>.
3938         (main): Disable -Wformat around some calls to scanf functions.
3940 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3942         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3944 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3946         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3947         stack variable alignment.
3949 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3951         [BZ #17682]
3952         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3953         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3954         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3955         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3956         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3957         __getrlimit instead of getrlimit.
3958         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3959         __gettimeofday instead of gettimeofday.
3960         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3961         Likewise.
3962         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3963         Likewise.
3964         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3965         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3966         Remove variable.
3967         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3968         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3970 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3972         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3973         for wide-character tests.
3975 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3977         * io/openat64.c: #include <libc-internal.h>
3978         (__openat64): Prototypify.  Use ignore_value on MODE.
3979         * io/openat.c: Likewise.
3980         * misc/reboot.c: #include <libc-internal.h>
3981         (reboot): Prototypify.  Use ignore_value on HOWTO.
3982         * misc/ptrace.c: #include <libc-internal.h>
3983         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3985 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3987         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3988         XPG4, UNIX98 and XOPEN2K.
3989         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3990         Remove variable.
3991         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3993 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3995         * libio/fileops.c: Use ISO C style for function definitions.
3996         * libio/iofopen.c: Likewise.
3997         * libio/wfileops.c: Likewise.
3999         [BZ #17653]
4000         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4001         offset on EOF.
4002         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4003         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4004         (fgets_func): Function pointer to fgets and fgetws.
4005         (do_ftell_test): Add test to verify ftell value after read
4006         EOF.
4007         (do_test): Set fgets_func.
4009         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4010         O_TRUNC flag for w and w+ modes.
4011         (do_rewind_test): Likewise.
4012         (do_ftell_test): Likewise.
4013         (do_write_test): Likewise.
4015         [BZ #17647]
4016         * libio/fileops.c (do_ftell): Seek only when there are
4017         unflushed writes.
4018         * libio/wfileops.c (do_ftell_wide): Likewise.
4019         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4020         test case.
4021         (do_one_test): Call it.
4023 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4025         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4026         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4027         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4028         Remove variable.
4029         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4030         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4031         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4033 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4035         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4036         Remove variable.
4037         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4039         [BZ #17668]
4040         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4041         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4042         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4043         __freeifaddrs.  Use libc_hidden_weak.
4044         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4045         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4046         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4047         __freeifaddrs.  Use libc_hidden_weak.
4048         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4049         __getifaddrs and define as weak alias of __getifaddrs.  Use
4050         libc_hidden_weak.
4051         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4052         __freeifaddrs.  Use libc_hidden_weak.
4053         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4054         Remove variable.
4055         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4056         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4058 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4060         [BZ #17601]
4061         * sysdeps/mips/start.S (__start): Use indirect jump to call
4062         __libc_start_main.
4064 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4066         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4068         * nptl/tst-mutex1.c: Include <stdbool.h>.
4069         [!ATTR] (ATTR_NULL): New macro.
4070         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4071         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4072         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4074         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4075         to char *.
4077         [BZ #17665]
4078         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4079         Change conditional to [__USE_MISC].
4081         [BZ #17664]
4082         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4083         fgets_unlocked.
4084         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4085         __fgets_unlocked.
4086         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4087         fgets_unlocked.
4088         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4089         Remove variable.
4090         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4091         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4092         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4093         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4094         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4095         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4096         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4097         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4098         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4100         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4102 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4104         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4105         Remove strpbrk objects.
4106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4107         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4108         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4109         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4110         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4111         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4114         Remove strcspn objects.
4115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4116         (__libc_ifunc_impl_list): Remove strcspn implementation.
4117         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4118         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4119         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4120         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4123         Remove strspn objetcs.
4124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4125         (__libc_ifunc_impl_list): Remove strspn implementation.
4126         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4127         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4128         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4129         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4131 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4133         [BZ #17581]
4134         * malloc/hooks.c
4135         (mem2mem_check): Add a terminator to the chain of checking blocks.
4136         (malloc_check_get_size): Use it here.
4137         (mem2chunk_check): Ditto.
4139 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4141         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4142         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4144 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4146         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4148         * nptl/nptl-init.c: Include libc-internal.h.
4149         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4151         * elf/ldconfig.c (search_dir): Expand comment.
4153 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4155         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4156         variable.
4157         (linknamespace-symlist-stdlibs-tests): Likewise.
4158         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4159         instead of $(objpfx)symlist-stdlibs.
4160         (linknamespace-libs-isoc): New variable.
4161         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4162         (linknamespace-libs-ISO): New variable.
4163         (linknamespace-libs-ISO99): Likewise.
4164         (linknamespace-libs-ISO11): Likewise.
4165         (linknamespace-libs-XPG3): Likewise.
4166         (linknamespace-libs-XPG4): Likewise.
4167         (linknamespace-libs-POSIX): Likewise.
4168         (linknamespace-libs-UNIX98): Likewise.
4169         (linknamespace-libs-XOPEN2K): Likewise.
4170         (linknamespace-libs-POSIX2008): Likewise.
4171         (linknamespace-libs-XOPEN2K8): Likewise.
4172         ($(objpfx)symlist-stdlibs): Replace by
4173         $(linknamespace-symlist-stdlibs-tests).  Use
4174         $(linknamespace-libs-$*) as set of libraries.
4175         ($(linknamespace-header-tests)): Update dependencies.  Use
4176         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4177         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4178         * conform/linknamespace.pl: Remove comment about considering
4179         definitions of symbols from irrelevant libraries.
4181 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4183         [BZ #13862]
4184         * elf/dl-tls.c: Include <atomic.h>.
4185         (oom): Remove #ifdef SHARED/#endif.
4186         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4187         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4188         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4189         big enough.
4190         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4191         * nptl/Makefile (tests): Add tst-stack4.
4192         (modules-names): Add tst-stack4mod.
4193         ($(objpfx)tst-stack4): New.
4194         (tst-stack4mod.sos): Likewise.
4195         ($(objpfx)tst-stack4.out): Likewise.
4196         ($(tst-stack4mod.sos)): Likewise.
4197         (clean): Likewise.
4198         * nptl/tst-stack4.c: New file.
4199         * nptl/tst-stack4mod.c: Likewise.
4201 2014-11-27  J. Brown  <jb999@gmx.de>
4203         * sysdeps/x86/bits/string.h: Add recent CPUs.
4205 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4207         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4208         sigblock.
4210         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4211         feof.
4213         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4214         variable.
4216 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4218         * nscd/connections.c: Include libc-internal.h because of macro
4219         usage ignore_value.
4221 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4223         * string/bits/string3.h (__warn_memset_zero_len): Don't
4224         declare for gcc newer than 5.0.
4225         (memset): Don't test for zero-length __LEN for gcc newer than
4226         5.0.
4228 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4230         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4231         size_t for %zu format.
4233         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4234         difference, not %ju.
4236 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4238         * include/libc-internal.h (ignore_value): New macro.
4239         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4240         with ignore_value.
4242         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4243         definition.
4245         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4246         pthread_cleanup_push to void *.
4248         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4249         Undefine.
4251         [BZ #16619]
4252         [BZ #16740]
4253         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4254         instead of 1L << 52.
4256         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4257         * libio/bug-rewind2.c (do_test): Likewise.
4259         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4260         * debug/test-strcpy_chk-ifunc.c: Likewise.
4261         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4262         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4263         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4264         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4265         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4266         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4267         * Rules [$(multi-arch) = no] (tests): Do not filter out
4268         $(tests-ifunc).
4269         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4270         * debug/Makefile (tests-ifunc): Remove variable.
4271         (tests): Do not add $(tests-ifunc).
4272         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4273         (tests): Do not add $(tests-ifunc).
4274         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4275         [TEST_IFUNC]: Remove conditionals.
4276         * string/test-string.h (TEST_IFUNC): Remove macro.
4277         [TEST_IFUNC]: Remove conditionals.
4279         * string/test-strchr.c [!WIDE] (L): New macro.
4280         [WIDE] (L): Likewise.
4281         (check1): Use CHAR instead of char.  Use L on string and character
4282         constants.
4284 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4286         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4287         tests.
4288         * sysdeps/powerpc/bits/atomic.h
4289         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4290         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4291         (atomic_exchange_and_add_acq): Likewise.
4292         (atomic_exchange_and_add_rel): Likewise.
4293         * sysdeps/powerpc/powerpc32/bits/atomic.h
4294         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4295         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4296         * sysdeps/powerpc/powerpc64/bits/atomic.h
4297         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4298         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4300 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4302         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4303         Change synchronization of __sched_fifo_min_prio and
4304         __sched_fifo_max_prio.
4305         * nptl/pthread_mutexattr_getprioceiling.c
4306         (pthread_mutexattr_getprioceiling): Likewise.
4307         * nptl/pthread_mutexattr_setprioceiling.c
4308         (pthread_mutexattr_setprioceiling): Likewise.
4309         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4310         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4311         Likewise.
4313 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4315         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4316         void.
4318 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4320         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4321         third argument const.
4323 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4325         fnmatch: work around GCC compiler warning bug with uninit var
4326         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4327         This works around a bug with x86-64 GCC 4.9.2 and earlier
4328         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4329         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4330         used uninitialized in this function [-Wmaybe-uninitialized]".
4332 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4334         * posix/bug-regex31.c (main): Return RES not 0.
4336 2014-11-25  Anton Blanchard <anton@samba.org>
4338         * sysdeps/powerpc/bits/atomic.h
4339         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4341 2014-11-24  Sterling Augustine  <saugustine@google.com>
4343         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4345 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4347         [BZ #17608]
4348         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4350 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4352         [BZ #17633]
4353         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4354         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4355         variable.
4356         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4357         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4359 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4361         * string/strncpy.c (strncpy): Improve performance by using memset.
4363 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4365         * string/strcpy.c (strcpy):
4366         Improve performance by using strlen and memcpy.
4368 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4370         * string/strcoll_l.c (get_next_seq): __always_inline.
4371         * string/strcoll_l.c (do_compare): __always_inline.
4373 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4375         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4376         defined.
4377         * include/mqueue.h: Likewise.
4378         * include/stdlib.h: Likewise.
4380         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4381         (get_null_defines): Adjust.
4382         * sunrpc/Makefile: Adjust comment.
4383         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4384         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4385         (CFLAGS-interp.c): Likewise.
4386         (CFLAGS-ldconfig.c): Likewise.
4387         (CPPFLAGS-.os): Likewise.
4388         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4389         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4390         * extra-modules.mk (extra-modules.mk): Likewise.
4391         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4392         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4393         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4394         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4395         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4396         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4397         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4398         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4399         * iconvdata/Makefile (CPPFLAGS): Likewise.
4400         (cpp-srcs-left): Add libof for all iconvdata routines.
4401         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4402         * include/assert.h: Likewise.
4403         * include/ctype.h: Likewise.
4404         * include/errno.h: Likewise.
4405         * include/libc-symbols.h: Likewise.
4406         * include/math.h: Likewise.
4407         * include/netdb.h: Likewise.
4408         * include/resolv.h: Likewise.
4409         * include/stdio.h: Likewise.
4410         * include/stdlib.h: Likewise.
4411         * include/string.h: Likewise.
4412         * include/sys/stat.h: Likewise.
4413         * include/wctype.h: Likewise.
4414         * intl/l10nflist.c: Likewise.
4415         * libidn/idn-stub.c: Likewise.
4416         * libio/libioP.h: Likewise.
4417         * nptl/libc_multiple_threads.c: Likewise.
4418         * nptl/pthreadP.h: Likewise.
4419         * posix/regex_internal.h: Likewise.
4420         * resolv/res_hconf.c: Likewise.
4421         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4422         * sysdeps/arm/memmove.S: Likewise.
4423         * sysdeps/arm/sysdep.h: Likewise.
4424         * sysdeps/generic/_itoa.h: Likewise.
4425         * sysdeps/generic/symbol-hacks.h: Likewise.
4426         * sysdeps/gnu/errlist.awk: Likewise.
4427         * sysdeps/gnu/errlist.c: Likewise.
4428         * sysdeps/i386/i586/memcpy.S: Likewise.
4429         * sysdeps/i386/i586/memset.S: Likewise.
4430         * sysdeps/i386/i686/memcpy.S: Likewise.
4431         * sysdeps/i386/i686/memmove.S: Likewise.
4432         * sysdeps/i386/i686/mempcpy.S: Likewise.
4433         * sysdeps/i386/i686/memset.S: Likewise.
4434         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4435         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4436         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4437         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4438         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4439         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4440         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4441         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4442         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4443         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4444         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4445         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4446         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4447         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4448         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4449         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4450         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4451         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4452         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4453         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4454         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4455         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4456         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4457         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4458         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4459         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4460         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4461         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4462         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4463         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4464         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4465         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4466         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4467         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4468         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4470         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4471         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4472         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4473         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4474         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4475         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4476         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4477         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4478         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4479         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4480         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4481         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4482         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4483         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4484         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4485         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4486         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4487         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4488         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4489         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4490         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4491         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4492         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4493         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4494         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4495         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4496         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4497         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4498         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4499         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4500         * sysdeps/posix/closedir.c: Likewise.
4501         * sysdeps/posix/opendir.c: Likewise.
4502         * sysdeps/posix/readdir.c: Likewise.
4503         * sysdeps/posix/rewinddir.c: Likewise.
4504         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4505         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4506         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4507         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4508         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4509         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4510         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4515         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4516         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4517         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4518         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4519         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4520         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4521         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4522         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4523         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4524         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4525         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4526         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4527         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4528         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4530         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4531         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4532         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4539         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4540         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4541         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4542         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4543         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4544         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4545         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4546         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4548         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4549         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4550         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4551         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4552         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4553         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4554         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4555         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4558         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4561         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4562         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4563         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4564         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4565         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4567         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4568         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4569         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4570         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4571         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4572         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4573         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4574         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4575         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4576         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4577         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4578         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4579         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4580         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4581         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4582         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4583         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4584         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4585         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4586         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4587         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4588         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4589         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4590         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4591         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4592         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4593         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4594         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4595         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4596         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4600         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4601         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4602         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4603         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4604         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4605         * sysdeps/unix/alpha/sysdep.S: Likewise.
4606         * sysdeps/unix/alpha/sysdep.h: Likewise.
4607         * sysdeps/unix/make-syscalls.sh: Likewise.
4608         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4610         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4611         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4612         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4613         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4614         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4615         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4616         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4617         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4618         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4619         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4620         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4621         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4622         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4623         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4624         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4625         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4626         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4627         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4628         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4629         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4630         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4631         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4632         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4633         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4637         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4638         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4642         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4643         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4646         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4647         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4648         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4649         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4650         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4651         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4652         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4655         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4658         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4659         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4660         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4661         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4662         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4663         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4664         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4666         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4667         * sysdeps/x86_64/memcpy.S: Likewise.
4668         * sysdeps/x86_64/memmove.c: Likewise.
4669         * sysdeps/x86_64/memset.S: Likewise.
4670         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4671         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4672         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4673         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4674         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4675         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4677         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4678         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4679         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4680         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4681         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4682         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4683         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4684         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4685         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4686         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4687         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4688         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4689         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4690         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4691         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4692         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4693         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4694         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4695         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4696         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4697         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4698         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4699         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4700         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4701         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4702         * sysdeps/x86_64/strcmp.S: Likewise.
4704         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4706         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4707         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4708         * elf/rtld-Rules: Likewise.
4709         * elf/setup-vdso.h: Likewise.
4710         * include/assert.h: Likewise.
4711         * include/bits/stdlib-float.h: Likewise.
4712         * include/errno.h: Likewise.
4713         * include/sys/stat.h: Likewise.
4714         * include/unistd.h: Likewise.
4715         * sysdeps/aarch64/setjmp.S: Likewise.
4716         * sysdeps/alpha/setjmp.S: Likewise.
4717         * sysdeps/arm/__longjmp.S: Likewise.
4718         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4719         * sysdeps/arm/setjmp.S: Likewise.
4720         * sysdeps/arm/sysdep.h: Likewise.
4721         * sysdeps/generic/_itoa.h: Likewise.
4722         * sysdeps/generic/dl-sysdep.h: Likewise.
4723         * sysdeps/generic/ldsodefs.h: Likewise.
4724         * sysdeps/i386/dl-tls.h: Likewise.
4725         * sysdeps/i386/setjmp.S: Likewise.
4726         * sysdeps/m68k/setjmp.c: Likewise.
4727         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4728         * sysdeps/mach/hurd/opendir.c: Likewise.
4729         * sysdeps/posix/getcwd.c: Likewise.
4730         * sysdeps/posix/opendir.c: Likewise.
4731         * sysdeps/posix/profil.c: Likewise.
4732         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4733         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4734         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4735         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4736         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4737         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4738         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4739         * sysdeps/s390/dl-tls.h: Likewise.
4740         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4741         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4742         * sysdeps/sh/sh3/setjmp.S: Likewise.
4743         * sysdeps/sh/sh4/setjmp.S: Likewise.
4744         * sysdeps/unix/alpha/sysdep.h: Likewise.
4745         * sysdeps/unix/arm/sysdep.S: Likewise.
4746         * sysdeps/unix/i386/sysdep.S: Likewise.
4747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4748         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4749         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4752         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4753         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4754         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4755         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4756         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4757         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4758         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4759         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4762         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4766         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4767         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4770         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4771         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4774         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4775         * sysdeps/x86_64/setjmp.S: Likewise.
4777         * include/math.h: Use IS_IN instead of IS_IN_libm.
4778         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4779         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4780         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4781         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4782         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4783         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4784         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4785         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4787         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4788         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4789         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4790         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4791         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4792         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4793         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4794         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4795         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4796         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4797         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4798         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4799         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4800         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4801         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4802         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4803         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4804         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4805         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4806         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4807         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4808         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4809         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4810         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4812         Likewise.
4813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4814         Likewise.
4815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4816         Likewise.
4817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4818         Likewise.
4819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4820         Likewise.
4821         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4822         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4823         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4824         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4825         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4826         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4832         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4833         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4834         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4835         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4836         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4837         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4838         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4839         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4840         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4841         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4842         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4844         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4845         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4847         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4849         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4850         * nptl/pthreadP.h: Likewise.
4851         * nptl_db/structs.def: Likewise.
4852         * sysdeps/arm/sysdep.h: Likewise.
4853         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4854         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4855         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4856         * sysdeps/unix/alpha/sysdep.h: Likewise.
4857         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4859         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4860         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4861         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4862         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4864         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4865         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4866         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4867         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4868         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4869         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4870         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4875         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4876         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4877         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4878         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4879         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4880         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4881         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4882         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4884         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4885         * nptl/pthreadP.h: Likewise.
4886         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4887         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4888         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4889         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4890         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4891         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4892         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4893         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4894         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4895         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4896         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4897         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4899         Likewise.
4900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4901         Likewise.
4902         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4903         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4904         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4907         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4908         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4909         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4911         * dlfcn/dladdr.c: Use IS_IN.
4912         * dlfcn/dladdr1.c: Likewise.
4913         * dlfcn/dlclose.c: Likewise.
4914         * dlfcn/dlerror.c: Likewise.
4915         * dlfcn/dlinfo.c: Likewise.
4916         * dlfcn/dlmopen.c: Likewise.
4917         * dlfcn/dlopen.c: Likewise.
4918         * dlfcn/dlsym.c: Likewise.
4919         * dlfcn/dlvsym.c: Likewise.
4921         * include/ifaddrs.h: Use IS_IN.
4922         * inet/check_pf.c: Likewise.
4923         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4924         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4926         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4927         IS_IN_ldconfig.
4928         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4929         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4931         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4932         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4933         IS_IN (libc).
4935         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4937         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4938         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4939         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4940         * include/libc-symbols.h (IS_IN_LIB): New macro.
4941         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4942         * include/netdb.h: Likewise.
4943         * include/stap-probe.h: Remove all uses of IN_LIB.
4945         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4946         instead of IN_MODULE.
4947         * include/libc-symbols.h (IN_MODULE): Define using
4948         MODULE_NAME.
4949         (PASTE_NAME, PASTE_NAME1): New macros.
4950         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4951         of IN_LIB.
4952         (STAP_PROBE_ASM): Likewise.
4954 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4956         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4957         __mach_init in dlopened libc.
4959 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4961         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4962         * sysdeps/arm/preconfigure: Regenerate.
4964 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4966         * nptl/pthread_create.c (__pthread_create_2_1): Set
4967         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4968         when copying values from IATTR into PD.
4970 2014-11-21  Will Newton  <will.newton@linaro.org>
4971             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4973         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4974         Refactor inline-asm.  Also add comment.
4976         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4977         ElfW macro instead of hardcoded Elf64 types.
4978         (la_aarch64_gnu_pltenter): Likewise.
4979         * sysdeps/aarch64/dl-machine.h
4980         (elf_machine_runtime_setup): Use ElfW(Addr).
4982         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4983         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4984         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4985         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4986         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4987         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4988         (R_AARCH64_TLS_DTPMOD): This.
4989         (R_AARCH64_TLS_DTPREL64): Rename to ...
4990         (R_AARCH64_TLS_DTPREL): This.
4991         (R_AARCH64_TLS_TPREL64): Rename to ...
4992         (R_AARCH64_TLS_TPREL): This.
4993         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4994         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4995         R_AARCH64_TLS_TPREL64.
4996         (elf_machine_rela): Likewise.
4998 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5000         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5001         by setting it to 0.  64b atomics are not supported currently.
5003 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5005         [BZ #16469]
5006         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5007         search domain names.
5009 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5011         [BZ #16469]
5012         * NEWS: Update.
5013         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5014         trailing dot.
5015         * posix/tst-getaddrinfo5.c: New.
5016         * posix/Makefile (tests): Add it.
5018 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5020         [BZ #14498]
5021         * NEWS: Fixed.
5022         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5023         after parsing line but before break_if_match.
5024         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5025         if there is a protocol mismatch.
5027 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5029         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5030         because the potential race is on the user-supplied stream.
5032 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5034         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5035         string literal if not passed a buffer.
5036         * manual/job.texi (ctermid): Update reasoning, note deviation
5037         from posix, suggest mtasurace when not passed a buffer, for
5038         future non-preliminary safety notes.
5040 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5042         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5043         of not passing it a buffer.
5044         Reported by Peng Haitao.
5046 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5048         * manual/Makefile ($(objpfx)stamp-summary): Require
5049         check-safety.sh to pass.
5050         * manual/check-safety.sh: Wish for verification that every
5051         @deftypefn and @deftypefun is followed by a @safety remark.
5053 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5055         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5057         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5058         PTHREAD_CANCEL_ASYNCHRONOUS.
5059         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5060         send SIGCANCEL.
5062         * nptl/default-sched.h: New file.
5063         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5064         * nptl/pthread_create.c: Include it.
5065         (__pthread_create_2_1): Use collect_default_sched instead of making
5066         Linux syscalls here directly.
5068 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5070         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5071         __pthread_once): Use C11 atomics.
5073 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5075         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5077 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5079         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5080         atomic_thread_fence_acquire, atomic_thread_fence_release,
5081         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5082         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5083         atomic_compare_exchange_weak_relaxed,
5084         atomic_compare_exchange_weak_acquire,
5085         atomic_compare_exchange_weak_release,
5086         atomic_exchange_acquire, atomic_exchange_release,
5087         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5088         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5089         atomic_fetch_and_acquire,
5090         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5092 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5094         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5095         USE_ATOMIC_COMPILER_BUILTINS): Define.
5096         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5097         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5098         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5099         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5100         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5101         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5102         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5103         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5104         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5105         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5106         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5107         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5108         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5109         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5110         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5111         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5112         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5113         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5114         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5115         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5116         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5117         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5118         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5119         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5120         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5121         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5122         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5124         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5126         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5128         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5130         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5131         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5132         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5134         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5137 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5139         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5140         the sched_priority value here.  It was already checked when the user
5141         called pthread_attr_setschedparam.
5143         * nptl/tst-bad-schedattr.c: New file.
5144         * nptl/Makefile (tests): Add it.
5146 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5147             Florian Weimer  <fweimer@redhat.com>
5148             Joseph Myers  <joseph@codesourcery.com>
5149             Adam Conrad  <adconrad@0c3.net>
5150             Andreas Schwab  <schwab@suse.de>
5151             Brooks  <bmoses@google.com>
5153         [BZ #17625]
5154         * wordexp-test.c (__dso_handle): Add prototype.
5155         (__register_atfork): Likewise.
5156         (__app_register_atfork): New function.
5157         (registered_forks): New global.
5158         (register_fork): New function.
5159         (test_case): Add 3 new tests for WRDE_CMDSUB.
5160         (main): Call __app_register_atfork.
5161         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5162         fork count is non-zero fail the test.
5163         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5164         is set.
5165         (parse_dollars): Remove check for WRDE_NOCMD.
5166         (parse_dquote): Likewise.
5168 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5170         * Makeconfig (built-modules): List non-library modules to be
5171         built.
5172         (module-cppflags): Include libc-modules.h for
5173         everything except shlib-versions.v.i.
5174         (CPPFLAGS): Use it.
5175         (before-compile): Add libc-modules.h.
5176         ($(common-objpfx)libc-modules.h,
5177         $(common-objpfx)libc-modules.stmp): New targets.
5178         (common-generated): Add libc-modules.h and libc-modules.stmp.
5179         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5180         * include/libc-symbols.h: Don't include libc-modules.h.
5181         * include/libc-modules.h: Remove file.
5182         * scripts/gen-libc-modules.awk: New script to generate
5183         libc-modules.h.
5184         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5185         Depend on libc-modules.stmp.
5187         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5189         * Makeconfig (in-module): Get value of libof set for the
5190         translation unit.
5191         (CPPFLAGS): Use $(in-module).
5192         * Makerules: Don't suffix routine names for nonlib.
5193         * include/libc-modules.h: New file.
5194         * include/libc-symbols.h: Include libc-modules.h
5195         (IS_IN): New macro to replace IS_IN_* macros.
5196         * elf/Makefile: Set libof-* for each routine.
5197         * elf/rtld-Rules: Likewise.
5198         * extra-modules.mk: Likewise.
5199         * iconv/Makefile: Likewise.
5200         * iconvdata/Makefile: Likewise.
5201         * locale/Makefile: Likewise.
5202         * malloc/Makefile: Likewise.
5203         * nss/Makefile: Likewise.
5204         * sysdeps/gnu/Makefile: Likewise.
5205         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5206         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5207         * sysdeps/s390/s390-64/Makefile: Likewise.
5208         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5209         CPPFLAGS for nscd instead of nonlib.
5211 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5213         * nptl/createthread.c: New file.
5215         * nptl/createthread.c: Moved ...
5216         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5218         * nptl/createthread.c: Add proper top-line comment.
5219         (do_clone): Folded into ...
5220         (create_thread): ... here.  Take new arguments STOPPED_START and
5221         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5222         increment __nptl_threads, do event-reporting logic, do
5223         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5224         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5225         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5226         just send SIGCANCEL.
5227         * nptl/pthread_create.c: Forward-declare create_thread before
5228         including createthread.c.
5229         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5230         declaration, and new macro START_THREAD_SELF to replace argument.
5231         Remove return statement.
5232         (report_thread_creation): New function.
5233         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5234         synchronization logic, and __nptl_nthreads increment here, around
5235         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5236         PD->parent_cancelhandling here, before create_thread.  When
5237         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5238         __deallocate_stack, and ENOMEM translation here.
5240 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5242         [BZ #17616]
5243         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5244         (mptwo): Rename to __mptwo.
5245         (__inv): Use __mptwo instead of mptwo.
5246         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5247         (mptwo): Rename to __mptwo.
5248         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5249         of mpone and __mptwo instead of mptwo.
5250         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5251         instead of mpone.
5252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5253         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5254         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5255         of mpone and __mptwo instead of mptwo.
5256         (__mpranred): Use __mpone instead of mpone.
5257         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5258         variable.
5259         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5260         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5261         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5262         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5263         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5264         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5265         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5266         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5267         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5268         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5269         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5270         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5271         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5272         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5273         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5274         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5275         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5276         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5277         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5279 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5281         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5282         replace BSD Handler xref with BSD Signal Handling.
5284 2014-11-17  Richard Henderson  <rth@redhat.com>
5286         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5287         (_FP_PACK_RAW_2): Remove.
5288         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5289         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5290         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5291         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5292         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5293         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5294         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5295         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5296         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5297         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5298         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5299         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5300         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5301         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5302         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5303         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5305 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5307         * signal/signal.h [__USE_MISC]
5308         (struct sigvec): Remove type.
5309         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5310         (sigvec): Remove declaration.
5311         * sysdeps/posix/sigvec.c: Moved ...
5312         * signal/sigvec.c: ... here, replacing old file.
5313         (struct sigvec): New type, copied from old signal.h definition.
5314         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5315         (__sigvec): Convert definition to prototype.
5316         (sigvec): Replace weak_alias with compat_symbol.
5317         * signal/Versions (libc: GLIBC_2.21): New version set.
5318         * include/signal.h: Remove __sigvec declaration.
5319         * sysdeps/unix/bsd/sigvec.c: Remove file.
5320         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5321         * manual/signal.texi (BSD Handler): Remove subsection.
5322         Move siginterrupt up to ...
5323         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5324         (Blocking in BSD): Fold subsection into its parent.
5325         * NEWS: Mention sigvec removal.
5327 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5329         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5330         (DLA_FMS): Make definition conditional only on [__FMA4__].
5331         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5332         definition.
5334         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5335         Make definition conditional only on [PROF].
5336         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5337         definition.
5338         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5339         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5341         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5342         !__GNUC__].
5343         * include/signal.h (__sigpause): Move declaration above call to
5344         libc_hidden_proto.
5345         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5346         variable.
5347         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5348         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5350 2014-11-14  David S. Miller  <davem@davemloft.net>
5352         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5353         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5355 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5357         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5358         * configure: Regenerated.
5359         * manual/install.texi (Tools for Compilation): Document a
5360         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5361         compiler verified to work.
5362         * INSTALL: Regenerated.
5364         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5365         redeclare with asm name.
5366         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5367         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5368         including <string.h>.
5369         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5370         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5371         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5372         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5373         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5375         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5377 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5379         * stdlib/strtol.c (__strtol): Use prototype definition.
5381         [BZ #17594]
5382         * stdlib/strtol.c (SYM__): New macro.
5383         (SYM__1): Likewise.
5384         (__strtol): Likewise.
5385         (strtol): Rename to __strtol and define as weak alias of
5386         __strtol.  Use libc_hidden_weak.
5388 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5390         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5391         Use numbered labels in inline assembly.
5393 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5395         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5396         Add setjmp LIBC_PROBE.
5397         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5398         Likewise.
5399         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5400         Add longjmp, longjmp_target LIBC_PROBE.
5401         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5402         Likewise.
5404 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5406         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5407         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5408         to get rid of unused variable warning.
5410 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5412         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5413         Check for unwind_backtrace ==  NULL only in SHARED case.
5414         (__backchain_backtrace): Compile only in SHARED case.
5415         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5416         Likewise.
5417         (__backchain_backtrace): Declare as static.
5419 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5421         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5422         (__libc_multiple_threads_ptr): Variable moved ...
5423         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5425 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5427         * conform/GlibcConform.pm: New file.
5428         * conform/conformtest.pl: Use GlibcConform module.
5429         * conform/linknamespace.pl: New file.
5430         * conform/list-header-symbols.pl: Likewise.
5431         * conform/Makefile (linknamespace-symlists-base): New variable.
5432         (linknamespace-symlists-tests): Likewise.
5433         (linknamespace-header-base): Likewise.
5434         (linknamespace-header-tests): Likewise.
5435         (tests-special): Add new tests.
5436         ($(linknamespace-symlists-tests)): New rule.
5437         (linknamespace-libs): New variable.
5438         ($(objpfx)symlist-stdlibs): New rule.
5439         ($(linknamespace-header-tests)): Likewise.
5440         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5441         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5442         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5443         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5444         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5445         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5446         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5447         (test-xfail-ISO/math.h/linknamespace): Likewise.
5448         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5449         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5450         (test-xfail-ISO/time.h/linknamespace): Likewise.
5451         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5452         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5453         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5454         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5455         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5456         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5457         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5458         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5459         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5460         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5461         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5462         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5463         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5464         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5465         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5466         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5467         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5468         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5469         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5470         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5471         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5472         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5473         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5474         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5475         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5476         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5477         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5478         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5479         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5480         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5481         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5482         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5483         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5484         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5485         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5486         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5487         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5488         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5489         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5490         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5491         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5492         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5493         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5494         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5495         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5496         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5497         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5498         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5499         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5500         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5501         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5502         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5503         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5504         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5505         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5506         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5507         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5508         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5509         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5510         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5511         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5512         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5513         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5514         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5515         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5516         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5517         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5518         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5519         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5520         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5521         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5522         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5523         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5524         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5525         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5526         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5527         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5528         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5529         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5530         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5531         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5532         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5533         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5534         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5535         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5536         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5537         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5538         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5539         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5540         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5541         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5542         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5543         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5544         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5545         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5546         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5547         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5548         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5549         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5550         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5551         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5552         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5553         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5554         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5555         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5556         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5557         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5558         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5559         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5560         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5561         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5562         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5563         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5564         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5565         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5566         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5567         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5568         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5569         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5570         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5571         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5572         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5573         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5574         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5575         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5576         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5577         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5578         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5579         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5580         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5581         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5582         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5583         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5584         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5585         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5586         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5587         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5588         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5589         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5590         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5591         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5592         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5593         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5594         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5595         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5596         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5597         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5598         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5599         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5600         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5602         [BZ #17589]
5603         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5604         of fgets_unlocked.
5606         [BZ #17585]
5607         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5608         (memmem): Rename to __memmem and define as weak alias of
5609         __memmem.  Use libc_hidden_weak.
5610         (__memmem): Use libc_hidden_def.
5611         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
5612         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5613         memmem.
5615         [BZ #17582]
5616         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5617         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
5618         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5619         and define as weak alias of __fgets_unlocked.  Use
5620         libc_hidden_weak.
5621         (__fgets_unlocked): Use libc_hidden_def.
5622         * include/stdio.h (__fgets_unlocked): Declare.  Use
5623         libc_hidden_proto.
5624         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5625         __fgets_unlocked instead of fgets_unlocked.
5626         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5627         (GET_NPROCS_CONF_PARSER): Likewise.
5628         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5629         (GET_NPROCS_CONF_PARSER): Likewise.
5631         [BZ #17574]
5632         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5633         weak alias of __wmemset.  Use libc_hidden_weak.
5634         (__wmemset): Use libc_hidden_def.
5635         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
5636         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5637         of wmemset.
5639         [BZ #17573]
5640         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5641         with asm name __mempcpy.
5642         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5644         [BZ #17572]
5645         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5646         and define as weak alias of __rawmemchr.
5647         (__rawmemchr): Do not define as strong alias of rawmemchr.
5649         [BZ #17571]
5650         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5651         alias of __qsort_r.
5652         (qsort): Call __qsort_r instead of qsort_r.
5653         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5654         (__qsort_r): Declare.  Call libc_hidden_proto.
5655         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5656         instead of qsort_r.
5657         * nscd/gai.c (__qsort_r): Define to qsort_r.
5658         * posix/tst-rfc3484.c (__qsort_r): Likewise.
5659         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5660         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5662         [BZ #17570]
5663         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5664         define as weak alias of __malloc_info.
5666         [BZ #17584]
5667         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5668         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5669         (__rewinddir): Use libc_hidden_def.
5670         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5671         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5672         (__rewinddir): Use libc_hidden_def.
5673         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5674         weak alias of __rewinddir.  Don't use libc_hidden_def.
5675         (__rewinddir): Use libc_hidden_def.
5676         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5677         (__rewinddir): Use libc_hidden_proto.
5678         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5679         rewinddir.
5680         (__getcwd): Use __rewinddir instead of rewinddir.
5682         [BZ #17583]
5683         * libio/fileno.c (fileno): Rename to __fileno and define as weak
5684         alias of __fileno.  Use libc_hidden_weak.
5685         (__fileno): Use libc_hidden_def.
5686         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5687         * libio/ftello.c (ftello): Rename to __ftello and define as weak
5688         alias of __ftello.
5689         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5690         __ftello.
5691         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5692         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
5693         libc_hidden_def.
5694         (fread_unlocked): Don't use libc_hidden_ver.
5695         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5696         and define as weak alias of __fread_unlocked.  Don't use
5697         libc_hidden_def.
5698         (__fread_unlocked): Use libc_hidden_def.
5699         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
5700         (ftello): Don't use libc_hidden_proto.
5701         (__ftello): Declare.  Use libc_hidden_proto.
5702         (fread_unlocked): Don't use libc_hidden_proto.
5703         (__fread_unlocked): Declare.  Use libc_hidden_proto.
5704         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5705         and __ftello instead of fileno, fread_unlocked and ftello.
5707 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5709         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5710         GOT12.
5711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5712         Likewise.
5713         (_dl_start_user): Likewise.
5714         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5716 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
5717             Siddhesh Poyarekar  <siddhesh@redhat.com>
5719         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5720         Move argv and envp down instead of moving argc up.
5721         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5723 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
5725         [BZ #17506]
5726         * test-skeleton.c (main): Return successful if one of
5727         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5728         * string/tst-strcoll-overflow.c: Define expected status.
5730 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
5732         [BZ #17475]
5733         * locale/iso-639.def: Define Bhili and Tulu language codes.
5735 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
5737         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5739 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
5741         [BZ #17555]
5742         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5744 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5746         * configure.ac: Updated check of minimal required version to
5747         2.22.
5748         * manual/install.texi (Tools for Compilation): Updated version
5749         number.
5750         * configure: Regenerated.
5751         * INSTALL: Likewise.
5753 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
5755         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5756         __tls_get_addr.
5758 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
5760         * include/sys/wait.h (__libc_waitpid): Remove declaration.
5761         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5762         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5763         libc_hidden_weak.
5764         (waitpid): Define as alias of __waitpid.
5765         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5766         __waitpid.
5767         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5768         libc_hidden_weak.
5769         (waitpid): Define as alias of __waitpid.
5770         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5771         __libc_waitpid alias.
5772         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5773         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5774         Likewise.
5775         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5776         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5777         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5778         alias.
5779         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5780         __waitpid.
5781         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5782         libc_hidden_weak.
5783         (waitpid): Define as alias of __waitpid.
5785 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
5787         * manual/llio.texi: Add comment that write safety has been
5788         fixed in Linux.
5790         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5791         (localplt-build-dso): Add elf/ld.so.
5792         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5793         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5794         and free for ld.so.
5795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5796         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5798         Likewise.
5799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5800         Likewise.
5801         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5802         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5803         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5804         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5805         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5806         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5807         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5808         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5809         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5810         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5811         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5813 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5815         [BZ #14132]
5816         * include/libc-symbols.h (INTUSE): Remove macro.
5817         (INTDEF): Likewise.
5818         (INTVARDEF): Likewise.
5819         (_INTVARDEF): Likewise.
5820         (INTDEF2): Likewise.
5821         (INTVARDEF2): Likewise.
5822         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5823         rtld_hidden_def instead of INTVARDEF.
5824         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5825         (_dl_starting_up_internal): Remove declaration.
5826         (_dl_starting_up): Use rtld_hidden_proto.
5827         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5828         declaration.
5829         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5830         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5831         _dl_starting_up.
5832         * elf/dl-writev.h (_dl_writev): Likewise.
5833         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5834         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5835         _dl_starting_up_internal.
5837 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5839         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5840         test-skeleton.c.
5842 2014-11-05  Will Newton  <will.newton@linaro.org>
5844         * benchtests/Makefile: (bench-malloc): Add malloc thread
5845         scalability benchmark.
5846         * benchtests/bench-malloc-threads.c: New file.
5848 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5850         * sysdeps/aarch64/strchrnul.S: New file.
5852 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5854         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5855         definition.
5856         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5857         Likwise.
5858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5859         Likewise.
5860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5861         Likewise.
5862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5863         Likewise.
5864         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5865         Likewise.
5867 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5869         * catgets/test-gencat.c: Use test-skeleton.c.
5870         * catgets/tst-catgets.c: Likewise.
5871         * csu/tst-empty.c: Likewise.
5872         * elf/tst-audit2.c: Likewise.
5873         * elf/tst-global1.c: Likewise.
5874         * elf/tst-pathopt.c: Likewise.
5875         * elf/tst-piemod1.c: Likewise.
5876         * elf/tst-tls10.c: Likewise.
5877         * elf/tst-tls11.c: Likewise.
5878         * elf/tst-tls12.c: Likewise.
5879         * gnulib/tst-gcc.c: Likewise.
5880         * iconvdata/tst-e2big.c: Likewise.
5881         * iconvdata/tst-loading.c: Likewise.
5882         * iconv/tst-iconv1.c: Likewise.
5883         * iconv/tst-iconv2.c: Likewise.
5884         * inet/test-inet6_opt.c: Likewise.
5885         * inet/tst-gethnm.c: Likewise.
5886         * inet/tst-network.c: Likewise.
5887         * inet/tst-ntoa.c: Likewise.
5888         * intl/tst-codeset.c: Likewise.
5889         * intl/tst-gettext2.c: Likewise.
5890         * intl/tst-gettext3.c: Likewise.
5891         * intl/tst-ngettext.c: Likewise.
5892         * intl/tst-translit.c: Likewise.
5893         * io/test-stat.c: Likewise.
5894         * libio/test-fmemopen.c: Likewise.
5895         * libio/tst-freopen.c: Likewise.
5896         * libio/tst-sscanf.c: Likewise.
5897         * libio/tst-ungetwc1.c: Likewise.
5898         * libio/tst-ungetwc2.c: Likewise.
5899         * libio/tst-widetext.c: Likewise.
5900         * localedata/tst-ctype.c: Likewise.
5901         * localedata/tst-digits.c: Likewise.
5902         * localedata/tst-leaks.c: Likewise.
5903         * localedata/tst-mbswcs1.c: Likewise.
5904         * localedata/tst-mbswcs2.c: Likewise.
5905         * localedata/tst-mbswcs3.c: Likewise.
5906         * localedata/tst-mbswcs4.c: Likewise.
5907         * localedata/tst-mbswcs5.c: Likewise.
5908         * localedata/tst-setlocale.c: Likewise.
5909         * localedata/tst-trans.c: Likewise.
5910         * localedata/tst-wctype.c: Likewise.
5911         * localedata/tst-xlocale1.c: Likewise.
5912         * login/tst-grantpt.c: Likewise.
5913         * malloc/tst-calloc.c: Likewise.
5914         * malloc/tst-malloc.c: Likewise.
5915         * malloc/tst-mallocstate.c: Likewise.
5916         * malloc/tst-mcheck.c: Likewise.
5917         * malloc/tst-mtrace.c: Likewise.
5918         * malloc/tst-obstack.c: Likewise.
5919         * math/atest-exp2.c: Likewise.
5920         * math/atest-exp.c: Likewise.
5921         * math/atest-sincos.c: Likewise.
5922         * math/test-matherr.c: Likewise.
5923         * math/test-misc.c: Likewise.
5924         * math/test-powl.c: Likewise.
5925         * math/tst-definitions.c: Likewise.
5926         * misc/tst-dirname.c: Likewise.
5927         * misc/tst-efgcvt.c: Likewise.
5928         * misc/tst-fdset.c: Likewise.
5929         * misc/tst-hsearch.c: Likewise.
5930         * misc/tst-mntent2.c: Likewise.
5931         * nptl/tst-sem7.c: Likewise.
5932         * nptl/tst-sem8.c: Likewise.
5933         * nptl/tst-sem9.c: Likewise.
5934         * nss/test-netdb.c: Likewise.
5935         * posix/tst-fnmatch.c: Likewise.
5936         * posix/tst-getlogin.c: Likewise.
5937         * posix/tst-gnuglob.c: Likewise.
5938         * posix/tst-mmap.c: Likewise.
5939         * pwd/tst-getpw.c: Likewise.
5940         * resolv/tst-inet_ntop.c: Likewise.
5941         * rt/tst-timer.c: Likewise.
5942         * stdio-common/test-fseek.c: Likewise.
5943         * stdio-common/test-popen.c: Likewise.
5944         * stdio-common/test-vfprintf.c: Likewise.
5945         * stdio-common/tst-cookie.c: Likewise.
5946         * stdio-common/tst-fileno.c: Likewise.
5947         * stdio-common/tst-gets.c: Likewise.
5948         * stdio-common/tst-obprintf.c: Likewise.
5949         * stdio-common/tst-perror.c: Likewise.
5950         * stdio-common/tst-sprintf2.c: Likewise.
5951         * stdio-common/tst-sprintf3.c: Likewise.
5952         * stdio-common/tst-sprintf.c: Likewise.
5953         * stdio-common/tst-swprintf.c: Likewise.
5954         * stdio-common/tst-tmpnam.c: Likewise.
5955         * stdio-common/tst-unbputc.c: Likewise.
5956         * stdio-common/tst-wc-printf.c: Likewise.
5957         * stdlib/tst-environ.c: Likewise.
5958         * stdlib/tst-fmtmsg.c: Likewise.
5959         * stdlib/tst-limits.c: Likewise.
5960         * stdlib/tst-rand48-2.c: Likewise.
5961         * stdlib/tst-rand48.c: Likewise.
5962         * stdlib/tst-random2.c: Likewise.
5963         * stdlib/tst-random.c: Likewise.
5964         * stdlib/tst-strtol.c: Likewise.
5965         * stdlib/tst-strtoll.c: Likewise.
5966         * stdlib/tst-tls-atexit.c: Likewise.
5967         * stdlib/tst-xpg-basename.c: Likewise.
5968         * string/test-ffs.c: Likewise.
5969         * string/tst-bswap.c: Likewise.
5970         * string/tst-inlcall.c: Likewise.
5971         * string/tst-strtok.c: Likewise.
5972         * string/tst-strxfrm.c: Likewise.
5973         * sysdeps/x86_64/tst-audit10.c: Likewise.
5974         * sysdeps/x86_64/tst-audit3.c: Likewise.
5975         * sysdeps/x86_64/tst-audit4.c: Likewise.
5976         * sysdeps/x86_64/tst-audit5.c: Likewise.
5977         * time/tst-ftime_l.c: Likewise.
5978         * time/tst-getdate.c: Likewise.
5979         * time/tst-mktime3.c: Likewise.
5980         * time/tst-mktime.c: Likewise.
5981         * time/tst-posixtz.c: Likewise.
5982         * time/tst-strptime2.c: Likewise.
5983         * time/tst-strptime3.c: Likewise.
5984         * wcsmbs/tst-btowc.c: Likewise.
5985         * wcsmbs/tst-mbrtowc.c: Likewise.
5986         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5987         * wcsmbs/tst-wchar-h.c: Likewise.
5988         * wcsmbs/tst-wcpncpy.c: Likewise.
5989         * wcsmbs/tst-wcrtomb.c: Likewise.
5990         * wcsmbs/tst-wcsnlen.c: Likewise.
5991         * wcsmbs/tst-wcstof.c: Likewise.
5993 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5995         [BZ #14132]
5996         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5997         INTDEF.
5998         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5999         declaration.
6000         (_dl_mcount): Use rtld_hidden_proto.
6001         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6002         _dl_mcount.
6003         * elf/rtld.c (_rtld_global_ro): Likewise.
6005         [BZ #14132]
6006         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6007         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6008         of _dl_init_internal.
6009         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6010         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6011         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6012         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6013         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6014         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6015         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6016         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6017         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6018         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6019         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6020         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6021         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6022         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6023         * sysdeps/tile/dl-start.S (_start): Likewise.
6024         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6025         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6027         [BZ #14132]
6028         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6029         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6030         (rtld_progname): Make macro definition unconditional.
6031         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6032         INTDEF.
6033         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6034         (dl_main): Likewise.
6035         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6036         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6037         instead of _dl_argv_internal.
6038         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6039         __GI__dl_argv instead of INTUSE(_dl_argv).
6040         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6041         __GI__dl_argv instead of _dl_argv_internal.
6043         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6044         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6045         macro.
6046         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6047         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6048         New macro.
6049         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6050         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6051         macro.
6052         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6053         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6055 2014-11-04  Andreas Schwab  <schwab@suse.de>
6057         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6059 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6061         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6062         mtvsrd instruction in binary form.
6064 2014-11-03  Andreas Schwab  <schwab@suse.de>
6066         [BZ #17522]
6067         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6068         for less than MB_LEN_MAX use a local buffer of that size.
6069         * libio/tst-fputws.c: New file.
6070         * libio/Makefile (tests): Add tst-fputws.
6072 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6074         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6075         the size of the fpu_fr.fpu_dregs[] array.
6077 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6079         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6080         (__nanosleep): Do not define as alias.
6081         (nanosleep): Define as alias of __nanosleep.
6082         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6083         __libc_nanosleep name.
6085 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6087         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6088         install.texi in comment.
6090 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6092         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6093         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6094         ... add here and use lwsync or sync ...
6095         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6096         ... and add here using lwsync.
6098 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6100         * elf/dl-machine-reject-phdr.h: New file.
6101         * elf/dl-load.c: #include that.
6102         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6103         if that returned true.
6105 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6107         [BZ #17496]
6108         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6109         gen-as-const-headers chunk.  Add a big scare comment after the last
6110         safe place to touch before-compile.
6112 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6114         * manual/install.texi (Tools for Compilation): Update autoconf
6115         version requirements.
6116         * INSTALL: Regenerated.
6118         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6119         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6120         (__libc_pselect): Likewise.
6122         [BZ #14138]
6123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6128 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6130         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6131         correct barrier instruction.
6132         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6133         Likewise.
6134         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6135         Likewise.
6137 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6139         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6140         after defining inlines.  Instead, just use parens to defeat macro
6141         expansion of __isctype in its declaration.
6143 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6145         * include/sys/uio.h (__libc_readv): Remove declaration.
6146         (__libc_writev): Likewise.
6147         * misc/readv.c (__libc_readv): Rename to __readv.
6148         (__readv): Do not define as alias.
6149         (readv): Define as alias of __readv.
6150         * misc/writev.c (__libc_writev): Rename to __writev.
6151         (__writev): Do not define as alias.
6152         (writev): Define as alias of __writev.
6153         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6154         (__readv): Do not define as alias.
6155         (readv): Define unconditionally as alias of __readv.
6156         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6157         (__writev): Do not define as alias.
6158         (writev): Define unconditionally as alias of __writev.
6159         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6160         name.
6161         (writev): Do not define __libc_writev name.
6163 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6165         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6166         (convert_charseq): New function, broken out of ...
6167         (use_from_charmap): ... here.  Call it.
6168         (use_to_charmap): Use convert_charseq and free instead of duplicating
6169         its code with a variable-length stack struct.
6171 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6173         * include/fcntl.h (__libc_creat): Remove declaration.
6174         * io/creat.c (__libc_creat): Rename to creat.
6175         (creat): Do not define as alias.
6176         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6177         of creat instead of __libc_creat.
6178         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6179         to creat.
6180         (creat): Do not define as alias.
6181         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6182         __libc_creat.
6183         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6184         __libc_creat name.
6185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6186         Likewise.
6188 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6190         * manual/llio.texi: Add comments discussing why write() may be
6191         considered MT-unsafe on Linux.
6193 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6195         * dl-load.c (local_strdup): Remove.
6196         (expand_dynamic_string_token): Use __strdup.
6197         (decompose_rpath): Likewise.
6198         (_dl_map_object): Likewise.
6200 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6202         [BZ #14132]
6203         * sysdeps/generic/unwind-dw2-fde.c
6204         (__register_frame_info_bases_internal): Do not declare.
6205         (__register_frame_info_table_bases_internal): Likewise.
6206         (__deregister_frame_info_bases_internal): Likewise.
6207         (__register_frame_info_bases): Declare and use hidden_proto before
6208         definition.  Use hidden_def instead of INTDEF.
6209         (__register_frame_info_table_bases): Likewise.
6210         (__deregister_frame_info_bases): Likewise.
6211         (__register_frame_info): Do not use INTUSE.
6212         (__register_frame): Likewise.
6213         (__register_frame_info_table): Likewise.
6214         (__register_frame_table): Likewise.
6215         (__deregister_frame_info): Likewise.
6216         (__deregister_frame): Likewise.
6218 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6220         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6221         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6222         not undefine.
6223         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6224         Likewise.
6225         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6226         Likewise.
6228 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6230         [BZ #14138]
6231         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6232         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6233         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6234         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6235         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6236         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6237         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6238         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6239         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6240         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6241         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6242         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6243         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6244         syscall.
6245         (setfsuid): Likewise.
6246         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6247         (setfsuid): Likewise.
6248         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6249         (setfsuid): Likewise.
6250         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6251         Likewise.
6252         (setfsuid): Likewise.
6253         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6254         (setfsuid): Likewise.
6255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6256         Likewise.
6257         (setfsuid): Likewise.
6259 2014-10-27  Andreas Schwab  <schwab@suse.de>
6261         [BZ #17501]
6262         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6263         check for Slow_SSE4_2 feature bit.
6264         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6265         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6266         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6267         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6269 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6271         * configure.ac: Validate compiler version with a empirical test of
6272         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6273         $CC -v output.
6274         * configure: Regenerated.
6276         * inet/htons.c (htons): Prototypify.
6277         * inet/htonl.c (htonl): Likewise.
6279 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6281         * string/strncat.c (strncat): Improve performance by using strlen.
6283 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6285         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6287 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6289         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6290         Call libc_fetestexcept_aarch64.
6292 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6294         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6295         Call libc_feholdexcept_aarch64.
6297 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6299         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6300         Call get_rounding_mode.
6302 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6304         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6305         Simplify logic.
6307 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6309         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6310         Simplify logic.
6312 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6314         [BZ #14138]
6315         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6316         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6317         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6318         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6319         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6320         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6321         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6322         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6323         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6324         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6325         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6326         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6327         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6328         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6329         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6330         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6331         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6332         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6333         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6334         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6335         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6336         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6337         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6338         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6339         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6340         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6341         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6342         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6343         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6344         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6345         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6346         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6347         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6348         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6349         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6350         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6351         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6352         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6353         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6354         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6355         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6356         syscall.
6357         (geteuid): Likewise.
6358         (getgid): Likewise.
6359         (getuid): Likewise.
6360         (getresgid): Likewise.
6361         (getresuid): Likewise.
6362         (getgroups): Likewise.
6363         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6364         (geteuid): Likewise.
6365         (getgid): Likewise.
6366         (getuid): Likewise.
6367         (getresgid): Likewise.
6368         (getresuid): Likewise.
6369         (getgroups): Likewise.
6370         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6371         (geteuid): Likewise.
6372         (getgid): Likewise.
6373         (getuid): Likewise.
6374         (getresgid): Likewise.
6375         (getresuid): Likewise.
6376         (getgroups): Likewise.
6377         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6378         Likewise.
6379         (geteuid): Likewise.
6380         (getgid): Likewise.
6381         (getuid): Likewise.
6382         (getresgid): Likewise.
6383         (getresuid): Likewise.
6384         (getgroups): Likewise.
6385         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6386         (geteuid): Likewise.
6387         (getgid): Likewise.
6388         (getuid): Likewise.
6389         (getresgid): Likewise.
6390         (getresuid): Likewise.
6391         (getgroups): Likewise.
6392         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6393         Likewise.
6394         (geteuid): Likewise.
6395         (getgid): Likewise.
6396         (getuid): Likewise.
6397         (getgroups): Likewise.
6399         [BZ #14138]
6400         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6401         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6402         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6403         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6404         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6405         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6406         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6407         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6408         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6409         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6410         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6411         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6412         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6413         __chown.
6414         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6415         (lchown): Likewise.
6416         (fchown): Likewise.
6417         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6418         Likewise.
6419         (lchown): Likewise.
6420         (fchown): Likewise.
6421         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6422         (lchown): Likewise.
6423         (fchown): Likewise.
6424         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6425         Likewise.
6426         (lchown): Likewise.
6427         (fchown): Likewise.
6429 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6431         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6432         Simplify logic.
6434 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6436         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6437         Cleanup logic.
6439 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6441         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6442         Remove unused include.
6444 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6446         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6447         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6448         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6449         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6451 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6452             Helge Deller <deller@gmx.de>
6454         [BZ #17508]
6455         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6456         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6457         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6459 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6461         [BZ #14132]
6462         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6463         Remove macro definition.
6464         (__ashrdi3_v_glibc20): Likewise.
6465         (__lshrdi3_v_glibc20): Likewise.
6466         (__cmpdi2_v_glibc20): Likewise.
6467         (__ucmpdi2_v_glibc20): Likewise.
6468         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6469         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6470         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6471         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6472         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6473         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6475 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6477         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6478         old GNU extension [0] syntax.
6479         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6480         alloca rather than an array member with variable length.
6481         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6482         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6483         (parse_opt): ... here.  Likewise use alloca there.
6484         Validate the -i argument before checking for rootness.
6485         (send_shutdown): New function, broken out of ...
6486         (parse_opt): ... here.
6488 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6490         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6491         macro to get at the _rt_local_ro field.
6492         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6493         ([PIC] case) or _dl_hwcap ([!PIC] case).
6494         * sysdeps/arm/setjmp.S: Likewise.
6496         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6497         * sysdeps/arm/configure.ac: New check to define it.
6498         * sysdeps/arm/configure: Regenerated.
6499         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6500         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6501         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6502         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6503         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6504         Use move/movt pair instead of a load.
6505         (LDST_GLOBAL): Macro removed.
6506         (LDR_GLOBAL): New macro replaces it.
6507         (LDR_HIDDEN): New macro.
6508         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6509         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6511         * setjmp/tst-setjmp-static.c: New file.
6512         * setjmp/Makefile (tests): Add it.
6513         (tests-static): New variable.
6515 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6517         [BZ #17485]
6518         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6520 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6522         [BZ #14132]
6523         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6525 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6527         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6529 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6531         * io/fts.c (dirent_not_directory): New function.
6532         (fts_build): Call it.
6534 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6536         * nptl/version.c (__nptl_main): Use normal __write rather than
6537         INTERNAL_SYSCALL.
6538         (banner): Update copyright years.
6540         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6541         gettimeofday.
6542         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6543         * nptl/pthread_cond_timedwait.c: Likewise.
6544         * nptl/pthread_mutex_timedlock.c: Likewise.
6545         * nptl/sem_timedwait.c: Likewise.
6547         * sysdeps/nptl/bits/libc-lock.h
6548         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6549         (__libc_lock_init_recursive): Return void, not 0.
6550         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6551         (__libc_rwlock_init): Likewise.
6552         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6554 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6556         [BZ #15215]
6557         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6558         (__pthread_once_slow): ... here.
6559         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6560         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6562 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6564         [BZ #15215]
6565         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6566         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6567         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6568         * nptl/pthread_once.c (__pthread_once): Likewise.
6569         Update comments.
6571 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6573         [BZ #14138]
6574         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6575         name.
6576         (writev): Use __libc_writev as strong name.
6577         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6578         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6580 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6582         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6584         * sysdeps/i386/nptl/tls.h
6585         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6586         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6587         New macros.
6588         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6589         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6590         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6591         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6592         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6593         Call CHECK_THREAD_SYSINFO instead of doing an assert.
6595         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6596         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6597         on [__NR_futex].
6598         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6599         broken out of ...
6600         (__pthread_mutex_init): ... here.  Call it.
6601         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6602         Conditionalize PI cases on [__NR_futex].
6603         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6604         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6605         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6607         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6608         conditional on [SIGSETXID].
6609         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6610         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6611         is defined.  Likewise for SIGSETXID.
6612         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6613         Conditionalize definitions on [SIGSETXID].
6614         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6615         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6616         unblocking on [SIGCANCEL].
6618         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6619         [__NR_set_robust_list].
6621 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6623         * string/strcoll_l.c (get_next_seq): Fix up formatting.
6624         (do_compare): Likewise.
6626 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
6628         [BZ #15884]
6629         * string/strcoll_l.c: Don't include stdio.h.
6630         (coll_seq): Remove members idxarr and rulearr.
6631         (get_next_seq_cached): Remove function.
6632         (get_next_seq): Likewise.
6633         (get_next_seq_nocache): Rename to get_next_seq.
6634         (do_compare): Remove function.
6635         (do_compare_nocache): Rename to do_compare.
6636         (STRCOLL): Remove weight and rules cache.
6638 2014-10-16  Roland McGrath  <roland@hack.frob.com>
6640         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6641         * sysdeps/arm/sfp-machine.h: ... to here.
6642         * sysdeps/arm/Implies: Remove arm/soft-fp.
6644 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
6646         * conform/data/sys/utsname.h-data (*_t): Allow.
6647         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6648         [POSIX] (WEXITED): Do not expect constant.
6649         [POSIX] (WSTOPPED): Likewise.
6650         [POSIX] (WNOHANG): Likewise.
6651         [POSIX] (WNOWAIT): Likewise.
6652         [POSIX] (siginfo_t): Do not expect type or elements.
6653         [POSIX] (pid_t): Do not expect type.
6654         [POSIX] (signal.h): Do not allow header.
6655         [POSIX] (sys/resource.h): Likewise.
6656         [POSIX] (si_*): Do not allow pattern.
6657         [POSIX] (W*): Likewise.
6658         [POSIX] (P_*): Likewise.
6659         [POSIX] (BUS_*): Likewise.
6660         [POSIX] (CLD_*): Likewise.
6661         [POSIX] (FPE_*): Likewise.
6662         [POSIX] (ILL_*): Likewise.
6663         [POSIX] (POLL_*): Likewise.
6664         [POSIX] (SEGV_*): Likewise.
6665         [POSIX] (SI_*): Likewise.
6666         [POSIX] (TRAP_*): Likewise.
6667         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6668         variable.
6670 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6672         [BZ #12926]
6673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6674         infinite loop when __recvmsg returns 0.
6676 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
6678         * CANCEL-FCT-WAIVE: Remove file.
6679         * CANCEL-FILE-WAIVE: Likewise.
6681         [BZ #14132]
6682         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6683         instead of INTVARDEF.
6684         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6685         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6686         rtld_hidden_data_def instead of INTVARDEF.
6687         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6688         * elf/dl-deps.c (expand_dst): Likewise.
6689         * elf/dl-load.c (_dl_dst_count): Likewise.
6690         (_dl_dst_substitute): Likewise.
6691         (decompose_rpath): Likewise.
6692         (_dl_init_paths): Likewise.
6693         (open_path): Likewise.
6694         (_dl_map_object): Likewise.
6695         * elf/rtld.c (dl_main): Likewise.
6696         (process_dl_audit): Likewise.
6697         (process_envvars): Likewise.
6698         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6699         Remove declaration.
6700         (__libc_enable_secure): Use rtld_hidden_proto.
6702 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6704         * elf/dl-load.c
6705         (add_path): New function broken out of _dl_rtld_di_serinfo.
6706         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
6708 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6710         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6711         parentheses around macro arguments.
6712         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6714         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6716         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6723         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6724         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6725         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6726         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6727         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6728         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6730         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6732         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6734         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6738         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6739         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6741         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6742         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6743         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6744         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6745         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6746         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6747         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6748         Likewise.
6749         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6756         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6757         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6758         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6759         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6760         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6761         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6770         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6772         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6773         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6774         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6775         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6776         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6777         (_FP_FRAC_SRS_1): Likewise.
6778         (_FP_FRAC_CLZ_1): Likewise.
6779         (_FP_MUL_MEAT_1_imm): Likewise.
6780         (_FP_MUL_MEAT_1_wide): Likewise.
6781         (_FP_MUL_MEAT_1_hard): Likewise.
6782         (_FP_SQRT_MEAT_1): Likewise.
6783         (_FP_FRAC_ASSEMBLE_1): Likewise.
6784         (_FP_FRAC_DISASSEMBLE_1): Likewise.
6785         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6786         (__FP_CLZ_2): Likewise.
6787         (_FP_MUL_MEAT_2_wide): Likewise.
6788         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6789         (_FP_MUL_MEAT_2_gmp): Likewise.
6790         (_FP_MUL_MEAT_2_120_240_double): Likewise.
6791         (_FP_SQRT_MEAT_2): Likewise.
6792         (_FP_FRAC_ASSEMBLE_2): Likewise.
6793         (_FP_FRAC_DISASSEMBLE_2): Likewise.
6794         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6795         (_FP_FRAC_CLZ_4): Likewise.
6796         (_FP_MUL_MEAT_4_wide): Likewise.
6797         (_FP_MUL_MEAT_4_gmp): Likewise.
6798         (_FP_SQRT_MEAT_4): Likewise.
6799         (_FP_FRAC_ASSEMBLE_4): Likewise.
6800         (_FP_FRAC_DISASSEMBLE_4): Likewise.
6801         * soft-fp/op-common.h (_FP_CMP): Likewise.
6802         (_FP_CMP_EQ): Likewise.
6803         (_FP_CMP_UNORD): Likewise.
6804         (_FP_TO_INT): Likewise.
6805         (_FP_FROM_INT): Likewise.
6806         [!__FP_CLZ] (__FP_CLZ): Likewise.
6807         (_FP_DIV_HELP_imm): Likewise.
6808         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6809         Likewise.
6810         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6811         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6812         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6814         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6815         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6821         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6822         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6823         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6824         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6825         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6826         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6828         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6832         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6839         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6840         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6841         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6842         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6843         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6844         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6845         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6846         (FP_UNPACK_RAW_SP): Likewise.
6847         (FP_PACK_RAW_S): Likewise.
6848         (FP_PACK_RAW_SP): Likewise.
6849         (FP_UNPACK_S): Likewise.
6850         (FP_UNPACK_SP): Likewise.
6851         (FP_UNPACK_SEMIRAW_S): Likewise.
6852         (FP_UNPACK_SEMIRAW_SP): Likewise.
6853         (FP_PACK_S): Likewise.
6854         (FP_PACK_SP): Likewise.
6855         (FP_PACK_SEMIRAW_S): Likewise.
6856         (FP_PACK_SEMIRAW_SP): Likewise.
6857         (_FP_SQRT_MEAT_S): Likewise.
6858         (FP_CMP_S): Likewise.
6859         (FP_CMP_EQ_S): Likewise.
6860         (FP_CMP_UNORD_S): Likewise.
6861         (FP_TO_INT_S): Likewise.
6862         (FP_FROM_INT_S): Likewise.
6864         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6866         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6867         (FP_EX_INVALID_IMZ): Likewise.
6868         (FP_EX_INVALID_IMZ_FMA): Likewise.
6869         (FP_EX_INVALID_ISI): Likewise.
6870         (FP_EX_INVALID_ZDZ): Likewise.
6871         (FP_EX_INVALID_IDI): Likewise.
6872         (FP_EX_INVALID_SQRT): Likewise.
6873         (FP_EX_INVALID_CVI): Likewise.
6874         (FP_EX_INVALID_VC): Likewise.
6875         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6876         "invalid" exceptions.
6877         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6878         (_FP_ADD_INTERNAL): Likewise.
6879         (_FP_MUL): Likewise.
6880         (_FP_FMA): Likewise.
6881         (_FP_DIV): Likewise.
6882         (_FP_CMP_CHECK_NAN): Likewise.
6883         (_FP_SQRT): Likewise.
6884         (_FP_TO_INT): Likewise.
6885         (FP_EXTEND): Likewise.
6887 2014-10-09  Allan McRae  <allan@archlinux.org>
6889         * po/fr.po: Update French translation from translation project.
6891 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6893         [BZ #14132]
6894         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6895         of INTDEF.
6896         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6897         (__cxa_atexit): Use libc_hidden_proto.
6898         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6900         [BZ #14132]
6901         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6902         declaration.
6903         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6904         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6905         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6906         [!_ISOMAC] (__iswctype_internal): Likewise.
6907         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6908         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6909         alias.
6910         (fcntl): Remove __fcntl_internal alias.
6911         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6912         __connect_internal alias.
6913         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6914         Likewise.
6916         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6917         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6918         FP_DENORM_ZERO.
6919         (_FP_CHECK_FLUSH_ZERO): New macro.
6920         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6921         (_FP_CMP): Likewise.
6922         (_FP_CMP_EQ): Likewise.
6923         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6924         FP_DENORM_ZERO.
6925         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6926         (FP_TRUNC): Likewise.
6928         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6929         treated as invalid conversion, not as normal exponent.
6931         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6932         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6933         (_FP_CMP_EQ): Likewise.
6934         (_FP_CMP_UNORD): Likewise.
6935         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6936         (FP_CMP_EQ_D): Likewise.
6937         (FP_CMP_UNORD_D): Likewise.
6938         * soft-fp/extended.h (FP_CMP_E): Likewise.
6939         (FP_CMP_EQ_E): Likewise.
6940         (FP_CMP_UNORD_E): Likewise.
6941         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6942         (FP_CMP_EQ_Q): Likewise.
6943         (FP_CMP_UNORD_Q): Likewise.
6944         * soft-fp/single.h (FP_CMP_S): Likewise.
6945         (FP_CMP_EQ_S): Likewise.
6946         (FP_CMP_UNORD_S): Likewise.
6947         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6948         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6949         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6950         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6951         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6952         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6953         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6954         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6955         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6956         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6957         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6958         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6959         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6960         to FP_CMP_Q.
6961         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6962         FP_CMP_Q.
6963         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6964         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6965         FP_CMP_EQ_Q.
6966         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6967         FP_CMP_Q.
6968         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6969         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6970         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6971         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6972         FP_CMP_EQ_Q.
6973         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6974         FP_CMP_Q.
6975         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6976         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6977         FP_CMP_EQ_Q.
6978         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6979         FP_CMP_Q.
6980         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6981         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6982         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6983         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6984         FP_CMP_EQ_Q.
6986         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6987         a subnormal result, set the underflow exception if trapping on
6988         underflow is enabled.
6989         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6990         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6991         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6992         redefine to 0.
6993         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6994         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6995         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6996         * soft-fp/extendxftf2.c (__extendxftf2): Use
6997         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6999         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7000         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7001         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7002         FP_HANDLE_EXCEPTIONS.
7003         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7004         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7005         FP_HANDLE_EXCEPTIONS.
7006         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7007         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7008         FP_HANDLE_EXCEPTIONS.
7009         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7010         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7011         FP_HANDLE_EXCEPTIONS.
7013 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7015         [BZ #14132]
7016         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7017         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7018         use INTUSE.
7019         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7020         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7021         Remove alias.
7022         (__adjtimex): Define using libc_hidden_ver.
7023         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7024         Remove declaration.
7025         (ntp_gettime): Call __adjtimex directly.
7026         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7027         Remove declaration.
7028         (ntp_gettimex): Call __adjtimex directly.
7029         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7030         __adjtimex_internal alias.
7032 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7034         [BZ #17460]
7035         * nscd/nscd.c (more_help): Rewrite list of tables collection
7036         using xstrdup and asprintf.
7038         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7040 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7041             Roland McGrath  <roland@hack.frob.com>
7043         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7044         (do_lookup_unique): ... local function 'enter' here; update callers.
7046 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7048         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7049         compat_symbol calls on [SHARED].
7050         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7051         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7052         Remove.
7053         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7054         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7055         (oldsetrlimit): Remove.
7056         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7058         (lchown): New syscall entry.
7059         (oldsetrlimit): Remove.
7060         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7061         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7062         (oldsetrlimit): Remove.
7063         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7065         [BZ #14138]
7066         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7067         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7068         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7069         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7070         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7071         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7072         (fchown): Likewise.
7073         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7074         (fchown): Likewise.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7076         Likewise.
7078 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7080         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7081         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7082         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7083         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7084         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7085         Likewise.
7086         (__old_sem_post): Likewise.
7088 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7090         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7091         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7092         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7093         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7094         Use INLINE_VSYSCALL macro.
7095         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7096         __vdso_clock_gettime.
7097         * sysdeps/unix/sysv/linux/tile/init-first.c
7098         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7099         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7100         __vdso_clock_gettime.
7102         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7103         to set up frame more cleanly.
7105         * sysdeps/tile/memcmp.c: New file.
7107         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7109         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7110         * sysdeps/tile/tilegx/strcasestr.c: New file.
7111         * sysdeps/tile/tilegx/strnlen.c: New file.
7112         * sysdeps/tile/tilegx/strstr.c: New file.
7114         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7116 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7118         * nptl/tst-setuid3.c: Write errors to stdout.
7120 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7122         * elf/dl-deps.c
7123         (preload): New functions broken out of _dl_map_object_deps.
7124         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7126 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7128         [BZ #14138]
7129         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7130         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7132 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7134         * sysdeps/mips/strcmp.S: New.
7136 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7138         [BZ #14138]
7139         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7140         (linkat): Likewise.
7141         (mkdirat): Likewise.
7142         (readlinkat): Likewise.
7143         (renameat): Likewise.
7144         (symlinkat): Likewise.
7145         (unlinkat): Likewise.
7146         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7147         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7148         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7149         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7150         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7151         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7152         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7154 2014-09-30  Will Newton  <will.newton@linaro.org>
7156         * math/math.h: Define long double math functions if
7157         _LIBC_TEST is defined.
7158         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7160         * localedata/Makefile: Move assignment to tests-special
7161         into an ifdef testing run-built-tests.
7162         * timezone/Makefile: Likewise.
7164 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7166         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7167         with $(BASH) not $(SHELL).
7169 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7170             Matthew LeGendre  <legendre1@llnl.gov>
7172         [BZ #17411]
7173         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7174         l_reloc_result.
7176 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7178         * stdio-common/printf_fp.c
7179         (hack_digit): New function, broken out of ...
7180         (__printf_fp): ... local function here.  Update call sites.
7181         hack_digit now takes an additional parameter that is a pointer
7182         to a struct of the referenced locals.  Those locals moved inside
7183         the struct and references updated.
7185 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7187         * aclocal.m4: Require autoconf 2.69.
7188         * configure: Regenerated.
7189         * sysdeps/aarch64/configure: Likewise.
7190         * sysdeps/alpha/configure: Likewise.
7191         * sysdeps/arm/armv7/configure: Likewise.
7192         * sysdeps/arm/configure: Likewise.
7193         * sysdeps/ia64/configure: Likewise.
7194         * sysdeps/mach/configure: Likewise.
7195         * sysdeps/mips/configure: Likewise.
7196         * sysdeps/s390/configure: Likewise.
7197         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7200         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7201         file.
7202         * sysdeps/ia64/configure.ac: Likewise.
7204 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7207         specify symbol version for ld.so.  Do not include entry for
7208         libpthread.
7209         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7210         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7211         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7213         [BZ #14171]
7214         * Makeconfig [$(build-shared) = yes]
7215         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7216         makefiles.
7217         [$(build-shared) = yes && $(soversions.mk-done) = t]
7218         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7219         [$(build-shared) = yes && $(soversions.mk-done) = t]
7220         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7221         to Makerules.
7222         [$(build-shared) = yes && $(soversions.mk-done) = t]
7223         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7224         here.
7225         [$(build-shared) = yes && $(soversions.mk-done) = t]
7226         (common-generated): Don't append gnu/lib-names.h and
7227         gnu/lib-names.stmp here.
7228         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7229         (lib-names-h-abi): New variable.
7230         [$(build-shared) = yes && $(soversions.mk-done) = t]
7231         (lib-names-stmp-abi): Likewise.
7232         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7233         abi-variants] (before-compile): Append
7234         $(common-objpfx)$(lib-names-h-abi).
7235         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7236         abi-variants] (common-generated): Append gnu/lib-names.h.
7237         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7238         abi-variants] (install-others-nosubdir): Depend on
7239         $(inst_includedir)/$(lib-names-h-abi).
7240         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7241         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7242         [$(build-shared) = yes && $(soversions.mk-done) = t]
7243         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7244         [$(build-shared) = yes && $(soversions.mk-done) = t]
7245         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7246         [$(build-shared) = yes && $(soversions.mk-done) = t]
7247         (common-generated): Append $(lib-names-h-abi) and
7248         $(lib-names-stmp-abi).
7249         * scripts/lib-names.awk: Do not handle multi being set.
7250         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7251         Remove variable.
7252         (abi-lp64_be-ld-soname): Likewise.
7253         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7254         Likewise.
7255         (abi-hard-ld-soname): Likewise.
7256         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7257         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7258         Remove variable.
7259         (abi-o32_hard-ld-soname): Likewise.
7260         (abi-o32_soft_2008-ld-soname): Likewise.
7261         (abi-o32_hard_2008-ld-soname): Likewise.
7262         (abi-n32_soft-ld-soname): Likewise.
7263         (abi-n32_hard-ld-soname): Likewise.
7264         (abi-n32_soft_2008-ld-soname): Likewise.
7265         (abi-n32_hard_2008-ld-soname): Likewise.
7266         (abi-n64_soft-ld-soname): Likewise.
7267         (abi-n64_hard-ld-soname): Likewise.
7268         (abi-n64_soft_2008-ld-soname): Likewise.
7269         (abi-n64_hard_2008-ld-soname): Likewise.
7270         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7271         Likewise.
7272         (abi-64-v2-ld-soname): Likewise.
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7274         ld.so entries.
7275         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7276         variable.
7277         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7278         entry.
7279         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7280         variable.
7281         (abi-64-ld-soname): Likewise.
7282         (abi-x32-ld-soname): Likewise.
7283         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7284         entry.
7285         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7287 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7289         [BZ #14138]
7290         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7291         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7292         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7293         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7294         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7295         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7296         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7297         syscall entry for GLIBC_2.2 symbol version.
7298         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7299         Likewise.
7300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7301         (setrlimit): Likewise.
7302         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7303         Likewise.
7305 2014-09-23  Will Newton  <will.newton@linaro.org>
7307         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7308         _LINUX_ARM_SYSDEP_H include guard too.
7309         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7310         define.
7312 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7314         * sysdeps/unix/sysv/linux/eventfd.c:
7315         Make first argument unsigned.
7316         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7317         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7319 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7321         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7322         * socket/sys/socket.h: Likewise
7323         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7325 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7327         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7329 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7331         * time/tst-ftime.c: New test.
7332         * time/Makefile (tests): Add tst-ftime.
7334 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7336         * soft-fp/extended.h: Fix comment formatting.
7337         * soft-fp/op-1.h: Likewise.
7338         * soft-fp/op-2.h: Likewise.
7339         * soft-fp/op-4.h: Likewise.
7340         * soft-fp/op-8.h: Likewise.
7341         * soft-fp/op-common.h: Likewise.
7342         * soft-fp/soft-fp.h: Likewise.
7344         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7346 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7348         [BZ #6652]
7349         * Makeconfig (soversions-default-setname): Remove variable.
7350         ($(common-objpfx)soversions.i): Don't pass default_setname to
7351         soversions.awk.
7352         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7353         oldest_abi to abi-versions.awk.
7354         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7355         * config.make.in (oldest-abi): Remove variable.
7356         * configure.ac (--enable-oldest-abi): Remove configure option.
7357         * configure: Regenerated.
7358         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7359         text.
7360         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7361         * scripts/soversions.awk: Do not handle default_setname variable.
7362         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7363         variable.
7364         * sysdeps/mach/hurd/configure: Regenerated.
7365         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7366         variable.
7367         * sysdeps/unix/sysv/linux/configure: Regenerated.
7369 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7371         * elf/Makefile (CFLAGS-interp.c): Remove.
7372         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7373         path string.
7374         * elf/interp.c: Include generated runtime-linker.h
7376         * Makerules (lib%.so): Don't include $(+interp) in
7377         prerequisites.
7378         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7379         * dlfcn/eval.c: Remove file.
7381         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7382         macros.
7384         [BZ #17266]
7385         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7386         4.2 and newer.
7388         [BZ #17370]
7389         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7391 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7392             Jakub Jelinek  <jakub@redhat.com>
7394         [BZ #17266]
7395         * libio/stdio.h: Check definition of __fortify_function
7396         instead of __extern_always_inline to include bits/stdio2.h.
7397         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7398         check if __extern_always_inline is defined.
7399         [__USE_MISC || __USE_XOPEN]: Likewise.
7400         [__USE_ISOC99] Likewise.
7401         * misc/sys/cdefs.h (__fortify_function): Define only if
7402         __extern_always_inline is defined.
7403         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7404         __extern_always_inline and __extern_inline only for g++-4.3
7405         and newer or a compatible gcc.
7407 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7409         [BZ #17371]
7410         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7411         last change to handle zero prefix length.
7413 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7415         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7416         _SC_REGEX_VERSION.
7418         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7419         _POSIX_RAW_SOCKETS.
7421 2014-09-13  Allan McRae  <allan@archlinux.org>
7423         * po/ru.po: Update Russian translation from translation project.
7425 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7427         * locale/programs/locale.c (show_locale_vars): Inline local function
7428         into its sole call site.  Clean up some style nits.
7429         (print_item): New function, broken out of ...
7430         (show_info): ... local function here.  Clean up style nits.
7432         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7433         out of ...
7434         (set_class_defaults): ... local function set_default here.
7435         Define set_default as a macro locally to pass constant parameters.
7436         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7437         rather than a shared local.
7439         * stdlib/rpmatch.c (try): New function, broken out of ...
7440         (rpmatch): ... local function here.  Also, prototypify definition.
7442 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7444         * scripts/soversions.awk: Do not handle configuration names.
7445         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7446         vendor and os variables to soversions.awk.
7447         * configure.ac: Do not modify gnu-* host_os.
7448         * configure: Regenerated
7449         * shlib-versions: Remove first column with configuration names.
7450         * nptl/shlib-versions: Likewise.
7451         * nptl_db/shlib-versions: Likewise.
7452         * sysdeps/hppa/shlib-versions: Likewise.
7453         * sysdeps/m68k/shlib-versions: Likewise.
7454         * sysdeps/mach/hurd/shlib-versions: Likewise.
7455         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7456         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7457         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7458         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7459         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7460         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7461         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7462         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7464         Likewise.
7465         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7466         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7467         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7468         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7469         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7470         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7471         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7472         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7475         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7477         Regenerated.
7478         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7480         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7482         * shlib-versions: Remove OS-specific entries.  Moved to files in
7483         sysdeps.
7484         * sysdeps/mach/hurd/shlib-versions: New file.
7485         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7487         * nptl/shlib-versions: Remove architecture-specific entries.
7488         Moved to files in sysdeps.
7489         * shlib-versions: Likewise.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7491         file.
7492         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7493         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7494         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7495         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7497         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7498         (UDP_NO_CHECK6_RX): Likewise.
7500 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7502         * sysdeps/posix/sysconf.c (__sysconf): Spell
7503         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7505 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7507         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7508         loading.
7509         * iconv/Versions (__gconv_transliterate): Export for use from
7510         gconv modules.
7511         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7512         (struct __gconv_trans_data, __gconv_trans_fct,
7513         __gconv_trans_context_fct, __gconv_trans_query_fct,
7514         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7515         definitions.
7516         (struct __gconv_step_data): Remove __trans member.
7517         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7518         longer hidden.  Remove unused trans_data argument.
7519         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7520         (__gconv_translit_find): Remove declaration.
7521         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7522         prototype.
7523         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7524         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7525         trans_data argument.  Add hidden definition.
7526         (__gconv_translit_find): Remove.
7527         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7528         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7529         * iconv/skeleton.c: Remove transliteration initialization.
7530         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7531         __gconv_step_data initialization.
7532         * libio/iofwide.c (__libio_translit_): Remove.
7533         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7534         * wcsmbs/btowc.c (__btowc): Likewise.
7535         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7536         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7537         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7538         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7539         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7540         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7541         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7542         * wcsmbs/wctob.c (wctob): Likewise.
7544 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7546         [BZ #16194]
7547         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7548         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7549         register usage.
7550         * sysdeps/x86/Makefile: Adjust.
7552 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7553             Roland McGrath  <roland@hack.frob.com>
7555         * locale/weight.h: Add include guard.
7556         (findidx): Make static rather than auto; take new parameters
7557         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7558         * locale/weightwc.h: Likewise.
7559         * posix/fnmatch_loop.c
7560         (FCT): Change type of EXTRA from int32_t to wint_t.
7561         Don't include either header inside the function.
7562         Call FINDIDX rather than findidx, and pass new arguments.
7563         #undef FINDIDX at the end of the file.
7564         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7565         FINDIDX before including fnmatch_loop.c for the non-wide version.
7566         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7567         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7568         for the wide version.
7569         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7570         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7571         Pass new arguments to findidx.
7572         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7573         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7574         Don't #include it inside the function.  Pass new arguments to findidx.
7575         * posix/regex_internal.h
7576         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7577         (re_string_elem_size_at): Don't #include it inside the function.
7578         Pass new arguments to findidx.
7579         * string/strcoll_l.c: #include WEIGHT_H at top level.
7580         (get_next_seq): Don't #include it inside the function.
7581         Pass new arguments to findidx.
7582         (get_next_seq_nocache): Likewise.
7583         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7584         (STRXFRM): Don't #include it inside the function.
7585         Pass new arguments to findidx.
7587 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7589         [BZ #17344]
7590         * malloc/malloc.c (unlink): Turn asserts into a call to
7591         malloc_printerr.
7593 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
7595         [BZ #17370]
7596         * libio/wfileops (do_ftell_wide): Free OUT.
7598 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7600         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7602 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7604         [BZ #17363]
7605         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7606         group if the current group is empty.
7608 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7610         * benchtests/bench-memset.c (test_main): Add more test from size
7611         from 32 to 512 bytes.
7612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7613         Add POWER8 memset object.
7614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7615         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7616         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7617         implementation.
7618         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7619         Likewise.
7620         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7621         multiarch POWER8 memset optimization.
7622         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7623         POWER8 memset optimization.
7625         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7626         Remove bzero multiarch objects.
7627         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7628         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7629         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7630         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7631         Remove define.
7632         [__bzero]: Redefine to specific name.
7633         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7634         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7635         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7636         define.
7637         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7638         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7640 2014-09-10  Florian Weimer  <fweimer@redhat.com>
7642         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7643         warnings into errors.
7645         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7646         __cxa_thread_atexit_impl prototype.
7648 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7650         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7651         Fix capitalization of error message.
7653 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7655         * sysdeps/mips/preconfigure: Modify ABI tests.
7657 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
7659         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7661 2014-09-07  Roland McGrath  <roland@hack.frob.com>
7662             Carlos O'Donell  <carlos@systemhalted.org>
7664         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7665         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7666         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7667         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7668         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7669         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7670         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7671         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7672         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7675         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7676         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7677         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7678         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7679         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7680         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7681         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7682         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7683         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7684         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7685         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7686         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7687         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7688         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7689         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7690         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7691         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7692         Deconditionalize the code that was previously under [RESET_PID].
7693         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7694         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7695         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7696         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7697         include sysdep.h.
7699 2014-09-08  Allan McRae  <allan@archlinux.org>
7701         * version.h (RELEASE): Set to "development".
7702         (VERSION): Set to "2.20.90"
7704 2014-09-07  Allan McRae  <allan@archlinux.org
7706         * version.h (RELEASE): Set to "stable".
7707         (VERSION): Set to "2.20"
7708         * include/features.h (__GLIBC_MINOR__): Set to 20.
7710         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7711         Liebler.
7713         * po/ko.po: Update Korean translation from translation project.
7715 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
7717         [BZ #17354]
7718         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7719         macro for handling signed relocations.
7721 2014-09-03  Florian Weimer  <fweimer@redhat.com>
7723         [BZ #17325]
7724         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7725         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7726         assert.
7727         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7728         * iconvdata/ibm935.c (BODY): Likewise.
7729         * iconvdata/ibm937.c (BODY): Likewise.
7730         * iconvdata/ibm939.c (BODY): Likewise.
7731         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7732         assert.
7733         * iconvdata/Makefile (iconv-test.out): Pass module list to test
7734         script.
7735         * iconvdata/run-iconv-test.sh: New test loop for checking for
7736         decoder crashers.
7738 2014-09-02  Khem Raj  <raj.khem@gmail.com>
7740         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7741         libm_hidden_ver.
7743 2014-09-01  Allan McRae  <allan@archlinux.org>
7745         * po/eo.po: Update Esperanto translation from translation project.
7747         * po/ca.po: Update Catalan translation from translation project.
7749 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7751         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7752         __proc_dostop call.
7754 2014-08-27  Mark Wielaard  <mjw@redhat.com>
7756         [BZ #17319]
7757         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7758         to call set_thread_area instead of hand written asm.
7759         (__NR_set_thread_area): Removed define.
7760         (TLS_FLAG_WRITABLE): Likewise.
7761         (__ASSUME_SET_THREAD_AREA): Remove check.
7762         (TLS_EBX_ARG): Remove define.
7763         (TLS_LOAD_EBX): Likewise.
7765 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7767         Simplify atomicity of socket creation in bind.
7769         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7770         looking up the name after linking the file.
7772 2014-08-27  Allan McRae  <allan@archlinux.org>
7774         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7776 2014-08-26  Florian Weimer  <fweimer@redhat.com>
7778         [BZ #17187]
7779         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7780         trans_compare, open_translit, __gconv_translit_find):
7781         Remove module loading code.
7783 2014-08-26  Allan McRae  <allan@archlinux.org>
7785         * po/vi.po: Update Vietnamese translation from translation project.
7787         * po/uk.po: Update Ukrainian translation from translation project.
7789         * po/fr.po: Update French translation from translation project.
7791         * po/ru.po: Update Russian translation from translation project.
7793         * po/pl.po: Update Polish translation from translation project.
7795         * po/cs.po: Update Czech translation from translation project.
7797         * po/de.po: Update German translation from translation project.
7799         * po/bg.po: Update Bulgarian translation from translation project.
7801         * po/sv.po: Update Sweedish translation from translation project.
7803         * po/nl.po: Update Dutch translation from translation project.
7805         * po/es.po: Update Spanish translation from translation project.
7807 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7809         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7811         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7812         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7813         (CPPFLAGS-iconvconfig): Likewise.
7814         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7816         * include/libc-symbols.h: Remove unnecessary check for
7817         NOT_IN_libc.
7818         * nptl/pthreadP.h: Likewise.
7819         * sysdeps/aarch64/setjmp.S: Likewise.
7820         * sysdeps/alpha/setjmp.S: Likewise.
7821         * sysdeps/arm/sysdep.h: Likewise.
7822         * sysdeps/i386/setjmp.S: Likewise.
7823         * sysdeps/m68k/setjmp.c: Likewise.
7824         * sysdeps/posix/getcwd.c: Likewise.
7825         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7826         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7827         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7828         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7829         * sysdeps/sh/sh3/setjmp.S: Likewise.
7830         * sysdeps/sh/sh4/setjmp.S: Likewise.
7831         * sysdeps/unix/alpha/sysdep.h: Likewise.
7832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7833         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7834         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7835         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7840         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7843         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7845         * sysdeps/x86_64/setjmp.S: Likewise.
7847 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7849         [BZ #17263]
7850         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7851         <stdint.h>.
7852         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7853         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7855 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7857         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7859         [BZ #17262]
7860         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7861         and __x86_64__ when disabling x87 inline functions.
7863 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7865         [BZ #17259]
7866         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7867         asm statement with __cpuid_count.
7869 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7871         * configure.ac: Change __ehdr_start code to dereference the struct.
7872         Run readelf on the output to look for relocations.
7873         * configure: Regenerated.
7875 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7877         [BZ #17261]
7878         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7879         value to 0.
7880         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7882 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7884         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7886 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7888         [BZ #16892]
7889         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7890         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7892 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7894         * malloc/malloc.c: Fix typo in comment.
7896 2014-08-09  Allan McRae  <allan@archlinux.org>
7898         * Regenerate libc.po.
7900 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7902         * intl/tst-gettext2.sh: Check every lang file for creation.
7904 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7906         * sysdeps/aarch64/fpu/math_private.h
7907         (libc_feholdsetround_noex_aarch64_ctx): New function.
7909 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7911         * sysdeps/arm/armv6/strcpy.S (strcpy):
7912         Fix performance issue in misaligned cases.
7914 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7916         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7917         Move definition from termios.h.
7918         (struct termio): Likewise.
7919         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7920         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7921         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7922         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7923         Likewise.
7924         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7925         Move definition to ioctl-types.h
7926         (struct termio): Likewise.
7927         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7928         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7929         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7930         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7931         Likewise.
7933 2014-08-05  Richard Henderson  <rth@redhat.com>
7935         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7936         exceptions.
7937         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7938         Add fraiseexcpt.
7939         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7940         Use __feraiseexcept.
7941         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7942         Protect libm symbols with IS_IN_libm.
7944         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7946 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7948         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7950 2014-08-04  Will Newton  <will.newton@linaro.org>
7952         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7953         file.
7955 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7957         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7958         variants for each function.
7960 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7962         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7963         appended ...
7964         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7965         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7966         appended ...
7967         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7968         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7969         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7970         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7971         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7972         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7973         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7974         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7975         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7976         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7977         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7978         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7979         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7980         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7981         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7982         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7983         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7984         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7985         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7986         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7987         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7988         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7989         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7990         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7991         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7992         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7993         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7994         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7995         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7996         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7997         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7998         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7999         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8000         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8001         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8002         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8003         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8004         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8005         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8006         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8007         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8008         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8009         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8010         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8011         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8013         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8015         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8017         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8018         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8019         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8020         Update #include.
8021         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8022         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8024 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8026         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8027         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8028         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8029         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8030         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8031         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8033 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8035         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8036         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8037         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8038         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8040 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8042         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8043         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8044         (__libc_vfork): Define function under this name.
8045         (__vfork): Define as an alias.
8046         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8047         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8049 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8051         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8052         that was previously under [RESET_PID].
8053         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8055 2014-08-04  Andreas Schwab  <schwab@suse.de>
8057         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8059 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8061         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8062         (main): Likewise.
8064 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8066         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8068 2014-08-01  Richard Henderon  <rth@redhat.com>
8070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8071         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8072         typo in exact zero test.
8073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8074         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8075         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8077 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8079         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8080         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8081         * sysdeps/arm/sysdep.h: ... here.
8082         [!__ASSEMBLER__]: Include <stdint.h>.
8084 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8086         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8087         (HAVE_WCTYPE_H): Likewise.
8088         (HAVE_ISWCTYPE): Likewise.
8089         (ENABLE_NLS): Likewise.
8090         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8091         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8093         * posix/regex_internal.c: Check if DEBUG is defined and is
8094         set.
8096         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8097         (HAVE_MBSRTOWCS): Likewise.
8098         * posix/fnmatch.c: Include string.h unconditionally.
8100 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8102         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8103         reversal.
8105 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8107         * sysdeps/generic/safe-fatal.h: New file.
8108         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8109         * nptl/forward.c: Include it.
8110         (__pthread_unwind): Use __safe_fatal as default action, rather
8111         than a bogus use of INTERNAL_SYSCALL that could never work.
8113         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8114         * configure.ac (libc_cv_builtin_trap): New test.
8115         * configure: Regenerated.
8116         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8117         (ABORT_INSTRUCTION): Define using __builtin_trap.
8119         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8120         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8121         * sysdeps/nptl/nptl-signals.h: New file.
8122         * nptl/pthreadP.h: Include <nptl-signals.h>.
8124 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8126         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8127         (ONE_DIRECTION): Define.
8128         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8129         (ONE_DIRECTION): Define.
8130         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8131         (ONE_DIRECTION): Define.
8133 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8135         * sysdeps/s390/Makefile: Delete file.
8136         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8137         * sysdeps/s390/__longjmp.c: Delete file.
8138         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8139         Remove fields __flags and __reserved.
8140         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8141         and add versioning.
8142         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8143         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8144         * sysdeps/s390/rtld-setjmp.S: Likewise.
8145         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8146         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8147         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8148         * sysdeps/s390/s390-32/setjmp.S: ... here.
8149         Add versioning.
8150         (__sigsetjmp): Remove setting __flags field.
8151         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8152         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8153         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8154         * sysdeps/s390/s390-64/setjmp.S: ... here.
8155         Add versioning.
8156         (__sigsetjmp): Remove setting __flags field.
8157         * sysdeps/s390/setjmp.S: Delete file.
8158         * sysdeps/s390/sigjmp.c: Likewise.
8159         * sysdeps/s390/v1-longjmp.c: Likewise.
8160         * sysdeps/s390/v1-setjmp.h: Likewise.
8161         * sysdeps/s390/v1-sigjmp.c: Likewise.
8162         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8163         Remove v1-longjmp_chk.
8164         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8165         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8166         Include debug/longjmp_chk.c and add versioning.
8167         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8168         Include nptl/pt-longjmp.c and add versioning.
8169         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8170         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8171         Include __longjmp.c.
8172         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8173         Move to ...
8174         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8175         (__getcontext): Remove setting __flags field.
8176         Add versioning.
8177         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8178         Don't restore upper high grps.
8179         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8180         Likewise.
8181         (__swapcontext): Remove setting uc_flags field.
8182         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8183         Delete file.
8184         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8185         Include __longjmp.c.
8186         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8187         Move to ...
8188         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8189         (__getcontext): Remove setting __flags field.
8190         Add versioning.
8191         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8192         (__swapcontext): Remove setting uc_flags field.
8193         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8194         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8195         Remove fields uc_high_gprs and __reserved.
8196         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8197         New file with reverted content.
8198         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8199         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8200         Regenerated.
8201         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8202         Regenerated.
8204 2014-07-31  Andreas Schwab  <schwab@suse.de>
8206         * config.h.in (HAVE_IFUNC): Define to 0.
8207         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8208         definedness.
8210 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8213         memmove-avx-unaligned, memcpy-avx-unaligned and
8214         mempcpy-avx-unaligned.
8215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8216         Add tests for AVX memcpy functions.
8217         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8218         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8219         memcpy_chk.
8220         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8221         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8222         memmove_chk.
8223         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8224         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8225         mempcpy_chk.
8226         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8227         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8228         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8230 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8232         [BZ #17213]
8233         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8234         powerpc64le.
8236 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8238         [BZ #16839]
8239         * manual/llio.texi: Add section about open file description locks.
8240         * manual/examples/ofdlocks.c: Example of open file description
8241         lock usage.
8242         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8243         F_OFD_SETLK, and F_OFD_SETLKW.
8245 2014-07-23  Allan McRae  <allan@archlinux.org>
8247         * po/es.po: Update Spanish translation from translation project.
8249 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8251         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8253 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8255         [BZ #17078]
8256         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8257         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8258         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8260 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8262         [BZ #17088]
8263         * math/fesetenv.c (__fesetenv)
8264         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8265         * math/feupdateenv.c (__feupdateenv)
8266         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8268         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8269         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8270         (__ASSUME_SOCKETCALL): Do not define.
8272         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8273         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8274         (__ASSUME_SOCKETCALL): Do not define.
8275         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8276         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8277         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8278         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8279         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8280         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8281         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8282         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8284         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8285         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8286         (__ASSUME_SOCKETCALL): Do not define.
8287         (__ASSUME_IPC64): Define unconditionally.
8288         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8289         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8290         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8292         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8294         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8295         Likewise.
8297         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8298         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8299         (__ASSUME_SOCKETCALL): Do not define.
8300         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8301         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8302         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8303         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8304         (__ASSUME_REQUEUE_PI): Define unconditionally.
8305         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8306         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8307         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8308         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8310         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8312         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8313         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8314         (__ASSUME_SOCKETCALL): Do not define.
8315         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8317         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8318         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8320         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8322         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8323         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8324         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8325         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8326         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8327         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8329         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8330         (__ASSUME_GETCPU_SYSCALL): Likewise.
8332         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8333         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8334         cases for individual architectures.
8335         * sysdeps/gnu/configure: Regenerated.
8336         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8337         LIBC_SLIBDIR_RTLDDIR.
8338         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8339         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8340         LIBC_SLIBDIR_RTLDDIR.
8341         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8343         LIBC_SLIBDIR_RTLDDIR.
8344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8345         Regenerated.
8346         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8347         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8348         file.
8349         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8350         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8351         file.
8352         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8353         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8354         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8355         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8357         * sysdeps/aarch64/shlib-versions: Move to ...
8358         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8359         * sysdeps/alpha/shlib-versions: Move to ...
8360         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8361         * sysdeps/arm/shlib-versions: Move to ...
8362         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8363         * sysdeps/hppa/shlib-versions: Move all contents except for
8364         libgcc_s entry to ...
8365         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8366         entry from ...
8367         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8368         * sysdeps/ia64/shlib-versions: Move to ...
8369         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8370         entry from ...
8371         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8372         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8373         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8374         * sysdeps/microblaze/shlib-versions: Move to ...
8375         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8376         * sysdeps/mips/shlib-versions: Move to ...
8377         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8378         entry from ...
8379         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8380         * sysdeps/tile/shlib-versions: Move to ...
8381         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8382         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8383         from ...
8384         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8385         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8386         entry from ...
8387         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8389 2014-07-17  Will Newton  <will.newton@linaro.org>
8391         * sysdeps/arm/bits/atomic.h
8392         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8393         (__arch_compare_and_exchange_bool_16_int): Likewise.
8394         (__arch_compare_and_exchange_bool_64_int): Likewise.
8396         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8397         into an #else block.
8399 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8401         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8402         just Linux configurations.  Test empirically that the compiler sets
8403         __ARM_EABI__, rather than using the tuple to decide.
8404         * sysdeps/arm/preconfigure: Regenerated.
8405         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8406         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8407         contents appended ...
8408         * sysdeps/arm/configure.ac: ... here.
8409         * sysdeps/arm/configure: Regenerated.
8411 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8413         * nptl/pthread_kill.c: New file.
8414         * nptl/pthread_sigmask.c: New file.
8415         * nptl/pthread_sigqueue.c: New file.
8417         * sysdeps/nptl/lowlevellock.h: New file.
8418         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8419         * sysdeps/nptl/lowlevellock-futex.h: New file.
8421         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8422         Remove dead declarations.
8424 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8426         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8427         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8428         config-cflags-avx2.
8429         * sysdeps/x86_64/configure.ac: Likewise.
8430         * sysdeps/i386/configure: Regenerated.
8431         * sysdeps/x86_64/configure: Likewise.
8432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8433         memset-avx2 only if config-cflags-avx2 is yes.
8434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8435         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8436         defined.
8437         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8438         only if HAVE_AVX2_SUPPORT is defined.
8439         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8441 2014-07-14  Alan Modra  <amodra@gmail.com>
8443         [BZ #17153]
8444         * elf/elf.h (DT_PPC64_NUM): Correct value.
8445         * NEWS: Add to fixed bug list.
8447 2014-07-13  Jim Meyering  <meyering@fb.com>
8449         [BZ 17150]
8450         regex: don't deref NULL upon heap allocation failure
8451         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8452         failure in one more place.
8453         To trigger the segfault, configure grep -with-included-regex,
8454         build it, and run these commands:
8455         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8457 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8459         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8461 2014-07-11  Richard Henderson  <rth@redhat.com>
8463         * sysdeps/aarch64/libm-test-ulps: Update.
8465 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8467         [BZ #17135]
8468         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8469         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8470         (__nptl_setxid): Initialize error member.  Call
8471         __nptl_setxid_error.
8472         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8473         * nptl/descr.h (struct xid_command): Add error member.
8474         * nptl/tst-setuid3.c: New file.
8475         * nptl/Makefile (tests): Add it.
8477 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8479         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8480         New define.
8481         (__lll_trylock): Use __lll_base_trylock.
8482         (__lll_cond_trylock): Likewise.
8484 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8486         * nptl/pthread_create.c (start_thread): Use atomic_or and
8487         lll_futex_wake directly rather than lll_robust_dead.
8488         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8489         (lll_robust_dead): Macro removed.
8490         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8491         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8492         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8493         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8494         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8495         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8496         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8497         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8498         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8499         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8500         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8501         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8503         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8506         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8507         Use atomic_compare_and_exchange_val_acq directly rather than
8508         lll_robust_trylock.
8509         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8510         (__lll_robust_trylock, lll_robust_trylock): Removed.
8511         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8512         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8513         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8514         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8515         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8516         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8517         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8518         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8520         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8521         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8522         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8523         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8524         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8526 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8528         * manual/locale.texi (Locale Names): New section documenting
8529         locale name syntax.  Adjust menu and node chaining accordingly.
8530         (Choosing Locale): Reference Locale Names, Locale Categories.
8531         Mention setting LC_ALL=C.  Reflect that name syntax is now
8532         documented.
8533         (Locale Categories): New section title.  Reference Locale Names.
8534         LC_ALL is an environment variable, but not a category.
8535         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8536         description, now in Locale Name.  Reference that section.  Locale
8537         name syntax is now documented.
8539 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8541         [BZ #17137]
8542         * locale/findlocale.c (name_present, valid_locale_name): New
8543         functions.
8544         (_nl_find_locale): Use the loc_name variable to store name
8545         candidates.  Call name_present and valid_locale_name to check and
8546         validate locale names.  Return an error if the locale is invalid.
8548 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8550         * locale/setlocale.c (setlocale): Use strdup for allocating
8551         composite name copy.
8553 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8555         Sync up with gnulib.
8556         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8557         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8558         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8559         and _GL_ARG_NONNULL.
8560         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8561         [!_LIBC]: Include code for Windows and Cygwin.
8562         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8563         Include prototype for int strerror_r.
8564         [!_LIBC] (is_open): New function.
8565         (flush_stdout): New function.
8566         (print_errno_message): Use it.
8567         (error): Likewise.
8568         (error_at_line): Likewise.
8569         (error_tail) Add function attribute macros.  Use
8570         __builtin_expect.
8572         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8574         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8576         * io/ftw.c: Include sys/param.h unconditionally.
8578         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8580         [BZ #17125]
8581         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8582         libc_freeres_ptr.
8583         (freecache): New function to free CACHE on exit.
8585         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8586         initialization.
8588 2014-07-09  David S. Miller  <davem@davemloft.net>
8590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8592         * sysdeps/sparc/nptl/internaltypes.h: Delete.
8593         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8594         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8595         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8596         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8597         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8598         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8599         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8600         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8601         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8602         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8603         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8604         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8606 2014-07-09  Andreas Schwab  <schwab@suse.de>
8608         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8609         output.
8610         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8611         (do_test): Likewise.
8613         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8615 2014-07-09  Will Newton  <will.newton@linaro.org>
8617         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8618         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8619         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8620         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8621         * sysdeps/hppa/start.S (_start): Likewise.
8623 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8625         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8627         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8628         defined.
8630 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8632         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8633         after checking that it is non-NULL.
8635         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8637 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8639         * sysdeps/powerpc/memmove.c: Remove file.
8640         * sysdeps/powerpc/powerpc32/power4/memcopy.h
8641         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8642         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8643         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8644         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8645         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8646         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8647         string memmove instead of removed powerpc one.
8649         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8650         [weak_alias]: Fix compiler warning due trailing data.
8651         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8652         [weak_alias]: Likewise.
8653         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8654         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8657         (__libc_ifunc_impl_list): Add memmove functions.
8659 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8661         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8662         Remove code.
8663         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8664         Likewise
8665         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8666         Likewise
8667         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8668         Likewise
8669         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8670         Likewise
8671         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8672         Likewise
8673         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8674         Likewise
8675         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8676         Likewise
8677         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8678         Likewise
8679         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8680         Likewise
8681         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8682         Likewise
8683         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8684         Likewise
8685         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8686         Likewise
8687         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8688         Likewise
8689         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8690         Likewise
8691         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8692         Likewise
8693         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8694         Likewise
8696 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8698         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8699         to avoid alignment traps in non-cacheable memory.
8700         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8703         multiarch objects.
8704         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8705         file: multiarch power7 memmove.
8706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8707         multiarch default memmove.
8708         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8709         multiarch memove for powerpc32/power4.
8711         * string/bcopy.c: Use full path to include memmove.c.
8712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8713         multiarch objects.
8714         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8715         bcopy for powerpc64.
8716         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8717         bcopy for powerpc64.
8718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8719         and memmove implementations.
8720         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8721         optimized multiarch memmove for POWER7/powerpc64.
8722         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8723         default multiarch memmove for powerpc64.
8724         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8725         multiarch for powerpc64.
8726         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8727         for POWER7/powerpc64.
8728         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8729         memmove for POWER7/powerpc64.
8731         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8732         glibc default one.
8734         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8735         __ELF_NATIVE_CLASS equal to 64.
8737 2014-07-07  Roland McGrath  <roland@hack.frob.com>
8739         * sysdeps/nptl/lowlevellock.h: File removed.
8741         * NEWS: NPTL is no longer an add-on!
8742         * nptl/internaltypes.h: Moved ...
8743         * sysdeps/nptl/internaltypes.h: ... here.
8744         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8745         * sysdeps/nptl/fork.c: Likewise.
8746         * sysdeps/nptl/gai_misc.h: Likewise.
8747         * sysdeps/nptl/librt-cancellation.c: Likewise.
8748         * sysdeps/nptl/jmp-unwind.c: Likewise.
8749         * sysdeps/nptl/setxid.h: Likewise.
8750         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8751         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8752         * sysdeps/unix/sysv/linux/arm/Implies: New file.
8753         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8754         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8755         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8756         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8757         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8758         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8759         * sysdeps/unix/sysv/linux/mips/Implies: New file.
8760         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8761         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8762         * sysdeps/unix/sysv/linux/sh/Implies: New file.
8763         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8764         * sysdeps/unix/sysv/linux/tile/Implies: New file.
8765         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8766         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8767         * nptl/Makeconfig: Moved ...
8768         * sysdeps/nptl/Makeconfig: ... here.
8769         * nptl/configure: File removed.
8770         * nptl/ANNOUNCE: File removed.
8771         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8772         * sysdeps/unix/sysv/linux/configure: Regenerated.
8774         * nptl/Makefile (routines): Add libc_pthread_init,
8775         libc_multiple_threads, register-atfork and unregister-atfork.
8776         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8777         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8778         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8779         pthread-pi-defines.sym, structsem.sym.
8780         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8781         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8782         [$(subdir) = nptl] (tests): Add tst-setgetname.
8783         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8784         * sysdeps/unix/sysv/linux/sigaction.c: Just include
8785         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8786         [!LIBC_SIGACTION]: Remove aliases.
8787         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8788         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8789         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8790         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8791         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8792         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8793         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8796         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8797         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8798         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8799         __libc_allocate_rtsig_private.
8800         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8801         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8802         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8803         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8804         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8805         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8806         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8807         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8808         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8809         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8810         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8811         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8812         * nptl/internaltypes.h: ... here.
8813         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8814         * sysdeps/nptl/jmp-unwind.c: ... here.
8815         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8816         * nptl/libc-lowlevellock.c: ... here.
8817         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8818         * nptl/libc_multiple_threads.c: ... here.
8819         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8820         * nptl/libc_pthread_init.c: ... here.
8821         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8822         * nptl/lowlevelbarrier.sym: ... here.
8823         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8824         * nptl/lowlevelcond.sym: ... here.
8825         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8826         * nptl/lowlevellock.c: ... here.
8827         * nptl/lowlevellock.h: Moved ...
8828         * sysdeps/nptl/lowlevellock.h: ... here.
8829         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8830         * nptl/lowlevelrobustlock.c: ... here.
8831         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8832         * nptl/lowlevelrobustlock.sym: ... here.
8833         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8834         * nptl/lowlevelrwlock.sym: ... here.
8835         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8836         * nptl/pt-fork.c: ... here.
8837         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8838         * nptl/pthread-pi-defines.sym: ... here.
8839         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8840         * nptl/pthread_attr_getaffinity.c: ... here.
8841         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8842         * nptl/pthread_attr_setaffinity.c: ... here.
8843         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8844         * nptl/pthread_mutex_cond_lock.c: ... here.
8845         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8846         Update #include.
8847         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8848         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8849         * nptl/pthread_once.c: ... here, replacing old file.
8850         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8851         * nptl/pthread_yield.c: ... here.
8852         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8853         * nptl/register-atfork.c: ... here.
8854         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8855         * nptl/sem_post.c: ... here.
8856         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8857         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8858         * nptl/sem_timedwait.c: ... here.
8859         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8860         * nptl/sem_trywait.c: ... here.
8861         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8862         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8863         * nptl/sem_wait.c: ... here.
8864         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8865         * nptl/structsem.sym: ... here.
8866         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8867         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8868         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8869         * nptl/unregister-atfork.c: ... here.
8870         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8871         * nptl/unwindbuf.sym: ... here.
8872         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8873         * sysdeps/nptl/fork.c: ... here.
8874         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8875         * sysdeps/nptl/fork.h: ... here.
8876         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8877         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8878         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8879         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8880         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8881         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8882         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8883         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8884         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8885         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8886         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8887         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8888         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8889         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8890         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8891         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8892         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8893         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8894         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8895         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8896         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8897         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8898         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8899         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8900         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8901         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8902         * sysdeps/unix/sysv/linux/raise.c: ... here.
8903         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8904         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8905         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8906         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8907         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8908         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8909         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8910         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8911         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8912         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8913         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8914         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8915         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8916         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8917         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8919 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8921         * sysdeps/generic/memcopy.h: Add comment for
8922         MEMCPY_OK_FOR_FWD_MEMMOVE.
8924 2014-07-04  Will Newton  <will.newton@linaro.org>
8926         * string/memchr.c: Merge from gnulib.
8927         [_LIBC]: Remove conditionals.
8928         (__ptr_t): Remove define.
8929         (LONG_MAX_32_BITS): Likewise.
8930         (LONG_MAX): Likewise.
8931         (MEMCHR): Use ANSI prototype and optimize algorithm.
8933         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8935 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8937         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8938         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8940         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8941         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8942         in a bare environment with no <stdlib.h> installed.
8943         * sysdeps/nptl/configure: Regenerated.
8945         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8947         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8948         AC_EGREP_CPP for kernel header checks, so they only succeed if
8949         including <linux/version.h> actually works right.
8950         * sysdeps/unix/sysv/linux/configure: Regenerated.
8952         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8953         value so it's not diagnosed as unused.
8955         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8956         thing) with "ifeq ($(subdir),rt)".
8958 2014-07-03  Richard Henderson  <rth@redhat.com>
8960         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8961         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8962         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8964         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8965         (math_force_eval): New.
8967         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8968         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8970         * sysdeps/alpha/fpu/s_round.c: Remove file.
8971         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8973         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8974         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8975         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8976         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8977         (_dl_start, print_statistics): Likewise.
8978         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8979         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8981         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8982         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8983         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8984         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8986         (HP_SMALL_TIMING_AVAIL): Define.
8987         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8989         (HP_SMALL_TIMING_AVAIL): Define.
8990         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8991         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8993         * sysdeps/aarch64/hp-timing.h: New file.
8995         * sysdeps/generic/hp-timing.h: Remove dead comment.
8996         * sysdeps/generic/hp-timing-common.h: New file.
8997         * sysdeps/alpha/hp-timing.h: Include it.
8998         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8999         * sysdeps/i386/i686/hp-timing.h: Likewise.
9000         * sysdeps/ia64/hp-timing.h: Likewise.
9001         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9002         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9003         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9004         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9005         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9006         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9007         (hp_timing_t): New.
9009         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9010         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9011         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9012         * elf/rtld.c (_dl_start_final): Likewise.
9013         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9014         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9015         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9016         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9017         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9018         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9019         (HP_TIMING_DIFF_INIT): Remove.
9020         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9021         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9022         (HP_TIMING_DIFF_INIT): Remove.
9023         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9024         * sysdeps/i386/i686/hp-timing.c: Remove file.
9025         * sysdeps/x86_64/hp-timing.c: Remove file.
9026         * sysdeps/ia64/hp-timing.c: Remove file.
9027         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9028         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9029         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9030         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9032         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9033         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9034         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9035         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9037         (HP_TIMING_ACCUM): Remove.
9038         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9039         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9040         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9042         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9043         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9044         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9045         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9046         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9047         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9048         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9049         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9051         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9053 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9055         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9057 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9059         Sync up with gettext.
9060         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9061         [_MSC_VER]: Include malloc.h
9062         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9063         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9064         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9065         TEMP_FAILURE_RETRY.  Cast return of alloca.
9066         [!_LIBC] Call gl_rwlock_init.
9067         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9069 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9071         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9072         before checking its value.
9074 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9076         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9078         * debug/memcpy_chk.c: Don't include pagecopy.h.
9079         * debug/mempcpy_chk.c: Likewise.
9080         * string/memcpy.c: Likewise.
9081         * string/memmove.c: Likewise.
9082         * sysdeps/powerpc/memmove.c: Likewise.
9083         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9084         definition of PAGE_COPY_FWD_MAYBE here...
9085         * sysdeps/generic/pagecopy.h: ... from here.
9086         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9088 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9089             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9091         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9093         optimizations.
9094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9095         (__libc_ifunc_impl_list): Likewise.
9096         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9097         multiarch strcat for PPC64.
9098         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9099         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9101 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9103         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9105 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9107         * intl/loadmsgcat.c: Remove declaration of
9108         get_sysdep_segment_value.
9109         (get_sysdep_segment_value): Use ISO C style.
9110         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9111         semicolon.  Fix typo and formatting in comment.
9112         (_nl_unload_domain): Use ISO C style.
9114         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9116 2014-07-02  Will Newton  <will.newton@linaro.org>
9118         * malloc/obstack.c: Merge from gnulib master.
9119         [HAVE_CONFIG_H]: Remove conditional code.
9120         [!_LIBC]: Include config.h.
9121         [!ELIDE_CODE]: Don't include inttypes.h, include
9122         stdint.h unconditionally.
9123         (print_and_abort): Mark as _Noreturn.
9124         (_obstack_allocated_p): Mark as __attribute_pure__.
9125         (obstack_free): Rename to __obstack_free.
9126         [!__attribute__]: Remove conditional code.
9127         * malloc/obstack.h: Merge from gnulib master.
9128         [__cplusplus]: Move conditional down.
9129         [!__attribute_pure__]: Define __attribute_pure__ here
9130         if it is not already defined.
9131         (_obstack_memory_used): Mark as __attribute_pure__.
9132         [!__obstack_free]: Define as obstack_free.
9133         [__GNUC__]: Remove check for ancient NeXT gcc.
9135 2014-07-02  Will Newton  <will.newton@linaro.org>
9136             Paul Eggert  <eggert@cs.ucla.edu>
9138         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9140 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9142         * resolv/gethnamaddr.c: Add comment warning that the file is
9143         not maintained.
9145 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9147         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9148         entries.
9150         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9151         entry for aio_cancel and aio_cancel64.
9152         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9153         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9154         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9155         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9156         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9157         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9159         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9160         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9161         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9162         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9163         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9164         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9166 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9168         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9169         * nptl/pthread_mutex_lock.c: Likewise.
9170         * nptl/pthread_mutex_timedlock.c: Likewise.
9171         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9173 2014-07-01  Richard henderson  <rth@redhat.com>
9175         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9176         (__isnan, __isnanl): Remove.
9177         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9179         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9181 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9183         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9185 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9187         * resolv/nss_dns/dns-host.c (getanswer_r)
9188         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9190 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9193         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9194         undefine.
9195         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9196         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9198 2014-07-01  Roland McGrath <roland@hack.frob.com>
9200         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9201         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9203         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9204         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9206         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9207         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9208         ... here.
9209         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9210         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9212         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9213         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9214         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9215         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9217         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9218         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9219         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9220         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9222         Moved ...
9223         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9224         ... here.
9225         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9226         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9227         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9228         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9229         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9230         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9231         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9232         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9233         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9234         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9235         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9236         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9237         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9238         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9239         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9240         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9241         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9242         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9243         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9244         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9245         ... here.
9246         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9247         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9248         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9249         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9250         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9251         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9252         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9253         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9255 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9257         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9258         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9259         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9260         Add sysdep.
9262 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9266 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9268         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9271         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9273         * sysdeps/arm/libm-test-ulps: Regenerated.
9275 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9276             Roland McGrath <roland@hack.frob.com>
9278         * test-skeleton.c (signal_handler): Kill the whole process group
9279         before killing the child individually.
9280         (main): Report any failure on `setpgid'.
9282 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9284         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9285         from _TLS_H to _ARM_NPTL_TLS_H.
9286         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9287         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9289 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9291         [BZ #16539]
9292         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9293         (__expm1l): Return argument unchanged when small but not
9294         subnormal.
9296         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9297         include macro name.
9298         (_FP_UNPACK_RAW_1_P): Likewise.
9299         (_FP_PACK_RAW_1): Likewise.
9300         (_FP_PACK_RAW_1_P): Likewise.
9301         (_FP_MUL_MEAT_1_wide): Likewise.
9302         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9303         (_FP_MUL_MEAT_1_hard): Likewise.
9304         (_FP_DIV_MEAT_1_imm): Likewise.
9305         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9306         (_FP_DIV_MEAT_1_udiv): Likewise.
9307         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9308         (_FP_UNPACK_RAW_2): Likewise.
9309         (_FP_UNPACK_RAW_2_P): Likewise.
9310         (_FP_PACK_RAW_2): Likewise.
9311         (_FP_PACK_RAW_2_P): Likewise.
9312         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9313         (_FP_MUL_MEAT_2_wide): Likewise.
9314         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9315         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9316         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9317         (_FP_MUL_MEAT_2_gmp): Likewise.
9318         (_FP_DIV_MEAT_2_udiv): Likewise.
9319         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9320         (_FP_FRAC_SRL_4): Likewise.
9321         (_FP_FRAC_SRST_4): Likewise.
9322         (_FP_FRAC_SRS_4): Likewise.
9323         (_FP_UNPACK_RAW_4): Likewise.
9324         (_FP_UNPACK_RAW_4_P): Likewise.
9325         (_FP_PACK_RAW_4): Likewise.
9326         (_FP_PACK_RAW_4_P): Likewise.
9327         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9328         (_FP_MUL_MEAT_4_wide): Likewise.
9329         (_FP_MUL_MEAT_4_gmp): Likewise.
9330         (umul_ppppmnnn): Likewise.
9331         (_FP_DIV_MEAT_4_udiv): Likewise.
9332         (__FP_FRAC_ADD_4): Likewise.
9333         (__FP_FRAC_SUB_3): Likewise.
9334         (__FP_FRAC_SUB_4): Likewise.
9335         (__FP_FRAC_DEC_3): Likewise.
9336         (__FP_FRAC_DEC_4): Likewise.
9337         (__FP_FRAC_ADDI_4): Likewise.
9338         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9339         (_FP_FRAC_SRL_8): Likewise.
9340         (_FP_FRAC_SRS_8): Likewise.
9342         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9343         include macro name.
9344         (FP_UNPACK_RAW_EP): Likewise.
9345         (FP_PACK_RAW_E): Likewise.
9346         (FP_PACK_RAW_EP): Likewise.
9347         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9348         (_FP_ISSIGNAN): Likewise.
9349         (_FP_ADD_INTERNAL): Likewise.
9350         (_FP_FMA): Likewise.
9351         (_FP_CMP): Likewise.
9352         (_FP_SQRT): Likewise.
9353         (_FP_TO_INT): Likewise.
9354         (_FP_FROM_INT): Likewise.
9355         (FP_EXTEND): Likewise.
9356         (_FP_DIV_MEAT_N_loop): Likewise.
9358 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9360         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9361         throughout.
9363 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9365         [BZ #17097]
9366         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9367         result with correct sign in case of exponents that produce
9368         overflow except for X very close to 1.
9370 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9372         mktime: merge #if/#ifdef usage from glibc
9373         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9374         as that works with both Glibc's and Gnulib's style.
9375         See thread starting at Siddhesh Poyarekar's bug report at:
9376         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9378 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9380         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9381         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9382         * sysdeps/tile/tilegx/memmove.c: Remove file.
9384 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9386         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9387         abi-name definition.
9388         * scripts/soversions.awk: Do not handle or generate ABI lines.
9389         * shlib-versions: Remove ABI entries.
9390         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9391         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9393 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9396         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9397         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9398         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9400         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9401         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9402         Moved ...
9403         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9404         ... here.
9405         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9406         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9408         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9410         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9412         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9414         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9416         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9418         Moved ...
9419         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9420         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9421         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9423         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9425         Moved ...
9426         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9428         Moved ...
9429         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9431         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9433         Moved ...
9434         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9436         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9438         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9440         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9442         Moved ...
9443         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9444         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9445         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9446         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9447         Moved ...
9448         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9449         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9450         Moved ...
9451         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9453         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9455         Moved ...
9456         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9457         ... here.
9458         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9459         Identical file removed.
9460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9461         Moved ...
9462         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9463         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9464         Identical file removed.
9465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9466         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9467         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9468         Moved ...
9469         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9470         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9471         Identical file removed.
9472         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9473         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9475         Identical file removed.
9476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9477         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9479         Identical file removed.
9480         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9481         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9482         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9483         Identical file removed.
9484         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9485         Moved ...
9486         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9488         Identical file removed.
9489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9490         Moved ...
9491         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9492         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9493         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9495         Identical file removed.
9496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9497         Moved ...
9498         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9499         ... here.
9500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9501         Identical file removed.
9502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9503         Moved ...
9504         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9506         Identical file removed.
9507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9508         Moved ...
9509         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9510         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9511         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9513         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9515         Moved ...
9516         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9517         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9518         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9520         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9521         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9522         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9523         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9524         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9526 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9528         [BZ #17092]
9529         * nscd/nscd.c (monitor_child): Return exit status of child
9530         instead of return value from wait syscall.
9532 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9534         * configure.ac (libc_commonpagesize): Remove variable.
9535         (libc_relro_required): Likewise.
9536         (libc_cv_z_relro): Remove configure test.
9537         * configure: Regenerated.
9538         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9539         variable.
9540         (libc_relro_required): Likewise.
9541         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9542         (libc_relro_required): Likewise.
9543         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9544         (libc_relro_required): Likewise.
9545         * sysdeps/arm/preconfigure: Regenerated.
9546         * sysdeps/ia64/preconfigure: Remove file.
9547         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9548         variable.
9549         (libc_relro_required): Likewise.
9551         [BZ #16561]
9552         [BZ #16562]
9553         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9554         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9555         recompute overflowing results in original rounding mode.
9556         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9557         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9558         recompute overflowing results in original rounding mode.
9559         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9560         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9561         recompute overflowing results in original rounding mode.
9562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9563         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9564         recompute overflowing results in original rounding mode.
9565         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9566         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9567         recompute overflowing results in original rounding mode.
9568         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9569         (libc_feholdsetround_ctx): New macro.
9570         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9571         * sysdeps/i386/fpu/libm-test-ulps: Update.
9572         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9574 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9576         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9577         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9578         corresponding .cpsetup call.
9580 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9582         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9583         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9584         * sysdeps/arm/Makefile [$(subdir) = csu]
9585         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9586         (static-only-routines): Add aeabi_read_tp here.
9587         (shared-only-routines): Add libc-aeabi_read_tp here.
9588         (CFLAGS-libc-start.c): Add -fexceptions here.
9589         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9590         (sysdep_routines, static-only-routines, shared-only-routines):
9591         Don't add to these here.
9592         (CFLAGS-libc-start.c): Likewise.
9594         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9595         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9596         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9597         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9598         * sysdeps/arm/Makefile [$(subdir) = rt]
9599         (librt-sysdep_routines, librt-shared-only-routines):
9600         Append rt-aeabi_unwind_cpp_pr1 here.
9601         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9602         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9603         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9604         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9605         Append nptl-aeabi_unwind_cpp_pr1 here.
9606         (tests): Filter out tst-cleanupx4 here.
9607         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9608         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9609         Don't do those here.
9611 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9613         * scripts/list-sources.sh: Do not handle ports specially.
9615 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9617         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9618         * sysdeps/arm/feupdateenv.c: Likewise.
9620         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9622 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9624         * manual/texinfo.tex: Update to version 2014-05-05.10 with
9625         trailing whitespace removed.
9626         * scripts/config.guess: Update to version 2014-03-23.
9627         * scripts/config.sub: Update to version 2014-05-01
9628         * scripts/install-sh: Update to version 2013-12-25.23.
9629         * scripts/move-if-change: Update from gnulib.
9631 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9633         * debug/memmove_chk.c: Remove pagecopy.h include.
9635 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
9637         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
9638         identical to gnulib mktime.
9640 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9642         * configure.ac: Do not test for machine being rs6000.  Do not test
9643         for powerpc*-*soft.
9644         * configure: Regenerated.
9646         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9647         test.
9648         * configure: Regenerated.
9649         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9650         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9651         Remove configure test.
9652         * sysdeps/arm/configure: Regenerated.
9653         * sysdeps/nptl/configure.ac: Do not check
9654         libc_cv_asm_cfi_directives.
9655         * sysdeps/nptl/configure: Regenerated.
9656         * sysdeps/x86_64/nptl/configure.ac: Remove file.
9657         * sysdeps/x86_64/nptl/configure: Remove generated file.
9658         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9659         unconditional.
9660         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9662 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9664         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9665         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9666         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9667         it is defined.
9669         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9670         instead of whether it is defined.
9671         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9672         * sysdeps/hppa/dl-machine.h: Likewise.
9673         * sysdeps/ia64/dl-machine.h: Likewise.
9674         * sysdeps/m68k/dl-machine.h: Likewise.
9675         * sysdeps/microblaze/dl-machine.h: Likewise.
9676         * sysdeps/mips/dl-machine.: Likewise.
9677         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9678         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9679         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9680         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9681         * sysdeps/sh/dl-machine.h: Likewise.
9682         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9683         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9684         * sysdeps/tile/dl-machine.h: Likewise.
9685         * sysdeps/x86_64/dl-machine.h: Likewise.
9687         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9688         code.
9689         (verify_persistent_db): Likewise.
9691 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9694         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9696         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9698         Moved ...
9699         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9700         ... here.
9701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9702         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9704         Identical file removed.
9705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9706         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9708         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9710         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9712         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9714         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9716         Moved ...
9717         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9719         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9721         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9723         Moved ...
9724         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9726         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9728         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9730         Identical file removed.
9731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9732         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9734         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9736         Moved ...
9737         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9738         ... here.
9739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9740         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9742         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9744         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9746         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9748         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9750         Moved ...
9751         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9753         Moved ...
9754         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9756         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9758         Moved ...
9759         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9761         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9763         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9764         folded into ...
9765         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9766         * sysdeps/unix/sysv/linux/s390/Versions
9767         (libpthread: GLIBC_2.19): New version set.
9768         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9769         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9770         (librt: GLIBC_2.3.3): New version set.
9771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9772         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9773         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9774         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9775         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9776         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9777         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9778         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9779         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9780         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9781         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9782         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9783         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9784         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9785         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9786         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9787         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9788         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9789         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9790         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9791         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9792         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9793         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9794         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9795         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9796         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9797         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9798         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9799         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9800         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9801         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9802         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9804         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9807         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9809         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9811         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9813         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9815         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9817         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9818         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9819         (__libc_vfork): Define the function under this name.
9820         [!NOT_IN_libc] (__vfork): Make this an alias.
9821         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9822         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9823         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9824         (__libc_vfork): Define the function under this name.
9825         [!NOT_IN_libc] (__vfork): Make this an alias.
9826         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9827         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9828         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9830         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9831         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9833         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9834         code that was previously under [RESET_PID].
9835         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9836         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9837         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9839         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9840         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9841         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9842         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9843         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9844         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9845         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9846         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9847         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9848         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9849         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9850         Moved ...
9851         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9852         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9853         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9854         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9855         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9856         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9857         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9858         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9859         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9860         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9861         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9862         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9863         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9864         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9865         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9866         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9867         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9868         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9869         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9870         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9871         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9872         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9873         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9874         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9875         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9876         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9877         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9878         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9879         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9881 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9883         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9884         that was previously under [RESET_PID].
9885         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9887 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9889         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9890         not undefine and redefine.
9891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9892         [O_CLOEXEC]: Make code unconditional.
9893         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9894         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9895         <kernel-features.h>.
9896         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9897         conditional variable definition.
9898         (shm_open) [O_CLOEXEC]: Make code unconditional.
9899         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9900         code.
9902         * configure.ac (USE_REGPARMS): Don't define here.
9903         * configure: Regenerated.
9904         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9905         * sysdeps/i386/configure: Regenerated.
9907         * nptl/createthread.c: Don't include kernel-features.h.
9908         * nptl/pthread_cancel.c: Likewise.
9909         * nptl/pthread_condattr_setclock.c: Likewise.
9910         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9911         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9912         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9913         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9914         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9915         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9916         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9919         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9920         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9921         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9922         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9923         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9924         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9925         * nscd/gai.c: Likewise.
9926         * nss/nss_db/db-open.c: Likewise.
9927         * sysdeps/generic/ldsodefs.h: Likewise.
9928         * sysdeps/sh/nptl/tls.h: Likewise.
9929         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9930         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9931         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9932         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9933         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9934         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9935         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9936         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9937         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9938         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9939         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9940         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9941         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9942         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9943         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9944         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9945         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9946         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9947         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9948         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9951         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9952         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9956         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9957         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9958         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9959         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9960         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9961         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9962         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9963         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9964         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9965         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9966         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9967         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9968         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9969         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9970         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9971         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9972         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9973         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9974         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9975         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9976         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9977         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9978         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9979         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9980         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9981         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9982         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9983         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9984         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9985         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9986         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10009         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10010         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10011         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10012         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10013         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10014         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10015         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10016         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10017         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10018         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10019         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10020         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10021         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10022         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10023         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10024         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10025         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10026         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10027         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10028         * sysdeps/unix/sysv/linux/system.c: Likewise.
10029         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10030         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10031         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10032         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10033         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10035         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10037         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10038         * configure: Regenerated.
10039         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10041         * configure.ac (base_machine): Do not set specially for particular
10042         machines here.
10043         * configure: Regenerated.
10044         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10045         settings from configure.ac.
10046         * sysdeps/i386/preconfigure: New file.
10047         * sysdeps/s390/preconfigure: Likewise.
10048         * sysdeps/sh/preconfigure: Likewise.
10049         * sysdeps/sparc/preconfigure: Likewise.
10051 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10053         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10054         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10055         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10056         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10057         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10058         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10059         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10060         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10061         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10062         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10063         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10064         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10065         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10066         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10067         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10070         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10071         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10073         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10074         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10075         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10076         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10077         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10078         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10079         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10080         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10081         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10082         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10083         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10084         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10085         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10086         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10087         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10088         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10089         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10090         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10091         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10092         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10093         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10094         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10095         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10096         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10097         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10098         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10099         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10100         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10101         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10102         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10103         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10104         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10105         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10106         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10107         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10108         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10109         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10110         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10113         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10115         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10117         Moved ...
10118         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10119         ... here.
10120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10121         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10123         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10125         Moved ...
10126         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10128         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10130         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10132         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10134         Moved ...
10135         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10137         Moved ...
10138         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10140         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10142         Moved ...
10143         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10145         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10147         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10149         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10151         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10153         Moved ...
10154         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10155         ... here.
10156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10157         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10159         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10161         Moved ...
10162         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10164         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10166         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10168         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10170         Moved ...
10171         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10173         Moved ...
10174         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10176         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10178         Moved ...
10179         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10181         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10183         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10185 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10187         * timezone/checktab.awk: Update from tzcode 2014e.
10188         * timezone/private.h: Likewise.
10189         * timezone/tzfile.h: Likewise.
10190         * timezone/zdump.c: Likewise.
10191         * timezone/zic.c: Likewise.
10193         * sysdeps/unix/sysv/linux/kernel-features.h
10194         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10195         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10196         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10197         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10198         Remove conditional code.
10200 2014-06-25  Will Newton  <will.newton@linaro.org>
10202         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10203         (_dl_arm_cap_flags): Add HWCAP2 values.
10204         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10205         (_DL_HWCAP_COUNT): Increase to 37.
10206         (_DL_HWCAP_LAST): New define.
10207         (_DL_HWCAP2_LAST): New define.
10208         (_dl_procinfo): Add support for printing
10209         AT_HWCAP2 entries.
10210         (_dl_string_hwcap): Use _dl_hwcap_string.
10212 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10216 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10218         * README: Do not mention ports directory.
10220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10221         Remove macro.
10222         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10223         <kernel-features.h>.
10224         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10225         conditional variable definition.
10226         (__futimes): Update comment.
10227         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10228         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10230         [BZ #16560]
10231         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10232         arguments close to 0.
10233         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10234         Likewise.
10235         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10236         Likewise.
10237         * math/auto-libm-test-in: Add more tests of exp10.
10238         * math/auto-libm-test-out: Regenerated.
10239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10241         * sysdeps/unix/sysv/linux/kernel-features.h
10242         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10243         * sysdeps/unix/sysv/linux/readv.c: Do not include
10244         <kernel-features.h>.
10245         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10246         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10247         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10248         unconditional.
10249         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10250         conditional code.
10251         * sysdeps/unix/sysv/linux/writev.c: Do not include
10252         <kernel-features.h>.
10253         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10254         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10255         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10256         unconditional.
10257         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10258         conditional code.
10260 2014-06-25  Will Newton  <will.newton@linaro.org>
10262         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10263         comment changes throughout the file.  Remove checks
10264         for HAVE_*_H definitions that are not required.
10265         (__gen_tempname): Call abort if an unknown kind value is
10266         passed.
10268 2014-06-25  Andreas Schwab  <schwab@suse.de>
10270         [BZ #17086]
10271         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10272         scalbln, scalblnf, scalblnl in libc.
10274 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10276         [BZ #17086]
10277         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10278         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10279         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10281 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10283         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10284         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10285         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10286         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10287         Update #include.
10288         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10289         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10290         Update #include.
10291         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10292         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10293         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10294         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10295         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10296         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10297         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10298         * sysdeps/x86/bits/semaphore.h: ... here.
10299         * sysdeps/x86/nptl/elide.h: Moved ...
10300         * sysdeps/x86/elide.h: ... here.
10301         * sysdeps/x86_64/nptl/Implies: File removed.
10302         * sysdeps/i386/nptl/Implies: File removed.
10304 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10306         [BZ #16539]
10307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10308         return the argument for normal arguments with exponent below -64.
10309         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10310         Likewise.
10311         * math/auto-libm-test-in: Add another test of expm1.
10312         * math/auto-libm-test-out: Regenerated.
10314         [BZ #16287]
10315         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10316         calling __erfcl for arguments at least 16.
10317         * math/auto-libm-test-in: Add more tests of erf.
10318         * math/auto-libm-test-out: Regenerated.
10320         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10321         individual architectures.
10322         * sysdeps/unix/sysv/linux/configure: Regenerated.
10323         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10324         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10325         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10326         (ldd_rewrite_script): Define variable.
10327         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10329         file.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10331         generated file.
10332         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10333         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10334         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10335         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10336         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10337         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10338         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10339         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10341 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10343         [BZ #17084]
10344         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10345         Rename member __data.d to __data.__elision_data.
10347 2014-06-24  Wilco  <wdijkstr@arm.com>
10349         * NEWS: Add 16918 to fixed bug list.
10351 2014-06-24  Wilco  <wdijkstr@arm.com>
10353         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10355 2014-06-24  Wilco  <wdijkstr@arm.com>
10357         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10358         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10359         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10360         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10361         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10362         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10363         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10364         Use _FPU_MASK_RM.
10366 2014-06-24  Wilco  <wdijkstr@arm.com>
10368         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10370 2014-06-24  Wilco  <wdijkstr@arm.com>
10372         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10373         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10374         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10375         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10377 2014-06-24  Wilco  <wdijkstr@arm.com>
10379         [BZ #16918]
10380         * sysdeps/arm/feupdateenv.c (feupdateenv):
10381         Rewrite to reduce FPSCR accesses and fix return value.
10383 2014-06-24  Wilco  <wdijkstr@arm.com>
10385         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10386         Optimize to avoid unnecessary FPSCR writes.
10387         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10388         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10389         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10390         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10392 2014-06-24  Wilco  <wdijkstr@arm.com>
10394         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10395         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10396         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10397         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10398         Call libc_fetestexcept_vfp.
10399         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10400         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10401         __SOFTFP__ ifdef so that they can be built for softfp.
10403 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10405         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10406         argument type signed char.
10408         * Makerules (check-abi): Dump diff of symlist if the test
10409         fails.
10411 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10413         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10414         using abort.
10416         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10417         Remove unused variable ST.
10419 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10421         [BZ #16354]
10422         [BZ #17061]
10423         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10424         small arguments before calling __expm1.
10425         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10426         small arguments before calling __expm1f.
10427         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10428         small arguments before calling __expm1l.
10429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10430         Likewise.
10431         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10432         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10433         spurious underflow for some cosh tests.
10434         * math/auto-libm-test-out: Regenerated.
10435         * sysdeps/i386/fpu/libm-test-ulps: Update.
10437         [BZ #17050]
10438         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10439         (__ieee754_y1): Set errno if return value overflows.
10440         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10441         (__ieee754_y1f): Set errno if return value overflows.
10442         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10443         (__ieee754_y1l): Set errno if return value overflows.
10444         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10445         (__ieee754_y1l): Set errno if return value overflows.
10446         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10447         * math/auto-libm-test-out: Regenerated.
10449         * math/gen-auto-libm-tests.c: Document use of
10450         ignore-zero-inf-sign.
10451         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10452         (input_flags): Add ignore-zero-inf-sign.
10453         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10454         * math/gen-libm-test.pl (generate_testfile): Handle
10455         ignore-zero-inf-sign.
10456         * math/auto-libm-test-in: Mark some cpow tests with
10457         ignore-zero-inf-sign and some with xfail-rounding.
10458         * math/auto-libm-test-out: Regenerated.
10459         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10460         * sysdeps/i386/fpu/libm-test-ulps: Update.
10461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10463         [BZ #16315]
10464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10465         overflowing or underflowing operations take place with sign of
10466         result.
10467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10468         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10469         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10470         (__ieee754_pow): Recompute overflowing and underflowing results in
10471         original rounding mode.
10472         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10473         (__powl_helper): Allow negative argument X and scale negated value
10474         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10475         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10476         overflowing or underflowing operations take place with sign of
10477         result.
10478         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10479         Include <math.h>.
10480         * math/auto-libm-test-in: Add more tests of pow.
10481         * math/auto-libm-test-out: Regenerated.
10482         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10483         (pow_tonearest_test_data): Remove.
10484         (pow_test_tonearest): Likewise.
10485         (pow_towardzero_test_data): Likewise.
10486         (pow_test_towardzero): Likewise.
10487         (pow_downward_test_data): Likewise.
10488         (pow_test_downward): Likewise.
10489         (pow_upward_test_data): Likewise.
10490         (pow_test_upward): Likewise.
10491         (main): Don't call removed functions.
10492         * sysdeps/i386/fpu/libm-test-ulps: Update.
10493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10498         Moved ...
10499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10501         Moved ...
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10504         Moved ...
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10507         Moved ...
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10510         File removed.
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10512         File removed.
10513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10514         File removed.
10515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10516         File removed.
10517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10518         File removed.
10519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10520         File removed.
10521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10522         File removed.
10523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10524         File removed.
10525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10526         File removed.
10527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10528         File removed.
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10530         File removed.
10531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10532         File removed.
10533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10534         Moved ...
10535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10537         Moved ...
10538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10539         ... here.
10540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10541         Moved ...
10542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10544         Moved ...
10545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10547         Moved ...
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10550         Moved ...
10551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10553         Moved ...
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10556         Moved ...
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10559         Moved ...
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10563         ... here.
10564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10565         Moved ...
10566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10568         Moved ...
10569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10570         ... here.
10571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10572         Moved ...
10573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10574         ... here.
10575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10576         Moved ...
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10578         ... here.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10580         Moved ...
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10583         Moved ...
10584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10588         Moved ...
10589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10590         ... here.
10591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10592         Moved ...
10593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10594         ... here.
10595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10596         Moved ...
10597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10599         Moved ...
10600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10602         Moved ...
10603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10605         Moved ...
10606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10608         Moved ...
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10610         ... here.
10611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10612         Moved ...
10613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10615         Moved ...
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10618         Moved ...
10619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10621         Moved ...
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10626         Moved ...
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10629         Moved ...
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10632         Moved ...
10633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10634         ... here.
10635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10636         Moved ...
10637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10638         ... here.
10639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10640         Moved ...
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10642         ... here.
10643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10644         Moved ...
10645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10647         Moved ...
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10650         Moved ...
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10653         Moved ...
10654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10655         ... here.
10656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10657         Moved ...
10658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10659         ... here.
10660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10661         Moved ...
10662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10663         ... here.
10664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10665         Moved ...
10666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10668         Moved ...
10669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10671 2014-06-23  Will Newton  <will.newton@linaro.org>
10672             Wilco  <wdijkstr@arm.com>
10674         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10675         implementation.  Include get-rounding-mode.h.
10676         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10677         [!libc_feholdsetround_noex_ctx]: Define
10678         libc_feholdsetround_noex_ctx.
10679         [!libc_feholdsetround_noexf_ctx]: Define
10680         libc_feholdsetround_noexf_ctx.
10681         [!libc_feholdsetround_noexl_ctx]: Define
10682         libc_feholdsetround_noexl_ctx.
10683         (libc_feholdsetround_ctx): New function.
10684         (libc_feresetround_ctx): New function.
10685         (libc_feholdsetround_noex_ctx): New function.
10686         (libc_feresetround_noex_ctx): New function.
10688 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10690         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10691         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10692         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10693         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10694         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10695         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10697         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10698         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10699         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10700         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10701         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10702         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10703         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10704         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10705         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10706         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10707         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10708         Moved ...
10709         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10710         ... here.
10711         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10712         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10713         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10714         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10716         Moved ...
10717         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10719         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10721         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10723         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10725         Moved ...
10726         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10728         Moved ...
10729         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10731         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10733         Moved ...
10734         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10736         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10737         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10738         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10739         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10740         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10741         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10742         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10743         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10744         Moved ...
10745         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10746         ... here.
10747         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10748         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10749         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10750         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10751         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10752         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10753         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10754         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10755         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10758         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10759         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10760         Moved ...
10761         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10763         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10765         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10767         Moved ...
10768         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10770         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10771         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10772         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10774         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10775         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10776         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10777         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10778         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10779         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10780         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10781         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10782         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10783         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10784         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10785         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10786         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10787         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10788         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10789         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10790         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10791         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10792         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10793         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10794         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10795         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10796         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10797         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10798         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10799         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10800         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10801         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10803 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10806         (FALLOC_FL_COLLAPSE_RANGE): New macro.
10807         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10808         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10809         (IPV6_PMTUDISC_INTERFACE): Likewise.
10810         (IPV6_PMTUDISC_OMIT): Likewise.
10812 2014-06-23  Andreas Schwab  <schwab@suse.de>
10814         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10815         Remove unused errout label.
10817 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10819         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10820         macro: hardware supports Vector Crypto instructions.
10822 2014-06-23  Will Newton  <will.newton@linaro.org>
10824         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10825         rather than __builtin_expect.
10827         * elf/dl-lookup.c (undefined_msg): Remove variable.
10828         (_dl_lookup_symbol_x): Replace undefined_msg with string
10829         literal.
10831         * elf/dl-lookup.c (do_lookup_unique): New function.
10832         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10833         to a separate function.
10835 2014-06-23  Andreas Schwab  <schwab@suse.de>
10837         [BZ #17079]
10838         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10839         before reading the next line.
10841 2014-06-23  Will Newton  <will.newton@linaro.org>
10843         * test-skeleton.c (signal_handler): Use printf and %m
10844         rather than perror.  Use printf rather than fprintf to
10845         stderr.  Use puts rather than fputs to stderr.
10846         (main): Likewise.
10848 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10850         * nscd/nscd.c (thread_info_t): Remove typedef.
10851         (thread_info): Remove variable.
10853 2014-06-21  Allan McRae  <allan@archlinux.org>
10855         * NEWS: Mention CVE-2014-4043.
10857 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10859         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10860         * nptl/smp.h: ... here.
10862         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10864         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10865         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10866         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10867         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10869         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10870         * nptl/stack-aliasing.h: New file.
10871         * sysdeps/i386/i686/stack-aliasing.h: New file.
10872         * sysdeps/i386/i686/nptl/Makefile: File removed.
10873         * sysdeps/x86_64/stack-aliasing.h: New file.
10874         * sysdeps/x86_64/nptl/Makefile
10875         (CFLAGS-pthread_create.c): Variable removed.
10877         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10878         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10879         old file.
10880         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10881         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10882         old file.
10884 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10886         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10887         (__ASSUME_SIGFRAME_V2): Remove macro.
10888         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10889         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10890         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10891         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10892         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10893         Declare as function.  Remove conditional macro definitions.
10894         (__default_rt_sa_restorer): Likewise.
10895         (__default_sa_restorer_v1): Remove declaration.
10896         (__default_sa_restorer_v2): Likewise.
10897         (__default_rt_sa_restorer_v1): Likewise.
10898         (__default_rt_sa_restorer_v2): Likewise.
10899         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10900         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10901         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10903 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10905         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10906         (libpthread-routines): Add sysdep.
10907         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10908         * sysdeps/unix/sysv/linux/sparc/Versions
10909         (libpthread: GLIBC_2.3.3): New version set.
10910         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10911         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10912         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10913         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10914         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10915         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10916         Moved ...
10917         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10919         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10920         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10921         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10922         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10923         * sysdeps/sparc/nptl/sem_init.c: ... here.
10924         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10925         * sysdeps/sparc/nptl/sem_post.c: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10927         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10929         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10931         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10932         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10933         (libpthread-routines): Add cpu_relax.
10934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10935         File removed.
10936         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10937         (librt: GLIBC_2.3.3): New version set.
10938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10939         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10940         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10941         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10944         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10946         Moved ...
10947         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10949         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10951         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10953         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10955         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10957         Moved ...
10958         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10959         Update #include.
10960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10961         Moved ...
10962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10963         Update #include.
10964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10965         Moved ...
10966         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10967         Update #include.
10968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10969         Moved ...
10970         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10971         Update #include.
10972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10973         Moved ...
10974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10975         Update #include.
10976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10977         Moved ...
10978         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10979         Update #include.
10980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10981         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10987         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10989         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10991         Moved ...
10992         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10994         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10996         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10998 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11000         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11001         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11002         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11003         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11004         * nscd/nscd.c: Likewise.
11005         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11006         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11007         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11008         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11010         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11011         <kernel-features.h>.
11012         (init_mq_netlink): Remove conditional have_sock_cloexec
11013         definitions.  Remove code conditional on have_sock_cloexec < 0.
11014         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11015         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11016         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11017         <kernel-features.h>.
11018         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11019         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11021 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11024         Add tests for memset_chk and memset.
11026         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11027         with AVX2_Usable.
11029 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11031         [BZ #16046]
11032         * elf/tst-dl-iter-static.c: New file.
11033         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11035         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11036         error.
11038 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11040         * sysdeps/unix/sysv/linux/kernel-features.h
11041         (__ASSUME_F_GETOWN_EX): Remove macro.
11042         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11043         <kernel-features.h>.
11044         (miss_F_GETOWN_EX): Remove variable or macro.
11045         (do_fcntl): Do not check miss_F_GETOWN_EX.
11046         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11048         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11049         Remove macro.
11050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11051         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11052         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11054         * sysdeps/unix/sysv/linux/kernel-features.h
11055         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11056         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11057         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11058         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11060 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11062         [BZ #17075]
11063         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11064         Fix calculation of the symbol's value.
11065         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11066         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11067         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11068         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11069         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11070         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11071         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11072         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11073         (modules-names): Add `tst-armtlsdescmod',
11074         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11075         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11076         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11077         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11078         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11079         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11080         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11081         ($(objpfx)tst-armtlsdescloc): New dependency.
11082         ($(objpfx)tst-armtlsdescextnow): Likewise.
11083         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11084         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11085         TLS scheme support.
11086         * sysdeps/arm/configure: Regenerate.
11088 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11090         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11091         (__atfct_seterrno_2): Likewise.
11092         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11093         <kernel-features.h>.
11094         (__ASSUME_ATFCTS): Do not undefine and redefine.
11095         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11096         (__have_atfcts): Remove conditional definition.
11097         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11098         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11099         unreachable if [__ASSUME_ATFCTS].
11100         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11101         not undefine and redefine.
11102         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11103         <kernel-features.h>.
11104         (faccessat) [__NR_faccessat]: Make code unconditional.
11105         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11106         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11107         <kernel-features.h>.
11108         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11109         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11110         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11111         <kernel-features.h>.
11112         (fchownat) [__NR_fchownat]: Make code unconditional.
11113         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11114         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11115         <kernel-features.h>.
11116         (futimesat) [__NR_futimesat]: Make code unconditional.
11117         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11118         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11119         <kernel-features.h>.
11120         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11121         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11122         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11123         <kernel-features.h>.
11124         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11125         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11126         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11127         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11128         <kernel-features.h>.
11129         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11130         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11131         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11132         <kernel-features.h>.
11133         (linkat) [__NR_linkat]: Make code unconditional.
11134         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11135         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11136         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11137         <kernel-features.h>.
11138         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11139         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11140         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11141         <kernel-features.h>.
11142         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11143         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11144         * sysdeps/unix/sysv/linux/openat.c: Do not include
11145         <kernel-features.h>.
11146         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11147         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11148         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11149         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11150         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11151         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11152         <kernel-features.h>.
11153         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11154         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11155         result of INLINE_SYSCALL directly, not via int variable.
11156         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11157         <kernel-features.h>.
11158         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11159         (renameat) [__NR_renameat]: Make code unconditional.
11160         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11161         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11162         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11163         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11164         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11165         (__ASSUME_ATFCTS): Do not undefine and redefine.
11166         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11167         <kernel-features.h>.
11168         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11169         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11170         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11171         <kernel-features.h>.
11172         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11173         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11174         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11175         (__ASSUME_ATFCTS): Do not undefine and redefine.
11176         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11177         <kernel-features.h>.
11178         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11179         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11180         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11181         <kernel-features.h>.
11182         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11183         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11185 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11187         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11189 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11191         [BZ #17069]
11192         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11193         constructed tree before returning error.
11194         * posix/bug-regexp36.c: Expand test case.
11196 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11198         [BZ #6803]
11199         * math/libm-test.inc (scalbln_test_date):
11200         Add errno expectations.
11201         * math/w_scalblnf.c: New File.
11202         Add wrapper which checks for setting errno to ERANGE.
11203         Add weak_alias for corresponding scalbln function.
11204         * math/w_scalbln.c: Likewise.
11205         * math/w_scalblnl.c: Likewise.
11206         * math/Makefile (libm-calls): Add w_scalbln.
11207         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11208         Remove weak_alias for corresponding scalbln function.
11209         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11210         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11211         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11212         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11213         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11214         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11215         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11216         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11217         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11218         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11219         Remove long_double_symbol for scalblnl function in libm, libc.
11220         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11221         Add wrapper which checks for setting errno to ERANGE.
11222         Add long_double_symbol for scalblnl function in libm, libc.
11223         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11224         Remove long_double_symbol for scalblnl in libm.
11225         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11226         Add wrapper which checks for setting errno to ERANGE.
11227         Add long_double_symbol for scalblnl function in libm.
11228         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11229         Do not use wrapper because of own implementation.
11231 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11233         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11234         3 bytes for __pad1 for x32.
11235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11237 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11238             H.J. Lu  <hongjiu.lu@intel.com>
11240         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11241         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11242         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11243         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11244         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11246 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11248         [BZ #17069]
11249         * posix/regcomp.c (parse_expression): Deallocate partially
11250         constructed tree before returning error.
11251         * posix/Makefile.c (tests): Add bug-regex36.
11252         (generated): Add bug-regex36.mtrace.
11253         (tests-special): Add $(objpfx)bug-regex36-mem.out
11254         (bug-regex36-ENV): New variable.
11255         ($(objpfx)bug-regex36-mem.out): New rule.
11256         * posix/bug-regex36.c: New file.
11258 2014-06-19  Will Newton  <will.newton@linaro.org>
11260         * malloc/malloc.c (systrim): If extra is zero then return
11261         early.
11263 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11265         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11267 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11269         * sysdeps/aarch64/strchr.S: New file.
11271 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11273         [BZ #17022]
11274         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11275         from arguments -2 or below.
11276         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11277         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11279 2014-06-18  Andreas Schwab  <schwab@suse.de>
11281         [BZ #17062]
11282         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11283         of a bracket expr not to run off the end of the string.
11284         * posix/Makefile (tests): Add tst-fnmatch3.
11285         * posix/tst-fnmatch3.c: New file.
11287 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11289         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11290         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11291         [$(cross-compiling) = no]: Likewise.
11292         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11293         [$(cross-compiling) = no]: Likewise.
11295 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11297         [BZ #17031]
11298         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11299         double, adjusted for any remainder from the high double.
11300         * math/libm-test.inc (nearbyint): Add tests.
11301         (rint): Likewise.
11303 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11305         * nptl/sysdeps/powerpc/Makefile: Moved ...
11306         * sysdeps/powerpc/nptl/Makefile: ... here.
11307         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11308         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11309         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11310         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11311         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11312         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11313         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11314         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11315         * nptl/sysdeps/powerpc/tls.h: Moved ...
11316         * sysdeps/powerpc/nptl/tls.h: ... here.
11318 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11320         [BZ #16681]
11321         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11322         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11323         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11324         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11325         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11326         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11327         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11328         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11329         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11331 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11333         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11335 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11337         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11338         defined operator.
11340         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11341         $TIMEOUTFACTOR.
11343 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11345         [BZ #17058]
11346         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11347         non-executed part of the test.
11349 2014-06-16  Andreas Schwab  <schwab@suse.de>
11351         * string/bits/string2.h (strdup, strndup): Update feature guard.
11353 2014-06-14  David S. Miller  <davem@davemloft.net>
11355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11357 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11359         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11360         that was previously under [RESET_PID].
11361         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11363         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11364         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11365         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11366         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11367         (__libc_vfork): New strong alias.
11368         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11370 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11372         * sysdeps/generic/elide.h: New file.
11374 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11376         * Makefile (installed-headers): Adjust path of pthread.h header.
11378 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11380         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11381         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11382         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11383         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11385         * nptl/sysdeps/s390/Makefile: Moved ...
11386         * sysdeps/s390/nptl/Makefile: ... here.
11387         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11388         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11389         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11390         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11391         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11392         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11393         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11394         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11395         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11396         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11397         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11398         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11399         * nptl/sysdeps/s390/tls.h: Moved ...
11400         * sysdeps/s390/nptl/tls.h: ... here.
11402         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11403         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11405 2014-06-13  David S. Miller  <davem@davemloft.net>
11407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11410         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11414         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11415         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11416         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11417         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11418         Remove RESET_PID cpp guards.
11419         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11420         Remove RESET_PID cpp guards.
11421         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11423 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11425         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11426         __sp to uintptr_t.
11428 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11430         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11432         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11433         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11435         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11436         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11437         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11438         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11440         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11441         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11442         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11443         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11445         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11446         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11447         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11448         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11449         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11451         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11452         (pthread_rwlock_rdlock): Add elision.
11453         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11454         (pthread_rwlock_wrlock): Add elision.
11455         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11456         (pthread_rwlock_trywrlock): Add elision.
11457         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11458         (pthread_rwlock_tryrdlock): Add elision.
11459         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11460         (pthread_rwlock_tryrdlock): Add elision unlock.
11461         * nptl/sysdeps/pthread/pthread.h:
11462         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11463         (PTHREAD_RWLOCK_INITIALIZER,
11464         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11465         Handle new elision field.
11466         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11467         * sysdeps/arm/nptl/bits/pthreadtypes.h
11468         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11469         * sysdeps/sh/nptl/bits/pthreadtypes.h
11470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11471         * sysdeps/tile/nptl/bits/pthreadtypes.h
11472         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11473         * sysdeps/a/nptl/bits/pthreadtypes.h
11474         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11475         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11477         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11478         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11479         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11480         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11481         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11482         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11483         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11485         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11486         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11487         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11488         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11489         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11491         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11492         (elision_init): Set try_xbegin to zero when no RTM.
11493         * sysdeps/x86/nptl/bits/pthreadtypes.h
11494         (pthread_rwlock_t): Change __pad1 to __rwelision.
11495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11497 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11499         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11500         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11501         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11502         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11504 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11506         [BZ #16996]
11507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11508         that the cached result has been set before returning it.
11510 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11512         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11513         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11514         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11515         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11516         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11517         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11519         * nptl/sysdeps/sparc/Makefile: Moved ...
11520         * sysdeps/sparc/nptl/Makefile: ... here.
11521         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11522         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11523         * nptl/sysdeps/sparc/tls.h: Moved ...
11524         * sysdeps/sparc/nptl/tls.h: ... here.
11525         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11526         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11527         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11528         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11529         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11530         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11531         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11532         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11533         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11534         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11535         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11536         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11537         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11538         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11539         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11540         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11541         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11543         Update #include.
11544         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11546         Update #include.
11547         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11549         Update #include.
11550         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11551         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11552         Update #include.
11554         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11556         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11557         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11559         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11560         (struct list_links): Type removed.
11561         (struct thread_node, struct timer_node): Replace struct list_links
11562         with struct list_head.
11563         (list_unlink_ip): Likewise.
11564         * sysdeps/pthread/timer_routines.c
11565         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11566         (list_append, list_insbefore): Likewise.
11567         (list_init): Function removed.
11568         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11569         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11570         * sysdeps/pthread/Makefile: ... here, new file.
11572         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11573         * sysdeps/nptl/Implies: ... here.
11574         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11575         * nptl/sysdeps/pthread/list.h: Moved ...
11576         * include/list.h: ... here.
11577         * nptl/sysdeps/pthread/createthread.c: Moved ...
11578         * nptl/createthread.c: ... here.
11579         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11580         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11581         * nptl/pt-longjmp.c: ... here.
11582         * nptl/sysdeps/pthread/Makefile: Moved ...
11583         * sysdeps/nptl/Makefile: ... here.
11584         * nptl/sysdeps/pthread/Subdirs: Moved ...
11585         * sysdeps/nptl/Subdirs: ... here.
11586         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11587         * sysdeps/nptl/aio_misc.h: ... here.
11588         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11589         * sysdeps/nptl/bits/libc-lock.h: ... here.
11590         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11591         * sysdeps/nptl/bits/libc-lockP.h: ... here.
11592         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11593         * sysdeps/nptl/bits/stdio-lock.h: ... here.
11594         * nptl/sysdeps/pthread/configure: Moved ...
11595         * sysdeps/nptl/configure: ... here.
11596         * nptl/sysdeps/pthread/configure.ac: Moved ...
11597         * sysdeps/nptl/configure.ac: ... here.
11598         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11599         * sysdeps/nptl/gai_misc.h: ... here.
11600         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11601         * sysdeps/nptl/librt-cancellation.c: ... here.
11602         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11603         * sysdeps/nptl/malloc-machine.h: ... here.
11604         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11605         * sysdeps/nptl/pthread-functions.h: ... here.
11606         * nptl/sysdeps/pthread/pthread.h: Moved ...
11607         * sysdeps/nptl/pthread.h: ... here.
11608         * nptl/sysdeps/pthread/setxid.h: Moved ...
11609         * sysdeps/nptl/setxid.h: ... here.
11610         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11611         * sysdeps/nptl/sigfillset.c: ... here.
11612         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11613         * sysdeps/nptl/tcb-offsets.h: ... here.
11614         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11615         * sysdeps/nptl/tst-mqueue8x.c: ... here.
11616         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11617         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11618         * nptl/sysdeps/pthread/allocalim.h: Moved ...
11619         * sysdeps/pthread/allocalim.h: ... here.
11620         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11621         * sysdeps/pthread/bits/sigthread.h: ... here.
11622         * nptl/sysdeps/pthread/flockfile.c: Moved ...
11623         * sysdeps/pthread/flockfile.c: ... here.
11624         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11625         * sysdeps/pthread/ftrylockfile.c: ... here.
11626         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11627         * sysdeps/pthread/funlockfile.c: ... here.
11628         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11629         * sysdeps/pthread/posix-timer.h: ... here.
11630         * nptl/sysdeps/pthread/timer_create.c: Moved ...
11631         * sysdeps/pthread/timer_create.c: ... here.
11632         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11633         * sysdeps/pthread/timer_delete.c: ... here.
11634         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11635         * sysdeps/pthread/timer_getoverr.c: ... here.
11636         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11637         * sysdeps/pthread/timer_gettime.c: ... here.
11638         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11639         * sysdeps/pthread/timer_routines.c: ... here.
11640         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11641         * sysdeps/pthread/timer_settime.c: ... here.
11642         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11643         * sysdeps/pthread/tst-timer.c: ... here.
11644         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11645         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11647         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11648         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11650         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11651         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11652         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11653         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11654         Update #include target.
11655         * nptl/sysdeps/i386/i686/Makefile: Moved ...
11656         * sysdeps/i386/i686/nptl/Makefile: ... here.
11657         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11658         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11659         Update #include target.
11660         * nptl/sysdeps/i386/i686/tls.h: Moved ...
11661         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
11662         * nptl/sysdeps/i386/Makefile: Moved ...
11663         * sysdeps/i386/nptl/Makefile: ... here.
11664         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11665         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11666         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11667         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11668         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11669         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11670         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11671         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11672         * sysdeps/i386/nptl/pthreaddef.h: ... here.
11673         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11674         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11675         * nptl/sysdeps/i386/tls.h: Moved ...
11676         * sysdeps/i386/nptl/tls.h: ... here.
11678         * sysdeps/sh/Makefile [$(subdir) = csu]
11679         (gen-as-const-headers): Add tcb-offsets.sym.
11680         * nptl/sysdeps/sh/Makefile: File removed.
11681         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11682         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11683         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11684         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11685         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11686         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11687         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11688         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11689         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11690         * sysdeps/sh/nptl/pthreaddef.h: ... here.
11691         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11692         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11693         * nptl/sysdeps/sh/tls.h: Moved ...
11694         * sysdeps/sh/nptl/tls.h: ... here.
11695         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11696         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11697         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11698         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11699         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11700         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11701         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11702         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11703         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11704         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11705         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11706         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11707         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11708         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11709         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11710         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11711         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11712         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11713         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11714         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11715         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11716         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11717         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11718         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11719         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11720         Moved ...
11721         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11723         Moved ...
11724         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11725         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11729         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11730         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11731         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11732         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11733         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11734         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11735         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11736         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11737         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11738         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11739         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11740         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11741         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11742         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11744 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11746         * posix/spawn_faction_addopen.c: Include string.h.
11748 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11750         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11751         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11752         * nptl/sysdeps/x86_64/Makefile: Moved ...
11753         * sysdeps/x86_64/nptl/Makefile: ... here.
11754         * nptl/sysdeps/x86_64/configure: Moved ...
11755         * sysdeps/x86_64/nptl/configure: ... here.
11756         * nptl/sysdeps/x86_64/configure.ac: Moved ...
11757         * sysdeps/x86_64/nptl/configure.ac: ... here.
11758         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11759         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11760         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11761         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11762         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11763         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11764         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11765         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11766         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11767         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11768         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11769         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11770         * nptl/sysdeps/x86_64/tls.h: Moved ...
11771         * sysdeps/x86_64/nptl/tls.h: ... here.
11772         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11773         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11774         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11775         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11777         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11779 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11783 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
11785         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11786         type.
11787         [POSIX] (off_t): Likewise.
11788         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11789         [POSIX] (S_ISBLK): Require macro.
11790         [POSIX] (S_ISCHR): Likewise.
11791         [POSIX] (S_ISDIR): Likewise.
11792         [POSIX] (S_ISFIFO): Likewise.
11793         [POSIX] (S_ISREG): Likewise.
11794         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11795         optional-macro.
11796         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11797         type.
11798         [POSIX] (time_t): Likewise.
11799         [POSIX] (timer_t): Likewise.
11801 2014-06-11  Florian Weimer  <fweimer@redhat.com>
11803         [BZ #17048]
11804         * posix/spawn_int.h (struct __spawn_action): Make the path string
11805         non-const to support deallocation.
11806         * posix/spawn_faction_addopen.c
11807         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11808         * posix/spawn_faction_destroy.c
11809         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11810         path in all spawn_do_open actions.
11811         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11812         posix_spawn_file_actions_addopen.
11814 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11816         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11817         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11818         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11819         conditional code always true.
11820         (__libc_vfork): New alias.
11822 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11824         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11825         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11827         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11829         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11830         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11832         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11833         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11835         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11836         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11838 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11840         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11841         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11842         multiarch strcmp for PPC64.
11843         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11844         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11846         multiarch optimizations.
11847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11848         (__libc_ifunc_impl_list): Likewise.
11850 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11852         * benchtests/scripts/validate_benchout.py: New script.
11853         * benchtests/Makefile (bench-func): Call it.
11854         * benchtests/scripts/benchout.schema.json: New file.
11856 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11858         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11859         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11860         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11861         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11862         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11863         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11864         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11865         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11866         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11867         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11868         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11869         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11870         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11871         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11872         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11873         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11875         Moved ...
11876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11877         ... here.
11878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11879         Moved ...
11880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11882         Moved ...
11883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11884         ... here.
11885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11886         Moved ...
11887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11888         ... here.
11889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11890         Moved ...
11891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11893         Moved ...
11894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11895         ... here.
11896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11897         Moved ...
11898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11899         ... here.
11900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11901         Moved ...
11902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11904         Moved ...
11905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11906         ... here.
11907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11908         Moved ...
11909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11910         ... here.
11911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11912         Moved ...
11913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11914         ... here.
11915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11916         Moved ...
11917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11919         Moved ...
11920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11921         ... here.
11922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11923         Moved ...
11924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11925         ... here.
11926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11927         Moved ...
11928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11929         ... here.
11930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11931         Moved ...
11932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11934         Moved ...
11935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11936         ... here.
11937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11938         Moved ...
11939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11940         ... here.
11941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11942         Moved ...
11943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11945         Moved ...
11946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11947         ... here.
11948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11949         Moved ...
11950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11952         Moved ...
11953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11955         Moved ...
11956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11957         ... here.
11958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11959         Moved ...
11960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11961         ... here.
11962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11963         Moved ...
11964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11965         ... here.
11966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11967         Moved ...
11968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11970         Moved ...
11971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11972         ... here.
11973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11974         Moved ...
11975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11976         ... here.
11977         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11978         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11979         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11980         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11981         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11982         Moved ...
11983         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11984         ... here.
11985         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11986         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11987         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11988         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11989         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11990         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11992         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11993         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11994         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11995         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11996         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11997         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11998         Moved ...
11999         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12001         Moved ...
12002         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12003         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12004         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12005         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12006         Moved ...
12007         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12009         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12010         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12011         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12012         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12013         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12015 2014-06-10  Wilco  <wdijkstr@arm.com>
12017         * math/test-fenv-return.c: New file.
12018         * math/Makefile: Add new test test-fenv-return.
12020 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12022         [BZ #17042]
12023         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12024         when x - 1 is zero.
12025         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12026         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12027         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12028         0.0L for an argument of 1.0L.
12029         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12030         Likewise.
12031         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12032         value when x - 1 is zero.
12033         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12034         * sysdeps/i386/fpu/libm-test-ulps: Update.
12035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12037 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12039         [BZ #15119]
12040         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12042 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12044         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12045         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12047 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12049         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12050         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12052         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12053         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12055         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12056         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12058         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12059         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12061         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12062         if not already defined.
12063         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12064         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12065         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12066         (TLS_INIT_TP): Use it.
12067         (TLS_DEFINE_INIT_TP): New macro.
12068         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12070 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12072         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12073         constant.
12074         [POSIX] (IXANY): Likewise.
12075         [POSIX] (OLCUC): Likewise.
12076         [POSIX || POSIX2008] (CBAUD): Do not allow.
12077         [POSIX || POSIX2008] (DEFECHO): Likewise.
12078         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12079         [POSIX || POSIX2008] (ECHOKE): Likewise.
12080         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12081         [POSIX || POSIX2008] (EXTA): Likewise.
12082         [POSIX || POSIX2008] (EXTB): Likewise.
12083         [POSIX || POSIX2008] (FLUSHO): Likewise.
12084         [POSIX || POSIX2008] (LOBLK): Likewise.
12085         [POSIX || POSIX2008] (PENDIN): Likewise.
12086         [POSIX || POSIX2008] (SWTCH): Likewise.
12087         [POSIX || POSIX2008] (VDISCARD): Likewise.
12088         [POSIX || POSIX2008] (VDSUSP): Likewise.
12089         [POSIX || POSIX2008] (VLNEXT): Likewise.
12090         [POSIX || POSIX2008] (VREPRINT): Likewise.
12091         [POSIX || POSIX2008] (VSTATUS): Likewise.
12092         [POSIX || POSIX2008] (VWERASE): Likewise.
12093         (B*): Change to B[0123456789]*.
12094         * conform/data/time.h-data [POSIX || UNIX98]
12095         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12096         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12097         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12098         [POSIX] (tm_*): Do not allow.
12100 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12102         * Makefile (install): Don't set LANGUAGE.
12103         * Makefile.in (install): Likewise.
12104         * assert/Makefile (test-assert-ENV): Remove variable.
12105         (test-assert-perr-ENV): Likewise.
12106         * elf/Makefile (neededtest4-ENV): Likewise.
12107         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12108         [$(cross-compiling) = no]: Don't set LANGUAGE.
12109         * io/ftwtest-sh (LANG): Remove variable.
12110         * libio/Makefile (tst-widetext-ENV): Likewise.
12111         * manual/install.texi (Running make install): Don't refer to
12112         environment settings for make install.
12113         * INSTALL: Regenerated.
12114         * nptl/tst-tls6.sh: Don't set LANG.
12115         * posix/globtest.sh (LANG): Remove variable.
12116         * string/Makefile (tester-ENV): Likewise.
12117         (inl-tester-ENV): Likewise.
12118         (noinl-tester-ENV): Likewise.
12119         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12120         [$(cross-compiling) = no]: Don't set LANGUAGE.
12121         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12122         without explicit environment settings.
12124 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12126         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12127         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12128         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12129         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12131 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12133         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12134         other files in the crypt directory.
12135         * crypt/crypt.c: Remove duplicate includes.
12136         * crypt/crypt-entry.c: Likewise.
12137         * crypt/crypt_util.c: Likewise.
12139 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12141         * Makeconfig (run-program-env): New variable.
12142         (run-program-prefix-before-env): Likewise.
12143         (run-program-prefix-after-env): Likewise.
12144         (run-program-prefix): Define in terms of new variables.
12145         (built-program-cmd-before-env): New variable.
12146         (built-program-cmd-after-env): Likewise.
12147         (built-program-cmd): Define in terms of new variables.
12148         (test-program-prefix-before-env): New variable.
12149         (test-program-prefix-after-env): Likewise.
12150         (test-program-prefix): Define in terms of new variables.
12151         (test-program-cmd-before-env): New variable.
12152         (test-program-cmd-after-env): Likewise.
12153         (test-program-cmd): Define in terms of new variables.
12154         * Rules (make-test-out): Use $(run-program-env).
12155         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12156         (help): Do not mention environment variables.  Mention
12157         --timeoutfactor option.
12158         (timeoutfactor): New variable.
12159         (blacklist_exports): Remove function.
12160         (exports): Remove variable.
12161         (command): Do not include ${exports}.
12162         * manual/install.texi (Configuring and compiling): Do not mention
12163         test wrappers preserving environment variables.  Mention that last
12164         assignment to a variable must take precedence.
12165         * INSTALL: Regenerated.
12166         * benchtests/Makefile (run-bench): Use $(run-program-env).
12167         * catgets/Makefile ($(objpfx)test1.cat): Use
12168         $(built-program-cmd-before-env), $(run-program-env) and
12169         $(built-program-cmd-after-env).
12170         ($(objpfx)test2.cat): Do not specify environment variables
12171         explicitly.
12172         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12173         $(run-program-env) and $(built-program-cmd-after-env).
12174         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12175         $(run-program-env) and $(test-program-cmd-after-env).
12176         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12177         explicitly.
12178         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12179         run_program_env and test_program_cmd_after_env arguments.
12180         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12181         * elf/tst-pathopt.sh: Use run_program_env argument.
12182         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12183         $(test-wrapper-env) and $(run-program-env).
12184         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12185         run_program_env arguments.
12186         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12187         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12188         $(test-program-prefix-before-env), $(run-program-env) and
12189         $(test-program-prefix-after-env).
12190         ($(objpfx)tst-gettext2.out): Likewise.
12191         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12192         run_program_env and test_program_prefix_after_env arguments.
12193         * intl/tst-gettext2.sh: Likewise.
12194         * intl/tst-gettext4.sh: Do not set environment variables
12195         explicitly.
12196         * intl/tst-gettext6.sh: Likewise.
12197         * intl/tst-translit.sh: Likewise.
12198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12199         $(test-program-prefix-before-env), $(run-program-env) and
12200         $(test-program-prefix-after-env).
12201         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12202         run_program_env and test_program_prefix_after_env arguments.
12203         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12204         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12205         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12206         explicitly with each use of ${test_wrapper_env}.
12207         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12208         $(test-program-prefix-before-env), $(run-program-env) and
12209         $(test-program-prefix-after-env).
12210         * posix/tst-getconf.sh: Do not set environment variables
12211         explicitly.
12212         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12213         run_program_env and test_program_prefix_after_env arguments.
12214         * stdio-common/tst-printf.sh: Do not set environment variables
12215         explicitly.
12216         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12217         $(test-program-prefix-before-env), $(run-program-env) and
12218         $(test-program-prefix-after-env).
12219         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12220         run_program_env and test_program_prefix_after_env arguments.
12221         Split $test calls into $test_pre and $test.
12222         * timezone/Makefile (build-testdata): Use
12223         $(built-program-cmd-before-env), $(run-program-env) and
12224         $(built-program-cmd-after-env).
12226 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12228         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12229         strlen for non SHARED builds.
12231 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12233         * nptl/allocatestack.c (check_list): Inlined function...
12234         (__reclaim_stacks): ... here.
12236 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12238         [BZ #15698]
12239         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12240         memory overrun.
12242 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12244         * Rules (make-test-out): Include
12245         LOCPATH=$(common-objpfx)localedata in default environment.
12246         * debug/Makefile (tst-chk1-ENV): Remove variable.
12247         (tst-chk2-ENV): Likewise.
12248         (tst-chk3-ENV): Likewise.
12249         (tst-chk4-ENV): Likewise.
12250         (tst-chk5-ENV): Likewise.
12251         (tst-chk6-ENV): Likewise.
12252         (tst-lfschk1-ENV): Likewise.
12253         (tst-lfschk2-ENV): Likewise.
12254         (tst-lfschk3-ENV): Likewise.
12255         (tst-lfschk4-ENV): Likewise.
12256         (tst-lfschk5-ENV): Likewise.
12257         (tst-lfschk6-ENV): Likewise.
12258         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12259         (tst-iconv7-ENV): Likewise.
12260         * intl/Makefile (LOCPATH-ENV): Likewise.
12261         (tst-codeset-ENV): Likewise.
12262         (tst-gettext3-ENV): Likewise.
12263         (tst-gettext5-ENV): Likewise.
12264         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12265         (tst-fopenloc-ENV): Likewise.
12266         (tst-fgetws-ENV): Remove variable.
12267         (tst-ungetwc1-ENV): Likewise.
12268         (tst-ungetwc2-ENV): Likewise.
12269         (bug-ungetwc2-ENV): Likewise.
12270         (tst-swscanf-ENV): Likewise.
12271         (bug-ftell-ENV): Likewise.
12272         (tst-fgetwc-ENV): Likewise.
12273         (tst-fseek-ENV): Likewise.
12274         (tst-ftell-partial-wide-ENV): Likewise.
12275         (tst-ftell-active-handler-ENV): Likewise.
12276         (tst-ftell-append-ENV): Likewise.
12277         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12278         (tst-regexloc-ENV): Likewise.
12279         (bug-regex1-ENV): Likewise.
12280         (tst-regex-ENV): Likewise.
12281         (tst-regex2-ENV): Likewise.
12282         (bug-regex5-ENV): Likewise.
12283         (bug-regex6-ENV): Likewise.
12284         (bug-regex17-ENV): Likewise.
12285         (bug-regex18-ENV): Likewise.
12286         (bug-regex19-ENV): Likewise.
12287         (bug-regex20-ENV): Likewise.
12288         (bug-regex22-ENV): Likewise.
12289         (bug-regex23-ENV): Likewise.
12290         (bug-regex25-ENV): Likewise.
12291         (bug-regex26-ENV): Likewise.
12292         (bug-regex30-ENV): Likewise.
12293         (bug-regex32-ENV): Likewise.
12294         (bug-regex33-ENV): Likewise.
12295         (bug-regex34-ENV): Likewise.
12296         (bug-regex35-ENV): Likewise.
12297         (tst-rxspencer-ENV): Likewise.
12298         (tst-rxspencer-no-utf8-ENV): Likewise.
12299         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12300         (tst-sscanf-ENV): Likewise.
12301         (tst-swprintf-ENV): Likewise.
12302         (tst-swscanf-ENV): Likewise.
12303         (test-vfprintf-ENV): Likewise.
12304         (scanf13-ENV): Likewise.
12305         (bug14-ENV): Likewise.
12306         (tst-grouping-ENV): Likewise.
12307         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12308         (tst-strtod3-ENV): Likewise.
12309         (tst-strtod4-ENV): Likewise.
12310         (tst-strtod5-ENV): Likewise.
12311         (testmb2-ENV): Likewise./
12312         * string/Makefile (tst-strxfrm-ENV): Likewise.
12313         (tst-strxfrm2-ENV): Likewise.
12314         (bug-strcoll1-ENV): Likewise.
12315         (test-strcasecmp-ENV): Likewise.
12316         (test-strncasecmp-ENV): Likewise.
12317         * time/Makefile (tst-strptime-ENV): Likewise.
12318         (tst-ftime_l-ENV): Likewise.
12319         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12320         (tst-mbrtowc-ENV): Likewise.
12321         (tst-wcrtomb-ENV): Likewise.
12322         (tst-mbrtowc2-ENV): Likewise.
12323         (tst-c16c32-1-ENV): Likewise.
12324         (tst-mbsnrtowcs-ENV): Likewise.
12326 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12328         * manual/resource.texi (How to get information about the memory
12329         subsystem?): Fix typo.
12330         Reported by Peon de la Parra Ivan <peon@keba.com>
12332 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12334         [BZ #16882]
12335         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12336         (pthread_spin_lock): Branch out of spin loop to proper location.
12337         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12338         (pthread_spin_lock): Likewise.
12340         * nptl/tst-spin4.c: New test.
12341         * nptl/Makefile (tests): Add tst-spin4.
12343 2014-06-03  Andreas Schwab  <schwab@suse.de>
12345         [BZ #15946]
12346         * resolv/res_send.c (send_dg): Reload file descriptor after
12347         calling reopen.
12349 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12351         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12353 2014-06-03  Richard Henderson  <rth@redhat.com>
12355         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12356         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12357         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12358         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12359         in the SAVE_PID block.
12360         (__libc_vfork): New alias.
12361         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12363         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12364         child in registers, not on the stack.  Remove RESET_PID conditionals.
12365         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12367 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12369         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12371 2014-06-03  Wilco  <wdijkstr@arm.com>
12373         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12374         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12375         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12376         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12377         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12378         Likewise.
12380 2014-06-03  Wilco  <wdijkstr@arm.com>
12382         * sysdeps/aarch64/fpu/math_private.h
12383         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12384         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12385         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12386         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12387         Fix declarations.
12389 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12391         * crypt/crypt-private.h: Include ufc-crypt.h.
12392         (__b64_from_24bit): Declare extern.
12393         * crypt/crypt_util.c(__b64_from_24bit): New function.
12394         (b64t): New static const variable.
12395         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12396         (b64t): Remove variable.
12397         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12398         * crypt/sha256-crypt.c: Include crypt-private.h.
12399         (b64t): Remove variable.
12400         (__sha256_crypt_r): Remove b64_from_24bit and replace
12401         with __b64_from_24bit.
12402         * crypt/sha512-crypt.c: Likewise.
12404 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12406         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12407         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12408         Label the code __libc_vfork rather than __vfork.
12409         [!NOT_IN_libc] (vfork): Define as weak alias.
12410         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12411         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12412         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12414 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12416         * malloc/malloc.c (malloc_info): Fix format specifier for
12417         n_mmaps.
12419 2014-06-02  Wilco  <wdijkstr@arm.com>
12421         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12422         FPCR write.
12424 2014-06-02  Wilco  <wdijkstr@arm.com>
12426         [BZ #17009]
12427         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12428         Rewrite to reduce FPCR/FPSR accesses.
12430 2014-06-01  David S. Miller  <davem@davemloft.net>
12432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12434 2014-05-31  David S. Miller  <davem@davemloft.net>
12436         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12437         to occur in round to nearest mode when |x| >= 2.0
12439 2014-05-30  Richard Henderson  <rth@twiddle.net>
12441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12442         (PSEUDO_RET_NOERRNO): Remove.
12443         (ret): Don't redefine.
12444         (ret_NOERRNO): Define in terms of ret.
12445         (ret_ERRVAL): Likewise.
12447         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12448         use of PSEUDO_RET; perform the error check directly.
12450 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12452         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12453         with __int128_t.
12455 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12457         * malloc/malloc (malloc_info): Fix formatting.
12459 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12460             Roland McGrath  <roland@hack.frob.com>
12462         * malloc/malloc (malloc_info): Also print mmapped statistics.
12464 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12466         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12467         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12469 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12471         * malloc/malloc.c (malloc_info): Inline mi_arena.
12473 2014-05-29  Richard Henderson  <rth@twiddle.net>
12475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12476         Remove comma before expanding ASM_ARGS_##nr.
12477         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12478         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12479         of ASM_ARGS_##nr.
12480         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12481         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12482         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12483         (ASM_ARGS_1): Add leading comma.
12485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12486         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12487         to __errno_location.
12488         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12489         Remove the expected plt for __errno_location.
12491         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12492         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12493         call to __read_tp.
12495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12496         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12497         it and break it down.
12498         (DOCARGS_0, DOCARGS_1): Do nothing.
12499         (DOCARGS_2): Update to store into the new stack frame.
12500         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12501         (UNDOCARGS_1): Update to restore from the new stack frame.
12502         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12503         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12506         (SINGLE_THREAD_P): New parameter for result regno.
12507         (PSEUDO): Update to match; use cbz instead of beq.
12509         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12510         Use ENTRY to define the _nocancel entry point.  Share the syscall
12511         and syscall error check paths with the cancel path.
12512         (PSEUDO_END): New.
12514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12515         whitespace; tabs before and after asm mnemonics.
12517 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12519         [BZ #15132]
12520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12521         Call fstat64 or stat64 internally, depending on arguments passed.
12522         Replace stat buffer argument with file descriptor argument.
12523         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12524         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12525         Pass fd to __internal_statvfs instead of calling fstat64.
12526         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12527         Pass fd to __internal_statvfs64 instead of calling fstat64.
12528         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12529         Pass -1 to __internal_statvfs instead of calling stat64.
12530         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12531         Pass -1 to __internal_statvfs64 instead of calling stat64.
12533 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12535         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12536         that was previously under [RESET_PID].
12537         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12539         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12540         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12542 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12544         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12546         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12547         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12549 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12551         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12553 2014-05-27  Andreas Schwab  <schwab@suse.de>
12555         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12556         TLS_INIT_TP macro.
12557         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12558         * elf/rtld.c (init_tls, dl_main): Likewise.
12559         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12560         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12561         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12562         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12563         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12564         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12565         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12566         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12567         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12568         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12569         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12570         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12571         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12572         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12573         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12574         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12575         * sysdeps/generic/tls.h: Update description.
12577 2014-05-27  Will Newton  <will.newton@linaro.org>
12579         [BZ #16990]
12580         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12581         and restore r2 rather than just restoring.
12583 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12585         [BZ #16724]
12586         * libio/tst-ftell-append.c: New test case.
12587         * libio/Makefile (tests): Add test case.
12588         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12589         append mode.
12590         * libio/wfileops.c (do_ftell_wide): Likewise.
12592 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12596         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12597         ...
12598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12600         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12601         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12602         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12603         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12604         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12605         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12607         Moved ...
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12610         Moved ...
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12612         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12613         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12614         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12615         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12616         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12617         ...
12618         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12619         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12620         Moved ...
12621         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12622         here.
12623         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12624         ...
12625         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12626         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12627         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12629         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12630         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12631         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12632         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12635         merge into ...
12636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12638         ...
12639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12641         ...
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12644         Moved ...
12645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12646         here.
12647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12648         Moved ...
12649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12651         Moved ...
12652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12655         conditional [RESET_PID].
12656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12658         removed.
12659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12660         removed.
12662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12663         <tcb-offsets.h>.
12664         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12665         (__libc_vfork): New strong alias.
12666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12667         removed.
12668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12669         Removed.
12671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12672         <tcb-offsets.h>.
12673         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12674         (__libc_vfork): New strong alias.
12675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12676         removed.
12677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12678         removed.
12680 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
12682         * malloc/malloc.c (mi_arena): New function.
12683         (malloc_info): Remove nested function mi_arena. Call non-nosted
12684         function mi_arena.
12686 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12688         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12689         by insrwi.
12690         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12691         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12692         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12693         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12694         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12695         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12696         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12698 2014-05-26  Andreas Schwab  <schwab@suse.de>
12700         [BZ #16984]
12701         * locale/programs/repertoire.c (repertoire_read): Add slash
12702         between I18NPATH element and file name.
12703         * locale/programs/locfile.c (locfile_read): Likewise.
12705 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12707         * nptl/pthread_mutexattr_settype.c
12708         (__pthread_mutexattr_settype):
12709         Disable lock elision for PTHREAD_MUTEX_NORMAL.
12711 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12713         * nptl/tst-mutex5 (do_test):
12714         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12716 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12718         * benchtests/README: Document 'init' directive.
12719         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12720         BENCH_INIT.
12721         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12722         (parse_file): Recognize 'init' directive.
12724 2014-05-26  Kyle McMartin  <kyle@redhat.com>
12726         [BZ #16796]
12727         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12728         alignment of struct pthread.
12730 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12732         [BZ #16878]
12733         * nscd/netgroupcache.c (addgetnetgrentX): Look for
12734         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12735         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12736         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12738 2014-05-25  Richard Henderson  <rth@twiddle.net>
12740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12741         (SINGLE_THREAD_P_PIC): Remove.
12742         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12743         (SINGLE_THREAD_P_PIC): Remove.
12745         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12746         branch to syscall error ...
12747         (PSEUDO): ... here.
12748         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12749         from __local_syscall_error to .Lsyscall_error.
12750         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12751         (SYSCALL_ERROR): Update label name.
12753         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12754         Do not use DOARGS/UNDOARGS.
12755         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12756         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12757         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12758         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12759         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12762         block comment.
12764         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12765         define if !NOT_IN_libc.
12766         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12767         define with non-default symbol versions.
12769 2014-05-23  Richard Henderson  <rth@twiddle.net>
12771         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12772         (vfork, __vfork): Define via compat_symbol.
12774         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12775         [!HAVE_IFUNC] (vfork_compat): Remove.
12776         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12778 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12780         [BZ #16978]
12781         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12782         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12783         variable.
12785 2014-05-23  Richard Henderson  <rth@twiddle.net>
12787         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12788         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12789         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12790         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12792         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12793         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12794         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12795         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12796         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12797         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12798         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12799         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12800         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12801         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12802         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12803         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12804         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12805         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12806         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12807         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12808         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12809         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12810         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12811         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12812         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12813         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12815         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12816         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12817         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12818         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12819         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12820         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12821         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12822         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12823         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12824         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12825         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12826         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12827         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12828         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12829         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12830         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12831         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12832         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12833         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12834         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12835         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12836         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12837         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12838         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12839         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12840         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12841         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12842         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12843         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12844         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12845         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12846         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12847         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12849         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12850         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12851         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12852         before exiting on error.
12853         (__libc_vfork): New strong alias.
12854         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12855         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12857         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12858         that was previously under [RESET_PID].
12859         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12861         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12863 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12865         [BZ #16977]
12866         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12867         value when x - 1 is zero.
12868         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12869         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12870         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12871         0.0L for an argument of 1.0L.
12872         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12873         Likewise.
12874         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12875         value when x - 1 is zero.
12876         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12877         * sysdeps/i386/fpu/libm-test-ulps: Update.
12878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12880 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12882         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12883         alphasort and versionsort.
12885 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12887         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12888         macro.
12889         [copysignf]: Likewise.
12891 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12893         * crypt/md5-crypt.c: Fix formatting.
12895 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12897         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12898         (b64_from_24bit): New function.
12900 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12902         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12903         libc_hidden_builtin_def to ifunc.
12904         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12905         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12907 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12909         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12910         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12912 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12914         * nscd/Depend (linuxthreads): Remove.
12915         (nptl): Add.
12916         * resolv/Depend (linuxthreads): Remove.
12917         * rt/Depend (linuxthreads): Remove.
12919         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12920         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12921         $(common-objpfx)elf/.
12922         (link-libc-before-gnulib): Likewise.
12923         (elfobjdir): Remove variable.
12924         * Makefile (install): Use $(elf-objpfx) instead of
12925         $(common-objpfx)elf/.
12926         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12927         $(elfobjdir)/.
12928         (link-libc-deps): Likewise.
12929         ($(common-objpfx)libc.so): Likewise.
12930         ($(common-objpfx)linkobj/libc.so): Likewise.
12931         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12932         instead of $(common-objpfx)elf/.
12933         (symbolic-link-list): Likewise.
12934         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12935         [$(cross-compiling) = no]: Likewise.
12936         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12937         $(elfobjdir)/.
12938         (static-gnulib-arch): Likewise.
12939         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12940         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12941         $(common-objpfx)elf/.
12943 2014-05-21  Richard Henderson  <rth@redhat.com>
12945         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12946         (SINGLE_THREAD_P): Use the correct width load.  Fold
12947         into the ldr offset.
12949         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12950         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12952 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12954         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12955         (libgcc_s_resume): Use __attribute_used__.
12956         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12957         Likewise.
12959 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12961         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12962         optimization when used with float constants.
12964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12966 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12968         [BZ #16915]
12969         * locale/nl_langinfo_l.c: Make direct reference to every
12970         _nl_current_CATEGORY symbol.
12971         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12972         (tests-static): Add tst-langinfo-static.
12973         (tests-special): Add tst-langinfo-static.out.
12974         ($(objpfx)tst-langinfo.out): Redirect output.
12975         ($(objpfx)tst-langinfo-static.out): New.
12976         * localedata/tst-langinfo.sh: Send output to stdout.
12977         * localedata/tst-langinfo-static.c: New file.
12979         [BZ #16965]
12980         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12981         when the shift amount is modulo the limb size.
12983 2014-05-20  Richard Henderson  <rth@redhat.com>
12985         [BZ #16967]
12986         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12987         Change type of sa_flags from unsigned int to int.
12989         [BZ #16966]
12990         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12992         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12994 2014-05-20  Will Newton  <will.newton@linaro.org>
12996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12997         Test the return value of the system call in the nocancel case.
12999 2014-05-20  Will Newton  <will.newton@linaro.org>
13000             Yvan Roux  <yvan.roux@linaro.org>
13002         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13003         #include of asm/ptrace.h.
13004         (PTRACE_GET_THREAD_AREA): Remove #undef.
13005         (PTRACE_GETHBPREGS): Likewise.
13006         (PTRACE_SETHBPREGS): Likewise.
13007         (struct user_regs_struct): New structure.
13008         (struct user_fpsimd_struct): New structure.
13009         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13010         #include of asm/ptrace.h and second #include of sys/user.h.
13011         (PTRACE_GET_THREAD_AREA): Remove #undef.
13012         (PTRACE_GETHBPREGS): Likewise.
13013         (PTRACE_SETHBPREGS): Likewise.
13014         (ELF_NGREG): Use new struct user_regs_struct.
13015         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13017 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13019         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13020         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13022 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13024         [BZ #16958]
13025         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13026         membar to avoid block loads/stores to overlap previous stores.
13028 2014-05-17  Richard Henderson  <rth@redhat.com>
13030         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13031         Create the __##syscall_name##_nocancel entry point.
13032         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13033         Remove; let the sysdep-cancel.h code create it.
13035 2014-05-17  David S. Miller  <davem@davemloft.net>
13037         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13038         Protect with __USE_GNU.
13039         (TIOCSET_TEMPT): Likewise.
13040         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13041         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13042         these are already provided in bits/ioctl-types.h
13044 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13046         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13047         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13049         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13050         Use wait4 regardless of [__NR_waitpid].
13052 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13054         PR libgcc/60166
13055         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13056         (_FP_NANSIGN_Q): Set the quiet bit.
13058 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13060         * benchtests/Makefile
13061         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13062         not $(common-objpfx)math/libm.so.
13063         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13064         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13065         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13066         $(common-objpfx)dlfcn/libdl.so.
13067         ($(objpfx)tst-audit8): Depend on $(libm), not
13068         $(common-objpfx)math/libm.so.
13069         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13070         not $(common-objpfx)dlfcn/libdl.so.
13071         * math/Makefile
13072         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13073         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13074         [$(build-shared) = yes].
13075         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13076         $(common-objpfx)nptl/libpthread.so.
13077         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13078         $(common-objpfx)math/libm.so$(libm.so-version) or
13079         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13080         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13081         $(common-objpfx)dlfcn/libdl.so.
13082         * setjmp/Makefile (link-libm): Remove variable.
13083         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13084         * stdio-common/Makefile (link-libm): Remove variable.
13085         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13086         * stdlib/Makefile (link-libm): Remove variable.
13087         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13088         ($(objpfx)tst-strtod-round): Likewise.
13089         ($(objpfx)tst-tininess): Likewise.
13090         ($(objpfx)tst-strtod-underflow): Likewise.
13091         ($(objpfx)tst-strtod6): Likewise.
13092         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13093         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13094         $(common-objpfx)dlfcn/libdl.so.
13096 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13098         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13099         BSD terminal modes definitions.
13101 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13103         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13104         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13106         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13107         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13108         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13109         Don't do #include_next.
13110         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13111         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13112         Don't do #include_next.
13113         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13114         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13115         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13116         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13118 2014-05-16  Allan McRae  <allan@archlinux.org>
13120         * po/sv.po: Update Swedish translation from translation project.
13122         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13123         in sed expression.
13125 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13127         [BZ #16917]
13128         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13129         errno if the TIOCGPTN ioctl fails with an error different than
13130         EINVAL.
13131         * login/tst-ptsname.c: New file.
13132         * login/Makefile (tests): Add tst-ptsname.
13134         [BZ #16943]
13135         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13136         and prlimit64.
13138 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140         [BZ #16849]
13141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13142         herrno to return EAI_AGAIN.
13144 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13146         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13147         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13148         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13149         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13150         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13151         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13152         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13153         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13155         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13156         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13157         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13158         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13159         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13160         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13161         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13162         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13163         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13164         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13165         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13166         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13167         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13168         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13169         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13170         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13171         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13172         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13173         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13174         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13175         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13177         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13179         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13181         Moved ...
13182         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13184         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13186         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13188         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13190         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13192         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13194         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13196         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13198         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13200         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13202         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13204         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13206         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13208         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13210         Moved ...
13211         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13213         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13215         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13217         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13219         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13221         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13223         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13225         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13227         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13229         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13231         Moved ...
13232         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13234         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13236         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13237         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13238         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13239         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13240         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13241         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13242         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13243         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13244         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13245         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13246         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13247         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13248         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13249         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13250         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13251         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13252         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13253         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13254         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13255         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13256         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13257         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13258         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13259         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13260         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13261         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13262         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13263         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13264         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13265         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13266         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13268         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13269         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13271         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13272         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13273         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13274         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13275         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13276         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13277         Moved ...
13278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13279         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13280         Moved ...
13281         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13282         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13283         Moved ...
13284         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13285         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13286         Moved ...
13287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13288         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13289         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13291         Moved ...
13292         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13293         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13294         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13297         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13298         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13300         Moved ...
13301         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13303         Moved ...
13304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13305         ... here.
13306         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13307         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13308         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13309         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13311         Moved ...
13312         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13313         ... here.
13314         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13315         Moved ...
13316         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13317         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13318         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13319         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13320         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13321         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13322         Moved ...
13323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13324         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13325         Moved ...
13326         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13327         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13328         Moved ...
13329         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13330         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13331         Moved ...
13332         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13333         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13334         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13336         Moved ...
13337         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13338         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13339         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13342         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13343         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13345         Moved ...
13346         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13348         Moved ...
13349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13350         ... here.
13351         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13352         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13353         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13354         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13356         Moved ...
13357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13358         ... here.
13359         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13360         Moved ...
13361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13362         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13363         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13364         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13365         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13366         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13367         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13368         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13369         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13370         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13371         Moved ...
13372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13373         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13374         Moved ...
13375         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13376         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13377         Moved ...
13378         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13379         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13380         Moved ...
13381         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13382         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13383         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13384         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13385         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13387         Moved ...
13388         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13389         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13390         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13391         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13392         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13393         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13394         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13395         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13396         Moved ...
13397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13399         Moved ...
13400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13401         ... here.
13402         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13403         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13404         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13405         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13406         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13407         Moved ...
13408         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13409         ... here.
13410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13411         Moved ...
13412         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13413         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13414         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13415         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13416         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13417         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13418         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13419         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13420         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13421         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13422         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13424         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13425         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13427         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13428         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13430         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13431         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13432         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13433         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13434         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13435         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13436         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13437         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13438         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13439         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13440         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13441         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13442         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13443         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13444         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13446         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13447         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13448         Moved ...
13449         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13451         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13453         Moved ...
13454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13458         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13460         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13462         Moved ...
13463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13465         Moved ...
13466         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13472         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13473         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13474         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13475         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13476         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13477         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13478         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13479         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13480         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13481         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13482         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13484         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13485         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13486         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13487         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13488         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13490         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13491         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13492         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13493         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13494         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13495         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13496         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13497         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13498         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13499         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13504         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13505         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13506         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13507         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13508         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13509         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13510         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13511         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13512         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13513         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13514         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13515         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13516         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13517         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13519         Update #include.
13520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13521         Likewise.
13522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13523         Likewise.
13524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13525         Likewise.
13526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13527         Likewise.
13528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13529         Likewise.
13530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13531         Likewise.
13532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13533         Likewise.
13534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13535         Likewise.
13536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13537         Likewise.
13538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13541         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13542         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13543         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13544         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13546         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13548         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13549         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13551         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13554         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13555         that was previously under [RESET_PID].
13556         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13557         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13558         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13560         * sysdeps/i386/nptl/Implies: New file.
13561         * sysdeps/x86_64/nptl/Implies: New file.
13562         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13563         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13564         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13565         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13567         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13568         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13569         (__libc_vfork): New strong alias.
13570         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13571         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13573         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13574         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13575         (__libc_vfork): New strong alias.
13576         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13577         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13579         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13580         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13581         (__libc_vfork): New strong alias.
13582         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13583         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13584         * nptl/pt-vfork.c: New file.
13585         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13586         (libpthread: GLIBC_2.20): New version set (empty).
13588 2014-05-14  Will Newton  <will.newton@linaro.org>
13590         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13591         rather than #if.
13593 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13595         [BZ #16564]
13596         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13597         arguments with exponent 65 or above.
13598         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13599         arguments 0x1p113L or above.
13600         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13601         to arguments 0x1p107L or above.
13602         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13603         positive arguments with exponent 65 or above.
13604         * math/auto-libm-test-in: Add more tests of log1p.
13605         * math/auto-libm-test-out: Regenerated.
13607         [BZ #16928]
13608         * math/s_cacos.c (__cacos): Ensure zero real part of result from
13609         non-finite arguments is +0.
13610         * math/s_cacosf.c (__cacosf): Likewise.
13611         * math/s_cacosl.c (__cacosl): Likewise.
13612         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13613         * sysdeps/i386/fpu/libm-test-ulps: Update.
13614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13616         [BZ #16927]
13617         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13618         value.
13619         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13620         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13621         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13622         for explicit high bit of mantissa when testing for argument equal
13623         to 1.
13624         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13625         * sysdeps/i386/fpu/libm-test-ulps: Update.
13626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13628         [BZ #16516]
13629         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13630         (__erf): Scale by 16 instead of 8 in potentially underflowing
13631         case.  Ensure exception if result actually underflows.
13632         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13633         (__erff): Scale by 16 instead of 8 in potentially underflowing
13634         case.  Ensure exception if result actually underflows.
13635         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13636         (efx8): Remove variable.
13637         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13638         case.  Ensure exception if result actually underflows.
13639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13640         (efx8): Remove variable.
13641         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13642         case.  Ensure exception if result actually underflows.
13643         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13644         (efx8): Remove variable.
13645         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13646         case.  Ensure exception if result actually underflows.
13647         * math/auto-libm-test-in: Add more tests of erf.
13648         * math/auto-libm-test-out: Regenerated.
13650 2014-05-14  Andreas Schwab  <schwab@suse.de>
13652         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13653         Remove code conditionalized on USE___THREAD.
13655         * config.h.in (HAVE_PT_CHOWN): Define as 0.
13656         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13657         not definedness.
13659 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13662         Define unconditionally.
13663         (__ASSUME_O_CLOEXEC): Likewise.
13664         (__ASSUME_SOCK_CLOEXEC): Likewise.
13665         (__ASSUME_IN_NONBLOCK): Likewise.
13666         (__ASSUME_PIPE2): Likewise.
13667         (__ASSUME_EVENTFD2): Likewise.
13668         (__ASSUME_SIGNALFD4): Likewise.
13669         (__ASSUME_DUP3): Likewise.
13670         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13671         (__ASSUME_DUP3): Do not define.
13672         (__ASSUME_EVENTFD2): Likewise.
13673         (__ASSUME_IN_NONBLOCK): Likewise.
13674         (__ASSUME_O_CLOEXEC): Likewise.
13675         (__ASSUME_PIPE2): Likewise.
13676         (__ASSUME_SIGNALFD4): Likewise.
13677         (__ASSUME_SOCK_CLOEXEC): Likewise.
13678         (__ASSUME_UTIMES): Undefine.
13679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13680         (__ASSUME_UTIMES): Do not define.
13681         (__ASSUME_O_CLOEXEC): Likewise.
13682         (__ASSUME_SOCK_CLOEXEC): Likewise.
13683         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13684         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13685         0x020621].
13686         (__ASSUME_PIPE2): Likewise.
13687         (__ASSUME_EVENTFD2): Likewise.
13688         (__ASSUME_SIGNALFD4): Likewise.
13689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13690         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13691         Do not define.
13692         (__ASSUME_EVENTFD2): Likewise.
13693         (__ASSUME_SIGNALFD4): Likewise.
13694         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13695         (__ASSUME_32BITUIDS): Likewise.
13696         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13697         (__ASSUME_IPC64): Likewise.
13698         (__ASSUME_ST_INO_64_BIT): Likewise.
13699         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13700         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13702         (__ASSUME_UTIMES): Do not define.
13703         (__ASSUME_PSELECT): Likewise.
13704         (__ASSUME_PPOLL): Likewise.
13705         (__ASSUME_O_CLOEXEC): Likewise.
13706         (__ASSUME_SOCK_CLOEXEC): Likewise.
13707         (__ASSUME_IN_NONBLOCK): Likewise.
13708         (__ASSUME_PIPE2): Likewise.
13709         (__ASSUME_EVENTFD2): Likewise.
13710         (__ASSUME_SIGNALFD4): Likewise.
13711         (__ASSUME_DUP3): Likewise.
13712         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13713         (__ASSUME_UTIMES): Likewise.
13714         (__ASSUME_O_CLOEXEC): Likewise.
13715         (__ASSUME_SOCK_CLOEXEC): Likewise.
13716         (__ASSUME_IN_NONBLOCK): Likewise.
13717         (__ASSUME_PIPE2): Likewise.
13718         (__ASSUME_EVENTFD2): Likewise.
13719         (__ASSUME_SIGNALFD4): Likewise.
13720         (__ASSUME_DUP3): Likewise.
13721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13722         (__ASSUME_UTIMES): Likewise.
13723         (__ASSUME_O_CLOEXEC): Likewise.
13724         (__ASSUME_SOCK_CLOEXEC): Likewise.
13725         (__ASSUME_IN_NONBLOCK): Likewise.
13726         (__ASSUME_PIPE2): Likewise.
13727         (__ASSUME_EVENTFD2): Likewise.
13728         (__ASSUME_SIGNALFD4): Likewise.
13729         (__ASSUME_DUP3): Likewise.
13730         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13731         Likewise.
13732         (__ASSUME_UTIMES): Likewise.
13733         (__ASSUME_EVENTFD2): Likewise.
13734         (__ASSUME_SIGNALFD4): Likewise.
13735         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13736         (__ASSUME_O_CLOEXEC): Likewise.
13737         (__ASSUME_SOCK_CLOEXEC): Likewise.
13738         (__ASSUME_IN_NONBLOCK): Likewise.
13739         (__ASSUME_PIPE2): Likewise.
13740         (__ASSUME_EVENTFD2): Likewise.
13741         (__ASSUME_SIGNALFD4): Likewise.
13742         (__ASSUME_DUP3): Likewise.
13743         (__ASSUME_UTIMES): Undefine.
13745         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13746         feclearexcept.  Remove symbol versioning code.
13747         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
13748         symbol versioning code.
13749         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
13750         symbol versioning code.
13751         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13752         feupdateenv.  Remove symbol versioning code.
13753         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13754         fegetexceptflag.  Remove symbol versioning code.
13755         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13756         fesetexceptflag.  Remove symbol versioning code.
13757         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13758         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
13759         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13760         (__posix_fadvise64_l32): Remove prototype.
13761         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13762         code.
13764 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13766         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13767         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13768         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13769         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13771 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
13773         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13774         current working directory
13776 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13778         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13779         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13780         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13781         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13782         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13783         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13784         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13785         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13786         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13787         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13788         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13789         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13790         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13791         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13792         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13793         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13794         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13795         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13796         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13797         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13798         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13799         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13800         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13801         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13802         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13803         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13804         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13805         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13806         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13808         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13809         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13810         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13811         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13812         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13813         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13814         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13815         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13816         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13817         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13818         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13819         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13821         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13822         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13824         * sysdeps/unix/sysv/linux/arm/Makefile
13825         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13826         Add rt-aeabi_unwind_cpp_pr1.
13827         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13828         Add nptl-aeabi_unwind_cpp_pr1.
13829         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13830         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13831         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13832         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13833         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13834         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13836         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13837         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13838         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13839         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13841         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13842         Deconditionalize the code that was previously under [RESET_PID].
13843         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13845         * sysdeps/generic/exit-thread.h: New file.
13846         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13847         * include/unistd.h (__exit_thread): Remove declaration.
13848         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13849         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13850         * csu/libc-start.c: Include <exit-thread.h>.
13851         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13852         * nptl/pthread_create.c: Include <exit-thread.h>.
13853         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13854         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13855         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13856         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13857         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13858         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13859         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13860         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13861         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13862         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13863         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13864         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13865         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13866         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13867         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13868         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13869         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13871 2014-05-13  Andreas Schwab  <schwab@suse.de>
13873         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13875 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13877         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13878         (__ASSUME_UTIMES): Do not condition on kernel version.
13879         (__ASSUME_PSELECT): Define unconditionally.
13880         (__ASSUME_PPOLL): Likewise.
13881         (__ASSUME_ATFCTS): Likewise.
13882         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13883         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13884         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13885         (__ASSUME_UTIMENSAT): Define unconditionally.
13886         (__ASSUME_PRIVATE_FUTEX): Likewise.
13887         (__ASSUME_FALLOCATE): Likewise.
13888         (__ASSUME_O_CLOEXEC): Likewise.
13889         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13890         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13891         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13892         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13893         (__ASSUME_IN_NONBLOCK): Likewise.
13894         (__ASSUME_PIPE2): Likewise.
13895         (__ASSUME_EVENTFD2): Likewise.
13896         (__ASSUME_SIGNALFD4): Likewise.
13897         (__ASSUME_DUP3): Likewise.
13898         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13899         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13900         (__ASSUME_AT_RANDOM): Likewise.
13901         (__ASSUME_PREADV): Likewise.
13902         (__ASSUME_PWRITEV): Likewise.
13903         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13904         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13905         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13906         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13907         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13909         (__ASSUME_O_CLOEXEC): Define unconditionally.
13910         (__ASSUME_PSELECT): Do not undefine conditionally.
13911         (__ASSUME_PPOLL): Likewise.
13912         (__ASSUME_ATFCTS): Likewise.
13913         (__ASSUME_SET_ROBUST_LIST): Likewise.
13914         (__ASSUME_UTIMENSAT): Likewise.
13915         (__ASSUME_FDATASYNC): Define unconditionally.
13916         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13917         (__ASSUME_SIGFRAME_V2): Likewise.
13918         )__ASSUME_EVENTFD2): Likewise.
13919         (__ASSUME_SIGNALFD4): Likewise.
13920         (__ASSUME_PSELECT): Do not undefine conditionally.
13921         (__ASSUME_PPOLL): Likewise.
13922         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13923         (__ASSUME_PSELECT): Define unconditionally.
13924         (__ASSUME_PPOLL): Likewise.
13925         (__ASSUME_O_CLOEXEC): Likewise.
13926         (__ASSUME_SOCK_CLOEXEC): Likewise.
13927         (__ASSUME_IN_NONBLOCK): Likewise.
13928         (__ASSUME_PIPE2): Likewise.
13929         (__ASSUME_EVENTFD2): Likewise.
13930         (__ASSUME_SIGNALFD4): Likewise.
13931         (__ASSUME_DUP3): Likewise.
13932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13933         (__ASSUME_O_CLOEXEC): Likewise.
13934         (__ASSUME_SOCK_CLOEXEC): Likewise.
13935         (__ASSUME_IN_NONBLOCK): Likewise.
13936         (__ASSUME_PIPE2): Likewise.
13937         (__ASSUME_EVENTFD2): Likewise.
13938         (__ASSUME_SIGNALFD4): Likewise.
13939         (__ASSUME_DUP3): Likewise.
13940         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13941         (__ASSUME_EVENTFD2): Likewise.
13942         (__ASSUME_SIGNALFD4): Likewise.
13943         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13945 2014-05-12  Andreas Schwab  <schwab@suse.de>
13947         [BZ #16932]
13948         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13949         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13950         than maximum RPC packet size.
13951         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13952         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13953         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13954         (_nss_nis_getservbyport_r): Likewise.
13956 2014-05-12  Will Newton  <will.newton@linaro.org>
13958         * malloc/Makefile (tests): Add tst-mallopt.
13959         * malloc/tst-mallopt.c: New file.
13961 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13963         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13964         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13966 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13968         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13969         (tst-tlsmod6.so): Likewise.
13971 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13973         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13975 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13977         [BZ #16064]
13978         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13979         and <dl-procinfo.h>.
13980         (__fegetenv): Save SSE state in envp->__eip if supported.
13981         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13982         envp->__eip if supported.
13983         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13984         and <dl-procinfo.h>.
13985         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13986         __data_offset and __data_selector in environment to 0.  Set SSE
13987         state if supported.
13988         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13989         test-fenv-sse.
13990         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13991         -mfpmath=sse.
13992         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13994 2014-05-09  Will Newton  <will.newton@linaro.org>
13996         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13997         and libc_relro_required for ARM.
13998         * sysdeps/arm/preconfigure: Regenerate.
14000 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14001             Stefan Liebler  <stli@linux.vnet.ibm.com>
14003         * config.make.in (enable-lock-elision): New Makefile variable.
14004         * configure.ac: Likewise.
14005         * configure: Regenerate.
14006         * sysdeps/s390/configure.ac:
14007         Add check for gcc transactions support.
14008         * sysdeps/s390/configure: Regenerate.
14009         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14010         Build elision files if enabled.
14011         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14012         Add lock elision support for s390.
14013         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14014         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14015         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14016         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14017         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14018         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14019         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14020         Likewise.
14021         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14022         Likewise.
14023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14024         Likewise.
14025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14026         Likewise.
14027         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14028         (__lll_timedlock_elision, __lll_lock_elision)
14029         (__lll_unlock_elision, __lll_trylock_elision)
14030         (lll_timedlock_elision, lll_lock_elision)
14031         (lll_unlock_elision, lll_trylock_elision): Add.
14032         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14033         (pthread_mutex_t): Add lock elision support for s390.
14035 2014-05-14  Wilco  <wdijkstr@arm.com>
14037         * sysdeps/arm/fclrexcpt.c: Cleanup.
14038         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14039         * sysdeps/arm/feenablxcpt.c: Cleanup.
14040         * sysdeps/arm/fegetenv.c: Cleanup.
14041         * sysdeps/arm/fegetexcept.c: Cleanup.
14042         * sysdeps/arm/fegetround.c: Cleanup.
14043         * sysdeps/arm/feholdexcpt.c: Cleanup.
14044         * sysdeps/arm/fesetenv.c: Cleanup.
14045         * sysdeps/arm/fesetround.c: Cleanup.
14046         * sysdeps/arm/feupdateenv.c: Cleanup.
14047         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14048         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14049         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14050         * sysdeps/arm/ftestexcept.c: Cleanup.
14051         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14052         * sysdeps/arm/setfpucw.c: Cleanup.
14054 2014-05-09  Will Newton  <will.newton@linaro.org>
14056         * sysdeps/arm/armv7/strcmp.S: New file.
14057         * NEWS: Mention addition of ARMv7 optimized strcmp.
14059 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14061         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14062         look for %.ac rather than %.in.
14064         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14065         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14066         * sysdeps/mach/hurd/configure: Regenerated.
14067         * sysdeps/unix/sysv/linux/configure: Regenerated.
14069         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14071 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14073         [BZ# 16922]
14074         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14075         (LONG_SUB): Ditto.
14076         (PTR_SUB): Ditto.
14078 2014-05-07  Andreas Schwab  <schwab@suse.de>
14080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14081         when skipping over non-matching result from nscd.
14083 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14085         [BZ #16876]
14086         * nptl/sockperf.c (client): Check socket return value.
14088         [BZ #16877]
14089         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14090         nscd security class.
14092 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14094         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14095         * sysdeps/arm/unwind.h: ... here.
14097 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14099         [BZ# 16916]
14100         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14101         Define.
14103 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14105         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14106         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14107         multiarch strncpy for PPC64.
14108         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14109         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14111         multiarch optimizations.
14112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14113         (__libc_ifunc_impl_list): Likewise.
14114         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14115         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14116         multiarch stpncpy for PPC64.
14117         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14118         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14120 2014-05-06  Andreas Schwab  <schwab@suse.de>
14122         [BZ #16912]
14123         * gmon/mcount.c (_MCOUNT_DECL): Use
14124         atomic_compare_and_exchange_bool_acq instead of
14125         catomic_compare_and_exchange_bool_acq.
14127 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14129         * elf/Makefile (others, install-bin): Remove pldd.
14130         (pldd-modules): Variable removed.
14131         ($(objpfx)pldd): Target removed.
14132         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14133         (others, install-bin): Append pldd here.
14134         ($(objpfx)pldd): New target.
14136         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14137         to 0, so the first #if test emitted later doesn't see it undefined.
14138         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14139         * sysdeps/gnu/errlist.c: Regenerated.
14141 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14144         [libc_hidden_builtin_def]: Define to empty value.
14145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14146         [libc_hidden_builtin_def]: Likewise.
14147         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14148         [libc_hidden_builtin_def]: Likewise.
14149         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14150         [libc_hidden_builtin_def]: Likewise.
14151         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14152         __redirect_memcpy and define ifunc as default hidden symbol.
14153         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14154         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14156 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14158         * locale/iso-4217.def: Reintroduce XDR currency.
14160 2014-05-04  Allan McRae  <allan@archlinux.org>
14162         * po/eo.po: Update Esperanto translation from translation project.
14164 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14166         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14167         and FEATURE_INDEX_MAX to 1.
14168         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14170 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14172         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14173         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14174         * iconvdata/big5.c (ONE_DIRECTION): Define.
14175         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14176         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14177         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14178         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14179         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14180         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14181         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14182         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14183         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14184         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14185         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14186         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14187         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14188         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14189         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14190         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14191         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14192         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14193         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14194         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14195         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14196         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14197         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14198         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14199         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14200         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14201         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14202         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14203         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14204         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14205         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14206         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14207         * iconvdata/johab.c (ONE_DIRECTION): Define.
14208         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14209         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14210         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14211         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14212         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14213         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14214         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14215         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14216         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14217         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14219 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14221         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14222         (_IO_JUMPS_OFFSET): Define to 0.
14224         * nptl/sysdeps/pthread/bits/libc-lock.h
14225         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14226         (__libc_lock_define_initialized_recursive): Always define using
14227         initializer.  Modern compilers treat uninitialized (implicit zero) and
14228         explicit zero initializers the same (i.e. put the datum in bss).
14230 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14232         * nscd/nscd-client.h: Include <string.h>.
14234 2014-05-01  David S. Miller  <davem@davemloft.net>
14236         [BZ #16885]
14237         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14238         multiple zero bytes exist at the end of a string.
14239         Reported by Aurelien Jarno <aurelien@aurel32.net>
14241         * string/test-strcmp.c (check): Add explicit test for situations where
14242         there are multiple zero bytes after the first.
14244 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14246         [BZ #16890]
14247         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14248         when compiling wprintf.
14249         * stdio-common/tstdiomisc.c (t3): New function.
14250         (main): Call it.
14252 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14254         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14255         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14256         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14257         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14259 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14261         * stdlib/longlong.h: Updated from GCC.
14263 2014-05-01  Will Newton  <will.newton@linaro.org>
14264             Bernard Ogden  <bernie.ogden@linaro.org>
14266         * NEWS: Update fixed bug list.
14268         [BZ #15119]
14269         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14271 2014-04-30  David S. Miller  <davem@davemloft.net>
14273         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14274         (libc_feholdexcept_setround_sparc_ctx): New function.
14275         (libc_fesetenv_sparc_ctx): Likewise.
14276         (libc_feupdateenv_sparc_ctx): Likewise.
14277         (libc_feholdsetround_sparc_ctx): Likewise.
14278         (libc_feholdexcept_setround_ctx): Define.
14279         (libc_feholdexcept_setroundf_ctx): Likewise.
14280         (libc_feholdexcept_setroundl_ctx): Likewise.
14281         (libc_fesetenv_ctx): Likewise.
14282         (libc_fesetenvf_ctx): Likewise.
14283         (libc_fesetenvl_ctx): Likewise.
14284         (libc_feupdateenv_ctx): Likewise.
14285         (libc_feupdateenvf_ctx): Likewise.
14286         (libc_feupdateenvl_ctx): Likewise.
14287         (libc_feresetround_ctx): Likewise.
14288         (libc_feresetroundf_ctx): Likewise.
14289         (libc_feresetroundl_ctx): Likewise.
14290         (libc_feholdsetround_ctx): Likewise.
14291         (libc_feholdsetroundf_ctx): Likewise.
14292         (libc_feholdsetroundl_ctx): Likewise.
14294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14295         with __USE_GNU instead of XOPEN cpp guards.
14297         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14298         0.
14300         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14301         with XOPEN cpp guards.
14303 2014-04-30  Julian Brown  <julian@codesourcery.com>
14305         [BZ #16888]
14306         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14307         handling.
14309 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14311         [BZ #9894]
14312         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14313         Change to 2.6.32.
14314         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14315         * sysdeps/unix/sysv/linux/configure: Regenerated.
14316         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14317         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14318         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14319         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14320         * README: Update reference to required Linux kernel version.
14321         * manual/install.texi (Linux): Update reference to required Linux
14322         kernel headers version.
14323         * INSTALL: Regenerated.
14325         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14326         header inclusion.
14327         [POSIX] (limits.h): Likewise.
14328         [POSIX] (math.h): Likewise.
14329         [POSIX] (sys/wait.h): Likewise.
14330         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14331         function.
14332         [POSIX] (stddef.h): Do not allow header inclusion.
14334 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14336         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14338 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14340         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14341         Return immediately after lll_futex_wake.
14343 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14345         [BZ #16791]
14346         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14347         structure.
14348         (datahead_init_pos): Call datahead_init_common early.
14349         (datahead_init_neg): Likewise.
14351         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14352         datahead_init_neg): New functions.
14353         * nscd/aicache.c (addhstaiX): Use them.
14354         * nscd/grpcache.c (cache_addgr): Likewise.
14355         * nscd/hstcache.c (cache_addhst): Likewise.
14356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14357         * nscd/netgroupcache.c (do_notfound): Likewise.
14358         (addgetnetgrentX): Likewise.
14359         (addinnetgrX): Likewise.
14360         * nscd/pwdcache.c (cache_addpw): Likewise.
14361         * nscd/servicescache.c (cache_addserv): Likewise.
14363 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14364             Atsushi Onoe  <atsushi@onoe.org>
14366         [BZ #14308]
14367         [BZ #12994]
14368         [BZ #13651]
14369         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14370         one response is valid.
14371         * resolv/res_send.c (send_dg): Check for validity of other
14372         response if the current response is a referral.
14374 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14376         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14378 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14380         [BZ #16823]
14381         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14382         Always divide by positive zero when computing -Inf result.
14383         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14384         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14386 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14388         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14389         FPSCR if value do not change.
14390         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14391         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14392         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14393         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14395         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14396         function.
14398 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14400         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14401         * sysdeps/unix/sysv/linux/hppa: Move directory from
14402         ports/systeps/unix/sysv/linux/hppa.
14403         * README: Update listing for hppa-*-linux-gnu.
14405 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14407         [BZ #16754]
14408         * manual/stdio.texi (Hook functions): Fix types of stream hook
14409         functions.
14410         [BZ #16854]
14411         * socket/sys/socket.h: Fix typo in comment.
14413 2014-04-28  Wilco  <wdijkstr@arm.com>
14415         * sysdeps/arm/fenv_private.h: New file.
14416         * sysdeps/arm/math_private.h: New file.
14417         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14419 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14421         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14422         with __int128_t.
14423         (La_x86_64_retval): Likewise.
14425 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14427         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14428         fpsr if value didn't change.
14429         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14430         to fpcr if value didn't change.
14431         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14432         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14433         fpsr or fpcr if value didn't change.
14434         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14435         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14436         fpcr if value didn't change.
14437         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14438         to fpsr if value didn't change.
14440 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14442         * nptl/tst-sem3.c: Use test-skeleton.c
14443         (main): Rename to do_test.  Use return instead of
14444         exit.
14445         * nptl/tst-sem4.c: Use test-skeleton.c
14446         (main): Rename to do_test.
14448 2014-04-22  David S. Miller  <davem@davemloft.net>
14450         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14451         (struct sigaction): New struct member __glibc_reserved0, change
14452         type of sa_flags to int.
14454 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14456         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14457         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14459 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14461         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14462         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14464 2014-04-22  Will Newton  <will.newton@linaro.org>
14465             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14467         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14468         (__longjmp): Add longjmp and longjmp_target SystemTap
14469         probes.
14470         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14471         (__sigsetjmp): Add setjmp SystemTap probe.
14473 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14475         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14476         match manual order.
14478 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14480         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14482         * sysdeps/powerpc/fpu/fenv_private.h
14483         (libc_feholdexcept_setroundl_ctx): Define to
14484         libc_feholdexcept_setround_ppc_ctx.
14485         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14486         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14487         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14488         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14490 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14492         * sysdeps/aarch64/math-tests.h: New file.
14494 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14496         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14497         New.
14498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14499         Check and set bit_AVX2_Usable.
14500         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14501         macro.
14502         (bit_AVX2): Likewise.
14503         (index_AVX2_Usable): Likewise.
14504         (CPUID_AVX2): Likewise.
14505         (HAS_AVX2): Likewise.
14507 2014-04-17  Will Newton  <will.newton@linaro.org>
14509         * manual/setjmp.texi (System V contexts): Add note that
14510         calling setcontext on a context created by a call to a
14511         signal handler is undefined.  Update text to note that
14512         setcontext from a signal handler is possible but not
14513         recommended.
14515         [BZ #16629]
14516         * stdlib/tst-setcontext.c: Include signal.h.
14517         (main): Check that the signal stack before and
14518         after swapcontext is the same.
14520         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14521         Re-implement to restore registers in user code and avoid
14522         rt_sigreturn system call.
14524 2014-04-17  Wilco  <wdijkstr@arm.com>
14526         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14527         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14528         * math/test-fenv.c: Skip exception trap tests on targets which only
14529         support non-stop mode.
14531 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14532             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14534         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14535         (libc_feholdsetround_aarch64_ctx)
14536         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14537         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14538         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14539         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14540         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14541         (libc_feresetround_noexl_ctx): Define.
14543 2014-04-16  Richard Henderson  <rth@redhat.com>
14545         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14547         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14548         unwind tables.
14550         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14551         const from the non-libc, non-ldso copy.
14553         * sysdeps/alpha/libm-test-ulps: Regenerate.
14555 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14556             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14558         * sysdeps/aarch64/fpu/math_private.h: New file.
14560 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14562         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14564 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14566         [BZ #16275]
14567         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14568         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14569         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14570         Intel MPX bound registers before _dl_profile_fixup.
14571         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14572         registers after _dl_profile_fixup.  Save and restore bound
14573         registers bnd0/bnd1 when calling _dl_call_pltexit.
14574         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14575         (LR_BND_OFFSET): Likewise.
14576         (LRV_BND0_OFFSET): Likewise.
14577         (LRV_BND1_OFFSET): Likewise.
14579 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14581         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14582         to...
14583         * sysdeps/mach/hurd/i386/tls.h: ... here.
14584         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14585         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14586         fields.
14588 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14590         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14592 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14596 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14598         [BZ #14770]
14599         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14600         * sysdeps/s390/configure: Regenerate.
14602         [BZ #16824]
14603         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14604         Set round-to-nearest internally to reduce error accumulation.
14606 2014-04-16  Alan Modra  <amodra@gmail.com>
14608         [BZ #16740]
14609         [BZ #16619]
14610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14611         * math/libm-test.inc (frexp_test_data): Add tests.
14612         * NEWS: Update fixed bug list.
14614 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14616         * benchtests/Makefile: Depend on libraries in build directory.
14617         (bench-math): Separate out math tests.
14618         (bench-pthread): Separate out pthread tests.
14619         (bench): Include math and pthread tests.
14621 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
14623         [BZ #16831]
14624         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14625         _dl_debug_initialize.
14627         * configure.ac: Remove SELinux header check.
14628         * configure: Regenerate.
14629         * nscd/selinux.c (perms): Array of const char* to permission names.
14630         (nscd_request_avc_has_perm): Call security_deny_unknown to find
14631         default policy. Call string_to_security_class and string_to_av_perm to
14632         translate strings. Enforce default policy and call avs_has_perm with
14633         results of translated strings.
14635 2014-04-13  David S. Miller  <davem@davemloft.net>
14637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14639 2014-04-12  Allan McRae  <allan@archlinux.org>
14641         [BZ #16838]
14642         * manual/string.texi (Collation Functions): Fix qsort argument
14643         order in example.
14644         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14646 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
14648         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14649         Make the test a no-op if there are no exceptions defined.
14651 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14653         * elf/Makefile (tests): make tst-dlopen-aout conditional on
14654         enable-hardcoded-path-in-tests
14656 2014-04-11  Will Newton  <will.newton@linaro.org>
14658         * benchtests/Makefile (extra-objs): Add json-lib.o.
14659         (bench-func): Tidy up JSON output.
14660         * benchtests/bench-skeleton.c: Include json-lib.h.
14661         (main): Use JSON library functions to do output of
14662         benchmark results.
14663         * benchtests/bench-timing-type.c (main): Output the
14664         timing type simply, leaving formatting to the user.
14665         * benchtests/json-lib.c: New file.
14666         * benchtests/json-lib.h: Likewise.
14668 2014-04-11  Torvald Riegel  <triegel@redhat.com>
14670         [BZ #15215]
14671         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14672         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
14673         memory barriers.  Add comments.
14674         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14675         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14676         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14677         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14678         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14679         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14681 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14683         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14684         * sysdeps/s390/s390-64/configure.ac: ... this ...
14685         * sysdeps/s390/configure.ac: ... to here.
14686         * sysdeps/s390/s390-32/configure: Delete file.
14687         * sysdeps/s390/s390-64/configure: Delete file.
14688         * sysdeps/s390/configure: Regenerate.
14690 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
14692         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14694 2014-04-11  Will Newton  <will.newton@linaro.org>
14696         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14697         to zero if it is not defined elsewhere.  (mtrim): Test
14698         the value of MALLOC_DEBUG with #if rather than #ifdef.
14700 2014-04-10 Torvald Riegel  <triegel@redhat.com>
14702         * benchtests/pthread_once-inputs: New file.
14703         * benchtests/pthread_once-source.c: New file.
14704         * benchtests/README: Update documentation.
14706 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14707             H.J. Lu  <hongjiu.lu@intel.com>
14709         [BZ #16275]
14710         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14711         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14712         * sysdeps/x86_64/configure: Regenerated.
14713         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14714         macro.
14715         (REGISTER_SAVE_RAX): Likewise.
14716         (REGISTER_SAVE_RCX): Likewise.
14717         (REGISTER_SAVE_RDX): Likewise.
14718         (REGISTER_SAVE_RSI): Likewise.
14719         (REGISTER_SAVE_RDI): Likewise.
14720         (REGISTER_SAVE_R8): Likewise.
14721         (REGISTER_SAVE_R9): Likewise.
14722         (REGISTER_SAVE_BND0): Likewise.
14723         (REGISTER_SAVE_BND1): Likewise.
14724         (REGISTER_SAVE_BND2): Likewise.
14725         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
14726         bound registers when calling _dl_fixup.
14728 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14730         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14731         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14732         of its definition.
14733         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14734         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14735         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14736         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14737         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14738         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14739         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14741 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
14743         [BZ #15514]
14744         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14745         pathconf(_PC_NAME_MAX).
14747 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14749         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14750         Remove macro usage.
14751         (__PTHREAD_SPINS): Move definition to ...
14752         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14753         (__PTHREAD_SPINS): ... here.
14754         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14755         (__PTHREAD_SPIN): Likewise.
14756         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14757         (__PTHREAD_SPIN): Likewise.
14758         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14759         (__PTHREAD_SPIN): Likewise.
14760         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14761         (__PTHREAD_SPIN): Likewise.
14762         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14763         (__PTHREAD_SPIN): Likewise.
14764         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14765         (__PTHREAD_SPIN): Likewise.
14766         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14767         (__PTHREAD_SPIN): Likewise.
14768         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14769         (__PTHREAD_SPIN): Likewise.
14770         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14771         (__PTHREAD_SPIN): Likewise.
14772         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14773         (__PTHREAD_SPIN): Likewise.
14774         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14775         (__PTHREAD_SPIN): Likewise.
14776         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14777         (__PTHREAD_SPIN): Likewise.
14779         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14780         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14781         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14782         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14783         imply folder.
14784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14785         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14786         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14787         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14788         correct imply path.
14789         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14790         strlen symbol for non multi-arch builds.
14791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14792         missing hidden_def and weak_alias.
14794 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
14796         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14798 2014-04-07  Will Newton  <will.newton@linaro.org>
14800         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14801         and contents.  [!_LIBC] Remove #ifndef and contents.
14802         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
14803         * string/memccpy.c (__memccpy): Use ANSI prototype.
14804         * string/memfrob.c (memfrob): Likewise.
14805         * string/strcoll.c (STRCOLL): Likewise.
14806         * string/strlen.c (strlen): Likewise.
14807         * string/strtok.c (STRTOK): Likewise.
14808         * string/strcat.c: Remove unused #include of memcopy.h.
14809         (strcat): Use ANSI prototype.
14810         * string/strchr.c: Remove unused #include of memcopy.h.
14811         (strchr): Use ANSI prototype.
14812         * string/strcmp.c: Remove unused #include of memcopy.h.
14813         (strcmp): Use ANSI prototype.
14814         * string/strcpy.c: Remove unused #include of memcopy.h.
14815         (strcpy): Use ANSI prototype.
14817 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14819         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14820         * config.make.in (config-extra-cppflags): Set it from
14821         libc_extra_cppflags.
14822         * configure.ac (libc_extra_cflags): Make it accumulate over
14823         configure fragments.
14824         (libc_extra_cppflags): New flag.
14825         * configure. Regenerate.
14826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14827         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14828         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14831         [BZ #16815]
14832         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14833         result for FE_DOWNWARD rounding mode.
14834         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14835         Likewise.
14836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14838 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14840         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14841         in function argument name.
14843 2014-04-03  David Svoboda  <svoboda@cert.org>
14845         [BZ #5666]
14846         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14847         explicitly.
14849 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14851         * elf/dl-unmap-segments.h: New file.
14852         * sysdeps/generic/ldsodefs.h
14853         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14854         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14855         * elf/dl-fptr.c: Likewise.
14856         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14857         * sysdeps/aarch64/tlsdesc.c: Likewise.
14858         * sysdeps/arm/tlsdesc.c: Likewise.
14859         * sysdeps/i386/tlsdesc.c: Likewise.
14860         * sysdeps/tile/dl-runtime.c: Likewise.
14861         * sysdeps/x86_64/tlsdesc.c: Likewise.
14862         * elf/dl-load.h: New file.
14863         * elf/dl-load.c: Include it.
14864         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14865         Macros moved to dl-load.h.
14866         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14867         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14868         Use _dl_unmap_segments in place of __munmap.
14869         Break out segment-mapping loop into ...
14870         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14872 2014-04-03  Will Newton  <will.newton@linaro.org>
14874         * elf/dl-lookup.c (do_lookup_x): Remove comment
14875         referring to nested function and move variable
14876         declarations down to before first use.
14878 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14880         [BZ #16799]
14881         [BZ #16800]
14882         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14883         with 0 numerator.
14884         * math/s_catanf.c (__catanf): Likewise.
14885         * math/s_catanh.c (__catanh): Likewise.
14886         * math/s_catanhf.c (__catanhf): Likewise.
14887         * math/s_catanhl.c (__catanhl): Likewise.
14888         * math/s_catanl.c (__catanl): Likewise.
14889         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14890         by positive zero when computing -Inf result.
14891         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14892         (catanh_test): Likewise.
14893         * sysdeps/i386/fpu/libm-test-ulps: Update.
14894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14896         [BZ #16789]
14897         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14898         instead of using underflowing value in computing result.
14899         * math/s_clog10.c (__clog10): Likewise.
14900         * math/s_clog10f.c (__clog10f): Likewise.
14901         * math/s_clog10l.c (__clog10l): Likewise.
14902         * math/s_clogf.c (__clogf): Likewise.
14903         * math/s_clogl.c (__clogl): Likewise.
14904         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14905         (clog10_test): Likewise.
14906         * sysdeps/i386/fpu/libm-test-ulps: Update.
14907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909 2014-04-02  Alan Modra  <amodra@gmail.com>
14911         [BZ #16739]
14912         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14913         output when value is near a power of two.  Use int64_t for lx and
14914         remove casts.  Use decimal rather than hex exponent constants.
14915         Don't use long double multiplication when double will suffice.
14916         * math/libm-test.inc (nextafter_test_data): Add tests.
14917         * NEWS: Add 16739 and 16786 to bug list.
14919         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14921         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14923 2014-04-01  Will Newton  <will.newton@linaro.org>
14925         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14926         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14928 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14930         [BZ #13347]
14931         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14932         * nptl/tst-setuid2.c: New file.
14933         * nptl/Makefile (xtests): Add tst-setuid2.
14935 2014-04-01  Alan Modra  <amodra@gmail.com>
14937         [BZ #16786]
14938         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14940 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14942         [BZ #6803]
14943         [BZ #6804]
14944         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14945         set errno as appropriate.
14946         * math/w_scalbf.c (__scalbf): Likewise.
14947         * math/w_scalbl.c (__scalbl): Likewise.
14948         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14949         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14950         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14951         Add more NaN tests.
14953         [BZ #16349]
14954         * math/w_atan2.c: Include <errno.h>.
14955         (__atan2): Set errno for result underflowing to zero.
14956         * math/w_atan2f.c: Include <errno.h>.
14957         (__atan2f): Set errno for result underflowing to zero.
14958         * math/w_atan2l.c: Include <errno.h>.
14959         (__atan2l): Set errno for result underflowing to zero.
14960         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14961         tests.
14962         * math/auto-libm-test-out: Regenerated.
14964 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14966         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14967         Encode instruction correctly in little endian.
14968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14969         Likewise.
14970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14971         Likewise.
14972         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14973         Likewise.
14974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14975         Likewise.
14977 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14979         [BZ #9894]
14980         * sysdeps/unix/sysv/linux/kernel-features.h
14981         [__sparc__ && !__arch64__ && !__sparc_v9__]
14982         (__ASSUME_SET_ROBUST_LIST): Do not define.
14983         [__sparc__ && !__arch64__ && !__sparc_v9__]
14984         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14985         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14986         Likewise.
14987         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14988         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14989         (__ASSUME_REQUEUE_PI): Likewise.
14990         (__ASSUME_SET_ROBUST_LIST): Likewise.
14991         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14992         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14993         Undefine.
14994         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14995         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14996         Likewise.
14997         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14998         Likewise.
14999         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15000         Likewise.
15001         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15002         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15003         Undefine.
15004         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15005         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15006         Likewise.
15008         [BZ #16648]
15009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15010         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15011         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15013 2014-03-31  Will Newton  <will.newton@linaro.org>
15015         * benchtests/Makefile (bench): Add ffs and ffsll to list
15016         of tests.
15017         * benchtests/ffs-inputs: New file.
15018         * benchtests/ffsll-inputs: Likewise.
15020 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15022         [BZ #16770]
15023         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15024         too large before casting to int.
15025         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15026         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15027         * math/libm-test.inc (scalb_test_data): Add more tests.
15029 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15031         * benchtests/Makefile (DETAILED_OPT): New make option.
15032         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15033         set.
15034         * benchtests/bench-skeleton.c: Include stdbool.h.
15035         (main): Store and print timings per input.
15036         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15037         member to each argument value.
15038         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15039         (_print_arg_data): Initialize per-input timing to 0.
15041         * benchtests/Makefile (timing-type): New binary.
15042         (bench-clean): Also remove bench-timing-type.
15043         (bench): New target for timing-type.
15044         (bench-func): Print output in JSON format.
15045         * benchtests/bench-skeleton.c (main): Print output in JSON
15046         format.
15047         * benchtests/bench-timing-type.c: New file.
15048         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15049         (TIMING_PRINT_STATS): Remove.
15050         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15051         name separately.
15053         * benchtests/bench-modf.c: Remove.
15054         * benchtests/modf-inputs: New inputs file.
15056 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15058         [BZ #16362]
15059         * math/s_clog10.c (M_PI_LOG10E): New macro.
15060         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15061         imaginary parts are 0.
15062         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15063         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15064         imaginary parts are 0.
15065         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15066         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15067         imaginary parts are 0.
15068         * math/libm-test.inc (clog10_test_data): Update expected results
15069         for when real and imaginary parts are 0.
15071 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15073         * elf/dl-load.c: Finish conversion of __builtin_expect into
15074         __glibc_{un}likely.
15076 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15078         [BZ #16348]
15079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15080         1+x for argument with exponent below -67.
15081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15082         Likewise.
15083         * math/auto-libm-test-in: Add more tests of exp.
15084         * math/auto-libm-test-out: Regenerated.
15086 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15088         [BZ #16759]
15089         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15090         (nscd_getnetgrent): Use it.
15092         [BZ #16760]
15093         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15094         of stpcpy.
15096 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15098         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15099         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15100         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15101         (lll_robust_unlock): Remove out of line section. Use cfi
15102         intrinsics.
15103         (LLL_STUB_UNWIND_INFO*): Remove.
15104         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15105         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15106         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15107         (lll_robust_unlock): Remove out of line section. Use cfi
15108         intrinsics.
15109         (LLL_STUB_UNWIND_INFO*): Remove.
15111 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15113         [BZ #16758]
15114         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15115         blank values.
15117 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15119         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15121 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15123         [BZ #16198]
15124         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15125         fnstenv.
15126         * math/test-fenv-preserve.c: New file.
15127         * math/Makefile (tests): Add test-fenv-preserve.
15129 2014-03-26  Will Newton <will.newton@linaro.org>
15131         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15133 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15135         * scripts/versionlist.awk: Partition the version sets and emit all
15136         GLIBC_* (sorted) before all others (sorted).
15138 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15140         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15141         GLIBC_2.2.5 version.
15143 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15145         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15146         calls.
15148         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15149         previous change.
15151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15153 2014-03-25  Andreas Schwab  <schwab@suse.de>
15155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15156         label to be used after in6ailist is initialized.
15158 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15160         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15161         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15163 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15165         [BZ #16357]
15166         [BZ #16599]
15167         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15168         min_plus_half.
15169         (fp_formats): Update initializers.
15170         (init_fp_formats): Initialize new field.
15171         (output_for_one_input_case): Allow underflow for results up to
15172         min_plus_half.
15173         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15174         * math/auto-libm-test-in: Don't mark some underflows from asin and
15175         atanh as spurious.
15176         * math/auto-libm-test-out: Regenerated.
15177         * sysdeps/i386/fpu/libm-test-ulps: Update.
15178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15180 2014-03-25  Andreas Schwab  <schwab@suse.de>
15182         * libio/Makefile (tst-ftell-partial-wide-ENV)
15183         (tst-ftell-active-handler-ENV): Define.
15185 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15187         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15189 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15191         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15193 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15195         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15196         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15197         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15199 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15201         [BZ #16634]
15202         * elf/dl-load.c (open_verify): Add mode parameter.
15203         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15204         (open_path): Change from boolean 'secure' to complete flag 'mode'
15205         (_dl_map_object): Adjust.
15206         * elf/Makefile (tests): Add tst-dlopen-aout.
15207         * elf/tst-dlopen-aout.c: New test.
15209 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15211         [BZ #16714]
15212         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15213         (struct stat): Rename member pad0 to __glibc_reserved0.
15215         [BZ #16712]
15216         * sysdeps/s390/s390-32/bits/wordsize.h
15217         (__WORDSIZE32_SIZE_ULONG): New define.
15218         * sysdeps/s390/s390-64/bits/wordsize.h
15219         (__WORDSIZE32_SIZE_ULONG): Likewise.
15220         * sysdeps/generic/stdint.h (SIZE_MAX):
15221         Define as UL if __WORDSIZE32_SIZE_ULONG.
15223         [BZ #16713]
15224         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15225         (__glibc_reserved0): New variable.
15226         (sa_flags): Change type to int.
15228         * posix/Makefile (before-compile): Use += before-compile instead
15229         of a :=.
15231         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15232         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15234 2014-03-20  Andreas Schwab  <schwab@suse.de>
15236         [BZ #16743]
15237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15238         non-matching result from nscd.
15240 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15242         * scripts/bench.py: Moved to ...
15243         * benchtests/scripts/bench.py: ... here.
15244         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15246 2014-03-24  Andreas Schwab  <schwab@suse.de>
15248         [BZ #16002]
15249         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15250         alloca_account and account alloca use for struct in6ailist.
15252 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15254         [BZ #16284]
15255         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15256         rounding mode to recompute results that overflow to infinity or
15257         underflow to zero.
15258         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15259         bug 16284.
15260         * math/auto-libm-test-out: Regenerated.
15261         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15262         (ccosh_test): Likewise.
15263         (csin_test_data): Use plus_oflow.
15264         (csin_test): Use ALL_RM_TEST.
15265         (csinh_test_data): Use plus_oflow.
15266         (csinh_test): Use ALL_RM_TEST.
15267         * sysdeps/i386/fpu/libm-test-ulps: Update.
15268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15270 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15272         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15273         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15274         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15276         [BZ #16731]
15277         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15278         when x - 1 is zero.
15279         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15280         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15281         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15282         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15283         argument is 1.
15284         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15285         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15286         zero.
15287         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15288         * sysdeps/i386/fpu/libm-test-ulps: Update.
15289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15291 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15293         * scripts/bench.pl: Remove file.
15294         * scripts/bench.py: New benchmark script.
15295         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15296         * benchtests/README: Mention python dependency.
15297         * scripts/pylintrc: New file.
15298         * scripts/pylint: New file.
15300         * bits/mathdef.h: Use #ifdef instead of #if.
15301         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15302         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15303         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15304         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15305         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15306         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15308 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15309             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15311         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15313         and strpbrk-ppc64 objects.
15314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15315         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15316         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15317         multiarch strpbrk for POWER7.
15318         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15319         multiarch strpbrk for PPC64.
15320         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15321         ifunc selector.
15322         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15323         strpbrk for POWER7.
15325 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15327         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15328         (atan_test): Likewise.
15329         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15330         (atanh_test): Use ALL_RM_TEST.
15331         (atan2_test_data): Likewise.
15332         (cabs_test): Likewise.
15333         (cacosh_test): Likewise.
15334         (carg_test): Likewise.
15335         (casin_test): Likewise.
15336         (casinh_test): Likewise.
15337         (cbrt_test): Likewise.
15338         (csqrt_test): Likewise.
15339         (erf_test): Likewise.
15340         (erfc_test): Likewise.
15341         (pow10_test): Likewise.
15342         (exp2_test): Likewise.
15343         (hypot_test): Likewise.
15344         (j0_test): Likewise.
15345         (j1_test): Likewise.
15346         (lgamma_test): Likewise.
15347         (gamma_test): Likewise.
15348         (sincos_test): Likewise.
15349         (tanh_test): Likewise.
15350         (y0_test): Likewise.
15351         (y1_test): Likewise.
15352         * sysdeps/i386/fpu/libm-test-ulps: Update.
15353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15355 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15357         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15359         and strcspn-ppc64 objects.
15360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15361         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15362         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15363         multiarch strcspn for POWER7.
15364         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15365         multiarch strcspn for PPC64.
15366         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15367         ifunc selector.
15368         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15369         strcspn for POWER7.
15371 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15373         * math/gen-libm-test.pl (generate_testfile): Expect only function
15374         name as argument to AUTO_TESTS_* and pass results for all rounding
15375         modes to parse_args.
15376         (parse_auto_input): Separate inputs of automatic tests from
15377         outputs before storing in %auto_tests.
15378         * math/libm-test.inc (acos_test_data): Update call to
15379         AUTO_TESTS_f_f.
15380         (acos_test): Use ALL_RM_TEST.
15381         (acos_tonearest_test_data): Remove.
15382         (acos_test_tonearest): Likewise.
15383         (acos_towardzero_test_data): Likewise.
15384         (acos_test_towardzero): Likewise.
15385         (acos_downward_test_data): Likewise.
15386         (acos_test_downward): Likewise.
15387         (acos_upward_test_data): Likewise.
15388         (acos_test_upward): Likewise.
15389         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15390         (asin_test_data): Likewise.
15391         (asin_test): Use ALL_RM_TEST.
15392         (asin_tonearest_test_data): Remove.
15393         (asin_test_tonearest): Likewise.
15394         (asin_towardzero_test_data): Likewise.
15395         (asin_test_towardzero): Likewise.
15396         (asin_downward_test_data): Likewise.
15397         (asin_test_downward): Likewise.
15398         (asin_upward_test_data): Likewise.
15399         (asin_test_upward): Likewise.
15400         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15401         (atan_test_data): Likewise.
15402         (atanh_test_data): Likewise.
15403         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15404         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15405         (carg_test_data): Likewise.
15406         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15407         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15408         (ccosh_test_data): Likewise.
15409         (cexp_test_data): Likewise.
15410         (clog_test_data): Likewise.
15411         (clog10_test_data): Likewise.
15412         (cos_test_data): Update call to AUTO_TESTS_f_f.
15413         (cos_test): Use ALL_RM_TEST.
15414         (cos_tonearest_test_data): Remove.
15415         (cos_test_tonearest): Likewise.
15416         (cos_towardzero_test_data): Likewise.
15417         (cos_test_towardzero): Likewise.
15418         (cos_downward_test_data): Likewise.
15419         (cos_test_downward): Likewise.
15420         (cos_upward_test_data): Likewise.
15421         (cos_test_upward): Likewise.
15422         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15423         (cosh_test): Use ALL_RM_TEST.
15424         (cosh_tonearest_test_data): Remove.
15425         (cosh_test_tonearest): Likewise.
15426         (cosh_towardzero_test_data): Likewise.
15427         (cosh_test_towardzero): Likewise.
15428         (cosh_downward_test_data): Likewise.
15429         (cosh_test_downward): Likewise.
15430         (cosh_upward_test_data): Likewise.
15431         (cosh_test_upward): Likewise.
15432         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15433         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15434         (ctan_test_data): Likewise.
15435         (ctan_test): Use ALL_RM_TEST.
15436         (ctan_tonearest_test_data): Remove.
15437         (ctan_test_tonearest): Likewise.
15438         (ctan_towardzero_test_data): Likewise.
15439         (ctan_test_towardzero): Likewise.
15440         (ctan_downward_test_data): Likewise.
15441         (ctan_test_downward): Likewise.
15442         (ctan_upward_test_data): Likewise.
15443         (ctan_test_upward): Likewise.
15444         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15445         (ctanh_test): Use ALL_RM_TEST.
15446         (ctanh_tonearest_test_data): Remove.
15447         (ctanh_test_tonearest): Likewise.
15448         (ctanh_towardzero_test_data): Likewise.
15449         (ctanh_test_towardzero): Likewise.
15450         (ctanh_downward_test_data): Likewise.
15451         (ctanh_test_downward): Likewise.
15452         (ctanh_upward_test_data): Likewise.
15453         (ctanh_test_upward): Likewise.
15454         (erf_test_data): Update call to AUTO_TESTS_f_f.
15455         (erfc_test_data): Likewise.
15456         (exp_test_data): Likewise.
15457         (exp_test): Use ALL_RM_TEST.
15458         (exp_tonearest_test_data): Remove.
15459         (exp_test_tonearest): Likewise.
15460         (exp_towardzero_test_data): Likewise.
15461         (exp_test_towardzero): Likewise.
15462         (exp_downward_test_data): Likewise.
15463         (exp_test_downward): Likewise.
15464         (exp_upward_test_data): Likewise.
15465         (exp_test_upward): Likewise.
15466         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15467         (exp10_test): Use ALL_RM_TEST.
15468         (exp10_tonearest_test_data): Remove.
15469         (exp10_test_tonearest): Likewise.
15470         (exp10_towardzero_test_data): Likewise.
15471         (exp10_test_towardzero): Likewise.
15472         (exp10_downward_test_data): Likewise.
15473         (exp10_test_downward): Likewise.
15474         (exp10_upward_test_data): Likewise.
15475         (exp10_test_upward): Likewise.
15476         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15477         (expm1_test_data): Likewise.
15478         (expm1_test): Use ALL_RM_TEST.
15479         (expm1_tonearest_test_data): Remove.
15480         (expm1_test_tonearest): Likewise.
15481         (expm1_towardzero_test_data): Likewise.
15482         (expm1_test_towardzero): Likewise.
15483         (expm1_downward_test_data): Likewise.
15484         (expm1_test_downward): Likewise.
15485         (expm1_upward_test_data): Likewise.
15486         (expm1_test_upward): Likewise.
15487         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15488         (fma_test): Use ALL_RM_TEST.
15489         (fma_towardzero_test_data): Remove.
15490         (fma_test_towardzero): Likewise.
15491         (fma_downward_test_data): Likewise.
15492         (fma_test_downward): Likewise.
15493         (fma_upward_test_data): Likewise.
15494         (fma_test_upward): Likewise.
15495         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15496         (j0_test_data): Update call to AUTO_TESTS_f_f.
15497         (j1_test_data): Likewise.
15498         (jn_test_data): Update call to AUTO_TESTS_if_f.
15499         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15500         (log_test_data): Update call to AUTO_TESTS_f_f.
15501         (log10_test_data): Likewise.
15502         (log1p_test_data): Likewise.
15503         (log2_test_data): Likewise.
15504         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15505         (pow_tonearest_test_data): Likewise.
15506         (sin_test_data): Update call to AUTO_TESTS_f_f.
15507         (sin_test): Use ALL_RM_TEST.
15508         (sin_tonearest_test_data): Remove.
15509         (sin_test_tonearest): Likewise.
15510         (sin_towardzero_test_data): Likewise.
15511         (sin_test_towardzero): Likewise.
15512         (sin_downward_test_data): Likewise.
15513         (sin_test_downward): Likewise.
15514         (sin_upward_test_data): Likewise.
15515         (sin_test_upward): Likewise.
15516         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15517         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15518         (sinh_test): Use ALL_RM_TEST.
15519         (sinh_tonearest_test_data): Remove.
15520         (sinh_test_tonearest): Likewise.
15521         (sinh_towardzero_test_data): Likewise.
15522         (sinh_test_towardzero): Likewise.
15523         (sinh_downward_test_data): Likewise.
15524         (sinh_test_downward): Likewise.
15525         (sinh_upward_test_data): Likewise.
15526         (sinh_test_upward): Likewise.
15527         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15528         (sqrt_test): Use ALL_RM_TEST.
15529         (sqrt_tonearest_test_data): Remove.
15530         (sqrt_test_tonearest): Likewise.
15531         (sqrt_towardzero_test_data): Likewise.
15532         (sqrt_test_towardzero): Likewise.
15533         (sqrt_downward_test_data): Likewise.
15534         (sqrt_test_downward): Likewise.
15535         (sqrt_upward_test_data): Likewise.
15536         (sqrt_test_upward): Likewise.
15537         (tan_test_data): Update call to AUTO_TESTS_f_f.
15538         (tan_test): Use ALL_RM_TEST.
15539         (tan_tonearest_test_data): Remove.
15540         (tan_test_tonearest): Likewise.
15541         (tan_towardzero_test_data): Likewise.
15542         (tan_test_towardzero): Likewise.
15543         (tan_downward_test_data): Likewise.
15544         (tan_test_downward): Likewise.
15545         (tan_upward_test_data): Likewise.
15546         (tan_test_upward): Likewise.
15547         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15548         (tgamma_test_data): Likewise.
15549         (y0_test_data): Likewise.
15550         (y1_test_data): Likewise.
15551         (yn_test_data): Update call to AUTO_TESTS_if_f.
15552         (main): Do not call removed functions.
15554 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15556         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15557         (ldexp_test_data): Remove.
15558         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15559         scalbn_test_data.
15560         (scalb_test): Use ALL_RM_TEST.
15562 2014-03-19  Andreas Schwab  <schwab@suse.de>
15564         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15566 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #16649]
15569         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15570         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15571         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15572         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15573         (__ASSUME_PREADV): Undefine.
15574         (__ASSUME_PWRITEV): Likewise.
15576 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15578         * bits/mman-linux.h: Add comment about non-Linux use.
15579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15580         bits/mman-linux.h resting place.
15582         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15583         * bits/mman-linux.h: ... here.
15585 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15587         * conform/conformtest.pl: Add standard definition when calling C
15588         preprocessor on data files.
15589         (checknamespace): Remove unused variable.
15591 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15593         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15594         minus_oflow, plus_uflow and minus_uflow in expected results.
15595         * math/libm-test.inc (scalbn_test_data): Add more tests of
15596         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
15597         minus_uflow.
15598         (scalbn_test): Use ALL_RM_TEST.
15599         (scalbln_test_data): Add more tests of negative arguments.  Use
15600         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15601         (scalbln_test): Use ALL_RM_TEST.
15603 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15605         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15607 2014-03-18  Will Newton  <will.newton@linaro.org>
15609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15610         inaccurate comment.
15612 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15614         * Makerules [!subdir] (check-abi): Exit with error status if a
15615         test failed.
15617 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15619         * math/libm-test.inc (nearbyint_test_data): Include all tests used
15620         for rint.  Include results for all rounding modes.
15621         (nearbyint_test): Use ALL_RM_TEST.
15622         (rint_test_data): Include all tests used for nearbyint.
15624 2014-03-17  Will Newton  <will.newton@linaro.org>
15626         * nptl/sysdeps/pthread/pthread.h: Revert previous
15627         change.
15629         * sysdeps/generic/ldsodefs.h: Revert previous
15630         change.
15632         * libio/genops.c: Revert previous change.
15633         * libio/libioP.h: Likewise.
15634         * stdio-common/vfprintf.c: Likewise.
15636         * sysdeps/generic/math_private.h: Revert previous
15637         change.
15639         * sysdeps/generic/math_private.h: Check whether
15640         HAVE_RM_CTX is defined with #ifdef rather
15641         than #if.
15643         * argp/argp-fmtstream.h: Check whether
15644         __STRICT_ANSI__ is defined with #ifdef rather
15645         than #if.
15646         * argp/argp.h: Likewise.
15648         * libio/genops.c: Check whether
15649         _IO_JUMPS_OFFSET is defined with #ifdef rather
15650         than #if.
15651         * libio/libioP.h: Likewise.
15652         * stdio-common/vfprintf.c: Likewise.
15654         * sysdeps/generic/ldsodefs.h: Check whether
15655         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15656         than #if.
15658         * nptl/sysdeps/pthread/pthread.h: Check
15659         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15660         its value.
15662 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15664         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15665         setting O_APPEND.
15666         * libio/tst-ftell-active-handler.c (do_append_test): Add a
15667         test case.
15669         [BZ #16680]
15670         * libio/fileops.c (_IO_file_open): Seek to end of file but
15671         don't cache the offset.
15672         (get_file_offset): Remove function.
15673         (do_ftell): Use cached offset when available.
15674         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15675         don't cache the offset.
15676         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15677         case.
15678         (do_one_test): Call it.
15679         (do_ftell_test): Fix up expected old offset for a+ mode.
15680         * libio/wfileops.c (do_ftell_wide): Used cached offset when
15681         available.
15683         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15684         up test status with function return status.
15685         (do_write_test): Likewise.
15686         (do_append_test): Likewise.
15688         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15689         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15690         Remove.
15692 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15694         * math/gen-libm-test.pl (parse_args): Handle results specified for
15695         each rounding mode separately.
15696         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15697         tests and results from lrint_tonearest_test_data,
15698         lrint_towardzero_test_data, lrint_downward_test_data and
15699         lrint_upward_test_data.
15700         (lrint_test): Use ALL_RM_TEST.
15701         (lrint_tonearest_test_data): Remove.
15702         (lrint_test_tonearest): Likewise.
15703         (lrint_towardzero_test_data): Likewise.
15704         (lrint_test_towardzero): Likewise.
15705         (lrint_downward_test_data): Likewise.
15706         (lrint_test_downward): Likewise.
15707         (lrint_upward_test_data): Likewise.
15708         (lrint_test_upward): Likewise.
15709         (llrint_test_data): Merge in per-rounding-mode tests and results
15710         from llrint_tonearest_test_data, llrint_towardzero_test_data,
15711         llrint_downward_test_data and llrint_upward_test_data.
15712         (llrint_test): Use ALL_RM_TEST.
15713         (llrint_tonearest_test_data): Remove.
15714         (llrint_test_tonearest): Likewise.
15715         (llrint_towardzero_test_data): Likewise.
15716         (llrint_test_towardzero): Likewise.
15717         (llrint_downward_test_data): Likewise.
15718         (llrint_test_downward): Likewise.
15719         (llrint_upward_test_data): Likewise.
15720         (llrint_test_upward): Likewise.
15721         (rint_test_data): Merge in per-rounding-mode tests and results
15722         from rint_tonearest_test_data, rint_towardzero_test_data,
15723         rint_downward_test_data and rint_upward_test_data.  Add
15724         per-rounding-mode results for tests not in those arrays.
15725         (rint_test): Use ALL_RM_TEST.
15726         (rint_tonearest_test_data): Remove.
15727         (rint_test_tonearest): Likewise.
15728         (rint_towardzero_test_data): Likewise.
15729         (rint_test_towardzero): Likewise.
15730         (rint_downward_test_data): Likewise.
15731         (rint_test_downward): Likewise.
15732         (rint_upward_test_data): Likewise.
15733         (rint_test_upward): Likewise.
15734         (main): Don't call removed functions.
15736 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15738         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15739         "Compiled on ..." crapola.  It is anti-useful.
15741 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
15743         * scripts/evaluate-test.sh: Handle fourth argument to determine
15744         whether test run should stop on failure.
15745         * Makeconfig (stop-on-test-failure): New variable.
15746         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15747         $(stop-on-test-failure).
15748         * Makefile (tests): Give a summary of results from testing and
15749         exit with failure status if they include an ERROR or FAIL.
15750         (xtests): Likewise.
15751         * manual/install.texi (Configuring and compiling): Mention
15752         stop-on-test-failure=y.
15753         * INSTALL: Regenerated.
15755 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15757         * scripts/versionlist.awk: New file.
15758         * Makerules [$(build-shared) = yes]
15759         (postclean-generated): Add Versions.def, not Versions.def.v and
15760         Versions.def.v.i.
15761         ($(common-objpfx)Versions.def.v.i): Target removed.
15762         ($(common-objpfx)Versions.def): New target.
15763         ($(common-objpfx)Versions.all): Depend on that rather that
15764         $(common-objpfx)Versions.def.v.
15765         * Versions.def: File removed.
15767         * Makeconfig (+gccwarn): Add -Wundef.
15768         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15769         a dl-sysdep.h breaking its contract.
15770         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15771         * include/stackinfo.h: New file.
15772         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15773         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15774         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15775         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15776         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15777         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15778         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15779         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15780         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15781         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15782         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15783         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15784         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15785         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15786         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15788 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15790         [BZ #16707]
15791         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15792         implementation.
15793         * math/libm-test.inc (round_test_data): Add more tests.
15795         [BZ #16706]
15796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15797         implementation.
15798         * math/libm-test.inc (nearbyint_test_data): Add more tests.
15800         [BZ #16701]
15801         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15802         implementation.
15803         * math/libm-test.inc (ceil_test_data): Add more tests.
15805         * math/libm-test.inc (trunc_test_data): Add more tests related to
15806         BZ#16414.
15808 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15810         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15811         with #if rather than #ifdef.
15812         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15814 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15816         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15817         first.  Disable AVX-512 GCC support if assembler doesn't support
15818         it.
15819         * sysdeps/x86_64/configure: Regenerated.
15821 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15823         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15824         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15825         (__old_pthread_attr_setstack): Likewise.
15826         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15827         [!_STACK_GROWS_DOWN]: Likewise.
15829 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15831         * config.make.in (have-bash2): Delete.
15832         * configure.ac (libc_cv_have_bash2): Delete.
15833         * configure: Regenerate.
15834         * elf/Makefile (common-ldd-rewrite): Rename to ...
15835         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15836         (sh-ldd-rewrite): Delete.
15837         (bash-ldd-rewrite): Delete.
15838         (have-bash2): Delete checks.
15839         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15840         ldd-rewrite.
15842         * config.make.in (have-ksh): Delete.
15843         (KSH): Delete.
15844         * configure.ac (libc_cv_have_ksh): Delete.
15845         * configure: Regenerate.
15847         * elf/Makefile: Delete $(have-ksh) check.
15848         ($(objpfx)sotruss): Change KSH to BASH.
15849         * elf/sotruss.ksh: Rename to ...
15850         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15851         function style to match POSIX.  Drop ksh vim mode setting.
15853         * manual/time.texi (Specifying the Time Zone with TZ): Change
15854         Tuesday to Thursday.
15856         * debug/tst-longjmp_chk2.c: Update header comment.
15857         (stackoverflow_handler): Add comment.  Call assert on pass value.
15859 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15861         [BZ #16194]
15862         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15863         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15864         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15865         (La_x86_64_vector): Add zmm.
15866         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15867         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15868         ($(objpfx)tst-audit10): New target.
15869         ($(objpfx)tst-audit10.out): Likewise.
15870         (tst-audit10-ENV): New.
15871         (AVX512-CFLAGS): Likewise.
15872         (CFLAGS-tst-audit10.c): Likewise.
15873         (CFLAGS-tst-auditmod10a.c): Likewise.
15874         (CFLAGS-tst-auditmod10b.c): Likewise.
15875         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15876         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15877         * sysdeps/x86_64/configure: Regenerated.
15878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15879         AVX-512 zmm register support.
15880         (_dl_x86_64_save_sse): Likewise.
15881         (_dl_x86_64_restore_sse): Likewise.
15882         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15883         size vector registers.
15884         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15885         (ZMM_SIZE): Likewise.
15886         * sysdeps/x86_64/tst-audit10.c: New file.
15887         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15888         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15890 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15892         * configure.ac (HAVE_EHDR_START): New check.
15893         * configure: Regenerated.
15894         * config.h.in (HAVE_EHDR_START): New #undef.
15895         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15896         assuming the lowest-addressed segment maps the start of the file.
15898 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15900         * INSTALL: Regenerated.
15902 2014-03-13  Will Newton  <will.newton@linaro.org>
15904         * manual/setjmp.texi (System V contexts): Improve
15905         clarity and grammar of documentation.
15907 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15909         [BZ #16381]
15910         * elf/Makefile (tests): Add tst-pie2.
15911         (tests-pie): Add tst-pie2.
15912         * elf/tst-pie2.c: New file.
15913         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15914         for ET_EXEC.
15915         * elf/rtld.c (map_doit): Load executable as lt_executable.
15916         (dl_main): Likewise.
15918 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15920         [BZ #16642]
15921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15922         (__ASSUME_PSELECT): Undefine.
15924 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15926         [BZ #16689]
15927         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15928         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15929         static build.
15930         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15931         selector for static builds.
15933 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15935         [BZ #16695]
15936         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15937         key in the buffer.
15939 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15941         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15942         IFUNC selector for static builds.
15944 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15946         * sysdeps/mips/math_private.h [__mips_hard_float]
15947         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15948         libc_feresetround_mips_ctx.
15949         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15950         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15951         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15953         [BZ #16677]
15954         * math/s_nextafter.c (__nextafter): Do not return value from
15955         overflowing computation.
15956         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15957         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15959         Likewise.
15960         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15961         Likewise.
15962         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15963         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15965 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15967         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15968         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15969         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15970         the new mov targetting sp.
15972 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15974         [BZ #16683]
15975         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15976         Define it for static builds as well.
15977         (NO_BZERO_IMPL): Likewise.
15979 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15981         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15982         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15983         multiarch strspn for PPC64.
15984         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15985         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15987         (__libc_ifunc_impl_list): Likewise.
15988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15989         multiarch optimizations
15990         * string/strspn.c (strspn): Using macro to redefine symbol name.
15992 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15993             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15995         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15996         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15997         multiarch strncat for PPC64.
15998         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15999         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16001         (__libc_ifunc_impl_list): Likewise.
16002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16003         multiarch optimizations
16005 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16007         [BZ #16639]
16008         * nscd/nscd.service: Make service type forking.
16010 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16012         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16013         sign in non default rounding modes.
16014         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16016 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16018         * math/libm-test.inc (ALL_RM_TEST): New macro.
16019         (ceil_test): Use ALL_RM_TEST.
16020         (cimag_test): Likewise.
16021         (conj_test): Likewise.
16022         (copysign_test): Likewise.
16023         (cproj_test): Likewise.
16024         (creal_test): Likewise.
16025         (fabs_test): Likewise.
16026         (floor_test): Likewise.
16027         (fmax_test): Likewise.
16028         (fmin_test): Likewise.
16029         (fmod_test): Likewise.
16030         (fpclassify_test): Likewise.
16031         (frexp_test): Likewise.
16032         (ilogb_test): Likewise.
16033         (isfinite_test): Likewise.
16034         (finite_test): Likewise.
16035         (isgreater_test): Likewise.
16036         (isgreaterequal_test): Likewise.
16037         (isinf_test): Likewise.
16038         (isless_test): Likewise.
16039         (islessequal_test): Likewise.
16040         (islessgreater_test): Likewise.
16041         (isnan_test): Likewise.
16042         (isnormal_test): Likewise.
16043         (issignaling_test): Likewise.
16044         (isunordered_test): Likewise.
16045         (logb_test): Likewise.
16046         (logb_downward_test_data): Remove.
16047         (logb_test_downward): Likewise.
16048         (lround_test): Use ALL_RM_TEST.
16049         (llround_test): Likewise.
16050         (modf_test): Likewise.
16051         (nexttoward_test): Likewise.
16052         (remainder_test): Likewise.
16053         (drem_test): Likewise.
16054         (remainder_tonearest_test_data): Likewise.
16055         (remainder_test_tonearest): Likewise.
16056         (drem_test_tonearest): Likewise.
16057         (remainder_towardzero_test_data): Likewise.
16058         (remainder_test_towardzero): Likewise.
16059         (drem_test_towardzero): Likewise.
16060         (remainder_downward_test_data): Likewise.
16061         (remainder_test_downward): Likewise.
16062         (drem_test_downward): Likewise.
16063         (remainder_upward_test_data): Likewise.
16064         (remainder_test_upward): Likewise.
16065         (drem_test_upward): Likewise.
16066         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16067         (round_test): Use ALL_RM_TEST.
16068         (signbit_test): Likewise.
16069         (trunc_test): Likewise.
16070         (significand_test): Likewise.
16071         (main): Don't call removed functions.
16073 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16075         [BZ #16674]
16076         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16077         || __USE_XOPEN2K8].
16078         (ILL_ILLOPN): Likewise.
16079         (ILL_ILLADR): Likewise.
16080         (ILL_ILLTRP): Likewise.
16081         (ILL_PRVOPC): Likewise.
16082         (ILL_PRVREG): Likewise.
16083         (ILL_COPROC): Likewise.
16084         (ILL_BADSTK): Likewise.
16085         (FPE_INTDIV): Likewise.
16086         (FPE_INTOVF): Likewise.
16087         (FPE_FLTDIV): Likewise.
16088         (FPE_FLTOVF): Likewise.
16089         (FPE_FLTUND): Likewise.
16090         (FPE_FLTRES): Likewise.
16091         (FPE_FLTINV): Likewise.
16092         (FPE_FLTSUB): Likewise.
16093         (SEGV_MAPERR): Likewise.
16094         (SEGV_ACCERR): Likewise.
16095         (BUS_ADRALN): Likewise.
16096         (BUS_ADRERR): Likewise.
16097         (BUS_OBJERR): Likewise.
16098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16099         (TRAP_TRACE): Likewise.
16100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16101         __USE_XOPEN2K8].
16102         (CLD_KILLED): Likewise.
16103         (CLD_DUMPED): Likewise.
16104         (CLD_TRAPPED): Likewise.
16105         (CLD_STOPPED): Likewise.
16106         (CLD_CONTINUED): Likewise.
16107         (POLL_IN): Likewise.
16108         (POLL_OUT): Likewise.
16109         (POLL_MSG): Likewise.
16110         (POLL_ERR): Likewise.
16111         (POLL_PRI): Likewise.
16112         (POLL_HUP): Likewise.
16113         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16114         Likewise.
16115         (ILL_ILLOPN): Likewise.
16116         (ILL_ILLADR): Likewise.
16117         (ILL_ILLTRP): Likewise.
16118         (ILL_PRVOPC): Likewise.
16119         (ILL_PRVREG): Likewise.
16120         (ILL_COPROC): Likewise.
16121         (ILL_BADSTK): Likewise.
16122         (FPE_INTDIV): Likewise.
16123         (FPE_INTOVF): Likewise.
16124         (FPE_FLTDIV): Likewise.
16125         (FPE_FLTOVF): Likewise.
16126         (FPE_FLTUND): Likewise.
16127         (FPE_FLTRES): Likewise.
16128         (FPE_FLTINV): Likewise.
16129         (FPE_FLTSUB): Likewise.
16130         (SEGV_MAPERR): Likewise.
16131         (SEGV_ACCERR): Likewise.
16132         (BUS_ADRALN): Likewise.
16133         (BUS_ADRERR): Likewise.
16134         (BUS_OBJERR): Likewise.
16135         (BUS_MCEERR_AR): Likewise.
16136         (BUS_MCEERR_AO): Likewise.
16137         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16138         (TRAP_TRACE): Likewise.
16139         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16140         __USE_XOPEN2K8].
16141         (CLD_KILLED): Likewise.
16142         (CLD_DUMPED): Likewise.
16143         (CLD_TRAPPED): Likewise.
16144         (CLD_STOPPED): Likewise.
16145         (CLD_CONTINUED): Likewise.
16146         (POLL_IN): Likewise.
16147         (POLL_OUT): Likewise.
16148         (POLL_MSG): Likewise.
16149         (POLL_ERR): Likewise.
16150         (POLL_PRI): Likewise.
16151         (POLL_HUP): Likewise.
16152         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16153         (ILL_ILLOPN): Likewise.
16154         (ILL_ILLADR): Likewise.
16155         (ILL_ILLTRP): Likewise.
16156         (ILL_PRVOPC): Likewise.
16157         (ILL_PRVREG): Likewise.
16158         (ILL_COPROC): Likewise.
16159         (ILL_BADSTK): Likewise.
16160         (FPE_INTDIV): Likewise.
16161         (FPE_INTOVF): Likewise.
16162         (FPE_FLTDIV): Likewise.
16163         (FPE_FLTOVF): Likewise.
16164         (FPE_FLTUND): Likewise.
16165         (FPE_FLTRES): Likewise.
16166         (FPE_FLTINV): Likewise.
16167         (FPE_FLTSUB): Likewise.
16168         (SEGV_MAPERR): Likewise.
16169         (SEGV_ACCERR): Likewise.
16170         (BUS_ADRALN): Likewise.
16171         (BUS_ADRERR): Likewise.
16172         (BUS_OBJERR): Likewise.
16173         (BUS_MCEERR_AR): Likewise.
16174         (BUS_MCEERR_AO): Likewise.
16175         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16176         (TRAP_TRACE): Likewise.
16177         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16178         __USE_XOPEN2K8].
16179         (CLD_KILLED): Likewise.
16180         (CLD_DUMPED): Likewise.
16181         (CLD_TRAPPED): Likewise.
16182         (CLD_STOPPED): Likewise.
16183         (CLD_CONTINUED): Likewise.
16184         (POLL_IN): Likewise.
16185         (POLL_OUT): Likewise.
16186         (POLL_MSG): Likewise.
16187         (POLL_ERR): Likewise.
16188         (POLL_PRI): Likewise.
16189         (POLL_HUP): Likewise.
16190         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16191         Likewise.
16192         (ILL_ILLOPN): Likewise.
16193         (ILL_ILLADR): Likewise.
16194         (ILL_ILLTRP): Likewise.
16195         (ILL_PRVOPC): Likewise.
16196         (ILL_PRVREG): Likewise.
16197         (ILL_COPROC): Likewise.
16198         (ILL_BADSTK): Likewise.
16199         (ILL_BADIADDR): Likewise.
16200         (ILL_BREAK): Likewise.
16201         (FPE_INTDIV): Likewise.
16202         (FPE_INTOVF): Likewise.
16203         (FPE_FLTDIV): Likewise.
16204         (FPE_FLTOVF): Likewise.
16205         (FPE_FLTUND): Likewise.
16206         (FPE_FLTRES): Likewise.
16207         (FPE_FLTINV): Likewise.
16208         (FPE_FLTSUB): Likewise.
16209         (FPE_DECOVF): Likewise.
16210         (FPE_DECDIV): Likewise.
16211         (FPE_DECERR): Likewise.
16212         (FPE_INVASC): Likewise.
16213         (FPE_INVDEC): Likewise.
16214         (SEGV_MAPERR): Likewise.
16215         (SEGV_ACCERR): Likewise.
16216         (SEGV_PSTKOVF): Likewise.
16217         (BUS_ADRALN): Likewise.
16218         (BUS_ADRERR): Likewise.
16219         (BUS_OBJERR): Likewise.
16220         (BUS_MCEERR_AR): Likewise.
16221         (BUS_MCEERR_AO): Likewise.
16222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16223         (TRAP_TRACE): Likewise.
16224         (TRAP_BRANCH): Likewise.
16225         (TRAP_HWBKPT): Likewise.
16226         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16227         __USE_XOPEN2K8].
16228         (CLD_KILLED): Likewise.
16229         (CLD_DUMPED): Likewise.
16230         (CLD_TRAPPED): Likewise.
16231         (CLD_STOPPED): Likewise.
16232         (CLD_CONTINUED): Likewise.
16233         (POLL_IN): Likewise.
16234         (POLL_OUT): Likewise.
16235         (POLL_MSG): Likewise.
16236         (POLL_ERR): Likewise.
16237         (POLL_PRI): Likewise.
16238         (POLL_HUP): Likewise.
16239         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16240         (ILL_ILLOPN): Likewise.
16241         (ILL_ILLADR): Likewise.
16242         (ILL_ILLTRP): Likewise.
16243         (ILL_PRVOPC): Likewise.
16244         (ILL_PRVREG): Likewise.
16245         (ILL_COPROC): Likewise.
16246         (ILL_BADSTK): Likewise.
16247         (FPE_INTDIV): Likewise.
16248         (FPE_INTOVF): Likewise.
16249         (FPE_FLTDIV): Likewise.
16250         (FPE_FLTOVF): Likewise.
16251         (FPE_FLTUND): Likewise.
16252         (FPE_FLTRES): Likewise.
16253         (FPE_FLTINV): Likewise.
16254         (FPE_FLTSUB): Likewise.
16255         (SEGV_MAPERR): Likewise.
16256         (SEGV_ACCERR): Likewise.
16257         (BUS_ADRALN): Likewise.
16258         (BUS_ADRERR): Likewise.
16259         (BUS_OBJERR): Likewise.
16260         (BUS_MCEERR_AR): Likewise.
16261         (BUS_MCEERR_AO): Likewise.
16262         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16263         (TRAP_TRACE): Likewise.
16264         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16265         __USE_XOPEN2K8].
16266         (CLD_KILLED): Likewise.
16267         (CLD_DUMPED): Likewise.
16268         (CLD_TRAPPED): Likewise.
16269         (CLD_STOPPED): Likewise.
16270         (CLD_CONTINUED): Likewise.
16271         (POLL_IN): Likewise.
16272         (POLL_OUT): Likewise.
16273         (POLL_MSG): Likewise.
16274         (POLL_ERR): Likewise.
16275         (POLL_PRI): Likewise.
16276         (POLL_HUP): Likewise.
16277         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16278         (ILL_ILLOPN): Likewise.
16279         (ILL_ILLADR): Likewise.
16280         (ILL_ILLTRP): Likewise.
16281         (ILL_PRVOPC): Likewise.
16282         (ILL_PRVREG): Likewise.
16283         (ILL_COPROC): Likewise.
16284         (ILL_BADSTK): Likewise.
16285         (FPE_INTDIV): Likewise.
16286         (FPE_INTOVF): Likewise.
16287         (FPE_FLTDIV): Likewise.
16288         (FPE_FLTOVF): Likewise.
16289         (FPE_FLTUND): Likewise.
16290         (FPE_FLTRES): Likewise.
16291         (FPE_FLTINV): Likewise.
16292         (FPE_FLTSUB): Likewise.
16293         (SEGV_MAPERR): Likewise.
16294         (SEGV_ACCERR): Likewise.
16295         (BUS_ADRALN): Likewise.
16296         (BUS_ADRERR): Likewise.
16297         (BUS_OBJERR): Likewise.
16298         (BUS_MCEERR_AR): Likewise.
16299         (BUS_MCEERR_AO): Likewise.
16300         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16301         (TRAP_TRACE): Likewise.
16302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16303         __USE_XOPEN2K8].
16304         (CLD_KILLED): Likewise.
16305         (CLD_DUMPED): Likewise.
16306         (CLD_TRAPPED): Likewise.
16307         (CLD_STOPPED): Likewise.
16308         (CLD_CONTINUED): Likewise.
16309         (POLL_IN): Likewise.
16310         (POLL_OUT): Likewise.
16311         (POLL_MSG): Likewise.
16312         (POLL_ERR): Likewise.
16313         (POLL_PRI): Likewise.
16314         (POLL_HUP): Likewise.
16315         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16316         (ILL_ILLOPN): Likewise.
16317         (ILL_ILLADR): Likewise.
16318         (ILL_ILLTRP): Likewise.
16319         (ILL_PRVOPC): Likewise.
16320         (ILL_PRVREG): Likewise.
16321         (ILL_COPROC): Likewise.
16322         (ILL_BADSTK): Likewise.
16323         (FPE_INTDIV): Likewise.
16324         (FPE_INTOVF): Likewise.
16325         (FPE_FLTDIV): Likewise.
16326         (FPE_FLTOVF): Likewise.
16327         (FPE_FLTUND): Likewise.
16328         (FPE_FLTRES): Likewise.
16329         (FPE_FLTINV): Likewise.
16330         (FPE_FLTSUB): Likewise.
16331         (SEGV_MAPERR): Likewise.
16332         (SEGV_ACCERR): Likewise.
16333         (BUS_ADRALN): Likewise.
16334         (BUS_ADRERR): Likewise.
16335         (BUS_OBJERR): Likewise.
16336         (BUS_MCEERR_AR): Likewise.
16337         (BUS_MCEERR_AO): Likewise.
16338         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16339         (TRAP_TRACE): Likewise.
16340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16341         __USE_XOPEN2K8].
16342         (CLD_KILLED): Likewise.
16343         (CLD_DUMPED): Likewise.
16344         (CLD_TRAPPED): Likewise.
16345         (CLD_STOPPED): Likewise.
16346         (CLD_CONTINUED): Likewise.
16347         (POLL_IN): Likewise.
16348         (POLL_OUT): Likewise.
16349         (POLL_MSG): Likewise.
16350         (POLL_ERR): Likewise.
16351         (POLL_PRI): Likewise.
16352         (POLL_HUP): Likewise.
16353         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16354         (ILL_ILLOPN): Likewise.
16355         (ILL_ILLADR): Likewise.
16356         (ILL_ILLTRP): Likewise.
16357         (ILL_PRVOPC): Likewise.
16358         (ILL_PRVREG): Likewise.
16359         (ILL_COPROC): Likewise.
16360         (ILL_BADSTK): Likewise.
16361         (ILL_DBLFLT): Likewise.
16362         (ILL_HARDWALL): Likewise.
16363         (FPE_INTDIV): Likewise.
16364         (FPE_INTOVF): Likewise.
16365         (FPE_FLTDIV): Likewise.
16366         (FPE_FLTOVF): Likewise.
16367         (FPE_FLTUND): Likewise.
16368         (FPE_FLTRES): Likewise.
16369         (FPE_FLTINV): Likewise.
16370         (FPE_FLTSUB): Likewise.
16371         (SEGV_MAPERR): Likewise.
16372         (SEGV_ACCERR): Likewise.
16373         (BUS_ADRALN): Likewise.
16374         (BUS_ADRERR): Likewise.
16375         (BUS_OBJERR): Likewise.
16376         (BUS_MCEERR_AR): Likewise.
16377         (BUS_MCEERR_AO): Likewise.
16378         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16379         (TRAP_TRACE): Likewise.
16380         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16381         __USE_XOPEN2K8].
16382         (CLD_KILLED): Likewise.
16383         (CLD_DUMPED): Likewise.
16384         (CLD_TRAPPED): Likewise.
16385         (CLD_STOPPED): Likewise.
16386         (CLD_CONTINUED): Likewise.
16387         (POLL_IN): Likewise.
16388         (POLL_OUT): Likewise.
16389         (POLL_MSG): Likewise.
16390         (POLL_ERR): Likewise.
16391         (POLL_PRI): Likewise.
16392         (POLL_HUP): Likewise.
16393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16394         (ILL_ILLOPN): Likewise.
16395         (ILL_ILLADR): Likewise.
16396         (ILL_ILLTRP): Likewise.
16397         (ILL_PRVOPC): Likewise.
16398         (ILL_PRVREG): Likewise.
16399         (ILL_COPROC): Likewise.
16400         (ILL_BADSTK): Likewise.
16401         (FPE_INTDIV): Likewise.
16402         (FPE_INTOVF): Likewise.
16403         (FPE_FLTDIV): Likewise.
16404         (FPE_FLTOVF): Likewise.
16405         (FPE_FLTUND): Likewise.
16406         (FPE_FLTRES): Likewise.
16407         (FPE_FLTINV): Likewise.
16408         (FPE_FLTSUB): Likewise.
16409         (SEGV_MAPERR): Likewise.
16410         (SEGV_ACCERR): Likewise.
16411         (BUS_ADRALN): Likewise.
16412         (BUS_ADRERR): Likewise.
16413         (BUS_OBJERR): Likewise.
16414         (BUS_MCEERR_AR): Likewise.
16415         (BUS_MCEERR_AO): Likewise.
16416         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16417         (TRAP_TRACE): Likewise.
16418         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16419         __USE_XOPEN2K8].
16420         (CLD_KILLED): Likewise.
16421         (CLD_DUMPED): Likewise.
16422         (CLD_TRAPPED): Likewise.
16423         (CLD_STOPPED): Likewise.
16424         (CLD_CONTINUED): Likewise.
16425         (POLL_IN): Likewise.
16426         (POLL_OUT): Likewise.
16427         (POLL_MSG): Likewise.
16428         (POLL_ERR): Likewise.
16429         (POLL_PRI): Likewise.
16430         (POLL_HUP): Likewise.
16431         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16432         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16434         [BZ #16670]
16435         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16436         before #include of <time.h>.
16437         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16438         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16439         (test-xfail-UNIX98/sched.h/conform): Likewise.
16441 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16443         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16444         error absence of trapping exception support.
16445         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16447 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16449         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16450         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16451         * timezone/Makefile (testdata): Move definition above include of
16452         Rules.
16453         (test-zones): New variable.
16454         (tests-special): Add zone files.
16455         (build-testdata): Use $(evaluate-test).
16457         * elf/Makefile (tests-special): Rename tests to end with .out.
16458         ($(objpfx)noload-mem): Likewise.
16459         ($(objpfx)tst-leaks1-mem): Likewise.
16460         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16461         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16462         $(objpfx)test-iconvconfig.out.
16463         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16464         set -e inside subshell and redirect output to file.
16465         * iconvdata/Makefile (generated): Rename tests to end with .out.
16466         Correct type.
16467         (tests-special): Rename tests to end with .out.
16468         ($(objpfx)mtrace-tst-loading): Likewise.
16469         * intl/Makefile (generated): Likewise.
16470         (tests-special): Likewise.
16471         ($(objpfx)mtrace-tst-gettext): Likewise.
16472         * misc/Makefile (generated): Likewise.
16473         (tests-special): Likewise.
16474         ($(objpfx)tst-error1-mem): Likewise.
16475         * nptl/Makefile (tests-special): Likewise.
16476         ($(objpfx)tst-stack3-mem): Likewise.
16477         (generated): Likewise.
16478         * posix/Makefile (generated): Likewise.
16479         (tests-special): Likewise.
16480         (xtests-special): Likewise.
16481         ($(objpfx)tst-fnmatch-mem): Likewise.
16482         ($(objpfx)bug-regex2-mem): Likewise.
16483         ($(objpfx)bug-regex14-mem): Likewise.
16484         ($(objpfx)bug-regex21-mem): Likewise.
16485         ($(objpfx)bug-regex31-mem): Likewise.
16486         ($(objpfx)tst-vfork3-mem): Likewise.
16487         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16488         ($(objpfx)tst-pcre-mem): Likewise.
16489         ($(objpfx)tst-boost-mem): Likewise.
16490         ($(objpfx)bug-ga2-mem): Likewise.
16491         ($(objpfx)bug-glob2-mem): Likewise.
16492         * resolv/Makefile (generate): Likewise.
16493         (tests-special): Likewise.
16494         (xtests-special): Likewise.
16495         (generated): Likewise.
16496         ($(objpfx)mtrace-tst-leaks): Likewise.
16497         ($(objpfx)mtrace-tst-leaks2): Likewise.
16499         * scripts/merge-test-results.sh: New file.
16500         * Makefile (tests-special-notdir): New variable.
16501         (tests): Run merge-test-results.sh.
16502         (xtests): Likewise.
16503         * Rules (tests-special-notdir): New variable.
16504         (xtests-special-notdir): Likewise.
16505         (tests): Run merge-test-results.sh
16506         (xtests): Likewise.
16508         * Makeconfig (test-xfail-name): New variable.
16509         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16510         compute variable name for expected failures.
16511         * conform/Makefile (conformtest-headers-data): New variable.
16512         (conformtest-standards): Likewise.
16513         (conformtest-headers-ISO): Likewise.
16514         (conformtest-headers-ISO99): Likewise.
16515         (conformtest-headers-ISO11): Likewise.
16516         (conformtest-headers-POSIX): Likewise.
16517         (conformtest-headers-XPG3): Likewise.
16518         (conformtest-headers-XPG4): Likewise.
16519         (conformtest-headers-UNIX98): Likewise.
16520         (conformtest-headers-XOPEN2K): Likewise.
16521         (conformtest-headers-POSIX2008): Likewise.
16522         (conformtest-headers-XOPEN2K8): Likewise.
16523         (conformtest-header-list-base): Likewise.
16524         (conformtest-header-list-tests): Likewise.
16525         (conformtest-header-base): Likewise.
16526         (conformtest-header-tests): Likewise.
16527         (tests-special): Add $(conformtest-header-list-tests).  If
16528         [$(fast-check) && !$(cross-compiling)], add
16529         $(conformtest-header-tests) instead of
16530         $(objpfx)run-conformtest.out.
16531         (generated): Add $(conformtest-header-list-base).  If
16532         [$(fast-check) && !$(cross-compiling)], add
16533         $(conformtest-header-base).  Remove previous setting.
16534         ($(conformtest-header-list-tests)): New target.
16535         (test-xfail-run-conformtest): Remove variable.
16536         ($(objpfx)run-conformtest.out): Remove target.
16537         (test-xfail-ISO11/complex.h/conform): New variable.
16538         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16539         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16540         (test-xfail-XPG3/varargs.h/conform): Likewise.
16541         (test-xfail-XPG4/varargs.h/conform): Likewise.
16542         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16543         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16544         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16545         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16546         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16547         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16548         (test-xfail-XPG3/ftw.h/conform): Likewise.
16549         (test-xfail-XPG3/grp.h/conform): Likewise.
16550         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16551         (test-xfail-XPG3/limits.h/conform): Likewise.
16552         (test-xfail-XPG3/pwd.h/conform): Likewise.
16553         (test-xfail-XPG3/search.h/conform): Likewise.
16554         (test-xfail-XPG3/signal.h/conform): Likewise.
16555         (test-xfail-XPG3/stdio.h/conform): Likewise.
16556         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16557         (test-xfail-XPG3/string.h/conform): Likewise.
16558         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16559         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16560         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16561         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16562         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16563         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16564         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16565         (test-xfail-XPG3/termios.h/conform): Likewise.
16566         (test-xfail-XPG3/time.h/conform): Likewise.
16567         (test-xfail-XPG3/unistd.h/conform): Likewise.
16568         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16569         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16570         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16571         (test-xfail-XPG4/netdb.h/conform): Likewise.
16572         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16573         (test-xfail-XPG4/signal.h/conform): Likewise.
16574         (test-xfail-XPG4/stdio.h/conform): Likewise.
16575         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16576         (test-xfail-XPG4/stropts.h/conform): Likewise.
16577         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16578         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16579         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16580         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16581         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16582         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16583         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16584         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16585         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16586         (test-xfail-XPG4/termios.h/conform): Likewise.
16587         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16588         (test-xfail-XPG4/unistd.h/conform): Likewise.
16589         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16590         (test-xfail-POSIX/sched.h/conform): Likewise.
16591         (test-xfail-POSIX/signal.h/conform): Likewise.
16592         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16593         (test-xfail-POSIX/tar.h/conform): Likewise.
16594         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16595         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16596         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16597         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16598         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16599         (test-xfail-UNIX98/sched.h/conform): Likewise.
16600         (test-xfail-UNIX98/signal.h/conform): Likewise.
16601         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16602         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16603         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16604         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16605         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16606         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16607         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16608         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16609         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16610         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16611         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16612         (test-xfail-UNIX98/unistd.h/conform): Likewise.
16613         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16614         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16615         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16616         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16617         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16618         (test-xfail-XOPEN2K/math.h/conform): Likewise.
16619         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16620         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16621         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16622         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16623         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16624         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16625         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16626         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16627         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16628         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16629         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16630         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16631         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16632         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16633         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16634         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16635         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16636         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16637         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16638         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16639         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16640         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16641         (test-xfail-POSIX2008/signal.h/conform): Likewise.
16642         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16643         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16644         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16645         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16646         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16647         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16648         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16649         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16650         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16651         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16652         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16653         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16654         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16655         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16656         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16657         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16658         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16659         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16660         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16661         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16662         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16663         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16664         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16665         (conformtest-cc-flags): Likewise.
16666         ($(conformtest-header-tests): New target.
16667         * conform/check-header-lists.sh: New file.
16668         * conform/run-conformtest.sh: Remove.
16670         * conform/conformtest.pl: Allow ' and \ in values given for
16671         constants.
16672         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16673         inclusion.
16674         [POSIX] (sys/types.h): Likewise.
16675         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16676         inclusion.
16677         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16678         inclusion.
16679         * conform/data/signal.h-data (SIGIO): Remove expectation.
16680         [XPG3] (SIGBUS): Do not expect.
16681         [POSIX || XPG3] (SIGPOLL): Likewise.
16682         [POSIX || XPG3] (SIGPROF): Likewise.
16683         [POSIX || XPG3] (SIGSYS): Likewise.
16684         [XPG3] (SIGTRAP): Likewise.
16685         [POSIX || XPG3] (SIGURG): Likewise.
16686         [POSIX || XPG3] (SIGVTALRM): Likewise.
16687         [POSIX || XPG3] (SIGXCPU): Likewise.
16688         [POSIX || XPG3] (SIGXFSZ): Likewise.
16689         [POSIX] (SA_SIGINFO): Expect.
16690         [XPG3] (siginfo_t): Do not expect type or contents.
16691         [POSIX] (si_pid): Do not expect element.
16692         [POSIX] (si_uid): Likewise.
16693         [POSIX] (si_addr): Likewise.
16694         [POSIX] (si_status): Likewise.
16695         [POSIX] (si_band): Likewise.
16696         [XPG4] (si_value): Likewise.
16697         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16698         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16699         [POSIX || XPG3] (ILL_ILLADR): Likewise.
16700         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16701         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16702         [POSIX || XPG3] (ILL_PRVREG): Likewise.
16703         [POSIX || XPG3] (ILL_COPROC): Likewise.
16704         [POSIX || XPG3] (ILL_BADSTK): Likewise.
16705         [POSIX || XPG3] (FPE_INTDIV): Likewise.
16706         [POSIX || XPG3] (FPE_INTOVF): Likewise.
16707         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16708         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16709         [POSIX || XPG3] (FPE_FLTUND): Likewise.
16710         [POSIX || XPG3] (FPE_FLTRES): Likewise.
16711         [POSIX || XPG3] (FPE_FLTINV): Likewise.
16712         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16713         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16714         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16715         [POSIX || XPG3] (BUS_ADRALN): Likewise.
16716         [POSIX || XPG3] (BUS_ADRERR): Likewise.
16717         [POSIX || XPG3] (BUS_OBJERR): Likewise.
16718         [POSIX || XPG3] (CLD_EXITED): Likewise.
16719         [POSIX || XPG3] (CLD_KILLED): Likewise.
16720         [POSIX || XPG3] (CLD_DUMPED): Likewise.
16721         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16722         [POSIX || XPG3] (CLD_STOPPED): Likewise.
16723         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16724         [POSIX || XPG3] (POLL_IN): Likewise.
16725         [POSIX || XPG3] (POLL_OUT): Likewise.
16726         [POSIX || XPG3] (POLL_MSG): Likewise.
16727         [POSIX || XPG3] (POLL_ERR): Likewise.
16728         [POSIX || XPG3] (POLL_PRI): Likewise.
16729         [POSIX || XPG3] (POLL_HUP): Likewise.
16730         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16731         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16732         (SIG*): Do not allow.
16733         [XPG3] (si_*): Likewise.
16734         [XPG3] (SI_*): Likewise.
16735         [XPG3 || XPG4] (sigev_*): Likewise.
16736         [XPG3 || XPG4] (SIGEV_*): Likewise.
16737         [XPG3 || XPG4] (sival_*): Likewise.
16738         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16739         [POSIX || XPG3] (BUS_*): Likewise.
16740         [POSIX || XPG3] (CLD_*): Likewise.
16741         [POSIX || XPG3] (FPE_*): Likewise.
16742         [POSIX || XPG3] (ILL_*): Likewise.
16743         [POSIX || XPG3] (POLL_*): Likewise.
16744         [POSIX || XPG3] (SEGV_*): Likewise.
16745         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16746         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16747         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16748         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16749         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16750         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16751         Specify type and value.
16752         (TVERSLEN): Likewise.
16753         (REGTYPE): Likewise.
16754         (AREGTYPE): Likewise.
16755         (LNKTYPE): Likewise.
16756         (SYMTYPE): Likewise.
16757         (CHRTYPE): Likewise.
16758         (BLKTYPE): Likewise.
16759         (DIRTYPE): Likewise.
16760         (FIFOTYPE): Likewise.
16761         (CONTTYPE): Likewise.
16762         (TSUID): Likewise.
16763         (TSGID): Likewise.
16764         (TSVTX): Likewise.
16765         (TUREAD): Likewise.
16766         (TUWRITE): Likewise.
16767         (TUEXEC): Likewise.
16768         (TGREAD): Likewise.
16769         (TGWRITE): Likewise.
16770         (TGEXEC): Likewise.
16771         (TOREAD): Likewise.
16772         (TOWRITE): Likewise.
16773         (TOEXEC): Likewise.
16774         [POSIX] (TSVTX): Expect constant.
16776 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
16778         * Makefile (tests): Change dependencies to ....
16779         (tests-special): ... additions to this variable.
16780         (tests): Depend on $(tests-special).
16781         * Makerules (check-abi-list): New variable.
16782         (check-abi): Depend on $(check-abi-list).
16783         [$(subdir) = elf] (tests-special): Add
16784         $(objpfx)check-abi-libc.out.
16785         [$(build-shared) = yes && subdir] (tests-special): Add
16786         $(check-abi-list).
16787         [$(build-shared) = yes && subdir] (tests): Do not depend on
16788         check-abi.
16789         * Rules (tests): Depend on $(tests-special).
16790         (xtests): Depend on $(xtests-special).
16791         * catgets/Makefile (tests): Change dependencies to ....
16792         (tests-special): ... additions to this variable.
16793         * conform/Makefile (tests): Change dependencies to ....
16794         (tests-special): ... additions to this variable.
16795         * elf/Makefile (tests): Change dependencies to ....
16796         (tests-special): ... additions to this variable.
16797         * grp/Makefile (tests): Change dependencies to ....
16798         (tests-special): ... additions to this variable.
16799         * iconv/Makefile (xtests): Change dependencies to ....
16800         (xtests-special): ... additions to this variable.
16801         * iconvdata/Makefile (tests): Change dependencies to ....
16802         (tests-special): ... additions to this variable.
16803         * intl/Makefile (tests): Change dependencies to ....
16804         (tests-special): ... additions to this variable.  Also add
16805         $(objpfx)tst-gettext.out.
16806         * io/Makefile (tests): Change dependencies to ....
16807         (tests-special): ... additions to this variable.
16808         * libio/Makefile (tests): Change dependencies to ....
16809         (tests-special): ... additions to this variable.
16810         * malloc/Makefile (tests): Change dependencies to ....
16811         (tests-special): ... additions to this variable.
16812         * misc/Makefile (tests): Change dependencies to ....
16813         (tests-special): ... additions to this variable.
16814         * nptl/Makefile (tests): Change dependencies to ....
16815         (tests-special): ... additions to this variable.
16816         * nptl_db/Makefile (tests): Change dependencies to ....
16817         (tests-special): ... additions to this variable.
16818         * posix/Makefile (tests): Change dependencies to ....
16819         (tests-special): ... additions to this variable.
16820         (xtests): Change dependencies to ....
16821         (xtests-special): ... additions to this variable.
16822         * resolv/Makefile (tests): Change dependencies to ....
16823         (tests-special): ... additions to this variable.
16824         (xtests): Change dependencies to ....
16825         (xtests-special): ... additions to this variable.
16826         * stdio-common/Makefile (tests): Change dependencies to ....
16827         (tests-special): ... additions to this variable.
16828         (do-tst-unbputc): Remove target.
16829         (do-tst-printf): Likewise.
16830         * stdlib/Makefile (tests): Change dependencies to ....
16831         (tests-special): ... additions to this variable.
16832         * string/Makefile (tests): Change dependencies to ....
16833         (tests-special): ... additions to this variable.
16834         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16835         (tests-special): ... additions to this variable.
16837         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16838         whole file.
16839         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16840         whole file.
16841         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16842         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16844         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16845         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16846         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16847         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16848         * conform/data/libgen.h-data [XPG3]: Likewise.
16849         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16850         * conform/data/ndbm.h-data [XPG3]: Likewise.
16851         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16852         * conform/data/netdb.h-data [XPG3]: Likewise.
16853         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16854         * conform/data/poll.h-data [XPG3]: Likewise.
16855         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16856         * conform/data/strings.h-data [XPG3]: Likewise.
16857         * conform/data/stropts.h-data [XPG3]: Likewise.
16858         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16859         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16860         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16861         Likewise.
16862         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16863         * conform/data/sys/time.h-data [XPG3]: Likewise.
16864         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16865         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16866         * conform/data/sys/un.h-data [XPG3]: Likewise.
16867         * conform/data/syslog.h-data [XPG3]: Likewise.
16868         * conform/data/ucontext.h-data [XPG3]: Likewise.
16869         * conform/data/utmpx.h-data [XPG3]: Likewise.
16870         * conform/data/varargs.h-data [UNIX98]: Enable file.
16872         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16874         * math/libm-test.inc (struct test_f_f_data): Move expected results
16875         into structure for each rounding mode.
16876         (struct test_ff_f_data): Likewise.
16877         (struct test_ff_f_data_nexttoward): Likewise.
16878         (struct test_fi_f_data): Likewise.
16879         (struct test_fl_f_data): Likewise.
16880         (struct test_if_f_data): Likewise.
16881         (struct test_fff_f_data): Likewise.
16882         (struct test_c_f_data): Likewise.
16883         (struct test_f_f1_data): Likewise.
16884         (struct test_fF_f1_data): Likewise.
16885         (struct test_ffI_f1_data): Likewise.
16886         (struct test_c_c_data): Likewise.
16887         (struct test_cc_c_data): Likewise.
16888         (struct test_f_i_data): Likewise.
16889         (struct test_ff_i_data): Likewise.
16890         (struct test_f_l_data): Likewise.
16891         (struct test_f_L_data): Likewise.
16892         (struct test_fFF_11_data): Likewise.
16893         (RM_): New macro.
16894         (RM_FE_DOWNWARD): Likewise.
16895         (RM_FE_TONEAREST): Likewise.
16896         (RM_FE_TOWARDZERO): Likewise.
16897         (RM_FE_UPWARD): Likewise.
16898         (RUN_TEST_LOOP_f_f): Update references to expected results.
16899         (RUN_TEST_LOOP_2_f): Likewise.
16900         (RUN_TEST_LOOP_fff_f): Likewise.
16901         (RUN_TEST_LOOP_c_f): Likewise.
16902         (RUN_TEST_LOOP_f_f1): Likewise.
16903         (RUN_TEST_LOOP_fF_f1): Likewise.
16904         (RUN_TEST_LOOP_fI_f1): Likewise.
16905         (RUN_TEST_LOOP_ffI_f1): Likewise.
16906         (RUN_TEST_LOOP_c_c): Likewise.
16907         (RUN_TEST_LOOP_cc_c): Likewise.
16908         (RUN_TEST_LOOP_f_i): Likewise.
16909         (RUN_TEST_LOOP_f_i_tg): Likewise.
16910         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16911         (RUN_TEST_LOOP_f_b): Likewise.
16912         (RUN_TEST_LOOP_f_b_tg): Likewise.
16913         (RUN_TEST_LOOP_f_l): Likewise.
16914         (RUN_TEST_LOOP_f_L): Likewise.
16915         (RUN_TEST_LOOP_fFF_11): Likewise.
16916         * math/gen-libm-test.pl (parse_args): Output four copies of
16917         expected results for each test.
16919         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16920         (__ASSUME_UTIMES): Remove.
16921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16922         (__ASSUME_UTIMES): Likewise.
16924         * math/gen-auto-libm-tests.c: Update comment on output format.
16925         (output_for_one_input_case): Generate before-rounding and
16926         after-rounding information as conditions on output flags not
16927         floating-point format.
16928         * math/auto-libm-test-out: Regenerated.
16929         * math/gen-libm-test.pl (cond_value): New function.
16930         (or_cond_value): Use cond_value.
16931         (generate_testfile): Handle conditional exceptions.
16933 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16935         * math/libm-test.inc (max_valid_error): New variable.
16936         (init_max_error): Take new argument specifying whether function
16937         results are exactly determined.  Set max_valid_error and bound
16938         other variables for errors based on this argument.
16939         (set_max_error): Do not record results above max_valid_error.
16940         (check_float_internal): Only accept errors of up to 0.5ulps if
16941         also at most max_valid_error.
16942         (START): Take new argument EXACT and pass it to init_max_error.
16943         (acos_test): Update call to START.
16944         (acos_test_tonearest): Likewise.
16945         (acos_test_towardzero): Likewise.
16946         (acos_test_downward): Likewise.
16947         (acos_test_upward): Likewise.
16948         (acosh_test): Likewise.
16949         (asin_test): Likewise.
16950         (asin_test_tonearest): Likewise.
16951         (asin_test_towardzero): Likewise.
16952         (asin_test_downward): Likewise.
16953         (asin_test_upward): Likewise.
16954         (asinh_test): Likewise.
16955         (atan_test): Likewise.
16956         (atanh_test): Likewise.
16957         (atan2_test): Likewise.
16958         (cabs_test): Likewise.
16959         (cacos_test): Likewise.
16960         (cacosh_test): Likewise.
16961         (carg_test): Likewise.
16962         (casin_test): Likewise.
16963         (casinh_test): Likewise.
16964         (catan_test): Likewise.
16965         (catanh_test): Likewise.
16966         (cbrt_test): Likewise.
16967         (ccos_test): Likewise.
16968         (ccosh_test): Likewise.
16969         (ceil_test): Likewise.
16970         (cexp_test): Likewise.
16971         (cimag_test): Likewise.
16972         (clog_test): Likewise.
16973         (clog10_test): Likewise.
16974         (conj_test): Likewise.
16975         (copysign_test): Likewise.
16976         (cos_test): Likewise.
16977         (cos_test_tonearest): Likewise.
16978         (cos_test_towardzero): Likewise.
16979         (cos_test_downward): Likewise.
16980         (cos_test_upward): Likewise.
16981         (cosh_test): Likewise.
16982         (cosh_test_tonearest): Likewise.
16983         (cosh_test_towardzero): Likewise.
16984         (cosh_test_downward): Likewise.
16985         (cosh_test_upward): Likewise.
16986         (cpow_test): Likewise.
16987         (cproj_test): Likewise.
16988         (creal_test): Likewise.
16989         (csin_test): Likewise.
16990         (csinh_test): Likewise.
16991         (csqrt_test): Likewise.
16992         (ctan_test): Likewise.
16993         (ctan_test_tonearest): Likewise.
16994         (ctan_test_towardzero): Likewise.
16995         (ctan_test_downward): Likewise.
16996         (ctan_test_upward): Likewise.
16997         (ctanh_test): Likewise.
16998         (ctanh_test_tonearest): Likewise.
16999         (ctanh_test_towardzero): Likewise.
17000         (ctanh_test_downward): Likewise.
17001         (ctanh_test_upward): Likewise.
17002         (erf_test): Likewise.
17003         (erfc_test): Likewise.
17004         (exp_test): Likewise.
17005         (exp_test_tonearest): Likewise.
17006         (exp_test_towardzero): Likewise.
17007         (exp_test_downward): Likewise.
17008         (exp_test_upward): Likewise.
17009         (exp10_test): Likewise.
17010         (exp10_test_tonearest): Likewise.
17011         (exp10_test_towardzero): Likewise.
17012         (exp10_test_downward): Likewise.
17013         (exp10_test_upward): Likewise.
17014         (pow10_test): Likewise.
17015         (exp2_test): Likewise.
17016         (expm1_test): Likewise.
17017         (expm1_test_tonearest): Likewise.
17018         (expm1_test_towardzero): Likewise.
17019         (expm1_test_downward): Likewise.
17020         (expm1_test_upward): Likewise.
17021         (fabs_test): Likewise.
17022         (fdim_test): Likewise.
17023         (floor_test): Likewise.
17024         (fma_test): Likewise.
17025         (fma_test_towardzero): Likewise.
17026         (fma_test_downward): Likewise.
17027         (fma_test_upward): Likewise.
17028         (fmax_test): Likewise.
17029         (fmin_test): Likewise.
17030         (fmod_test): Likewise.
17031         (fpclassify_test): Likewise.
17032         (frexp_test): Likewise.
17033         (hypot_test): Likewise.
17034         (ilogb_test): Likewise.
17035         (isfinite_test): Likewise.
17036         (finite_test): Likewise.
17037         (isgreater_test): Likewise.
17038         (isgreaterequal_test): Likewise.
17039         (isinf_test): Likewise.
17040         (isless_test): Likewise.
17041         (islessequal_test): Likewise.
17042         (islessgreater_test): Likewise.
17043         (isnan_test): Likewise.
17044         (isnormal_test): Likewise.
17045         (issignaling_test): Likewise.
17046         (isunordered_test): Likewise.
17047         (j0_test): Likewise.
17048         (j1_test): Likewise.
17049         (jn_test): Likewise.
17050         (ldexp_test): Likewise.
17051         (lgamma_test): Likewise.
17052         (gamma_test): Likewise.
17053         (lrint_test): Likewise.
17054         (lrint_test_tonearest): Likewise.
17055         (lrint_test_towardzero): Likewise.
17056         (lrint_test_downward): Likewise.
17057         (lrint_test_upward): Likewise.
17058         (llrint_test): Likewise.
17059         (llrint_test_tonearest): Likewise.
17060         (llrint_test_towardzero): Likewise.
17061         (llrint_test_downward): Likewise.
17062         (llrint_test_upward): Likewise.
17063         (log_test): Likewise.
17064         (log10_test): Likewise.
17065         (log1p_test): Likewise.
17066         (log2_test): Likewise.
17067         (logb_test): Likewise.
17068         (logb_test_downward): Likewise.
17069         (lround_test): Likewise.
17070         (llround_test): Likewise.
17071         (modf_test): Likewise.
17072         (nearbyint_test): Likewise.
17073         (nextafter_test): Likewise.
17074         (nexttoward_test): Likewise.
17075         (pow_test): Likewise.
17076         (pow_test_tonearest): Likewise.
17077         (pow_test_towardzero): Likewise.
17078         (pow_test_downward): Likewise.
17079         (pow_test_upward): Likewise.
17080         (remainder_test): Likewise.
17081         (drem_test): Likewise.
17082         (remainder_test_tonearest): Likewise.
17083         (drem_test_tonearest): Likewise.
17084         (remainder_test_towardzero): Likewise.
17085         (drem_test_towardzero): Likewise.
17086         (remainder_test_downward): Likewise.
17087         (drem_test_downward): Likewise.
17088         (remainder_test_upward): Likewise.
17089         (drem_test_upward): Likewise.
17090         (remquo_test): Likewise.
17091         (rint_test): Likewise.
17092         (rint_test_tonearest): Likewise.
17093         (rint_test_towardzero): Likewise.
17094         (rint_test_downward): Likewise.
17095         (rint_test_upward): Likewise.
17096         (round_test): Likewise.
17097         (scalb_test): Likewise.
17098         (scalbn_test): Likewise.
17099         (scalbln_test): Likewise.
17100         (signbit_test): Likewise.
17101         (sin_test): Likewise.
17102         (sin_test_tonearest): Likewise.
17103         (sin_test_towardzero): Likewise.
17104         (sin_test_downward): Likewise.
17105         (sin_test_upward): Likewise.
17106         (sincos_test): Likewise.
17107         (sinh_test): Likewise.
17108         (sinh_test_tonearest): Likewise.
17109         (sinh_test_towardzero): Likewise.
17110         (sinh_test_downward): Likewise.
17111         (sinh_test_upward): Likewise.
17112         (sqrt_test): Likewise.
17113         (sqrt_test_tonearest): Likewise.
17114         (sqrt_test_towardzero): Likewise.
17115         (sqrt_test_downward): Likewise.
17116         (sqrt_test_upward): Likewise.
17117         (tan_test): Likewise.
17118         (tan_test_tonearest): Likewise.
17119         (tan_test_towardzero): Likewise.
17120         (tan_test_downward): Likewise.
17121         (tan_test_upward): Likewise.
17122         (tanh_test): Likewise.
17123         (tgamma_test): Likewise.
17124         (trunc_test): Likewise.
17125         (y0_test): Likewise.
17126         (y1_test): Likewise.
17127         (yn_test): Likewise.
17128         (significand_test): Likewise.
17130         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17131         individual tests in comment.
17132         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17133         (prev_max_error): New variable.
17134         (prev_real_max_error): Likewise.
17135         (prev_imag_max_error): Likewise.
17136         (compare_ulp_data): Don't refer to test names in comment.
17137         (find_test_ulps): Remove function.
17138         (find_function_ulps): Likewise.
17139         (find_complex_function_ulps): Likewise.
17140         (init_max_error): Take function name as argument.  Look up ulps
17141         for that function.
17142         (print_ulps): Remove function.
17143         (print_max_error): Use prev_max_error instead of calling
17144         find_function_ulps.
17145         (print_complex_max_error): Use prev_real_max_error and
17146         prev_imag_max_error instead of calling find_complex_function_ulps.
17147         (check_float_internal): Take max_ulp parameter instead of calling
17148         find_test_ulps.  Don't call print_ulps.
17149         (check_float): Update call to check_float_internal.
17150         (check_complex): Update calls to check_float_internal.
17151         (START): Pass argument to init_max_error.
17152         * math/gen-libm-test.pl (%results): Don't include "kind"
17153         information.
17154         (parse_ulps): Don't handle ulps of individual tests.
17155         (print_ulps_file): Likewise.
17156         (output_ulps): Likewise.
17157         * math/README.libm-test: Update.
17158         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17159         individual tests.
17160         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17161         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17162         * sysdeps/arm/libm-test-ulps: Likewise.
17163         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17164         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17165         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17166         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17167         * sysdeps/microblaze/libm-test-ulps: Likewise.
17168         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17169         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17170         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17171         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17172         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17173         * sysdeps/sh/libm-test-ulps: Likewise.
17174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17175         * sysdeps/tile/libm-test-ulps: Likewise.
17176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17178 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17180         * math/libm-test.inc (print_complex_max_error): Check separately
17181         whether real and imaginary errors are within allowed range and
17182         pass 0 to print_complex_function_ulps instead of value within
17183         allowed range.
17185 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17187         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17188         formatting.
17189         (get_handles_fopen): Likewise.
17190         (do_write_test): Likewise.
17192         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17194         * libio/fileops.c (do_ftell): Use cached offset when
17195         available.
17196         * libio/iofwide.c (do_ftell_wide): Likewise.
17197         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17198         _IO_file_attach.
17199         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17201         [BZ #16532]
17202         * libio/libioP.h (get_file_offset): New function.
17203         * libio/fileops.c (get_file_offset): Likewise.
17204         (do_ftell): Likewise.
17205         (_IO_new_file_seekoff): Split out ftell logic.
17206         * libio/wfileops.c (do_ftell_wide): Likewise.
17207         (_IO_wfile_seekoff): Split out ftell logic.
17208         * libio/tst-ftell-active-handler.c: New test case.
17209         * libio/Makefile (tests): Add it.
17211 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17213         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17214         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17216 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17218         [BZ #16639]
17219         * nscd/connections.c (nscd_init): Call do_exit.
17220         (start_threads): Call do_exit and notify_parent.
17221         (begin_drop_privileges): Call do_exit.
17222         (finish_drop_privileges): Likewise.
17223         * nscd/selinux.c (preserve_capabilities): Likewise.
17224         (install_real_capabilities): Likewise.
17225         (nscd_selinux_enabled): Likewise.
17226         (avc_create_thread): Likewise.
17227         (avc_alloc_lock): Likewise.
17228         (nscd_avc_init): Likewise.
17229         * nscd/nscd.c (parent_fd): New static variable.
17230         (main): Create a pipe between parent and child processes.
17231         Skip closing parent_fd.
17232         (monitor_child): New function.
17233         (do_exit): Likewise.
17234         (notify_parent): Likewise.
17235         * nscd/nscd.h (notify_parent): Likewise.
17236         (do_exit): Likewise.
17238 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17240         * malloc/malloc.c (__libc_calloc): Revert last change.
17242 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17246 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17248         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17250         implementation.
17251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17252         (__libc_ifunc_impl_list): Likewise.
17253         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17254         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17255         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17256         * string/strrchr.c: Define STRRCHR.
17258 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17260         * benchtest/bench-strtok.c (simple_strtok): Delete.
17261         (strtok_string): Use as benchmark.
17262         * string/strtok (STRTOK): New macro.
17264 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17266         * manual/threads.texi: Add header and standard comments to all
17267         functions.
17269         * elf/dl-lookup.c (check_match): New function.
17270         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17271         (do_lookup_x): Remove nested function check_match. Use non-nested
17272         function check_match.
17274 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17276         * csu/Makefile (generated, before-compile): Use += rather than =.
17277         * catgets/Makefile (generated, generated-dirs): Likewise.
17278         * debug/Makefile (generated): Likewise.
17279         * dlfcn/Makefile (generated): Likewise.
17280         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17281         * iconvdata/Makefile (before-compile, generated): Likewise.
17282         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17283         * libio/Makefile (generated): Likewise.
17284         * malloc/Makefile (generated): Likewise.
17285         * manual/Makefile (generated, generated-dirs): Likewise.
17286         * misc/Makefile (generated): Likewise.
17287         * posix/Makefile (generated): Likewise.
17288         * resolv/Makefile (generated): Likewise.
17289         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17290         * timezone/Makefile (generated, generated-dirs): Likewise.
17292         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17294 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17297         power8 implementation.
17298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17299         file: POWER8 llround ifunc implementation.
17300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17301         (__lllround): Add POWER8 implementation.
17302         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17303         POWER8 llround implementation.
17305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17306         power8 implementation.
17307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17308         file: POWER8 llrint ifunc implementation.
17309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17310         Add POWER8 implementation.
17311         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17312         POWER8 llrint implementation.
17314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17315         power8 implementation.
17316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17317         file: POWER8 finite ifunc implementation.
17318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17319         Add POWER8 implementation.
17320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17321         Likewise.
17322         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17323         POWER8 finite implementation.
17324         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17327         power8 implementation.
17328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17329         file: POWER8 isinf ifunc implementation.
17330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17331         POWER8 implementation.
17332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17333         Likewise.
17334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17335         isinf implementation.
17336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17338         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17339         (INIT_ARCH): Add hwcap2 initialization.
17340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17341         power8 implementation.
17342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17343         file: POWER8 isnan ifunc implementation.
17344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17345         POWER8 implementation.
17346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17347         Likewise.
17348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17349         isnan implementation.
17350         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17352 2014-02-27  Joey Ye  <joey.ye@arm.com>
17354         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17355         (_FP_NANFRAC_Q): Set to zero.
17357 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17359         [BZ #16623]
17360         * math/auto-libm-test-in: New test inputs.
17361         * math/auto-libm-test-out: Regenerate.
17362         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17363         and DA.
17364         (__cos): Likewise.
17365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17367 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17369         * scripts/evaluate-test.sh: Take new argument indicating whether
17370         failure is expected.
17371         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17372         indicating whether failure is expected.
17373         * conform/Makefile (test-xfail-run-conformtest): New variable.
17374         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17375         level.
17376         * posix/Makefile (test-xfail-annexc): New variable.
17377         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17379 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17381         * argp/Makefile: Include Makeconfig immediately after defining
17382         subdir.
17383         * assert/Makefile: Likewise.
17384         * benchtests/Makefile: Likewise.
17385         * catgets/Makefile: Likewise.
17386         * conform/Makefile: Likewise.
17387         * crypt/Makefile: Likewise.
17388         * csu/Makefile: Likewise.
17389         (all): Remove target.
17390         * ctype/Makefile: Include Makeconfig immediately after defining
17391         subdir.
17392         * debug/Makefile: Likewise.
17393         * dirent/Makefile: Likewise.
17394         * dlfcn/Makefile: Likewise.
17395         * gmon/Makefile: Likewise.
17396         * gnulib/Makefile: Likewise.
17397         * grp/Makefile: Likewise.
17398         * gshadow/Makefile: Likewise.
17399         * hesiod/Makefile: Likewise.
17400         * hurd/Makefile: Likewise.
17401         (all): Remove target.
17402         * iconvdata/Makefile: Include Makeconfig immediately after
17403         defining subdir.
17404         * inet/Makefile: Likewise.
17405         * intl/Makefile: Likewise.
17406         * io/Makefile: Likewise.
17407         * libio/Makefile: Likewise.
17408         (all): Remove target.
17409         * locale/Makefile: Include Makeconfig immediately after defining
17410         subdir.
17411         * login/Makefile: Likewise.
17412         * mach/Makefile: Likewise.
17413         (all): Remove target.
17414         * malloc/Makefile: Include Makeconfig immediately after defining
17415         subdir.
17416         (all): Remove target.
17417         * manual/Makefile: Include Makeconfig immediately after defining
17418         subdir.
17419         * math/Makefile: Likewise.
17420         * misc/Makefile: Likewise.
17421         * nis/Makefile: Likewise.
17422         * nss/Makefile: Likewise.
17423         * po/Makefile: Likewise.
17424         (all): Remove target.
17425         * posix/Makefile: Include Makeconfig immediately after defining
17426         subdir.
17427         * pwd/Makefile: Likewise.
17428         * resolv/Makefile: Likewise.
17429         * resource/Makefile: Likewise.
17430         * rt/Makefile: Likewise.
17431         * setjmp/Makefile: Likewise.
17432         * shadow/Makefile: Likewise.
17433         * signal/Makefile: Likewise.
17434         * socket/Makefile: Likewise.
17435         * soft-fp/Makefile: Likewise.
17436         * stdio-common/Makefile: Likewise.
17437         * stdlib/Makefile: Likewise.
17438         * streams/Makefile: Likewise.
17439         * string/Makefile: Likewise.
17440         * sunrpc/Makefile: Likewise.
17441         (all): Remove target.
17442         * sysvipc/Makefile: Include Makeconfig immediately after defining
17443         subdir.
17444         * termios/Makefile: Likewise.
17445         * time/Makefile: Likewise.
17446         * timezone/Makefile: Likewise.
17447         (all): Remove target.
17448         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17449         subdir.
17450         * wctype/Makefile: Likewise.
17452 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17454         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17455         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17456         (libc_feholdexcept_setround_mips): Ditto.
17457         (libc_feholdsetround): New.
17458         (libc_feholdsetroundf): New.
17459         (libc_feholdsetroundl): New.
17460         (libc_feupdateenv_test_mips): New.
17461         (libc_feupdateenv_test): New.
17462         (libc_feupdateenv_testf): New.
17463         (libc_feupdateenv_testl): New.
17464         (libc_feresetround): New.
17465         (libc_feresetroundf): New.
17466         (libc_feresetroundl): New.
17467         (libc_fetestexcept_mips): New.
17468         (libc_fetestexcept): New.
17469         (libc_fetestexceptf): New.
17470         (libc_fetestexceptl): New.
17471         (HAVE_RM_CTX): New.
17472         (libc_feholdexcept_setround_mips_ctx): New.
17473         (libc_feholdexcept_setround_ctx): New.
17474         (libc_feholdexcept_setroundf_ctx): New.
17475         (libc_feholdexcept_setroundl_ctx): New.
17476         (libc_fesetenv_mips_ctx): New.
17477         (libc_fesetenv_ctx): New.
17478         (libc_fesetenv_ctxf): New.
17479         (libc_fesetenv_ctxl): New.
17480         (libc_feupdateenv_mips_ctx): New.
17481         (libc_feupdateenv_ctx): New.
17482         (libc_feupdateenvf_ctx): New.
17483         (libc_feupdateenvl_ctx): New.
17484         (libc_feholdsetround_mips_ctx): New.
17485         (libc_feholdsetround_ctx): New.
17486         (libc_feholdsetroundf_ctx): New.
17487         (libc_feholdsetroundl_ctx): New.
17488         (libc_feresetround_mips_ctx): New.
17489         (libc_feresetround_ctx): New.
17490         (libc_feresetroundf_ctx): New.
17491         (libc_feresetroundl_ctx): New.
17493 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17495         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17497         * manual/ipc.texi: New file.
17498         * manual/Makefile (chapters): Add ipc.
17499         * manual/job.texi: Add "Inter-Process Communication" to next.
17500         * manual/process.texi: Add "Inter-Process Communication" to prev.
17502 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17506 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17508         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17510         * manual/arith.texi: Fix spaces after sentences.
17511         * manual/charset.texi: Likewise.
17512         * manual/errno.texi: Likewise.
17513         * manual/install.texi: Likewise.
17514         * manual/llio.texi: Likewise.
17515         * manual/locale.texi: Likewise.
17516         * manual/maint.texi: Likewise.
17517         * manual/math.texi: Likewise.
17518         * manual/memory.texi: Likewise.
17519         * manual/message.texi: Likewise.
17520         * manual/probes.texi: Likewise.
17521         * manual/resource.texi: Likewise.
17522         * manual/signal.texi: Likewise.
17523         * manual/socket.texi: Likewise.
17524         * manual/stdio.texi: Likewise.
17525         * manual/string.texi: Likewise.
17526         * manual/time.texi: Likewise.
17527         * manual/users.texi: Likewise.
17529 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17531         [BZ #16632]
17532         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17533         _DEFAULT_SOURCE is defined.
17535 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17536             Carlos O'Donell  <carlos@redhat.com>
17538         [BZ #16613]
17539         * elf/dl-tls.c (_dl_count_modids): New function.
17540         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17541         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17542         audit library and increment generation counter.
17543         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17544         * elf/tst-audit9.c: New file.
17545         * elf/tst-auditmod9a.c: New file.
17546         * elf/tst-auditmod9b.c: New file.
17547         * elf/Makefile: Add rules to build and run tst-audit9.
17549 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17551         [BZ #15347]
17552         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17554 2014-02-25  Will Newton  <will.newton@linaro.org>
17556         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17557         (__longjmp): Restore sp and lr before restoring callee
17558         saved registers.  Add longjmp and longjmp_target
17559         SystemTap probe point.
17560         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17561         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17562         Define to zero to match jmpbuf layout.
17563         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17564         (__sigsetjmp): Save sp and lr before saving callee
17565         saved registers.  Add setjmp SystemTap probe point.
17567 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17569         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17571 2014-02-24  Andreas Schwab  <schwab@suse.de>
17573         [BZ #15804]
17574         * elf/pldd.c (wait_for_ptrace_stop): New function.
17575         (main): Call it after attaching.
17577 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17579         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17580         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17581         Versions files is now verboten.
17582         * hurd/Versions (libc: GLIBC_2.0):
17583         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17584         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17585         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17586         * mach/Versions: Likewise.
17588         * csu/Versions: Remove unused %include.
17589         * resolv/Versions: Likewise.
17591 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
17593         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17594         ($(objpfx)check-local-headers.out): Likewise.
17595         ($(objpfx)begin-end-check.out): Likewise.
17596         * Makerules (check-abi-%.out): Likewise.
17597         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17598         ($(objpfx)test2.cat): Likewise.
17599         ($(objpfx)de/libc.cat): Likewise.
17600         ($(objpfx)test-gencat.out): Likewise.
17601         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17602         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17603         ($(objpfx)noload-mem): Likewise.
17604         ($(objpfx)tst-pathopt.out): Likewise.
17605         ($(objpfx)tst-rtld-load-self.out): Likewise.
17606         ($(objpfx)tst-array1-cmp.out): Likewise.
17607         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17608         ($(objpfx)tst-array2-cmp.out): Likewise.
17609         ($(objpfx)tst-array3-cmp.out): Likewise.
17610         ($(objpfx)tst-array4-cmp.out): Likewise.
17611         ($(objpfx)tst-array5-cmp.out): Likewise.
17612         ($(objpfx)tst-array5-static-cmp.out): Likewise.
17613         ($(objpfx)check-textrel.out): Likewise.
17614         ($(objpfx)check-execstack.out): Likewise.
17615         ($(objpfx)check-localplt.out): Likewise.
17616         ($(objpfx)order2-cmp.out): Likewise.
17617         ($(objpfx)tst-leaks1-mem): Likewise.
17618         ($(objpfx)tst-leaks1-static-mem): Likewise.
17619         ($(objpfx)tst-initorder-cmp.out): Likewise.
17620         ($(objpfx)tst-initorder2-cmp.out): Likewise.
17621         ($(objpfx)tst-unused-dep.out): Likewise.
17622         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17623         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17624         * iconv/Makefile (test-iconvconfig): Likewise.
17625         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17626         ($(objpfx)iconv-test.out): Likewise.
17627         ($(objpfx)tst-tables.out): Likewise.
17628         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17629         ($(objpfx)tst-gettext.out): Likewise.
17630         ($(objpfx)tst-translit.out): Likewise.
17631         ($(objpfx)tst-gettext2.out): Likewise.
17632         ($(objpfx)tst-gettext4.out): Likewise.
17633         ($(objpfx)tst-gettext6.out): Likewise.
17634         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17635         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17636         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17637         ($(objpfx)tst-fopenloc-mem.out): Likewise.
17638         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17639         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17640         * posix/Makefile ($(objpfx)globtest.out): Likewise.
17641         ($(objpfx)wordexp-tst.out): Likewise.
17642         ($(objpfx)annexc.out): Likewise.
17643         ($(objpfx)tst-fnmatch-mem): Likewise.
17644         ($(objpfx)bug-regex2-mem): Likewise.
17645         ($(objpfx)bug-regex14-mem): Likewise.
17646         ($(objpfx)bug-regex21-mem): Likewise.
17647         ($(objpfx)bug-regex31-mem): Likewise.
17648         ($(objpfx)tst-vfork3-mem): Likewise.
17649         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17650         ($(objpfx)tst-pcre-mem): Likewise.
17651         ($(objpfx)tst-boost-mem): Likewise.
17652         ($(objpfx)tst-getconf.out): Likewise.
17653         ($(objpfx)bug-ga2-mem): Likewise.
17654         ($(objpfx)bug-glob2-mem): Likewise.
17655         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17656         ($(objpfx)mtrace-tst-leaks2): Likewise.
17657         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17658         ($(objpfx)tst-printf.out): Likewise.
17659         ($(objpfx)tst-setvbuf1.out): Likewise.
17660         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17661         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17662         ($(objpfx)tst-fmtmsg.out): Likewise.
17663         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17664         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17666         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17667         * bits/sigaction.h [__USE_MISC]: Likewise.
17668         * bits/waitstatus.h: Update #endif comments.
17669         * ctype/ctype.h: Likewise.
17670         * dirent/dirent.h: Likewise.
17671         [__USE_MISC]: Remove redundant conditionals.
17672         * grp/grp.h: Update #endif comments.
17673         [__USE_GNU]: Remove redundant conditionals.
17674         [__USE_MISC]: Likewise.
17675         * inet/netinet/in.h [__USE_GNU]: Likewise.
17676         * io/sys/stat.h [__USE_MISC]: Likewise.
17677         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17678         * libio/bits/stdio.h: Update #endif comments.
17679         [__USE_MISC]: Remove redundant conditionals.
17680         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17681         * libio/stdio.h: Update #endif comments.
17682         [__USE_MISC]: Remove redundant conditionals.
17683         * math/bits/math-finite.h [__USE_MISC]: Likewise.
17684         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17685         * math/math.h: Update #else and #endif comments.
17686         [__USE_MISC]: Remove redundant conditionals.
17687         * misc/sys/uio.h: Update #endif comments.
17688         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17689         * posix/glob.h [__USE_MISC]: Likewise.
17690         * posix/sys/types.h: Update #endif comments.
17691         [__USE_MISC]: Remove redundant conditionals.
17692         * posix/sys/wait.h: Update #endif comments.
17693         [__USE_MISC]: Remove redundant conditionals.
17694         * posix/unistd.h: Update #endif comments.
17695         [__USE_MISC]: Remove redundant conditionals.
17696         * pwd/pwd.h [__USE_GNU]: Likewise.
17697         [__USE_MISC]: Likewise.
17698         * resolv/netdb.h [__USE_GNU]: Likewise.
17699         * signal/signal.h: Update #endif comments.
17700         [__USE_MISC]: Remove redundant conditionals.
17701         * stdlib/stdlib.h: Update #else and #endif comments.
17702         [__USE_MISC]: Remove redundant conditionals.
17703         [__USE_GNU]: Likewise.
17704         * string/bits/string2.h [__USE_MISC]: Likewise.
17705         * string/string.h: Update #endif comments.
17706         [__USE_MISC]: Remove redundant conditionals.
17707         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17708         Likewise.
17709         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17710         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17711         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17712         Likewise.
17713         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17714         Likewise.
17715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17716         comments.
17717         [__USE_MISC]: Remove redundant conditionals.
17718         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17719         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17720         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17721         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17722         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17725         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17726         Likewise.
17727         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17728         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17729         Likewise.
17730         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17731         Likewise.
17732         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17733         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17734         Likewise.
17735         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17736         Likewise.
17737         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17738         * sysdeps/x86/bits/string.h: Update #endif comments.
17739         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17740         conditionals.
17741         * time/sys/time.h: Update #endif comments.
17742         * time/time.h: Likewise.
17743         [__USE_MISC]: Remove redundant conditionals.
17745 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
17747         [BZ #16600]
17748         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17750 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
17752         * Versions.def (librt): Add GLIBC_2.17.
17754 2014-02-21  Adam Conrad  <adconrad@0c3.net>
17756         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17757         synonym for _SYS_AUXV_H to allow direct inclusion.
17758         * sysdeps/sparc/bits/hwcap.h: Likewise.
17759         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17760         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17761         * sysdeps/sparc/sysdep.h: Likewise.
17763 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17765         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17767 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17769         * benchtests/bench-strrchr.c: Print length instead of position.
17771 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
17773         [BZ #16611]
17774         * sysdeps/unix/sysv/linux/kernel-features.h
17775         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17776         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17777         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17778         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17779         Likewise.
17780         [__i386__ || __powerpc__ || __sh__ || __sparc__]
17781         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17782         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17783         (__ASSUME_SENDMMSG): Define instead of using previous
17784         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17785         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17786         (__ASSUME_SENDMMSG_SYSCALL): Define.
17787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17788         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17789         Likewise.
17790         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17791         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17794         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17795         Likewise.
17796         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17797         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17798         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17799         [__ASSUME_SENDMMSG]: Change conditionals to
17800         [__ASSUME_SENDMMSG_SOCKETCALL].
17801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17802         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17803         Define.
17804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17805         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17806         Likewise.
17807         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17808         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17809         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17810         [!__ASSUME_SENDMMSG]: Change conditional to
17811         [!__ASSUME_SENDMMSG_SOCKETCALL].
17812         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17813         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17814         Define.
17816         [BZ #16610]
17817         * sysdeps/unix/sysv/linux/kernel-features.h
17818         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17819         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17820         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17821         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17822         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17823         [__i386__ || __sparc__]
17824         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17825         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17826         (__ASSUME_RECVMMSG): Define instead of using previous
17827         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17828         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17829         (__ASSUME_RECVMMSG_SYSCALL): Define.
17830         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17831         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17832         Likewise.
17833         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17834         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17835         Likewise.
17836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17837         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17838         Likewise.
17839         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17840         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17841         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17842         [__ASSUME_RECVMMSG]: Change condition to
17843         [__ASSUME_RECVMMSG_SOCKETCALL].
17844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17845         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17846         Define.
17847         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17848         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17849         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17850         Likewise.
17851         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17852         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17853         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17854         [!__ASSUME_RECVMMSG]: Change condition to
17855         [!__ASSUME_RECVMMSG_SOCKETCALL].
17856         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17857         (__ASSUME_RECVMMSG_SYSCALL): Define.
17859         [BZ #16609]
17860         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17861         __powerpc__ || __s390__ || __sh__ || __sparc__]
17862         (__ASSUME_SOCKETCALL): Define.
17863         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17864         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17865         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17866         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17867         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17868         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17869         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17870         (__ASSUME_ACCEPT4): Define instead of using previous
17871         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17872         __powerpc__ || __sparc__ || __s390__)] condition.
17873         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17874         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17875         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17876         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17877         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17878         [!__ASSUME_ACCEPT4]: Change condition to
17879         [!__ASSUME_ACCEPT4_SOCKETCALL].
17880         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17881         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17882         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17883         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17884         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17885         __ASSUME_ACCEPT4_SYSCALL.
17886         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17887         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17888         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17889         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17890         __ASSUME_ACCEPT4_SYSCALL.
17891         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17892         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17893         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17894         [__ASSUME_ACCEPT4]: Change condition to
17895         [__ASSUME_ACCEPT4_SOCKETCALL].
17896         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17897         (__ASSUME_SOCKETCALL): Define.
17898         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17899         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17900         (__ASSUME_SOCKETCALL): Define.
17901         (__ASSUME_ACCEPT4): Remove.
17902         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17903         Define.
17904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17905         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17906         Likewise.
17907         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17908         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17910         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17911         macro.
17912         (HWCAP_ARM_LPAE): Likewise.
17913         (HWCAP_ARM_EVTSTRM): Likewise.
17914         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17915         Add vpfd32, lpae and evtstrm.
17916         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17917         Increase to 22.
17919 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17921         * math/auto-libm-test-in: Add tests of clog10.
17922         * math/auto-libm-test-out: Regenerated.
17923         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17924         * sysdeps/i386/fpu/libm-test-ulps: Update.
17925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927 2014-02-18  Andreas Schwab  <schwab@suse.de>
17929         [BZ #16574]
17930         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17931         Store non-zero if the second buffer was newly allocated.
17932         (send_dg): Likewise.
17933         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17934         to send_vc and send_dg.
17935         (res_nsend): Pass NULL for ansp2_malloced.
17936         * resolv/res_query.c (__libc_res_nquery): Add parameter
17937         answerp2_malloced and pass it down to __libc_res_nsend.
17938         (res_nquery): Pass additional NULL to __libc_res_nquery.
17939         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17940         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17941         second answer buffer if answerp2_malloced was set.
17942         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17943         (__libc_res_nquerydomain): Add parameter
17944         answerp2_malloced and pass it down to __libc_res_nquery.
17945         (res_nquerydomain): Pass additional NULL to
17946         __libc_res_nquerydomain.
17947         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17948         additional NULL to __libc_res_nsend and __libc_res_nquery.
17949         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17950         additional NULL to __libc_res_nsearch.
17951         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17952         parameter of __libc_res_nsearch to check for separately allocated
17953         second buffer.
17954         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17955         __libc_res_nquery.
17956         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17957         additional NULL to __libc_res_nquery.
17958         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17959         __libc_res_nsearch.
17960         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17961         * include/resolv.h: Update prototypes of __libc_res_nquery,
17962         __libc_res_nsearch, __libc_res_nsend.
17964 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17966         * math/auto-libm-test-in: Add tests of fma.
17967         * math/auto-libm-test-out: Regenerated.
17968         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17969         (fma_towardzero_test_data): Likewise.
17970         (fma_downward_test_data): Likewise.
17971         (fma_upward_test_data): Likewise.
17972         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17973         mpc_mode.
17974         (rounding_modes): Add values for new field.
17975         (func_calc_method): Add value mpfr_fff_f.
17976         (func_calc_desc): Add mpfr_fff_f union field.
17977         (test_function): Add field exact_args.
17978         (FUNC): Add macro argument EXACT_ARGS.
17979         (FUNC_mpfr_f_f): Update call to FUNC.
17980         (FUNC_mpfr_f_f): Likewise.
17981         (FUNC_mpfr_ff_f): Likewise.
17982         (FUNC_mpfr_if_f): Likewise.
17983         (FUNC_mpc_c_f): Likewise.
17984         (FUNC_mpc_c_c): Likewise.
17985         (test_functions): Add fma.  Update calls to FUNC.
17986         (handle_input_arg): Add argument exact_args.
17987         (add_test): Update call to handle_input_arg.
17988         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17989         (output_for_one_input_case): Update call to calc_generic_results.
17990         Recalculate exact zero results in each rounding mode.
17992         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17993         non-negative before setting low bit.
17994         * math/auto-libm-test-in: Mark one asin test possibly having
17995         spurious underflow.
17996         * math/auto-libm-test-out: Regenerated.
17997         * sysdeps/i386/fpu/libm-test-ulps: Update.
17998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18000 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18002         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18003         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18004         ports/sysdeps/unix/sysv/linux/microblaze.
18005         * README: Add missing listing for microblaze*-*-linux-gnu.
18007 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18009         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18010         duplicate code
18012 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18014         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18015         * sysdeps/unix/sysv/linux/ia64: Move directory from
18016         ports/sysdeps/unix/sysv/linux/ia64.
18017         * README: Update listing for ia64-*-linux-gnu.
18019 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18020             Joseph Myers  <joseph@codesourcery.com>
18022         * Makeconfig (test-name): New variable.
18023         (evaluate-test): Likewise.
18024         * Makerules (do-test-clean): Remove .test-result files.
18025         (common-mostlyclean): Likewise.
18026         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18027         * scripts/evaluate-test.sh: New file.
18029 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18031         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18032         separate $(objpfx)tst-fopenloc-cmp.out and
18033         $(objpfx)tst-fopenloc-mem.out targets.
18034         (tests): Update dependencies.
18035         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18036         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18037         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18038         (tst-rxspencer-no-utf8-ARGS): New variable.
18039         (tst-rxspencer-no-utf8-ENV): Likewise.
18040         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18041         instead of $(objpfx)tst-rxspencer-mem.
18042         ($(objpfx)tst-rxspencer-mem): Change target to
18043         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18044         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18045         * posix/tst-rxspencer-no-utf8.c: New file.
18047         * elf/Makefile ($(objpfx)order.out): Remove rule.
18048         [$(run-built-tests) = yes] (tests): Depend on
18049         $(objpfx)order-cmp.out.
18050         ($(objpfx)order-cmp.out): New rule.
18051         [$(run-built-tests) = yes] (tests): Depend on
18052         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18053         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18054         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18055         $(objpfx)tst-array5-static-cmp.out.
18056         ($(objpfx)tst-array1.out): Remove rule.
18057         ($(objpfx)tst-array1-cmp.out): New rule.
18058         ($(objpfx)tst-array1-static.out): Remove rule.
18059         ($(objpfx)tst-array1-static-cmp.out): New rule.
18060         ($(objpfx)tst-array2.out): Remove rule.
18061         ($(objpfx)tst-array2-cmp.out): New rule.
18062         ($(objpfx)tst-array3.out): Remove rule.
18063         ($(objpfx)tst-array3-cmp.out): New rule.
18064         ($(objpfx)tst-array4.out): Remove rule.
18065         ($(objpfx)tst-array4-cmp.out): New rule.
18066         ($(objpfx)tst-array5.out): Remove rule.
18067         ($(objpfx)tst-array5-cmp.out): New rule.
18068         ($(objpfx)tst-array5-static.out): Remove rule.
18069         ($(objpfx)tst-array5-static-cmp.out): New rule.
18070         [$(run-built-tests) = yes] (tests): Depend on
18071         $(objpfx)order2-cmp.out.
18072         ($(objpfx)order2.out): Remove rule.
18073         ($(objpfx)order2-cmp.out): New rule.
18074         ($(objpfx)tst-initorder.out): Remove rule.
18075         [$(run-built-tests) = yes] (tests): Depend on
18076         $(objpfx)tst-initorder-cmp.out.
18077         ($(objpfx)tst-initorder-cmp.out): New rule.
18078         ($(objpfx)tst-initorder2.out): Remove rule.
18079         [$(run-built-tests) = yes] (tests): Depend on
18080         $(objpfx)tst-initorder2-cmp.out.
18081         ($(objpfx)tst-initorder2-cmp.out): New rule.
18082         [$(run-built-tests) = yes] (tests): Depend on
18083         $(objpfx)tst-unused-dep-cmp.out.
18084         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18085         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18086         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18087         on $(objpfx)tst-setvbuf1-cmp.out.
18088         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18089         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18090         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18091         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18092         ($(objpfx)tst-svc.out): Remove rule.
18093         ($(objpfx)tst-svc-cmp.out): New rule.
18095 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18097         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18098         * ctype/ctype.h [__USE_MISC]: Likewise.
18099         * dirent/dirent.h [__USE_MISC]: Likewise.
18100         * grp/grp.h [__USE_MISC]: Likewise.
18101         * io/fcntl.h [__USE_MISC]: Likewise.
18102         * io/sys/stat.h [__USE_MISC]: Likewise.
18103         * libio/stdio.h [__USE_MISC]: Likewise.
18104         * posix/unistd.h [__USE_MISC]: Likewise.
18105         * pwd/pwd.h [__USE_MISC]: Likewise.
18106         * stdlib.h [__USE_MISC]: Likewise.
18107         * string/bits/string2.h [__USE_MISC]: Likewise.
18108         * string/string.h [__USE_MISC]: Likewise.
18109         * time/time.h [__USE_MISC]: Likewise.
18111 2014-02-13  Andreas Schwab  <schwab@suse.de>
18113         [BZ #16574]
18114         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18115         second answer buffer if it was separately allocated.
18117 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18119         * sysdeps/mips/math-tests.h: Include <features.h>.
18120         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18121         (ROUNDING_TESTS_long_double): Do not define.
18122         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18123         (EXCEPTION_TESTS_long_double): Likewise.
18124         * sysdeps/mips/mips64/libm-test-ulps: Update.
18126         * include/features.h (__USE_BSD): Remove macro definitions.
18127         (__USE_SVID): Likewise.
18128         (_BSD_SOURCE): Likewise.
18129         (_SVID_SOURCE): Likewise.
18130         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18131         from definition of _DEFAULT_SOURCE.
18132         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18133         [_DEFAULT_SOURCE].
18134         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18135         * bits/mman.h [__USE_BSD]: Likewise.
18136         * bits/termios.h [__USE_BSD]: Likewise.
18137         * bits/waitstatus.h [__USE_BSD]: Likewise.
18138         * ctype/ctype.h [__USE_SVID]: Likewise.
18139         * dirent/dirent.h [__USE_BSD]: Likewise.
18140         * grp/grp.h [__USE_SVID]: Likewise.
18141         [__USE_BSD]: Likewise.
18142         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18143         * io/fcntl.h [__USE_BSD]: Likewise.
18144         * io/ftw.h [__USE_BSD]: Likewise.
18145         * io/sys/stat.h [__USE_BSD]: Likewise.
18146         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18147         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18148         * libio/stdio.h [__USE_SVID]: Likewise.
18149         [__USE_BSD]: Likewise.
18150         * math/math.h [__USE_SVID]: Likewise.
18151         [__USE_BSD]: Likewise.
18152         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18153         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18154         * misc/search.h [__USE_SVID]: Likewise.
18155         * misc/sys/mman.h [__USE_BSD]: Likewise.
18156         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18157         * misc/sys/uio.h [__USE_BSD]: Likewise.
18158         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18159         * posix/glob.h [__USE_BSD]: Likewise.
18160         * posix/regex.h [__USE_BSD]: Likewise.
18161         * posix/sys/types.h [__USE_BSD]: Likewise.
18162         [__USE_SVID]: Likewise.
18163         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18164         * posix/sys/wait.h [__USE_BSD]: Likewise.
18165         [__USE_SVID]: Likewise.
18166         * posix/unistd.h [__USE_BSD]: Likewise.
18167         [__USE_SVID]: Likewise.
18168         * pwd/pwd.h [__USE_SVID]: Likewise.
18169         * resolv/netdb.h [__USE_BSD]: Likewise.
18170         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18171         * signal/signal.h [__USE_BSD]: Likewise.
18172         [__USE_SVID]: Likewise.
18173         * socket/sys/socket.h [__USE_BSD]: Likewise.
18174         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18175         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18176         [__USE_SVID]: Likewise.
18177         * string/bits/string2.h [__USE_BSD]: Likewise.
18178         [__USE_SVID]: Likewise.
18179         * string/bits/string3.h [__USE_BSD]: Likewise.
18180         * string/endian.h [__USE_BSD]: Likewise.
18181         * string/string.h [__USE_SVID]: Likewise.
18182         [__USE_BSD]: Likewise.
18183         * string/strings.h [__USE_BSD]: Likewise.
18184         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18185         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18186         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18187         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18188         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18189         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18190         Likewise.
18191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18192         Likewise.
18193         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18194         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18195         Likewise.
18196         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18197         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18198         Likewise.
18199         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18200         Likewise.
18201         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18202         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18203         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18204         Likewise.
18205         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18206         Likewise.
18207         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18208         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18209         * termios/termios.h [__USE_BSD]: Likewise.
18210         * time/sys/time.h [__USE_BSD]: Likewise.
18211         * time/time.h [__USE_BSD]: Likewise.
18212         [__USE_SVID]: Likewise.
18214         * Makefile (subdir_targets): Remove subdir_lint.out.
18216         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18217         (do-tst-printf): Likewise.
18218         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18219         $(objpfx)tst-printf.out.
18221         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18223         * Makerules (check-abi-%): Change target to
18224         $(objpfx)check-abi-%.out.
18225         (check-abi target): Update dependencies.
18226         (check-abi-pattern variable): Redirect output of diff to $@.
18227         (check-abi variable): Likewise.
18228         * elf/Makefile (check-abi): Update dependencies.
18230         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18231         unused.
18232         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18233         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18234         subnormal range.
18235         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18236         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18237         value has largest subnormal exponent.
18238         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18239         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18240         * sysdeps/aarch64/soft-fp/sfp-machine.h
18241         (_FP_TININESS_AFTER_ROUNDING): New macro.
18242         * sysdeps/alpha/soft-fp/sfp-machine.h
18243         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18244         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18245         Likewise.
18246         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18247         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18248         * sysdeps/mips/soft-fp/sfp-machine.h
18249         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18250         * sysdeps/powerpc/soft-fp/sfp-machine.h
18251         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18252         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18253         Likewise.
18254         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18255         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18256         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18257         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18258         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18259         Likewise.
18261 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18263         [BZ #16545]
18264         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18265         model 1.
18267 2014-02-12  Richard Henderson  <rth@redhat.com>
18269         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18270         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18271         * sysdeps/unix/sysv/linux/alpha: Move directory from
18272         ports/sysdeps/unix/sysv/linux/alpha.
18273         * README: Update listing for alpha-*-linux-gnu.
18275 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18277         * include/features.h: Update comment documenting feature test
18278         macros.
18279         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18280         _DEFAULT_SOURCE.
18281         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18282         (_SVID_SOURCE): Likewise.
18283         (_DEFAULT_SOURCE): Update description of default features.
18284         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18285         with _GNU_SOURCE.
18286         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18287         (S_ISVTX): Likewise.
18288         * manual/math.texi (Mathematical Constants): Likewise.
18289         * manual/signal.texi (Interrupted Primitives): Likewise.
18290         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18291         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18292         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18293         Don't refer to _SVID_SOURCE in warning text.
18295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18297         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18298         already defined.
18299         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18300         * sysdeps/mips/dl-lookup.c: Remove.
18301         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18303 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18305         [BZ #16447]
18306         * math/auto-libm-test-in: Add testcase for expl.
18307         * math/auto-libm-test-out: Regenerate.
18308         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18309         calculation of unsafe.
18310         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18312 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18314         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18315         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18316         ports/sysdeps/unix/sysv/linux/aarch64.
18317         * README: Update listing for aarch64*-*-linux-gnu.
18319 2014-02-11  Will Newton  <will.newton@linaro.org>
18321         * manual/probes.texi (Mathematical Function Probes): Use
18322         "triggered" instead of "hit".
18324         * manual/probes.texi (Internal Probes): Add documentation
18325         of setjmp, longjmp and longjmp_target probes.
18327         * include/stap-probe.h: Add comment about probe argument
18328         format.
18330         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18331         definition.  (tr_where, tr_freehook, tr_mallochook,
18332         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18334 2014-02-11  David S. Miller  <davem@davemloft.net>
18336         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18337         processing int_tests.
18339 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18341         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18342         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18343         * sysdeps/unix/sysv/linux/mips: Move directory from
18344         ports/sysdeps/unix/sysv/linux/mips.
18345         * README: Update listing for mips-*-linux-gnu and
18346         mips64-*-linux-gnu.
18348 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18350         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18351         * sysdeps/unix/sysv/linux/m68k: Move directory from
18352         ports/sysdeps/unix/sysv/linux/m68k.
18353         * README: Update listing for m68k-*-linux-gnu.
18355 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18357         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18358         * sysdeps/unix/sysv/linux/generic: Move directory from
18359         ports/sysdeps/unix/sysv/linux/generic.
18360         * sysdeps/unix/sysv/linux/tile: Move directory from
18361         ports/sysdeps/unix/sysv/linux/tile.
18362         * README: Update listing for tile*-*-linux-gnu.
18364 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18366         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18367         __builtin_expect.
18368         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18369         * catgets/open_catalog.c (__open_catalog): Likewise.
18370         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18371         * debug/confstr_chk.c: Likewise.
18372         * debug/fread_chk.c (__fread_chk): Likewise.
18373         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18374         * debug/getgroups_chk.c: Likewise.
18375         * debug/mbsnrtowcs_chk.c: Likewise.
18376         * debug/mbsrtowcs_chk.c: Likewise.
18377         * debug/mbstowcs_chk.c: Likewise.
18378         * debug/memcpy_chk.c: Likewise.
18379         * debug/memmove_chk.c: Likewise.
18380         * debug/mempcpy_chk.c: Likewise.
18381         * debug/memset_chk.c: Likewise.
18382         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18383         * debug/strcat_chk.c (__strcat_chk): Likewise.
18384         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18385         * debug/strncat_chk.c (__strncat_chk): Likewise.
18386         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18387         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18388         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18389         * debug/wcpncpy_chk.c: Likewise.
18390         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18391         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18392         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18393         * debug/wcsncpy_chk.c: Likewise.
18394         * debug/wcsnrtombs_chk.c: Likewise.
18395         * debug/wcsrtombs_chk.c: Likewise.
18396         * debug/wcstombs_chk.c: Likewise.
18397         * debug/wmemcpy_chk.c: Likewise.
18398         * debug/wmemmove_chk.c: Likewise.
18399         * debug/wmempcpy_chk.c: Likewise.
18400         * debug/wmemset_chk.c: Likewise.
18401         * dirent/scandirat.c (SCANDIRAT): Likewise.
18402         * dlfcn/dladdr1.c (dladdr1): Likewise.
18403         * dlfcn/dladdr.c (dladdr): Likewise.
18404         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18405         * dlfcn/dlerror.c (__dlerror): Likewise.
18406         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18407         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18408         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18409         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18410         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18411         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18412         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18413         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18414         Likewise.
18415         * elf/dl-conflict.c: Likewise.
18416         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18417         * elf/dl-dst.h: Likewise.
18418         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18419         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18420         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18421         * elf/dl-init.c (call_init, _dl_init): Likewise.
18422         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18423         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18424         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18425         Likewise.
18426         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18427         Likewise.
18428         * elf/dl-minimal.c (__libc_memalign): Likewise.
18429         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18430         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18431         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18432         * elf/dl-sym.c (do_sym): Likewise.
18433         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18434         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18435         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18436         * elf/dl-writev.h (_dl_writev): Likewise.
18437         * elf/ldconfig.c (search_dir): Likewise.
18438         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18439         (dl_main): Likewise.
18440         * elf/setup-vdso.h (setup_vdso): Likewise.
18441         * grp/compat-initgroups.c (compat_call): Likewise.
18442         * grp/fgetgrent.c (fgetgrent): Likewise.
18443         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18444         * grp/putgrent.c (putgrent): Likewise.
18445         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18446         Likewise.
18447         * hurd/hurdinit.c: Likewise.
18448         * iconvdata/8bit-gap.c (struct): Likewise.
18449         * iconvdata/ansi_x3.110.c : Likewise.
18450         * iconvdata/big5.c : Likewise.
18451         * iconvdata/big5hkscs.c : Likewise.
18452         * iconvdata/cp1255.c: Likewise.
18453         * iconvdata/cp1258.c : Likewise.
18454         * iconvdata/cp932.c : Likewise.
18455         * iconvdata/euc-cn.c: Likewise.
18456         * iconvdata/euc-jisx0213.c : Likewise.
18457         * iconvdata/euc-jp.c: Likewise.
18458         * iconvdata/euc-jp-ms.c : Likewise.
18459         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18460         * iconvdata/gb18030.c : Likewise.
18461         * iconvdata/gbbig5.c (const): Likewise.
18462         * iconvdata/gbgbk.c: Likewise.
18463         * iconvdata/gbk.c : Likewise.
18464         * iconvdata/ibm1364.c : Likewise.
18465         * iconvdata/ibm930.c : Likewise.
18466         * iconvdata/ibm932.c: Likewise.
18467         * iconvdata/ibm933.c : Likewise.
18468         * iconvdata/ibm935.c : Likewise.
18469         * iconvdata/ibm937.c : Likewise.
18470         * iconvdata/ibm939.c : Likewise.
18471         * iconvdata/ibm943.c: Likewise.
18472         * iconvdata/iso_11548-1.c: Likewise.
18473         * iconvdata/iso-2022-cn.c : Likewise.
18474         * iconvdata/iso-2022-cn-ext.c : Likewise.
18475         * iconvdata/iso-2022-jp-3.c: Likewise.
18476         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18477         * iconvdata/iso-2022-kr.c : Likewise.
18478         * iconvdata/iso646.c (gconv_end): Likewise.
18479         * iconvdata/iso_6937-2.c : Likewise.
18480         * iconvdata/iso_6937.c : Likewise.
18481         * iconvdata/iso8859-1.c: Likewise.
18482         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18483         * iconvdata/shift_jisx0213.c : Likewise.
18484         * iconvdata/sjis.c : Likewise.
18485         * iconvdata/t.61.c : Likewise.
18486         * iconvdata/tcvn5712-1.c : Likewise.
18487         * iconvdata/tscii.c: Likewise.
18488         * iconvdata/uhc.c : Likewise.
18489         * iconvdata/unicode.c (gconv_end): Likewise.
18490         * iconvdata/utf-16.c (gconv_end): Likewise.
18491         * iconvdata/utf-32.c (gconv_end): Likewise.
18492         * iconvdata/utf-7.c (base64): Likewise.
18493         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18494         * iconv/gconv_close.c (__gconv_close): Likewise.
18495         * iconv/gconv_open.c (__gconv_open): Likewise.
18496         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18497         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18498         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18499         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18500         (ucs4le_internal_loop_single): Likewise.
18501         * iconv/iconv.c (iconv): Likewise.
18502         * iconv/iconv_close.c: Likewise.
18503         * iconv/loop.c (SINGLE): Likewise.
18504         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18505         * include/atomic.h: Likewise.
18506         * inet/inet6_option.c (option_alloc): Likewise.
18507         * intl/bindtextdom.c (set_binding_values): Likewise.
18508         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18509         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18510         * intl/localealias.c (read_alias_file): Likewise.
18511         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18512         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18513         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18514         * libio/fmemopen.c (fmemopen): Likewise.
18515         * libio/iofgets.c (_IO_fgets): Likewise.
18516         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18517         * libio/iofgetws.c (fgetws): Likewise.
18518         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18519         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18520         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18521         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18522         * locale/findlocale.c (_nl_find_locale): Likewise.
18523         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18524         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18525         Likewise.
18526         * locale/setlocale.c (setlocale): Likewise.
18527         * login/programs/pt_chown.c (main): Likewise.
18528         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18529         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18530         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18531         (mmap, mmap64, mremap, munmap): Likewise.
18532         * math/e_exp2l.c: Likewise.
18533         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18534         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18535         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18536         * math/s_catan.c (__catan): Likewise.
18537         * math/s_catanf.c (__catanf): Likewise.
18538         * math/s_catanh.c (__catanh): Likewise.
18539         * math/s_catanhf.c (__catanhf): Likewise.
18540         * math/s_catanhl.c (__catanhl): Likewise.
18541         * math/s_catanl.c (__catanl): Likewise.
18542         * math/s_ccosh.c (__ccosh): Likewise.
18543         * math/s_ccoshf.c (__ccoshf): Likewise.
18544         * math/s_ccoshl.c (__ccoshl): Likewise.
18545         * math/s_cexp.c (__cexp): Likewise.
18546         * math/s_cexpf.c (__cexpf): Likewise.
18547         * math/s_cexpl.c (__cexpl): Likewise.
18548         * math/s_clog10.c (__clog10): Likewise.
18549         * math/s_clog10f.c (__clog10f): Likewise.
18550         * math/s_clog10l.c (__clog10l): Likewise.
18551         * math/s_clog.c (__clog): Likewise.
18552         * math/s_clogf.c (__clogf): Likewise.
18553         * math/s_clogl.c (__clogl): Likewise.
18554         * math/s_csin.c (__csin): Likewise.
18555         * math/s_csinf.c (__csinf): Likewise.
18556         * math/s_csinh.c (__csinh): Likewise.
18557         * math/s_csinhf.c (__csinhf): Likewise.
18558         * math/s_csinhl.c (__csinhl): Likewise.
18559         * math/s_csinl.c (__csinl): Likewise.
18560         * math/s_csqrt.c (__csqrt): Likewise.
18561         * math/s_csqrtf.c (__csqrtf): Likewise.
18562         * math/s_csqrtl.c (__csqrtl): Likewise.
18563         * math/s_ctan.c (__ctan): Likewise.
18564         * math/s_ctanf.c (__ctanf): Likewise.
18565         * math/s_ctanh.c (__ctanh): Likewise.
18566         * math/s_ctanhf.c (__ctanhf): Likewise.
18567         * math/s_ctanhl.c (__ctanhl): Likewise.
18568         * math/s_ctanl.c (__ctanl): Likewise.
18569         * math/w_pow.c: Likewise.
18570         * math/w_powf.c: Likewise.
18571         * math/w_powl.c: Likewise.
18572         * math/w_scalb.c (sysv_scalb): Likewise.
18573         * math/w_scalbf.c (sysv_scalbf): Likewise.
18574         * math/w_scalbl.c (sysv_scalbl): Likewise.
18575         * misc/error.c (error_tail): Likewise.
18576         * misc/pselect.c (__pselect): Likewise.
18577         * nis/nis_callback.c (__nis_create_callback): Likewise.
18578         * nis/nis_call.c (__nisfind_server): Likewise.
18579         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18580         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18581         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18582         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18583         * nis/nis_lookup.c (nis_lookup): Likewise.
18584         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18585         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18586         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18587         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18588         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18589         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18590         * nis/nss_compat/compat-initgroups.c (add_group)
18591         (internal_getgrent_r): Likewise.
18592         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18593         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18594         * nis/nss_compat/compat-spwd.c (getspent_next_file)
18595         (internal_getspnam_r): Likewise.
18596         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18597         (_nss_nis_getaliasbyname_r): Likewise.
18598         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18599         (_nss_nis_getntohost_r): Likewise.
18600         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18601         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18602         (_nss_nis_getgrgid_r): Likewise.
18603         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18604         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18605         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18606         (_nss_nis_gethostbyname4_r): Likewise.
18607         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18608         (initgroups_netid): Likewise.
18609         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18610         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18611         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18612         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18613         (_nss_nis_getprotobynumber_r): Likewise.
18614         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18615         (_nss_nis_getsecretkey): Likewise.
18616         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18617         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18618         (_nss_nis_getpwuid_r): Likewise.
18619         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18620         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18621         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18622         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18623         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18624         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18625         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18626         Likewise.
18627         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18628         (_nss_nisplus_getntohost_r): Likewise.
18629         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18630         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18631         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18632         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18633         Likewise.
18634         * nis/nss_nisplus/nisplus-initgroups.c
18635         (_nss_nisplus_initgroups_dyn): Likewise.
18636         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18637         (_nss_nisplus_getnetbyaddr_r): Likewise.
18638         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18639         (_nss_nisplus_getprotobynumber_r): Likewise.
18640         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18641         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18642         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18643         Likewise.
18644         * nis/nss_nisplus/nisplus-service.c
18645         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18646         (_nss_nisplus_getservbyport_r): Likewise.
18647         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18648         (_nss_nisplus_getspnam_r): Likewise.
18649         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18650         Likewise.
18651         * nscd/aicache.c (addhstaiX): Likewise.
18652         * nscd/cache.c (cache_search, prune_cache): Likewise.
18653         * nscd/connections.c (register_traced_file, send_ro_fd)
18654         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18655         (main_loop_epoll): Likewise.
18656         * nscd/grpcache.c (addgrbyX): Likewise.
18657         * nscd/hstcache.c (addhstbyX): Likewise.
18658         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18659         * nscd/mem.c (gc, mempool_alloc): Likewise.
18660         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18661         (addinnetgrX): Likewise.
18662         * nscd/nscd-client.h (__nscd_acquire_maplock)
18663         (__nscd_drop_map_ref): Likewise.
18664         * nscd/nscd_getai.c (__nscd_getai): Likewise.
18665         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18666         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18667         Likewise.
18668         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18669         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18670         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18671         (__nscd_get_map_ref): Likewise.
18672         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18673         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18674         Likewise.
18675         * nscd/pwdcache.c (addpwbyX): Likewise.
18676         * nscd/selinux.c (preserve_capabilities): Likewise.
18677         * nscd/servicescache.c (addservbyX): Likewise.
18678         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18679         * posix/fnmatch.c (fnmatch): Likewise.
18680         * posix/getopt.c (_getopt_internal_r): Likewise.
18681         * posix/glob.c (glob, glob_in_dir): Likewise.
18682         * posix/wordexp.c (exec_comm_child): Likewise.
18683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18684         (getanswer_r, gaih_getanswer_slice): Likewise.
18685         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18686         * resolv/res_init.c: Likewise.
18687         * resolv/res_mkquery.c (res_nmkquery): Likewise.
18688         * resolv/res_query.c (__libc_res_nquery): Likewise.
18689         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18690         Likewise.
18691         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18692         * stdio-common/perror.c (perror): Likewise.
18693         * stdio-common/printf_fp.c (___printf_fp): Likewise.
18694         * stdio-common/tmpnam.c (tmpnam): Likewise.
18695         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18696         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18697         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18698         Likewise.
18699         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18700         * stdlib/putenv.c (putenv): Likewise.
18701         * stdlib/setenv.c (__add_to_environ): Likewise.
18702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18703         * stdlib/strtol_l.c (INTERNAL): Likewise.
18704         * string/memmem.c (memmem): Likewise.
18705         * string/strerror.c (strerror): Likewise.
18706         * string/strnlen.c (__strnlen): Likewise.
18707         * string/test-memmem.c (simple_memmem): Likewise.
18708         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18709         * sunrpc/pm_getport.c (__get_socket): Likewise.
18710         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18711         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18712         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18713         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18714         Likewise.
18715         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18716         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18717         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18718         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18719         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18720         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18721         Likewise.
18722         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18723         Likewise.
18724         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18725         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18726         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18727         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18728         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18730         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18731         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18732         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18733         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18734         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18735         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18736         Likewise.
18737         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18738         Likewise.
18739         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18740         Likewise.
18741         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18742         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18744         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18745         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18746         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18747         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18750         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18751         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18752         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18753         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18754         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18756         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18757         Likewise.
18758         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18759         Likewise.
18760         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18761         Likewise.
18762         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18763         Likewise.
18764         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18766         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18767         Likewise.
18768         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18769         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18770         * sysdeps/posix/opendir.c (__opendirat): Likewise.
18771         * sysdeps/posix/sleep.c: Likewise.
18772         * sysdeps/posix/tempname.c: Likewise.
18773         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18774         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18775         Likewise.
18776         * sysdeps/powerpc/powerpc32/dl-machine.h
18777         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18778         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18779         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18780         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18781         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18782         Likewise.
18783         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18784         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18785         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18786         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18787         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18788         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18789         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18790         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18791         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18792         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18794         (elf_machine_lazy_rel): Likewise.
18795         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18797         (elf_machine_lazy_rel): Likewise.
18798         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18799         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18800         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18801         * sysdeps/unix/grantpt.c (grantpt): Likewise.
18802         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18803         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18804         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18806         Likewise.
18807         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18808         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18809         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18810         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18811         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18812         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18813         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18814         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18815         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18816         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18817         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18818         Likewise.
18819         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18820         (__posix_fallocate64_l64): Likewise.
18821         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18822         (posix_fallocate): Likewise.
18823         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18824         Likewise.
18825         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18826         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18827         (getifaddrs_internal): Likewise.
18828         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18829         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18830         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18831         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18832         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18833         (__posix_fallocate64_l64): Likewise.
18834         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18835         Likewise.
18836         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18837         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18838         (__get_clockfreq): Likewise.
18839         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18840         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18841         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18844         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18845         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18846         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18847         Likewise.
18848         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18849         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18850         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18851         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18852         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18853         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18854         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18855         Likewise.
18856         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18857         (posix_fallocate): Likewise.
18858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18859         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18860         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18861         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18862         (elf_machine_rela, elf_machine_rela_relative)
18863         (elf_machine_lazy_rel): Likewise.
18864         * time/asctime.c (asctime_internal): Likewise.
18865         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18866         * time/tzset.c (__tzset_parse_tz): Likewise.
18867         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18868         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18869         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18870         * wcsmbs/wcsmbsload.h: Likewise.
18872         [BZ #15894]
18873         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18875         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18876         (arena_get2): Remove THREAD_STATS conditionals.
18877         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18878         (__malloc_stats, int): Likewise.
18880 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18882         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18883         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18885         * manual/setjmp.texi: Fix typos/grammar errors.
18887         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18888         Only return early when n is <= 0.  Delete unused return statement.
18890         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18891         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18892         * debug/tst-longjmp_chk3.c: New file.
18894         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18895         (test_main): Replace code with set_fortify_handler call.
18896         * debug/test-strcpy_chk.c: Likewise.
18897         * debug/tst-chk1.c: Likewise.
18898         * debug/tst-longjmp_chk.c: Likewise.
18899         * test-skeleton.c: Include fcntl.h & paths.h
18900         (set_fortify_handler): Define.
18902         * debug/tst-longjmp_chk.c: Add header comment and include
18903         ../test-skeleton.c.
18904         (do_test): Mark static.
18905         (TEST_FUNCTION): Define.
18907         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18908         (IP_PMTUDISC_INTERFACE): Likewise.
18909         (IP_MULTICAST_IF): Likewise.
18910         (IP_MULTICAST_TTL): Likewise.
18911         (IP_MULTICAST_LOOP): Likewise.
18912         (IP_ADD_MEMBERSHIP): Likewise.
18913         (IP_DROP_MEMBERSHIP): Likewise.
18914         (IP_UNBLOCK_SOURCE): Likewise.
18915         (IP_BLOCK_SOURCE): Likewise.
18916         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18917         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18918         (IP_MSFILTER): Likewise.
18919         (MCAST_JOIN_GROUP): Likewise.
18920         (MCAST_BLOCK_SOURCE): Likewise.
18921         (MCAST_UNBLOCK_SOURCE): Likewise.
18922         (MCAST_LEAVE_GROUP): Likewise.
18923         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18924         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18925         (MCAST_MSFILTER): Likewise.
18926         (IP_MULTICAST_ALL): Likewise.
18927         (IP_UNICAST_IF): Likewise.
18929         * timezone/Makefile: Delete $(have-ksh) check.
18930         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18931         * timezone/tzselect.ksh: Add +x mode bits.
18933         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18934         (ANON_INODE_FS_MAGIC): Likewise.
18935         (BDEVFS_MAGIC): Likewise.
18936         (BINFMTFS_MAGIC): Likewise.
18937         (BTRFS_TEST_MAGIC): Likewise.
18938         (CRAMFS_MAGIC_WEND): Likewise.
18939         (DEBUGFS_MAGIC): Likewise.
18940         (ECRYPTFS_SUPER_MAGIC): Likewise.
18941         (EXT3_SUPER_MAGIC): Likewise.
18942         (EXT4_SUPER_MAGIC): Likewise.
18943         (FUTEXFS_SUPER_MAGIC): Likewise.
18944         (HOSTFS_SUPER_MAGIC): Likewise.
18945         (HUGETLBFS_MAGIC): Likewise.
18946         (MINIX3_SUPER_MAGIC): Likewise.
18947         (MTD_INODE_FS_MAGIC): Likewise.
18948         (NILFS_SUPER_MAGIC): Likewise.
18949         (OPENPROM_SUPER_MAGIC): Likewise.
18950         (PIPEFS_MAGIC): Likewise.
18951         (PSTOREFS_MAGIC): Likewise.
18952         (QNX6_SUPER_MAGIC): Likewise.
18953         (RAMFS_MAGIC): Likewise.
18954         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18955         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18956         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18957         (SECURITYFS_MAGIC): Likewise.
18958         (SELINUX_MAGIC): Likewise.
18959         (SMACK_MAGIC): Likewise.
18960         (SOCKFS_MAGIC): Likewise.
18961         (SQUASHFS_MAGIC): Likewise.
18962         (STACK_END_MAGIC): Likewise.
18963         (TMPFS_MAGIC): Likewise.
18964         (USBDEVICE_SUPER_MAGIC): Likewise.
18965         (V9FS_MAGIC): Likewise.
18966         (XENFS_SUPER_MAGIC): Likewise.
18967         (CRAMFS_MAGIC): Fix typo in comment.
18968         (EXT2_SUPER_MAGIC): Update comment.
18969         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18971 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18973         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18974         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18975         * sysdeps/unix/sysv/linux/arm: Move directory from
18976         ports/sysdeps/unix/sysv/linux/arm.
18977         * README: Update listing for arm-*-linux-gnueabi.
18979         * README: Remove mention of am33.
18981 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18983         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18984         than the comma operator, to avoid "rhs of comma has no effect"
18985         compiler warnings.
18986         (__sigfillset, __sigandset, __sigorset): Likewise.
18987         * include/signal.h (__sigemptyset): Likewise.
18988         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18990 2014-02-07  Allan McRae  <allan@archlinux.org>
18992         * version.h (RELEASE): Set to "development".
18993         (VERSION): Set to "2.19.90"
18994         * NEWS: Add 2.20 section.
18996 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18998         [BZ #16529]
18999         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19001 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19003         * manual/contrib.texi: Update entry for Carlos O'Donell,
19004         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19006 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19008         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19010         * sysdeps/unix/sysv/linux/kernel-features.h
19011         [__LINUX_KERNEL_VERSION >= 0x020621]
19012         (__ASSUME_PROC_PID_TASK_COMM): Define.
19014 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19016         [BZ #16398]
19017         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19018         conversion when destination buffer does not have enough space.
19019         * libio/tst-ftell-partial-wide.c: New test case.
19020         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19022         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19023         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19024         Leonard and Allan McRae.
19026 2014-02-04  David S. Miller  <davem@davemloft.net>
19028         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19029         32-bit.
19031 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19034         New file
19035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19036         New file
19037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19038         New file.
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19040         New file.
19041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19042         New file.
19043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19044         New file.
19045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19046         New file.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19048         New file.
19049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19050         New file.
19051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19052         New file.
19053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19054         New file.
19055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19056         New file.
19057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19058         New file.
19060 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19062         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19063         * shlib-versions: Likewise.
19065 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19066             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19068         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19069         (abilist-pattern): New variable, set to %-le.abilist.
19071         * Makerules (abilist-pattern): New variable.
19072         (vpath): Use $(abilist-pattern) in place of %.abilist.
19073         (check-abi-% pattern rule): Likewise.
19074         (check-abi, update-abi): Likewise.
19076 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19080 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19082         * manual/startup.texi: Add next, previous, and top entries for
19083         the `Program Arguments' and `Environment Variables' nodes.
19085 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19087         * manual/macros.texi: Add comments before MTASC-safety macros.
19089         * manual/users.texi: Document MTASC-safety properties.
19091         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19092         (pthread_getspecific, pthread_setspecific): Format with
19093         @deftypefun, and add @safety note.
19094         * manual/signal.texi: Move comments that analyze the above
19095         functions to their home place.
19097 2014-02-03  Allan McRae  <allan@archlinux.org>
19099         * po/sl.po: Update Slovenian translation from translation project.
19101 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19103         * manual/time.texi (timegm): Add missing blank after @c.
19104         Reported by Joseph Myers <joseph@codesourcery.com>.
19106 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19108         * manual/check-safety.sh: New.
19109         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19111         * manual/terminal.texi: Document MTASC-safety properties.
19113         * manual/filesys.texi: Document MTASC-safety properties.
19115         * manual/errno.texi: Document MTASC-safety properties.
19117         * manual/intro.texi: Document safety identifiers and
19118         conditionals.
19120         * manual/string.texi (wcstok): Fix prototype.
19121         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19123         * manual/time.texi: Document MTASC-safety properties.
19125         * manual/string.texi: Document MTASC-safety properties.
19127         * manual/threads.texi: Document MTASC-safety properties.
19129         * manual/stdio.texi: Document MTASC-safety properties.
19131         * manual/syslog.texi: Document MTASC-safety properties.
19133         * manual/sysinfo.texi: Document MTASC-safety properties.
19135         * manual/startup.texi: Document MTASC-safety properties.
19137         * manual/socket.texi: Document MTASC-safety properties.
19139         * manual/signal.texi: Document MTASC-safety properties.
19141 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19143         * manual/setjmp.texi: Document MTASC-safety properties.
19145         * manual/search.texi: Document MTASC-safety properties.
19147         * manual/resource.texi: Document MTASC-safety properties.
19149         * manual/process.texi: Document MTASC-safety properties.
19151         * manual/platform.texi: Document MTASC-safety properties.
19153         * manual/pipe.texi: Document MTASC-safety properties.
19155         * manual/pattern.texi: Document MTASC-safety properties.
19157         * manual/message.texi: Document MTASC-safety properties.
19159         [BZ #12751]
19160         * manual/memory.texi: Document MTASC-safety properties.
19162         * manual/math.texi: Document MTASC-safety properties.
19164         * manual/locale.texi: Document MTASC-safety properties.
19166         * manual/llio.texi: Document MTASC-safety properties.
19168         * manual/libdl.texi: New.
19170         * manual/lang.texi: Document MTASC-safety properties.
19172         * manual/job.texi: Document MTASC-safety properties.
19174         * manual/getopt.texi: Document MTASC-safety properties.
19176         * manual/ctype.texi: Document MTASC-safety properties.
19178 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19180         [BZ #16046]
19181         * csu/libc-tls.c (static_map): Remove variable.
19182         (__libc_setup_tls): Use main executable's link map for TLS data.
19183         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19184         casing for LM_ID_BASE and GL(dl_nns).
19185         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19186         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19187         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19188         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19189         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19190         member.
19191         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19192         l_phnum members.
19194 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19196         * manual/debug.texi: Document MTASC-safety properties.
19198 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19200         [BZ #16510]
19201         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19202         of __x86_64__ when disabling x87 inline functions.
19204 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19206         * manual/charset.texi: Document MTASC-safety properties.
19208         * manual/crypt.texi: Document MTASC-safety properties.
19210         * manual/conf.texi: Document MTASC-safety properties.
19212         * manual/arith.texi: Document MTASC-safety properties.
19214         * manual/argp.texi: Document MTASC-safety properties.
19216         * manual/macros.texi: Introduce macros to document multi
19217         thread, asynchronous signal and asynchronous cancellation
19218         safety properties.
19219         * manual/intro.texi: Introduce the properties themselves.
19221 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19223         * sysdeps/sh/sh4/Makefile: New file.
19225 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19227         * math/gen-libm-test.pl ($srcdir): New variable.
19228         ($auto_input): Use it.
19230 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19232         [BZ #16506]
19233         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19234         access beyond array bounds when parsing netgroups file.
19236         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19237         the old buffer before realloc.
19239 2014-01-27  Allan McRae  <allan@archlinux.org>
19241         * po/fr.po: Update French translation from translation project.
19243 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19245         * sysdeps/sh/libm-test-ulps: Regenerate.
19247 2014-01-24  David S. Miller  <davem@davemloft.net>
19249         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19251 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19253         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19254         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19256 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19258         [BZ #16474]
19259         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19260         string pointers after reallocation.
19262 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19264         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19265         __SH4A__ instead of __SH_FPU_ANY__.
19267 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19269         * sysdeps/sh/fpu_control.h: New file.
19270         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19271         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19272         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19273         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19274         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19275         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19276         * sysdeps/sh/sys/ucontext.h: Remove.
19277         * sysdeps/sh/sys: Remove directory.
19279 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19281         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19282         s390/sys/ucontext.h.
19283         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19284         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19286 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19288         [BZ #15605]
19289         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19291 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19293         [BZ#16431]
19294         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19295         Adjust the vDSO correctly for internal calls.
19296         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19298 2014-01-20  Allan McRae  <allan@archlinux.org>
19300         * po/ca.po: Update Catalan translation from translation project.
19302 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19304         * sysdeps/s390/sotruss-lib.c: New file.
19306 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19308         [BZ#16430]
19309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19310         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19311         local calls issues by not having a PLT stub required for IFUNC calls.
19312         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19314 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19316         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19317         * math/test-fpucw-static.c: Likewise.
19319 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19321         [BZ #16453]
19322         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19324 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19326         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19327         implementation for powerpc.
19329 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19331         [BZ #14782]
19332         * sysdeps/posix/system.c (__libc_system): Do not enable
19333         asynchronous cancellation.
19335 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19337         [BZ #16427]
19338         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19339         handling only for numbers special also in the IEEE case.
19341 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19343         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19345 2014-01-11  Allan McRae  <allan@archlinux.org>
19347         * po/bg.po: Update Bulgarian translation from translation project.
19349         * po/de.po: Update German translation from translation project.
19351 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19353         * sysdeps/generic/gcc-compat.h: New file.
19355 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19357         * benchtests/asin-inputs: Correct slow inputs.
19358         * benchtests/acos-inputs: Likewise.
19360 2014-01-10  Allan McRae  <allan@archlinux.org>
19362         * po:sv.po: Update Swedish translation from translation project.
19364         * po/vi.po: Update Vietnamese translation from translation project.
19366         * po/eo.po: Update Esperanto translation from translation project.
19368         * po/cs.po: Update Czech translation from translation project.
19370         * po/nl.po: Update Dutch translation from translation project.
19372         * po/pl.po: Update Polish translation from translation project.
19374         * po/ru.po: Update Russian translation from translation project.
19376         * po/uk.po: Update Ukrainian translation from translation project.
19378 2014-01-08  Brooks Moses  <bmoses@google.com>
19380         * elf/dl-load.c: Fix comment typo.
19382 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19384         * po/header.pot: Rename to...
19385         * po/pot.header: ... this.
19386         * po/Makefile: Use pot.header.
19388 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19389             Maxim Kuvyrkov  <maxim@kugelworks.com>
19391         [BZ #16394]
19392         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19393         SRC and DEST against LEN.
19395 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19397         [BZ #16414]
19398         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19399         implementation.
19400         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19402 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19406 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19408         [BZ #16408]
19409         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19410         for large positive arguments.
19412 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19414         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19416         * math/auto-libm-test-in: Mark various tests with
19417         xfail-rounding:ldbl-128ibm.
19418         * math/auto-libm-test-out: Regenerated.
19420         [BZ #16407]
19421         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19422         Increase overflow threshold.
19424 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19426         [BZ #14286]
19427         * stdio-common/vfprintf.c: Check for integer overflow.
19429 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19431         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19432         the first argument and return value of __tls_get_addr_internal.
19434 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19436         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19437         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19439 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19441         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19442         * sysdeps/s390/rtld-global-offsets.sym: New file.
19443         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19444         GLIBC_2.19 symbol.
19445         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19446         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19447         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19448         ... this.
19449         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19450         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19451         ... this.
19452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19453         Regenerate.
19454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19455         Regenerate.
19456         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19457         halfs of GPRs for high_gprs contexts.
19458         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19459         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19460         field.
19461         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19462         uc_flags field.
19463         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19464         64 bit versions:
19465         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19466         for high GPRs (uc_high_gprs) and for future extensions
19467         (__reserved).
19468         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19469         for future extensions (__reserved).
19470         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19471         64 bit versions:
19472         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19473         SC_HIGHGPRS offset definition.
19474         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19475         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19477         * Versions.def: Add GLIBC_2.19 for libpthread.
19478         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19479         siglongjmp for libpthread with GLIBC_2.19 symver.
19480         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19481         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19482         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19483         * sysdeps/s390/__longjmp.c: New file.
19484         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19485         * sysdeps/s390/longjmp.c: New file.
19486         * sysdeps/s390/setjmp.S: New file.
19487         * sysdeps/s390/sigjmp.S: New file.
19488         * sysdeps/s390/v1-longjmp.c: New file.
19489         * sysdeps/s390/v1-setjmp.h: New file.
19490         * sysdeps/s390/v1-sigjmp.c: New file.
19491         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19492         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19493         GLIBC_2.19 version.
19494         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19495         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19496         versioned symbols for ____longjmp_chk.
19497         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19498         Likewise.
19499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19500         Regenerate.
19501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19502         Regenerate.
19503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19504         Regenerate.
19505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19506         Regenerate.
19507         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19508         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19509         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19510         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19511         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19512         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19513         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19514         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19515         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19516         * sysdeps/s390/rtld-__longjmp.c: New file.
19517         * sysdeps/s390/rtld-setjmp.S: New file.
19519 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19521         [BZ #16400]
19522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19523         Return -__logl (x) for small positive arguments without evaluating
19524         a polynomial.
19526 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19528         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19529         Rename to ...
19530         (__ptrace_peeksiginfo_args): ... this.
19531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19533         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19535 2014-01-06  Allan McRae  <allan@archlinux.org>
19537         * inet/netinet/in.h: Fix typo in comment.
19539 2014-01-05  Andreas Jaeger  <aj@suse.de>
19541         * sysdeps/i386/fpu/libm-test-ulps: Update.
19543 2014-01-05  Allan McRae  <allan@archlinux.org>
19545         * po/libc.pot: Regenerated.
19547         * malloc/memusagestat.c: Fix gettext call formatting.
19549 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19551         * nscd/nscd.c: Improve usage() output.
19553 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19555         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19556         * sysdeps/unix/sysv/linux/configure: Regenerated.
19557         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19558         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19560 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #16390]
19563         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19564         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19566 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19569         extra tokens at end of #undef directive.
19570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19571         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19572         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19574 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19576         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19578         * math/auto-libm-test-in: Mark various tests with
19579         xfail-rounding:ldbl-128ibm.
19580         * math/auto-libm-test-out: Regenerated.
19582 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19584         [BZ #16386]
19585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19586         numbers with subnormal high part when calculating exponent.
19588         [BZ #16385]
19589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19590         fabs.
19592         [BZ #16384]
19593         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19594         M_LN2l.
19595         (__ieee754_acoshl): Use __log1pl not __log1p.
19597 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19599         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19600         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19601         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19602         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19603         (reused_arena, arena_get2): Convert to GNU style.
19604         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19605         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19606         (memalign_check, __malloc_set_state): Likewise.
19607         * malloc/mallocbug.c (main): Likewise.
19608         * malloc/malloc.c (__malloc_assert, malloc_init_state)
19609         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19610         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19611         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19612         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19613         (__posix_memalign, malloc_info): Likewise.
19614         * malloc/malloc.h: Likewise.
19615         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19616         (mallochook, memalignhook, reallochook, mabort): Likewise.
19617         * malloc/mcheck.h: Likewise.
19618         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19619         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19620         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19621         * malloc/morecore.c (__default_morecore): Likewise.
19622         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19623         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19624         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19625         (print_and_abort): Likewise.
19626         * malloc/obstack.h: Likewise.
19627         * malloc/set-freeres.c (__libc_freeres): Likewise.
19628         * malloc/tst-mallocstate.c (main): Likewise.
19629         * malloc/tst-mtrace.c (main): Likewise.
19630         * malloc/tst-realloc.c (do_test): Likewise.
19632 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19634         [BZ #16366]
19635         * nscd/netgroupcache.c (do_notfound): New function.
19636         (addgetnetgrentX): Use it.
19638         [BZ # 16365]
19639         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19640         NSS_STATUS_NOTFOUND.
19642 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
19644         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19647 2014-01-01  Allan McRae  <allan@archlinux.org>
19649         * scripts/update-copyrights: Update configure input file suffix.
19651         * NEWS: Update copyright year.
19652         * catgets/gencat.c: Likewise.
19653         * csu/version.c: Likewise.
19654         * debug/catchsegv.sh: Likewise.
19655         * debug/pcprofiledump.c: Likewise.
19656         * debug/xtrace.sh: Likewise.
19657         * elf/ldconfig.c: Likewise.
19658         * elf/ldd.bash.in: Likewise.
19659         * elf/pldd.c: Likewise.
19660         * elf/sotruss.ksh: Likewise.
19661         * elf/sprof.c: Likewise.
19662         * iconv/iconv_prog.c: Likewise.
19663         * iconv/iconvconfig.c: Likewise.
19664         * locale/programs/locale.c: Likewise.
19665         * locale/programs/localedef.c: Likewise.
19666         * login/programs/pt_chown.c: Likewise.
19667         * malloc/memusage.sh: Likewise.
19668         * malloc/memusagestat.c: Likewise.
19669         * malloc/mtrace.pl: Likewise.
19670         * manual/libc.texinfo: Likewise.
19671         * nscd/nscd.c: Likewise.
19672         * nss/getent.c: Likewise.
19673         * nss/makedb.c: Likewise.
19674         * posix/getconf.c: Likewise.
19675         * scripts/test-installation.pl: Likewise.
19677         * All files with FSF copyright notices: Update copyright dates
19678         using scripts/update-copyrights.
19679         * intl/plural.c: Regenerated.
19680         * locale/programs/charmap-kw.h: Likewise.
19681         * locale/programs/locfile-kw.h: Likewise.
19683 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
19685         * sysdeps/unix/sysv/linux/configure: Regenerated.
19686         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19687         the linux/fanotify.h header.
19688         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19689         HAVE_LINUX_FANOTIFY_H is defined.
19691 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19693         * benchtests/cos-inputs: New inputs.
19694         * benchtests/sin-inputs: Likewise.
19696         * benchtests/atan-inputs: New inputs. Fix name of multiple
19697         precision fallback inputs.
19699         * benchtests/atanh-inputs: New inputs.
19700         * benchtests/tanh-inputs: Likewise.
19702         * benchtests/acosh-inputs: New inputs.
19703         * benchtests/asinh-inputs: Likewise.
19705         * benchtests/cosh-inputs: New inputs.
19706         * benchtests/sinh-inputs: Likewise.
19708         * benchtests/acos-inputs: Add more inputs.
19709         * benchtests/asin-inputs: Likewise.
19711 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
19713         [BZ #16375]
19714         * manual/arith.texi: Fix spelling.
19715         * manual/charset.texi: Likewise.
19716         * manual/errno.texi: Likewise.
19717         * manual/filesys.texi: Likewise.
19718         * manual/lang.texi: Likewise.
19719         * manual/llio.texi: Likewise.
19720         * manual/locale.texi: Likewise.
19721         * manual/message.texi: Likewise.
19722         * manual/resource.texi: Likewise.
19723         * manual/search.texi: Likewise.
19724         * manual/setjmp.texi: Likewise.
19725         * manual/stdio.texi: Likewise.
19726         * manual/string.texi: Likewise.
19727         * manual/sysinfo.texi: Likewise.
19728         * manual/time.texi: Likewise.
19730 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
19732         * po/sl.po: New file.
19734 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
19736         * .gitignore: Add core/.gdbinit/.gdb_history.
19738 2013-12-27  Allan McRae  <allan@archlinux.org>
19740         [BZ #16369]
19741         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19742         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19744 2013-12-24  Brooks Moses  <bmoses@google.com>
19746         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19747         all compilers that claim C++98 compliance, not just GCC.
19748         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19749         Likewise.
19751 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19753         * NEWS: Restore accidentally deleted bug-fix entries.
19755 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19756             Ondřej Bílka  <neleai@seznam.cz>
19758         [BZ #15073]
19759         * malloc/malloc.c (_int_free): Perform sanity check only if we
19760         have_lock.
19762 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
19764         [BZ #12986]
19765         * manual/stdio.texi (String Input Conversions): Clarify that character
19766         classes are not supported.
19768 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19772 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
19774         [BZ #16337]
19775         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19776         Calculate results for small negative arguments directly rather
19777         than using reflection formula with special underflow handling.
19779         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19780         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19781         sysdeps/unix/bsd/bsd4.4/syscalls.list.
19782         (fchflags): Likewise.
19783         (revoke): Likewise.
19784         (setlogin): Likewise.
19785         (sigaltstack): Likewise.
19786         (wait4): Likewise.
19787         (sigblock): Remove.
19788         (sigsetmask): Likewise.
19789         (wait3): Likewise.
19790         (waitpid): Likewise.
19791         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19792         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19793         file.
19794         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19795         * sysdeps/unix/bsd/Makefile: ... here.
19796         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19797         * sysdeps/unix/bsd/Versions: ... here.
19798         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19799         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19800         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19801         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19802         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19803         * sysdeps/unix/bsd/sigblock.c: ... here.
19804         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19805         * sysdeps/unix/bsd/sigsetmask.c: ... here.
19806         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19807         * sysdeps/unix/bsd/sigvec.c: ... here.
19808         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19809         * sysdeps/unix/bsd/tcdrain.c: ... here.
19810         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19811         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19812         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19813         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19814         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19815         * sysdeps/unix/bsd/wait.c: ... here.
19816         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19817         * sysdeps/unix/bsd/wait3.c: ... here.
19818         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19819         * sysdeps/unix/bsd/waitpid.c: ... here.
19821 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19823         [BZ #16356]
19824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19825         round-to-nearest for [!USE_AS_EXPM1L].
19826         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19827         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19828         more tests of exp and exp10.  Expect some exp10 tests to miss
19829         exceptions or fail in directed rounding modes.
19830         * math/auto-libm-test-out: Regenerated.
19831         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19832         (exp10_test_tonearest): New function.
19833         (exp10_towardzero_test_data): New array.
19834         (exp10_test_towardzero): New function.
19835         (exp10_downward_test_data): New array.
19836         (exp10_test_downward): New function.
19837         (exp10_upward_test_data): New array.
19838         (exp10_test_upward): New function.
19839         (main): Call the new functions.
19840         * sysdeps/i386/fpu/libm-test-ulps: Update.
19841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19843 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19845         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19846         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19847         * math/auto-libm-test-out: Regenerated.
19848         * math/libm-test.inc (acosh_test_data): Add more tests.
19849         (atanh_test_data): Likewise.
19850         (ceil_test_data): Likewise.
19851         (copysign_test_data): Likewise.
19852         * sysdeps/i386/fpu/libm-test-ulps: Update.
19853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19855         * timezone/checktab.awk: Update from tzcode 2013i.
19856         * timezone/private.h: Likewise.
19857         * timezone/scheck.c: Likewise.
19858         * timezone/tzfile.h: Likewise.
19859         * timezone/tzselect.ksh: Likewise.
19860         * timezone/zdump.c: Likewise.
19861         * timezone/zic.c: Likewise.
19863         * math/auto-libm-test-in: Add tests of cpow.
19864         * math/auto-libm-test-out: Regenerated.
19865         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19867         mpc_cc_c.
19868         (func_calc_desc): Add mpc_cc_c union field.
19869         (test_functions): Add cpow.
19870         (special_fill_2pi): New function.
19871         (special_real_inputs): Add 2pi.
19872         (calc_generic_results): Handle mpc_cc_c.
19873         * sysdeps/i386/fpu/libm-test-ulps: Update.
19874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19877         csqrt, ctan and ctanh.
19878         * math/auto-libm-test-out: Regenerated.
19879         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19880         (TEST_COND_x86): Likewise.
19881         (ccos_test_data): Use AUTO_TESTS_c_c.
19882         (ccosh_test_data): Likewise.
19883         (cexp_test_data): Likewise.
19884         (clog_test_data): Likewise.
19885         (csqrt_test_data): Likewise.
19886         (ctan_test_data): Likewise.
19887         (ctan_tonearest_test_data): Likewise.
19888         (ctan_towardzero_test_data): Likewise.
19889         (ctan_downward_test_data): Likewise.
19890         (ctan_upward_test_data): Likewise.
19891         (ctanh_test_data): Likewise.
19892         (ctanh_tonearest_test_data): Likewise.
19893         (ctanh_towardzero_test_data): Likewise.
19894         (ctanh_downward_test_data): Likewise.
19895         (ctanh_upward_test_data): Likewise.
19896         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19897         mpc_c_c.
19898         (func_calc_desc): Add mpc_c_c union field.
19899         (FUNC_mpc_c_c): New macro.
19900         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19901         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19902         ctanh.
19903         (special_fill_min_subnorm_p120): New function.
19904         (special_real_inputs): Add min_subnorm_p120.
19905         (calc_generic_results): Handle mpc_c_c.
19906         * sysdeps/i386/fpu/libm-test-ulps: Update.
19907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19909 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19911         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19912         (do_sin_slow): New functions.
19913         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19914         (cslow2, csloww1, csloww2): Use the new functions.
19916         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19917         Use M to change sign of result instead of X.  Assume X is
19918         positive.
19919         (csloww1): Likewise.
19920         (__sin): Adjust.
19921         (__cos): Adjust.
19923         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19924         arguments A and DA.
19925         (__sin): Adjust.
19926         (__cos): Likewise.
19928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19929         (__cos): Likewise.
19930         (sloww1): Don't adjust sign of DX.
19931         (csloww1): Likewise.
19932         (sloww2): Use X directly and don't adjust sign of DX.
19933         (csloww2): Likewise.
19935 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19937         * math/auto-libm-test-in: Add tests of cabs and carg.
19938         * math/auto-libm-test-out: Regenerated.
19939         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19940         (carg_test_data): Likewise.
19941         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19942         mpc_c_f.
19943         (func_calc_desc): Add mpc_c_f union field.
19944         (test_functions): Add cabs and carg.
19945         (calc_generic_results): Handle mpc_c_f.
19947         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19948         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19949         as a macro and a compat symbol.
19950         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19951         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19952         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19953         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19954         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19955         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19956         not use .hidden.
19957         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19958         Likewise.
19959         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19960         Likewise.
19961         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19962         Likewise.
19963         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19964         Likewise.
19965         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19966         Likewise.
19967         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19968         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19969         from GLIBC_2.3.2.
19971 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19975 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19977         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19978         trailing whitespace removed.
19979         * scripts/config.guess: Update to version 2013-11-29.
19980         * scripts/config.sub: Update to version 2013-10-01.
19982         * math/auto-libm-test-in: Add tests of sincos.
19983         * math/auto-libm-test-out: Regenerated.
19984         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19985         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19986         mpfr_f_11.
19987         (func_calc_desc): Add mpfr_f_11 union field.
19988         (test_functions): Add sincos.
19989         (calc_generic_results): Handle mpfr_f_11.
19990         * sysdeps/i386/fpu/libm-test-ulps: Update.
19991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993 2013-12-19  Andreas Schwab  <schwab@suse.de>
19995         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19996         CALL_MCOUNT.
19997         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19998         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19999         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20001 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20003         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20004         * sysdeps/i386/fpu/libm-test-ulps: Update.
20005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20007         [BZ #16293]
20008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20009         round-to-nearest mode when using frndint.
20010         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20011         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20012         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20013         Likewise.
20014         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20015         sinh test to fail.
20016         * math/auto-libm-test-out: Regenerated.
20017         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20018         (TEST_COND_x86): Likewise.
20019         (expm1_tonearest_test_data): New array.
20020         (expm1_test_tonearest): New function.
20021         (expm1_towardzero_test_data): New array.
20022         (expm1_test_towardzero): New function.
20023         (expm1_downward_test_data): New array.
20024         (expm1_test_downward): New function.
20025         (expm1_upward_test_data): New array.
20026         (expm1_test_upward): New function.
20027         (main): Run the new test functions.
20028         * sysdeps/i386/fpu/libm-test-ulps: Update.
20029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20031         * include/features.h: Update comment documenting feature test
20032         macros.  Mention _DEFAULT_SOURCE in comment.
20033         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20034         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20035         _BSD_SOURCE and _SVID_SOURCE.
20036         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20037         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20038         !_SVID_SOURCE]: Likewise.
20039         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20040         (__USE_POSIX_IMPLICITLY): Define.
20041         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20042         (_POSIX_SOURCE): Undefine and redefine.
20043         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20044         (_POSIX_C_SOURCE): Likewise.
20045         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20046         (Feature Test Macros): Update documentation of default features.
20048 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20050         * benchtests/Makefile: Add bench-strtok.
20051         * benchtests/bench-strtok.c: New file: strtok benchtest.
20053 2013-12-19  Allan McRae  <allan@archlinux.org>
20055         * manual/install.texi: Suppress menu for plain text output.
20056         * INSTALL: Regenerated.
20058 2013-12-18  Brooks Moses  <bmoses@google.com>
20060         [BZ #15846]
20061         * misc/getauxval.c: Include errno.h.
20062         (__getauxval): Set errno to ENOENT if the requested type is not
20063         found.
20064         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20065         don't declare with __attribute_const__.
20066         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20067         * manual/startup.texi: Document that getauxval sets errno.
20069 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20071         * math/auto-libm-test-in: Add tests of jn and yn.
20072         * math/auto-libm-test-out: Regenerated.
20073         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20074         (yn_test_data): Likewise.
20075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20076         mpfr_if_f.
20077         (func_calc_desc): Add mpfr_if_f union field.
20078         (FUNC_mpfr_if_f): New macro.
20079         (test_functions): Add jn and yn.
20080         (calc_generic_results): Assert type of second input for
20081         mpfr_ff_f.  Handle mpfr_if_f.
20082         (output_for_one_input_case): Disable all checking for arguments
20083         fitting floating-point types in case of an integer argument.
20084         * sysdeps/i386/fpu/libm-test-ulps: Update.
20085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20088         Don't expect fegetround reference in libm.so.
20090 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20092         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20093         $(config-cflags-nofma).
20095 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20097         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20098         * math/auto-libm-test-out: Regenerated.
20100         [BZ #16338]
20101         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20102         to determine exponent and adjust argument to have exponent of -1.
20103         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20104         log2.
20105         * math/auto-libm-test-out: Regenerated.
20106         * sysdeps/i386/fpu/libm-test-ulps: Update.
20107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20109 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20111         * manual/probes.texi: Remove cases when per-thread arenas are
20112         disabled.
20114 2013-12-18  Andreas Schwab  <schwab@suse.de>
20116         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20117         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20118         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20119         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20120         * sysdeps/i386/i686/multiarch/Makefile: Update.
20121         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20123 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20125         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20126         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20128 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20130         [BZ #15968]
20131         Support TZ transition times < 00:00:00.
20132         This is needed for version-3 tz-format files; it supports time
20133         stamps past 2037 for America/Godthab (the only entry in the tz
20134         database for which this change is relevant).
20135         * manual/time.texi (TZ Variable): Document transition times
20136         from -167:59:59 through -00:00:01.
20137         * time/tzset.c (tz_rule): Time of day is now signed.
20138         (__tzset_parse_tz): Parse negative time of day.
20140         Document TZ transition times >= 25:00:00.
20141         * manual/time.texi (TZ Variable): Document transition times from
20142         25:00:00 through 167:59:59.  These are already supported, and this
20143         support will help with version-3 tz-format files.
20145         * manual/time.texi (TZ Variable): Modernize North America example
20146         to reflect current (i.e., 2007-and-later) daylight saving rules.
20148         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20150 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20152         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20153         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20156         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20157         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20158         * sysdeps/unix/bsd/clock.c: Likewise.
20159         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20160         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20161         * sysdeps/unix/bsd/init-posix.c: Likewise.
20162         * sysdeps/unix/bsd/poll.c: Likewise.
20163         * sysdeps/unix/bsd/ptsname.c: Likewise.
20164         * sysdeps/unix/bsd/seekdir.c: Likewise.
20165         * sysdeps/unix/bsd/setegid.c: Likewise.
20166         * sysdeps/unix/bsd/seteuid.c: Likewise.
20167         * sysdeps/unix/bsd/setgid.c: Likewise.
20168         * sysdeps/unix/bsd/setrgid.c: Likewise.
20169         * sysdeps/unix/bsd/setruid.c: Likewise.
20170         * sysdeps/unix/bsd/setsid.c: Likewise.
20171         * sysdeps/unix/bsd/setuid.c: Likewise.
20172         * sysdeps/unix/bsd/sigaction.c: Likewise.
20173         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20174         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20175         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20176         * sysdeps/unix/bsd/telldir.c: Likewise.
20177         * sysdeps/unix/bsd/times.c: Likewise.
20178         * sysdeps/unix/bsd/usleep.c: Likewise.
20180         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20181         ($(objpfx)libbsd-compat.a): Remove rule.
20183         * include/features.h (__FAVOR_BSD): Do not define.
20184         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20185         features conflicting with POSIX.
20186         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20187         (_BSD_SOURCE): Remove description of not being a subset of other
20188         feature test macros.
20189         * manual/job.texi (getpgrp): Do not document BSD version.
20190         (getpgid): Do not document by reference to BSD getpgrp.
20191         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20192         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20193         * signal/signal.h [__FAVOR_BSD]: Likewise.
20194         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20195         instead of making contents conditional on [__FAVOR_BSD].
20196         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20198 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20202 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20204         [BZ #16314]
20205         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20206         values below 2**-450, not 2**-500.
20207         * math/auto-libm-test-in: Don't allow spurious underflow from
20208         hypot.
20209         * math/auto-libm-test-out: Regenerated.
20211         [BZ #16316]
20212         [BZ #16330]
20213         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20214         values of ha and hb and sort them after adjusting subnormal
20215         arguments.
20216         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20217         Likewise.
20218         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20219         values of ea and eb and sort them after adjusting subnormal
20220         arguments.
20221         * math/auto-libm-test-in: Do not expect some hypot tests of
20222         subnormals to fail.  Add more hypot tests.
20223         * math/auto-libm-test-out: Regenerated.
20225 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20227         [BZ #13304]
20228         * sysdeps/sh/s_fma.c: New file.
20229         * sysdeps/sh/s_fmaf.c: New file.
20230         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20231         version.
20232         * sysdeps/sh/Implies: Add sh/soft-fp.
20234 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20236         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20237         level of indirection to members `objname', `errstring', `malloced'.
20238         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20239         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20240         it as the __longjmp argument (just pass 1 instead).
20241         (_dl_catch_error): Initialize C with argument pointers and address of
20242         volatile local ERRCODE rather than copying values out of C at return.
20244 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20246         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20247         * math/auto-libm-test-out: Regenerated.
20248         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20249         (hypot_test_data): Likewise.
20250         (pow_test_data): Likewise.
20251         (pow_tonearest_test_data): Likewise.
20252         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20253         mpfr_ff_f.
20254         (func_calc_desc): Add mpfr_ff_f union field.
20255         (FUNC_mpfr_ff_f): New macro.
20256         (test_functions): Add atan2, hypot and pow.
20257         (special_fill_min): New function.
20258         (special_fill_minus_min): Likewise.
20259         (special_fill_min_subnorm): Likewise.
20260         (special_fill_minus_min_subnorm): Likewise.
20261         (special_real_inputs): Add min, -min, min_subnorm and
20262         -min_subnorm.
20263         (calc_generic_results): Handle mpfr_ff_f.
20264         * sysdeps/i386/fpu/libm-test-ulps: Update.
20265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20267 2013-12-16  Will Newton  <will.newton@linaro.org>
20269         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20270         (Aligned Memory Blocks): Add documentation for aligned_alloc
20271         and suggest it as an alternative to posix_memalign.
20272         (Hooks for Malloc): Document __memalign_hook is also called
20273         for aligned_alloc.  (Summary of Malloc): Add summary for
20274         aligned alloc.  Document __memalign_hook is also called
20275         for aligned_alloc.
20277 2013-12-16  Will Newton  <will.newton@linaro.org>
20279         * manual/memory.texi (Malloc Examples): Clarify default
20280         alignment documentation.  Suggest posix_memalign rather
20281         than memalign or valloc.
20282         (Aligned Memory Blocks): Remove suggestion to use memalign
20283         or valloc.  Remove obsolete comment about BSD.
20284         Document memalign errno values and mark the function obsolete.
20285         Document posix_memalign returned error codes.  Mark valloc
20286         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20287         called for posix_memalign and valloc.
20288         (Summary of Malloc): Add posix_memalign to function summary.
20289         __memalign_hook is also called for posix_memalign and valloc.
20291 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20293         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20294         TAYLOR_SIN.
20295         (__sin): Adjust.
20296         (__cos): Likewise.
20297         (sloww): Use mynumber union.  Expand ternary operator into
20298         if-else statements.
20299         (cslow): use mynumber union.
20301 2013-12-16  Allan McRae  <allan@archlinux.org>
20303         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20304         * configure: Regenerated.
20306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20308         [BZ #14120]
20309         * configure.ac: Added --enable-maintainer-mode. Check for
20310         autoconf when enabled.
20311         * configure: Regenerated.
20313         * nscd/nscd.service: New file.
20314         * nscd/nscd.tmpfiles: New file.
20316 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20318         [BZ #12100]
20319         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20320         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20321         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20322         (strstr): Add __strstr_sse2_unaligned ifunc.
20323         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20324         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20325         (strcasestr): Remove __strcasestr_sse42 ifunc.
20326         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20330 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20332         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20333         * sysdeps/sh/bits/fenv.h: ... here.
20334         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20336 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20338         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20341         hypotf multiarch implementations.
20342         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20343         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20345         multiarch hypot for PPC64.
20346         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20349         multiarch hypotf for PPC64.
20351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20352         modff multiarch implementations.
20353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20356         multiarch modf for PPC64.
20357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20360         multiarch modff for PPC64.
20362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20363         and logl multiarch implementations.
20364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20367         multiarch logb for PPC64.
20368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20371         multiarch logb for PPC64.
20372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20375         multiarch logb for PPC64.
20377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20378         isinff multiarch implementation.
20379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20380         file.
20381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20383         multiarch isinf for PPC64.
20384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20385         file.
20386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20387         multiarch isinff for PPC64.
20389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20390         finitef multiarch implementation.
20391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20392         file.
20393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20395         multiarch finite for PPC64.
20396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20397         file.
20398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20399         multiarch finitef for PPC64.
20401         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20402         lrint multiarch implementation.
20403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20404         file.
20405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20407         multiarch llrint for PPC64.
20408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20409         multiarch lrint for PPC64.
20411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20412         copysignf multiarch implementation.
20413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20414         file.
20415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20416         file.
20417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20418         multiarch copysign for PPC64.
20419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20420         multiarch copysignf for PPC64.
20422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20423         multiarch implementation.
20424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20425         file.
20426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20427         file.
20428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20429         file.
20430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20431         file.
20432         multiarch llround for PPC64.
20433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20434         multiarch trunc for PPC64.
20435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20436         multiarch truncf for PPC64.
20438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20439         multiarch implementation.
20440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20441         file.
20442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20443         file.
20444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20445         file.
20446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20447         file.
20448         multiarch llround for PPC64.
20449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20450         multiarch round for PPC64.
20451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20452         multiarch roundf for PPC64.
20454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20455         multiarch implementation.
20456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20457         file.
20458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20459         file.
20460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20461         file.
20462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20463         file.
20464         multiarch llround for PPC64.
20465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20466         multiarch floor for PPC64.
20467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20468         multiarch floorf for PPC64.
20470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20471         multiarch implementation.
20472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20473         file.
20474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20475         file.
20476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20477         file.
20478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20479         file.
20480         multiarch llround for PPC64.
20481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20482         multiarch ceil for PPC64.
20483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20484         multiarch ceilf for PPC64.
20486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20487         multiarch implementation.
20488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20489         file.
20490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20491         file.
20492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20493         file.
20494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20495         multiarch llround for PPC64.
20496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20497         multiarch lround for PPC64.
20499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20500         multiarch implementation.
20501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20504         file.
20505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20508         multiarch isnan for PPC64.
20509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20510         multiarch isnanf for PPC64.
20512         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20513         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20514         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20515         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20516         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20519         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20520         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20521         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20525         multiarch implementations.
20526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20527         (__libc_ifunc_impl_list): Likewise.
20528         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20529         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20530         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20531         multiarch stpcpy for PPC64.
20533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20534         multiarch implementations.
20535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20536         (__libc_ifunc_impl_list): Likewise.
20537         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20538         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20539         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20540         multiarch strcpy for PPC64.
20542         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20543         redefine function name.
20544         (_wordcopy_fwd_dest_aligned): Likewise.
20545         (_wordcopy_bwd_aligned): Likewise.
20546         (_wordcopy_bwd_dest_aligned): Likewise.
20547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20548         multiarch implementations.
20549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20550         (__libc_ifunc_impl_list): Likewise.
20551         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20552         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20553         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20555         multiarch wcscpy for PPC64.
20557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20558         multiarch implementations.
20559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20560         (__libc_ifunc_impl_list): Likewise.
20561         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20562         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20563         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20564         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20565         multiarch wcscpy for PPC64.
20567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20568         multiarch implementations.
20569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20570         (__libc_ifunc_impl_list): Likewise.
20571         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20572         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20574         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20575         multiarch wcsrchr for PPC64.
20577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20578         multiarch implementations.
20579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20580         (__libc_ifunc_impl_list): Likewise.
20581         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20582         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20583         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20584         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20585         multiarch wcschr for PPC64.
20587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20588         multiarch implementations.
20589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20590         (__libc_ifunc_impl_list): Likewise.
20591         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20592         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20593         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20594         multiarch strchrnul for PPC64.
20596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20597         implementations.
20598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20599         (__libc_ifunc_impl_list): Likewise.
20600         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20601         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20602         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20603         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20604         strchr for PPC64.
20606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20607         implementations.
20608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20609         (__libc_ifunc_impl_list): Likewise.
20610         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20611         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20612         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20613         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20614         strncmp for PPC64.
20616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20617         multiarch implementations.
20618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20619         (__libc_ifunc_impl_list): Likewise.
20620         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20621         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20622         strncasecmp for PPC64.
20623         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20624         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20625         multiarch strncasecmp_l for PPC64.
20627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20628         multiarch implementations.
20629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20630         (__libc_ifunc_impl_list): Likewise.
20631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20632         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20633         multiarch strcasecmp for PPC64.
20634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20635         file.
20636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20637         multiarch strcasecmp_l for PPC64.
20639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20640         implementations.
20641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20642         (__libc_ifunc_impl_list): Likewise.
20643         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20644         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20645         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20646         strnlen for PPC64.
20648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20649         implementations.
20650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20651         (__libc_ifunc_impl_list): Likewise.
20652         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20653         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20654         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20655         strlen for PPC64.
20657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20658         implementations.
20659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20660         (__libc_ifunc_impl_list): Likewise.
20661         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20662         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20663         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20664         rawmemrchr for PPC64.
20666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20667         implementation.
20668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20669         (__libc_ifunc_impl_list): Likewise.
20670         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20671         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20672         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20673         memrchr for PPC64.
20675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20676         implementation.
20677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20678         (__libc_ifunc_impl_list): Likewise.
20679         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20680         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20681         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20682         memchr for PPC64.
20684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20685         implementation.
20686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20687         (__libc_ifunc_impl_list): Likewise.
20688         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20689         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20690         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20691         mempcpy for PPC64.
20693         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20694         avoid cretion of __bzero symbol.
20695         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20696         Likewise.
20697         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20698         Likewise.
20699         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20700         Likewise.
20701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20702         multiarch implementations.
20703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20704         (__libc_ifunc_impl_list): Likewise.
20705         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20706         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20707         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20708         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20709         bzero for PPC32.
20710         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20711         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20712         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20713         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20714         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20715         memset for PPC64.
20716         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20718         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20720         implementations.
20721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20722         (__libc_ifunc_impl_list): Likewise.
20723         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20724         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20725         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20726         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20727         memcmp for PPC64.
20729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20730         multiarch for POWER/PPC64.
20731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20732         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20733         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20734         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20735         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20736         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20737         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20739         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20740         memcpy for PPC64.
20742         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20743         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20744         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20745         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20746         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20747         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20748         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20749         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20750         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20751         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20752         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20753         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20754         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20755         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20756         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20765 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20769 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20771         * benchtests/Makefile (bench): Add exp2 and log2.
20772         (LDLIBS-bench-exp2): Add -lm.
20773         (LDLIBS-bench-log2): Likewise.
20774         * benchtests/exp2-inputs: New inputs file.
20775         * benchtests/log2-inputs: New inputs file.
20776         * benchtests/log-inputs: Add new inputs.
20777         * benchtests/tan-inputs: Likewise.
20779 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20781         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20782         definition...
20783         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20784         (csloww2): ... from here.
20786         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20787         instead of structures.
20788         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20789         (POLYNOMIAL): Likewise.
20790         (TAYLOR_SLOW): Likewise.
20791         (__sin): Likewise.
20792         (__cos): Likewise.
20793         (slow1): Likewise.
20794         (slow2): Likewise.
20795         (sloww): Likewise.
20796         (sloww1); Likewise.
20797         (sloww2): Likewise.
20798         (bsloww1): Likewise.
20799         (bsloww2): Likewise.
20800         (cslow2): Likewise.
20801         (csloww): Likewise.
20802         (csloww1): Likewise.
20803         (csloww2): Likewise.
20805 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
20807         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20808         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20809         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20810         * malloc/hooks.c (realloc_check): Likewise.
20812         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20813         * malloc/arena.c: Remove PER_THREAD conditional.
20814         [!PER_THREAD]: Remove code.
20815         (ptmalloc_unlock_all2): Likewise.
20816         (ptmalloc_init): Likewise.
20817         (_int_new_arena): Likewise.
20818         (arena_get2): Likewise.
20819         * malloc/hooks.c (__malloc_get_state): Likewise.
20820         (__malloc_set_state): Likewise.
20821         * malloc/malloc.c: Likewise.
20822         (struct malloc_state): Likewise.
20823         (struct malloc_par): Likewise.
20824         (__libc_realloc): Likewise.
20825         (__libc_mallopt): Likewise.
20827 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20829         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20831 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20833         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20834         macro to a function.  Check for zero perturb_byte.
20835         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20837         * malloc/malloc.c: (force_reg): Remove.
20838         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20839         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20840         force_reg by atomic_forced_read.
20841         * malloc/arena.c (ptmalloc_init): Likewise.
20842         * malloc/hooks.c (top_check): Likewise.
20844 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20848 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20852 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20854         * math/auto-libm-test-in: Add tests of lgamma.
20855         * math/auto-libm-test-out: Regenerated.
20856         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20857         (M_LOG_2_SQRT_PIl): Likewise.
20858         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20859         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20860         mpfr_f_f1.
20861         (func_calc_desc): Add mpfr_f_f1 union field.
20862         (ARGS1): New macro.
20863         (ARGS2): Likewise.
20864         (ARGS3): Likewise.
20865         (ARGS4): Likewise.
20866         (RET1): Likewise.
20867         (RET2): Likewise.
20868         (CALC): Likewise.
20869         (FUNC): Likewise.
20870         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20871         (test_functions): Add lgamma.
20872         (calc_generic_results): Handle mpfr_f_f1.
20873         * sysdeps/i386/fpu/libm-test-ulps: Update.
20874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20876 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20878         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20879         __mpn_add_n for PowerPC64/POWER7.
20880         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20881         __mpn_sub_n for PowerPC64/POWER7.
20883         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20884         __mpn_addmul_1 for PowerPC64.
20885         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20886         __mpn_submul_1 for PowerPC64.
20887         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20888         for PowerPC64.
20889         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20890         for PowerPC64.
20892 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20894         [BZ #15089]
20895         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20897 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20899         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20901         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20902         add multiarch folders.
20903         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20904         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20905         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20906         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20907         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20908         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20909         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20910         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20911         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20912         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20913         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20922         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20924         New file.
20925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20926         New file.
20927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20928         multiarch __ieee754_hypot for PowerPC32.
20929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20930         New file.
20931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20932         New file.
20933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20934         multiarch __ieee754_hypotf for PowerPC32.
20936         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20937         long_double_symbol only if __logbl is defined.
20938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20939         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20941         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20943         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20945         path for implementation.
20946         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20947         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20949         logb, and logbl multiarch implementations for PowerPC32.
20950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20951         file.
20952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20953         file.
20954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20955         multiarch logb for PowerPC32.
20956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20957         file.
20958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20959         file.
20960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20961         multiarch logbf for PowerPC32.
20962         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20964         file.
20965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20966         multiarch logbl implementation for PowerPC32.
20968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20969         and modff multiarch implementations.
20970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20971         New file.
20972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20973         New file.
20974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20975         multiarch modf for PowerPC32.
20976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20977         New file.
20978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20979         New file.
20980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20981         multiarch modff for PowerPC32.
20983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20984         and lrintf multiarch implementations.
20985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20986         New file.
20987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20988         New file.
20989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20990         multiarch lrint for PowerPC32.
20991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20992         file: multiarch lrintf for PowerPC32.
20994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20995         and lroundf multiarch implementations.
20996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20997         New file.
20998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20999         New file.
21000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21001         New file.
21002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21003         multiarch lround for PowerPC32.
21004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21005         file: multiarch lroundf for PowerPC32.
21007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21008         copysign and copysignf multiarch implementations.
21009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21010         New file.
21011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21012         New file.
21013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21014         file: multiarch copysign for PowerPC32.
21015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21016         file: multiarch copysignf for PowerPC32.
21018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21019         and truncf multiarch implementations.
21020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21021         New file.
21022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21023         file.
21024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21025         multiarch trunc for PowerPC32.
21026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21027         New file.
21028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21029         New file.
21030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21031         multiarch truncf for PowerPC32.
21033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21034         and roundf multiarch implementations.
21035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21036         New file.
21037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21038         file.
21039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21040         multiarch round for PowerPC32.
21041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21042         New file.
21043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21044         New file.
21045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21046         multiarch roundf for PowerPC32.
21048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21049         and floorf multiarch implementations.
21050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21051         New file.
21052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21053         file.
21054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21055         multiarch floor for PowerPC32.
21056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21057         New file.
21058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21059         New file.
21060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21061         multiarch floorf for PowerPC32.
21063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21064         and ceilf multiarch implementations.
21065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21066         New file.
21067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21068         file.
21069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21070         multiarch ceil for PowerPC32.
21071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21072         New file.
21073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21074         file.
21075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21076         multiarch ceilf for PowerPC32.
21078         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21079         is defined.
21080         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21081         FINITEF is defined.
21082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21083         and finitef multiarch implementations.
21084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21085         New file.
21086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21087         file.
21088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21089         multiarch finite for PowerPC32.
21090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21091         New file.
21092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21093         file: multiarch finitef for PowerPC32.
21095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21096         and isinff multiarch implementations.
21097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21098         file.
21099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21100         file.
21101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21102         multiarch isinf for PowerPC32.
21103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21104         New file.
21105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21106         multiarch isinff for PowerPC32.
21108         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21109         alias when __isnan is defined.
21110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21111         and isnanf multiarch implementations.
21112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21113         file.
21114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21115         file.
21116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21117         file.
21118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21119         file.
21120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21121         multiarch isnan for PowerPC32.
21122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21123         New file.
21124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21125         New file.
21126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21127         multiarch isnanf for PowerPC32.
21129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21130         and sqrtf multiarch implementations.
21131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21132         file.
21133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21134         file.
21135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21136         multiarch sqrt for PowerPC32.
21137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21138         file.
21139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21140         file.
21141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21142         multiarch sqrtf for PowerPC32.
21144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21145         and llroundf multiarch implementations.
21146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21147         New file.
21148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21149         New file.
21150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21151         New file.
21152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21153         file: multiarch llround for PowerPC32.
21154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21155         file: multiarch llroundf for PowerPC32.
21157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21158         multiarch PowerPC32 fpu implementations.
21159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21160         New file.
21161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21162         New file.
21163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21164         multiarch llrint for PowerPC32.
21165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21166         New file.
21167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21168         New file.
21169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21170         file.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21174         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21175         file.
21176         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21177         file.
21178         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21179         file.
21180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21181         multiarch wordcopy for PPC32.
21182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21183         wordcopy objects.
21184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21185         (__libc_ifunc_impl_list): Likewise.
21186         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21187         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21188         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21189         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21190         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21191         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21193         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21195         file.
21196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21197         file.
21198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21199         file.
21200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21201         multiarch wcscpy for PPC32.
21202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21203         multiarch objects.
21204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21205         (__libc_ifunc_impl_list): Likewise.
21206         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21207         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21208         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21209         sysdeps/powerpc/power6/wcscpy.c.
21211         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21212         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21213         file.
21214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21215         file.
21216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21217         file.
21218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21219         multiarch wcsrchr for PPC32.
21220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21221         multiarch objects.
21222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21223         (__libc_ifunc_impl_list): Likewise.
21224         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21225         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21226         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21227         sysdeps/powerpc/power6/wcsrchr.c.
21229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21230         file.
21231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21232         file.
21233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21235         multiarch wcschr for PPc32.
21236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21237         multiarch objects.
21238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21239         (__libc_ifunc_impl_list): Likewise.
21240         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21241         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21242         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21243         sysdeps/powerpc/power6/wcschr.c.
21245         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21246         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21247         file.
21248         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21249         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21250         file: multiarch strchr for PPC32.
21251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21252         multiarch objects.
21253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21254         (__libc_ifunc_impl_list): Likewise.
21256         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21257         name.
21258         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21259         file.
21260         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21261         file.
21262         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21263         multiarch strchrnul for PPC32.
21264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21265         multiarch objects.
21266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21267         (__libc_ifunc_impl_list): Likewise.
21269         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21270         file.
21271         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21272         multiarch strncasecmp for PPC32.
21273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21274         file.
21275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21276         multiarch strncasecmp_l for PPC32.
21277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21278         strncasecmp multiarch objects.
21279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21280         (__libc_ifunc_impl_list): Likewise.
21282         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21283         file.
21284         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21285         multiarch strncasecmp for PPC32.
21286         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21287         New file.
21288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21289         multiarch strcasecmp_l for PPC32.
21290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21291         multiarch objects.
21292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21293         (__libc_ifunc_impl_list): Likewise.
21295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21296         file.
21297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21298         file.
21299         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21300         multiarch strncmp for PPC32.
21301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21302         multiarch objects.
21303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21304         (__libc_ifunc_impl_list): Likewise.
21306         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21307         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21308         file.
21309         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21310         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21312         multiarch objects.
21313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21314         (__libc_ifunc_impl_list): Likewise.
21316         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21317         file.
21318         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21319         file.
21320         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21322         multiarch objects.
21323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21324         (__libc_ifunc_impl_list): Likewise.
21326         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21327         file.
21328         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21329         file.
21330         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21331         multiarch rawmemchr for PPC32.
21332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21333         multiarch objects.
21334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21335         (__libc_ifunc_impl_list): Likewise.
21337         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21338         file.
21339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21340         file.
21341         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21342         file: memrchr multiarch for PPC32.
21343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21344         multiarch objects.
21345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21346         (__libc_ifunc_impl_list): Likewise.
21348         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21349         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21350         file.
21351         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21353         multiarch memchr for PPC32.
21354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21355         multiarch objects.
21356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21357         (__libc_ifunc_impl_list): Likewise.
21359         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21360         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21361         file.
21362         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21363         file.
21364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21365         file: multiarch mempcpy for PPC32.
21366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21367         multiarch objects.
21368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21369         (__libc_ifunc_impl_list): Likewise.
21371         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21372         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21373         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21374         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21375         multiarch bzero for PPC32.
21376         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21377         file.
21378         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21379         file.
21380         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21381         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21382         file: multiarch memset for PPC32.
21383         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21385         memset multiarch objects.
21386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21387         (__libc_ifunc_impl_list): Likewise.
21389         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21390         file.
21391         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21392         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21393         memcmp for PPC32.
21394         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21396         multiarch objects.
21397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21398         (__libc_ifunc_impl_list): Likewise.
21400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21403         file.
21404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21405         file.
21406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21407         file.
21408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21409         multiarch memcpy for PPC32.
21410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21411         multiarch objects.
21412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21413         (__libc_ifunc_impl_list): Likewise.
21415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21416         support multiarch for POWER/PPC32.
21417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21418         Likewise.
21419         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21421         Implies file to make multiarch folder appers before the fpu and
21422         default folder for power4 configuration.
21424 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21426         * scripts/bench.pl: Append volatile keyword to type.
21428 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21430         * sysdeps/sh/sotruss-lib.c: New file.
21431         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21433 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21437 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21439         [BZ #6810]
21440         * math/w_tgamma.c: Include <errno.h>.
21441         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21442         * math/w_tgammaf.c: Include <errno.h>.
21443         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21444         * math/w_tgammal.c: Include <errno.h>.
21445         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21446         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21447         underflow.  Add more tgamma tests.
21448         * math/auto-libm-test-out: Regenerated.
21449         * sysdeps/i386/fpu/libm-test-ulps: Update.
21450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21452         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21453         sin, sinh, tan, tanh, tgamma, y0 and y1.
21454         * math/auto-libm-test-out: Regenerated.
21455         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21456         (TEST_COND_x86): Likewise.
21457         (M_E2l): Remove macro.
21458         (M_E3l): Likewise.
21459         (M_2_SQRT_PIl): Likewise.
21460         (M_SQRT_PIl): Likewise.
21461         (M_1_DIV_El): Likewise.
21462         (log_test_data): Use AUTO_TESTS_f_f.
21463         (log10_test_data): Likewise.
21464         (log1p_test_data): Likewise.
21465         (log2_test_data): Likewise.
21466         (sin_test_data): Likewise.
21467         (sin_tonearest_test_data): Likewise.
21468         (sin_towardzero_test_data): Likewise.
21469         (sin_downward_test_data): Likewise.
21470         (sin_upward_test_data): Likewise.
21471         (sinh_test_data): Likewise.
21472         (sinh_tonearest_test_data): Likewise.
21473         (sinh_towardzero_test_data): Likewise.
21474         (sinh_downward_test_data): Likewise.
21475         (sinh_upward_test_data): Likewise.
21476         (tan_test_data): Likewise.
21477         (tan_tonearest_test_data): Likewise.
21478         (tan_towardzero_test_data): Likewise.
21479         (tan_downward_test_data): Likewise.
21480         (tan_upward_test_data): Likewise.
21481         (tanh_test_data): Likewise.
21482         (tgamma_test_data): Likewise.
21483         (y0_test_data): Likewise.
21484         (y1_test_data): Likewise.
21485         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21486         (special_real_inputs): Add pi/4.
21487         * sysdeps/i386/fpu/libm-test-ulps: Update.
21488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21490 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21492         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21493         "longjmp_target" static probes.
21494         (__longjmp): Rename to __longjmp_symbol.
21495         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21496         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21497         on which longjmp to generate.
21498         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21499         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21500         probe.
21501         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21502         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21503         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21504         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21505         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21506         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21508         __longjmp_symbol based on which __longjmp to generate.
21509         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21510         probe.
21511         (setjmp): Rename to setjmp_symbol.
21512         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21513         (_setjmp): Rename to _setjmp_symbol.
21514         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21515         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21516         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21517         which setjmp to generate.
21518         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21519         "longjmp_target" static probes.
21521 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21523         * benchtests/README: Add note about output arguments.
21524         * benchtests/bench-sincos.c: Remove file.
21525         * benchtests/sincos-inputs: New file.
21526         * scripts/bench.pl: Identify output arguments and define
21527         static variables for them.
21529         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21531         [BZ #15941]
21532         * Makefile (INSTALL): Add install-plain.texi as the primary
21533         dependency.
21534         * manual/install-plain.texi: New file.
21535         * manual/install.texi: Include node directive only for
21536         non-plaintext output.
21538 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21540         * stdlib/longlong.h: Update from GCC.
21542         [BZ #6807]
21543         [BZ #15901]
21544         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21545         * math/w_j0f.c (y0f): Likewise.
21546         * math/w_j0l.c (__y0l): Likewise.
21547         * math/w_j1.c (y1): Likewise.
21548         * math/w_j1f.c (y1f): Likewise.
21549         * math/w_j1l.c (__y1l): Likewise
21550         * math/w_jn.c (yn): Likewise.
21551         * math/w_jnf.c (ynf): Likewise.
21552         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21553         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21554         value for Bessel function domain errors outside _SVID_ mode.
21555         Adjust sign of return value for yn (negative integer, 0).
21556         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21557         by zero in return for negative x and set sign appropriately for
21558         negative n.
21559         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21560         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21561         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21562         expectations in error cases.
21563         (y1_test_data): Likewise.
21564         (yn_test_data): Likewise.
21565         * sysdeps/i386/fpu/libm-test-ulps: Update.
21566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21568 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21570         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21571         "64" to "64-v1".  Add "64-v2".
21572         (abi-64-options): Rename to ...
21573         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21574         (abi-64-condition): Rename to ...
21575         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21576         (abi-64-ld-soname): Rename to ...
21577         (abi-64-v1-ld-soname): ... this.
21578         (abi-64-v2-options): Define.
21579         (abi-64-v2-condition): Likewise.
21580         (abi-64-v2-ld-soname): Likewise.
21581         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21582         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21587 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21588             Alan Modra  <amodra@gmail.com>
21590         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21591         New versions for use with the ELFv2 ABI.
21592         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21593         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21594         declaration.
21595         (struct La_ppc64v2_retval): Likewise.
21596         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21597         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21598         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21599         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21600         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21601         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21602         Do not save or restore CR.
21603         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21604         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21605         return values for ELFv2 ABI.  Fix location of FPR return registers.
21606         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21607         updated values for _CALL_ELF == 2.
21608         (La_regs, La_retval, int_retval): Likewise.
21610 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21612         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21613         (FRAME_MIN_SIZE_PARM): Likewise.
21614         (FRAME_BACKCHAIN): Likewise.
21615         (FRAME_CR_SAVE): Likewise.
21616         (FRAME_LR_SAVE): Likewise.
21617         (FRAME_TOC_SAVE): Likewise.
21618         (FRAME_PARM_SAVE): Likewise.
21619         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21620         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21621         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21622         (call_mcount_parm_offset): New macro.
21623         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21624         (PROF): Use symbolic stack frame offsets.
21625         (TAIL_CALL_SYSCALL_ERROR): Likewise.
21626         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21627         Redefine in terms of FRAME_MIN_SIZE.
21628         (_dl_runtime_resolve): Use symbolic stack frame offsets.
21629         (_dl_profile_resolve): Likewise.  Update comment.
21630         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21631         symbols stack frame offsets.
21632         (__sigsetjmp): Likewise.
21633         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21634         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21635         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21636         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21639         (FRAME_BACKCHAIN): Remove.
21640         (FRAME_CR_SAVE): Likewise.
21641         (FRAME_LR_SAVE): Likewise.
21642         (FRAME_COMPILER_DW): Likewise.
21643         (FRAME_LINKER_DW): Likewise.
21644         (FRAME_TOC_SAVE): Likewise.
21645         (FRAME_PARM_SAVE): Likewise.
21646         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21647         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21648         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21650         (CHECK_SP): Use symbolic stack frame offsets.
21651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21652         zone" instead of caller's parameter save area for temp storage.
21653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21654         Likewise.  Also, use symbolic stack frame offsets.
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21656         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21657         our own stack frame instead of the caller's.
21658         (__socket): Use symbolic stack frame offsets.
21660 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21661             Alan Modra  <amodra@gmail.com>
21663         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21664         Define.
21665         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21666         (PPC64_LOCAL_ENTRY_OFFSET): Define.
21667         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21668         New function.
21669         (elf_machine_fixup_plt): Call it.
21670         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
21671         reloc arguments.
21672         (elf_machine_rela): Update call to elf_machine_plt_conflict.
21673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21674         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21675         r2 before calling target.
21677 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21678             Alan Modra  <amodra@gmail.com>
21680         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21681         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21682         versions of macros to support ELFv2 ABI.
21683         (LOCALENTRY): New macro.
21684         (ENTRY, EALIGN): Use it.
21685         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21686         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21687         fall through into ENTRY entry point.
21688         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21689         Only define if _CALL_ELF != 2.
21691         (elf_machine_matches_host): Verify ABI version matches.
21692         (RTLD_START): Use LOCALENTRY.
21693         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21694         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21695         (PLT_ENTRY_WORDS): New macro.
21696         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21697         (elf_machine_runtime_setup): Support ELFv2 ABI.
21698         (elf_machine_fixup_plt): Likewise.
21699         (elf_machine_plt_conflict): Likewise.
21700         (resolve_ifunc): Likewise.
21701         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21702         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21703         Likewise.
21704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21705         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21707         (makecontext): Support ELFv2 ABI.
21708         * elf/elf.h (EF_PPC64_ABI): Define.
21710 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21712         * sysdeps/powerpc/powerpc64/sysdep.h
21713         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21714         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21715         (ENTRY) [ASSEMBLER]: ... but instead here ...
21716         (EALIGN) [ASSEMBLER]: ... and here.
21717         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21718         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21719         (ENTRY_2) [!ASSEMBLER]: Use it.
21720         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21721         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
21722         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21723         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21724         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21726         Use PPC64_LOAD_FUNCPTR.
21728         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21730 2013-12-04  Alan Modra  <amodra@gmail.com>
21732         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21733         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21734         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21735         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21737         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21738         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21739         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21740         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21741         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21742         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21744 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21747         (__makecontext): Fix incorrect CFI when backtracing out of
21748         context created via makecontext.
21749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21750         (__setcontext): Fix incorrect CFI during switch to new context.
21751         (__novec_setcontext): Likewise.
21753 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21755         [BZ #4772]
21756         * time/strptime_l.c (__strptime_internal): Allow modifiers
21757         in strptime.
21758         * time/tst-strptime.c (day_tests): Add testcase.
21760 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21762         * scripts/bench.pl: Skip over blank lines.
21764 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21766         [BZ #926]
21767         * manual/time.texi (Calendar Time): Clarify what timezone functions
21768         use.
21770 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21774 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21776         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21777         implementation.
21778         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21779         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21780         * debug/memset_chk.c (__memset_chk): Likewise.
21781         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21782         * debug/strncpy_chk.c: Likewise.
21784 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #15268]
21787         [BZ #15425]
21788         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21789         (__ieee754_exp): For possibly underflowing results, check size of
21790         result and force underflow exception if required.
21791         * math/auto-libm-test-in: Add more tests of exp.
21792         * math/auto-libm-test-out: Regenerated.
21793         * sysdeps/i386/fpu/libm-test-ulps: Update.
21794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796         [BZ #16283]
21797         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21798         * math/w_exp2f.c (__exp2f): Likewise.
21799         * math/w_exp2l.c (__exp2l): Likewise.
21800         * math/auto-libm-test-in: Do not allow missing errno on exp2
21801         underflow.
21802         * math/auto-libm-test-out: Regenerated.
21804 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
21806         [BZ #16274]
21807         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21808         handle filename validation.
21809         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21810         (do_open): Delete.
21812 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21814         [BZ #6786]
21815         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21816         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21817         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21818         <float.h>.
21819         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21820         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21821         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21823         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21824         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21825         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21826         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21827         Add more erfc tests.
21828         * math/auto-libm-test-out: Regenerated.
21829         * sysdeps/i386/fpu/libm-test-ulps: Update.
21830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21832         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21833         exp2, expm1, j0 and j1.
21834         * math/auto-libm-test-out: Regenerated.
21835         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21836         (erfc_test_data): Likewise.
21837         (exp_test_data): Likewise.
21838         (exp_tonearest_test_data): Likewise.
21839         (exp_towardzero_test_data): Likewise.
21840         (exp_downward_test_data): Likewise.
21841         (exp_upward_test_data): Likewise.
21842         (exp10_test_data): Likewise.
21843         (exp2_test_data): Likewise.
21844         (expm1_test_data): Likewise.
21845         (j0_test_data): Likewise.
21846         (j1_test_data): Likewise.
21847         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21848         (input_flag_type): Add flag_xfail_rounding.
21849         (input_flags): Add xfail-rounding.
21850         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21851         (output_for_one_input_case): Handle flag_xfail_rounding.
21852         * sysdeps/i386/fpu/libm-test-ulps: Update.
21853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21855 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21857         [BZ #16289]
21858         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21859         division by 0.
21861 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21863         [BZ #16195]
21864         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21865         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21866         (STAP_PROBE0): New macro.
21867         (STAP_PROBE1): Likewise.
21868         (STAP_PROBE2): Likewise.
21869         (STAP_PROBE3): Likewise.
21870         (STAP_PROBE4): Likewise.
21872 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21874         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21876 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21878         * benchtests/Makefile (bench): Add sqrt.
21879         (LDLIBS-bench-sqrt): New.
21880         * benchtests/sqrt-input: New.
21882 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21884         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21885         (GAIH_EAI): Likewise.
21886         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21887         (gaih_inet): Likewise.
21888         (getaddrinfo): Don't use GAIH_EAI.
21890         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21891         (struct gaih): Remove definition.
21893 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21895         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21896         Use HERRNOP directly.
21898 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21902 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21904         * math/gen-auto-libm-tests.c (test_functions): Add more
21905         single-argument functions.
21906         (special_fill_pi_2): New function.
21907         (special_fill_minus_pi_2): Likewise.
21908         (special_fill_pi_6): Likewise.
21909         (special_fill_minus_pi_6): Likewise.
21910         (special_fill_pi_3): Likewise.
21911         (special_fill_2pi_3): Likewise.
21912         (special_fill_e): Likewise.
21913         (special_fill_1_e): Likewise.
21914         (special_fill_e_minus_1): Likewise.
21915         (special_real_inputs): Add more special inputs.
21916         (output_for_one_input_case): Do not require ERANGE on underflow to
21917         zero if round-to-nearest result does not underflow to zero, unless
21918         exact results required.
21919         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21920         atan, atanh, cbrt, cos and cosh.
21921         * math/auto-libm-test-out: Regenerated.
21922         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21923         (acos_tonearest_test_data): Likewise.
21924         (acos_towardzero_test_data): Likewise.
21925         (acos_downward_test_data): Likewise.
21926         (acos_upward_test_data): Likewise.
21927         (acosh_test_data): Likewise.
21928         (asin_test_data): Likewise.
21929         (asin_tonearest_test_data): Likewise.
21930         (asin_towardzero_test_data): Likewise.
21931         (asin_upward_test_data): Likewise.
21932         (asinh_test_data): Likewise.
21933         (atan_test_data): Likewise.
21934         (atanh_test_data): Likewise.
21935         (cbrt_test_data): Likewise.
21936         (cos_test_data): Likewise.
21937         (cos_tonearest_test_data): Likewise.
21938         (cos_towardzero_test_data): Likewise.
21939         (cos_downward_test_data): Likewise.
21940         (cos_upward_test_data): Likewise.
21941         (cosh_test_data): Likewise.
21942         (cosh_tonearest_test_data): Likewise.
21943         (cosh_towardzero_test_data): Likewise.
21944         (cosh_downward_test_data): Likewise.
21945         (cosh_upward_test_data): Likewise.
21946         * sysdeps/i386/fpu/libm-test-ulps: Update.
21947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21949 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21951         [BZ #6787]
21952         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21953         * math/w_exp10f.c (__exp10f): Likewise.
21954         * math/w_exp10l.c (__exp10l): Likewise.
21955         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21956         errno settings in existing tests.
21958         [BZ #14032]
21959         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21960         precision control set to double precision.
21961         * sysdeps/i386/fpu/w_sqrt.c: New file.
21962         * math/auto-libm-test-in: Add more tests.
21963         * math/auto-libm-test-out: Update.
21965         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21966         (sqrt_test_tonearest): New function.
21967         (sqrt_towardzero_test_data): New variable.
21968         (sqrt_test_towardzero): New function.
21969         (sqrt_downward_test_data): New variable.
21970         (sqrt_test_downward): New function.
21971         (sqrt_upward_test_data): New variable.
21972         (sqrt_test_upward): New function.
21973         (main): Call the new functions.
21975         * math/gen-auto-libm-tests.c: New file.
21976         * math/auto-libm-test-in: Likewise.
21977         * math/auto-libm-test-out: New generated file.
21978         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21979         variables.
21980         (%beautify): Add generated representations of zero.
21981         (top level): Set $auto_input and call parse_auto_input.
21982         (beautify): Remove trailing "f" from hex float constants.
21983         (parse_args): Handle XFAIL_TEST.
21984         (convert_condition): New function.
21985         (or_value): Likewise.
21986         (or_cond_value): Likewise.
21987         (generate_testfile): Handle AUTO_TESTS_* lines.
21988         (parse_auto_input): New function.
21989         * math/libm-test.inc (XFAIL_TEST): New macro.
21990         (ERRNO_UNCHANGED): Update value.
21991         (ERRNO_EDOM): Likewise.
21992         (ERRNO_ERANGE): Likewise.
21993         (IGNORE_RESULT): Likewise.
21994         (TEST_COND_flt_32): New macro.
21995         (TEST_COND_dbl_64): Likewise.
21996         (TEST_COND_ldbl_96_intel): Likewise.
21997         (TEST_COND_ldbl_96_m68k): Likewise.
21998         (TEST_COND_ldbl_128): Likewise.
21999         (TEST_COND_ldbl_128ibm): Likewise.
22000         (TEST_COND_long32): Likewise.
22001         (TEST_COND_long64): Likewise.
22002         (TEST_COND_before_rounding): Likewise.
22003         (TEST_COND_after_rounding): Likewise.
22004         (enable_test): Handle XFAIL_TEST flag.
22005         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22006         with finite results.
22007         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22008         auto-libm-test-out.
22010 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22011             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22013         [BZ #16214]
22014         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22015         __tls_get_addr_internal instead of __tls_get_offset in order to
22016         avoid GOT pointer dependency.  Make rtld export
22017         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22018         __tls_get_addr since we are a __tls_get_offset platform.
22019         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22020         GOT pointer being set up before.
22021         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22023 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22025         * manual/math.texi (Errors in Math Functions): Document accuracy
22026         goals.
22028         [BZ #15004]
22029         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22030         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22031         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22032         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22033         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22034         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22035         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22036         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22037         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22038         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22039         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22040         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22041         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22042         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22043         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22044         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22046         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22047         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22048         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22049         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22050         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22051         Likewise.
22052         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22053         Likewise.
22054         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22055         Likewise.
22056         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22057         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22058         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22059         atomic-feupdateenv and flt-rounds.
22060         * sysdeps/powerpc/nofpu/Versions (libc): Add
22061         __atomic_feholdexcept, __atomic_feclearexcept,
22062         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22064         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22065         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22066         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22067         here.
22068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22069         Update.
22071         * manual/arith.texi (FP Exceptions): Document that exceptions may
22072         not be raised when matherr is used.
22073         (Math Error Reporting): Document overflow in directed rounding
22074         modes.  Document that errno may not be set when finite values are
22075         returned on overflow.  Document intent to set errno on underflow
22076         only for underflow to zero.
22078         [BZ #16271]
22079         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22080         round-to-nearest then adjust result for other rounding modes.
22081         * include/fenv.h (fegetround): Use libm_hidden_proto.
22082         * math/fegetround.c (fegetround): Use libm_hidden_def.
22083         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22084         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22085         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22086         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22087         Likewise.
22088         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22089         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22090         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22091         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22093 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22095         [BZ #16077]
22096         * nss/Versions (libnss_files): Add
22097         _nss_files_gethostbyname3_r.
22098         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22099         New function.
22100         (HOST_DB_LOOKUP): Remove macro.
22101         (_nss_files_gethostbyname_r): Implement function without the
22102         HOST_DB_LOOKUP macro.
22103         (_nss_files_gethostbyname2_r): Likewise.
22105 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22107         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22109 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22111         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22112         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22113         warning.
22115 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22117         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22118         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22119         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22120         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22121         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22122         __fe_nomask_env_priv and attribute_hidden.
22123         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22124         (libc_feupdateenv_test_ppc): Likewise.
22125         (libc_feresetround_ppc): Likewise.
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22127         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22128         compat_symbol macro.
22129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22130         (__fe_nomask_env): Likewise.
22131         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22133 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22135         * string/Makefile: Remove ifunc tests.
22136         * string/test-string.h: Define TEST_IFUNC.
22137         * string/test-bcopy-ifunc.c: Remove.
22138         * string/test-bzero-ifunc.c: Likewise.
22139         * string/test-memccpy-ifunc.c: Likewise.
22140         * string/test-memchr-ifunc.c: Likewise.
22141         * string/test-memcmp-ifunc.c: Likewise.
22142         * string/test-memcpy-ifunc.c: Likewise.
22143         * string/test-memmem-ifunc.c: Likewise.
22144         * string/test-memmove-ifunc.c: Likewise.
22145         * string/test-mempcpy-ifunc.c: Likewise.
22146         * string/test-memrchr-ifunc.c: Likewise.
22147         * string/test-memset-ifunc.c: Likewise.
22148         * string/test-rawmemchr-ifunc.c: Likewise.
22149         * string/test-stpcpy-ifunc.c: Likewise.
22150         * string/test-stpncpy-ifunc.c: Likewise.
22151         * string/test-strcasecmp-ifunc.c: Likewise.
22152         * string/test-strcasestr-ifunc.c: Likewise.
22153         * string/test-strcat-ifunc.c: Likewise.
22154         * string/test-strchr-ifunc.c: Likewise.
22155         * string/test-strchrnul-ifunc.c: Likewise.
22156         * string/test-strcmp-ifunc.c: Likewise.
22157         * string/test-strcpy-ifunc.c: Likewise.
22158         * string/test-strcspn-ifunc.c: Likewise.
22159         * string/test-strlen-ifunc.c: Likewise.
22160         * string/test-strncasecmp-ifunc.c: Likewise.
22161         * string/test-strncat-ifunc.c: Likewise.
22162         * string/test-strncmp-ifunc.c: Likewise.
22163         * string/test-strncpy-ifunc.c: Likewise.
22164         * string/test-strnlen-ifunc.c: Likewise.
22165         * string/test-strpbrk-ifunc.c: Likewise.
22166         * string/test-strrchr-ifunc.c: Likewise.
22167         * string/test-strspn-ifunc.c: Likewise.
22168         * string/test-strstr-ifunc.c: Likewise.
22170 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22172         * benchtests/Makefile: Remove ifunc tests.
22173         * benchtests/bench-string.h: Define TEST_IFUNC.
22174         * benchtests/bench-bcopy-ifunc.c: Remove.
22175         * benchtests/bench-bzero-ifunc.c: Likewise.
22176         * benchtests/bench-memccpy-ifunc.c: Likewise.
22177         * benchtests/bench-memchr-ifunc.c: Likewise.
22178         * benchtests/bench-memcmp-ifunc.c: Likewise.
22179         * benchtests/bench-memcpy-ifunc.c: Likewise.
22180         * benchtests/bench-memmem-ifunc.c: Likewise.
22181         * benchtests/bench-memmove-ifunc.c: Likewise.
22182         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22183         * benchtests/bench-memrchr-ifunc.c: Likewise.
22184         * benchtests/bench-memset-ifunc.c: Likewise.
22185         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22186         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22187         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22188         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22189         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22190         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22191         * benchtests/bench-strcat-ifunc.c: Likewise.
22192         * benchtests/bench-strchr-ifunc.c: Likewise.
22193         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22194         * benchtests/bench-strcmp-ifunc.c: Likewise.
22195         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22196         * benchtests/bench-strcpy-ifunc.c: Likewise.
22197         * benchtests/bench-strcspn-ifunc.c: Likewise.
22198         * benchtests/bench-strlen-ifunc.c: Likewise.
22199         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22200         * benchtests/bench-strncat-ifunc.c: Likewise.
22201         * benchtests/bench-strncmp-ifunc.c: Likewise.
22202         * benchtests/bench-strncpy-ifunc.c: Likewise.
22203         * benchtests/bench-strnlen-ifunc.c: Likewise.
22204         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22205         * benchtests/bench-strrchr-ifunc.c: Likewise.
22206         * benchtests/bench-strsep-ifunc.c: Likewise.
22207         * benchtests/bench-strspn-ifunc.c: Likewise.
22208         * benchtests/bench-strstr-ifunc.c: Likewise.
22210 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22212         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22214 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22216         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22217         * rt/aio.h: Likewise.
22218         * sysdeps/gnu/bits/utmp.h: Likewise.
22219         * sysdeps/gnu/bits/utmpx.h: Likewise.
22220         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22221         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22222         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22223         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22224         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22225         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22226         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22227         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22228         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22229         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22230         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22231         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22232         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22234         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22235         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22236         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22237         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22238         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22239         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22240         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22241         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22242         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22243         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22244         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22246         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22247         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22248         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22249         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22250         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22251         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22252         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22253         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22254         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22255         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22256         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22257         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22258         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22259         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22260         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22261         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22263 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22265         [BZ #16245]
22266         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22267         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22269 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22271         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22272         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22273         Likewise.
22275 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22277         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22278         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22279         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22280         (__fesetround): Remove define.
22281         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22282         rounding and exceptions handling.
22283         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22284         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22285         (__fe_nomask_env): Likewise.
22286         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22287         __fegetround instead of fegetround.
22288         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22289         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22291 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22293         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22294         it's there.
22296         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22298 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22300         [BZ #11157]
22301         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22302         (encrypt_r): Likewise.
22303         * malloc/obstack.h (obstack_free): Likewise.
22304         * posix/unistd.h (encrypt): Likewise.
22306 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22308         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22309         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22310         DL_CALL_DT_FINI() that call the functions directly.
22311         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22312         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22313         * elf/dl-fini.c: Likewise.
22315 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22317         * malloc/hooks.c (memalign_check): Add alignment rounding.
22318         * malloc/malloc.c (_mid_memalign): New function.
22319         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22320         Implement by calling _mid_memalign.
22321         * manual/probes.texi (Memory Allocation Probes): Remove
22322         memory_valloc_retry and memory_pvalloc_retry.
22324 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22326         * locale/programs/locarchive.c (open_archive): Add const
22327         qualifier to ARCHIVEFNAME and copy default fname to
22328         DEFAULT_FNAME.
22330         [BZ #15601]
22331         * libio/tst-widetext.input: Rename Oriya to Odia.
22332         * locale/iso-639.def: Likewise.
22334         * manual/probes.texi (Mathematical Function Probes): Add
22335         documentation for sin, cos, asin and acos probes.
22336         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22337         (__sin32): Add slowasin probe.
22338         (__cos32): Add slowacos probe.
22339         (__mpsin): Add slowsin probe.
22340         (__mpcos): Add slowcos probe.
22342 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22344         [BZ #15483]
22345         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22346         thread-local __sim_exceptions_thread and global
22347         __sim_exceptions_global.
22348         (__sim_disabled_exceptions): Change to thread-local
22349         __sim_disabled_exceptions_thread and global
22350         __sim_disabled_exceptions_global.
22351         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22352         and global __sim_round_mode_global.
22353         (__simulate_exceptions): Use thread-local floating-point state and
22354         set global state from it as needed.
22355         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22356         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22357         __sim_round_mode_thread.
22358         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22359         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22360         and global __sim_exceptions_global.
22361         (__sim_disabled_exceptions): Change to thread-local
22362         __sim_disabled_exceptions_thread and global
22363         __sim_disabled_exceptions_global.
22364         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22365         and global __sim_round_mode_global.
22366         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22367         (SIM_SET_GLOBAL): Likewise.
22368         * sysdeps/powerpc/soft-fp/sfp-machine.h
22369         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22370         __sim_round_mode_thread.
22371         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22372         __sim_disabled_exceptions_thread.
22373         (__sim_exceptions): Change to __sim_exceptions_thread.
22374         (__sim_disabled_exceptions): Change to
22375         __sim_disabled_exceptions_thread.
22376         (__sim_round_mode): Change to __sim_round_mode_thread.
22377         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22378         thread-local floating-point state and set global state from it as
22379         needed.
22380         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22381         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22382         (__sim_disabled_exceptions): Remove extern declaration.
22383         (feenableexcept): Use thread-local floating-point state and set
22384         global state from it as needed.
22385         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22386         extern declaration.
22387         (__sim_disabled_exceptions): Likewise.
22388         (__sim_round_mode): Likewise.
22389         (__fegetenv): Use thread-local floating-point state.
22390         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22391         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22392         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22393         floating-point state and set global state from it as needed.
22394         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22395         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22396         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22397         Likewise.
22398         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22399         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22400         Likewise.
22401         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22402         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22403         Use __sim_round_mode_thread.
22404         * math/test-fenv-tls.c: New file.
22405         * math/Makefile (tests): Add test-fenv-tls.
22406         ($(objpfx)test-fenv-tls): Depend on
22407         $(common-objpfx)nptl/libpthread.so.
22409 2013-11-19  Andreas Schwab  <schwab@suse.de>
22411         * locale/programs/locale.c (show_info): Decode wordarray elements.
22412         * locale/categories.def (LC_MONETARY): Add element for
22413         _NL_MONETARY_CRNCYSTR.
22414         * locale/C-monetary.c (conversion_rate): New variable.
22415         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22416         element.
22418 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22420         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22421         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22423 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22425         * elf/Makefile (tst-auxv): New test.
22426         * elf/tst-auxv.c: New
22427         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22429 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22431         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22432         (hidden_proto): Caller changed.
22433         (hidden_tls_proto): New macro.
22434         (libc_hidden_tls_proto): Likewise.
22435         (rtld_hidden_tls_proto): Likewise.
22436         (libm_hidden_tls_proto): Likewise.
22437         (libresolv_hidden_tls_proto): Likewise.
22438         (librt_hidden_tls_proto): Likewise.
22439         (libdl_hidden_tls_proto): Likewise.
22440         (libnss_files_hidden_tls_proto): Likewise.
22441         (libnsl_hidden_tls_proto): Likewise.
22442         (libnss_nisplus_hidden_tls_proto): Likewise.
22443         (libutil_hidden_tls_proto): Likewise.
22445 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22447         [BZ #10253]
22448         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22449         (decompose_rpath): Defer expansion to fillin_rpath.
22450         (_dl_init_paths): Pass linkmap to fillin_rpath.
22452 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22454         * benchtests/Makefile: Add strsep.
22455         * benchtests/bench-strsep.c: New file: strsep benchtest.
22456         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22458 2013-11-18  Andreas Schwab  <schwab@suse.de>
22460         * locale/programs/locale.c (show_info) [case byte]: Check for
22461         '\377' instead of '\177'.
22462         * locale/C-monetary.c (not_available): Always use "\377".
22463         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22464         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22465         detect unavailable sign_posn locale elements.
22466         * locale/localeconv.c (__localeconv): For grouping and
22467         mon_grouping handle "\177" and "\377" like no grouping.
22468         (INT_ELEM): New macro.  Use it to set all numeric members.
22469         * locale/programs/ld-monetary.c (monetary_read)
22470         <tok_mon_grouping>: Normalize single -1 to the empty string.
22471         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22472         Likewise.
22474 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22476         [BZ #16055]
22477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22478         when we match (nil).
22479         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22481 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22483         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22484         (NO_TEST_INLINE): Update value.
22485         (ERRNO_UNCHANGED): Likewise.
22486         (ERRNO_EDOM): Likewise.
22487         (ERRNO_ERANGE): Likewise.
22488         (IGNORE_RESULT): Likewise.
22489         (check_float_internal): Check signs of NaN results if
22490         TEST_NAN_SIGN used.
22491         (check_complex): Pass TEST_NAN_SIGN flag through to second
22492         check_float_internal call.
22493         (copysign_test_data): Add tests with quiet NaNs as second
22494         argument.  Use TEST_NAN_SIGN.
22495         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22496         TEST_NAN_SIGN.
22497         (signbit_test_data): Add tests of quiet NaN argument.
22498         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22500         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22501         $ignore_result.
22502         (parse_args): Handle function results specified as IGNORE.
22503         * math/libm-test.inc (IGNORE_RESULT): New macro.
22504         (check_float_internal): Do not check numerical result if flag
22505         IGNORE_RESULT set.
22506         (check_complex): Pass through IGNORE_RESULT to second
22507         check_float_internal call.
22508         (check_int): Do not check numerical result if flag IGNORE_RESULT
22509         set.
22510         (check_long): Likewise.
22511         (check_bool): Likewise.
22512         (check_longlong): Likewise.
22513         (lrint_test_data): Add tests of infinite and NaN arguments.
22514         (lrint_tonearest_test_data): Likewise.
22515         (lrint_towardzero_test_data): Likewise.
22516         (lrint_downward_test_data): Likewise.
22517         (lrint_upward_test_data): Likewise.
22518         (llrint_test_data): Likewise.
22519         (llrint_tonearest_test_data): Likewise.
22520         (llrint_towardzero_test_data): Likewise.
22521         (llrint_downward_test_data): Likewise.
22522         (llrint_upward_test_data): Likewise.
22523         (lround_test_data): Likewise.
22524         (llround_test_data): Likewise.
22526         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22527         (ERRNO_UNCHANGED): Update value.
22528         (ERRNO_EDOM): Likewise.
22529         (ERRNO_ERANGE): Likewise.
22530         (NO_TEST_INLINE_FLOAT): New macro.
22531         (NO_TEST_INLINE_DOUBLE): Likewise.
22532         (enable_test): New function.
22533         (RUN_TEST_f_f): Check enable_test before running test.
22534         (RUN_TEST_2_f): Likewise.
22535         (RUN_TEST_fff_f): Likewise.
22536         (RUN_TEST_c_f): Likewise.
22537         (RUN_TEST_f_f1): Likewise.
22538         (RUN_TEST_fF_f1): Likewise.
22539         (RUN_TEST_fI_f1): Likewise.
22540         (RUN_TEST_ffI_f1): Likewise.
22541         (RUN_TEST_c_c): Likewise.
22542         (RUN_TEST_cc_c): Likewise.
22543         (RUN_TEST_f_i): Likewise.
22544         (RUN_TEST_f_i_tg): Likewise.
22545         (RUN_TEST_ff_i_tg): Likewise.
22546         (RUN_TEST_f_b): Likewise.
22547         (RUN_TEST_f_b_tg): Likewise.
22548         (RUN_TEST_f_l): Likewise.
22549         (RUN_TEST_f_L): Likewise.
22550         (RUN_TEST_fFF_11): Likewise.
22551         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22552         conditionals.
22553         (cosh_test_data): Likewise.
22554         (exp_test_data): Likewise.
22555         (expm1_test_data): Likewise.
22556         (hypot_test_data): Likewise.
22557         (pow_test_data): Likewise.
22558         (sinh_test_data): Likewise.
22559         (tanh_test_data): Likewise.
22560         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22561         flags argument.
22563         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22564         tests with quiet NaN input and output.
22565         (acosh_test_data): Likewise.
22566         (asin_test_data): Likewise.
22567         (asinh_test_data): Likewise.
22568         (atan_test_data): Likewise.
22569         (atanh_test_data): Likewise.
22570         (atan2_test_data): Likewise.
22571         (cbrt_test_data): Likewise.
22572         (cos_test_data): Likewise.
22573         (cosh_test_data): Likewise.
22574         (erf_test_data): Likewise.
22575         (erfc_test_data): Likewise.
22576         (exp_test_data): Likewise.
22577         (exp10_test_data): Likewise.
22578         (exp2_test_data): Likewise.
22579         (expm1_test_data): Likewise.
22580         (hypot_test_data): Likewise.
22581         (j0_test_data): Likewise.
22582         (j1_test_data): Likewise.
22583         (jn_test_data): Likewise.
22584         (lgamma_test_data): Likewise.
22585         (log_test_data): Likewise.
22586         (log10_test_data): Likewise.
22587         (log1p_test_data): Likewise.
22588         (log2_test_data): Likewise.
22589         (pow_test_data): Likewise.
22590         (scalb_test_data): Likewise.
22591         (sin_test_data): Likewise.
22592         (sincos_test_data): Likewise.
22593         (sinh_test_data): Likewise.
22594         (tan_test_data): Likewise.
22595         (tanh_test_data): Likewise.
22596         (tgamma_test_data): Likewise.
22597         (y0_test_data): Likewise.
22598         (y1_test_data): Likewise.
22599         (yn_test_data): Likewise.
22601         [BZ #16167]
22602         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22603         argument being NaN and avoid computations with second argument in
22604         that case.
22605         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22606         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22607         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22609 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
22611         * locale/iso-639.def: Add Chitwani Tharu (the).
22613 2013-11-14  Andreas Schwab  <schwab@suse.de>
22615         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22616         word instead of empty string.
22618 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22621         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22623         (__fe_nomask_env): Likewise.
22625 2013-11-13  Steve Ellcey  <sellcey@mips.com>
22627         * benchtests/bench-timing.h: Include time.h.
22629 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
22631         [BZ #15997]
22632         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22633         to 3.4.0 for x32.
22634         * sysdeps/unix/sysv/linux/configure: Regenerated.
22636 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
22638         [BZ #16151]
22639         * stdlib/strtod_l.c (round_and_return): Do not consider
22640         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22641         exponent one less than half the least subnormal exponent.
22642         * stdlib/test-strtod-round-data: Add more tests.
22643         * stdlib/tst-strtod-round.c (tests): Regenerated.
22645 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22647         [BZ #14143]
22648         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22649         (__fe_mask_env): Likewise.
22650         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22651         libm_hidden_proto and add function prototype.
22652         (__fe_mask_env): Add function prototype.
22653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22654         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22656         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22658         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22660 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22662         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22663         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22665 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22667         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22668         of htab_find_slot().
22670 2013-11-11  David S. Miller  <davem@davemloft.net>
22672         [BZ #16150]
22673         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22674         symbol in the non-vis3 case in static builds.
22675         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22676         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22677         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22678         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22680 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
22682         [BZ #387]
22683         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22684         it is empty.
22686 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22688         * benchtests/Makefile: Add bench-strtod.
22689         * benchtests/bench-strtod.c: New file: strtod benchtest
22691 2013-11-11  Andreas Schwab  <schwab@suse.de>
22693         [BZ #16153]
22694         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22695         terminating NUL in key length.
22697 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22700         Add artificial ODP entry for vDSO symbol for PPC64.
22701         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22702         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22704 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22706         [BZ #15374]
22707         * nss/getent.c (services_keys): Recognize services starting with digit.
22709 2013-11-06  David S. Miller  <davem@davemloft.net>
22711         [BZ #15985]
22712         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22713         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22715 2013-11-06  Will Newton  <will.newton@linaro.org>
22717         * manual/memory.texi (Malloc Examples): Remove register
22718         keyword from examples.
22720 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
22722         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22724 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
22726         [BZ #6981]
22727         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22728         depending on [__GCC_IEC_559 > 0].
22729         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22730         depending on [__GCC_IEC_559_COMPLEX > 0].
22732 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
22734         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22735         to iso-639.def.
22737 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
22739         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22741 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
22743         [BZ #16112]
22744         * malloc/malloc (malloc_info): Do not handle first bin as
22745         special case.
22747 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
22749         * locale/iso-639.def: Add Central Nahuatl (nhn).
22751 2013-11-01  Bruno Haible  <bruno@clisp.org>
22753         [BZ #7003]
22754         * manual/math.texi (BSD Random): Specify range upper bound as
22755         in POSIX.
22757 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
22759         * locale/iso-639.def: Add Meadow Mari (mhr).
22761 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
22763         [BZ #14752], [BZ #15763]
22764         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22765         Validate name.
22766         * rt/tst_shm.c: Add test for escaping directory.
22768 2013-10-31  Andreas Schwab  <schwab@suse.de>
22770         [BZ #15917]
22771         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22772         followed by 'x' as part of digit sequence.
22773         * stdio-common/tst-sscanf.c (double_tests2): New tests.
22775 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22777         [BZ #16037]
22778         * configure.ac: allow GNU Make 4.0 and greater.
22779         * configure: Regenerated.
22781 2013-10-30  Will Newton  <will.newton@linaro.org>
22783         [BZ #16038]
22784         * malloc/hooks.c (memalign_check): Limit alignment to the
22785         maximum representable power of two.
22786         * malloc/malloc.c (__libc_memalign): Likewise.
22787         * malloc/tst-memalign.c (do_test): Add test for very
22788         large alignment values.
22789         * malloc/tst-posix_memalign.c (do_test): Likewise.
22791 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22793         [BZ #11087]
22794         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22795         (munmap_chunk): Likewise.
22796         (mremap_chunk): Likewise.
22798 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22800         [BZ #15799]
22801         * stdlib/div.c (div): Remove obsolete code.
22802         * stdlib/ldiv.c (ldiv): Likewise.
22803         * stdlib/lldiv.c (lldiv): Likewise.
22805 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22807         [BZ #16071]
22808         * nss/nss_files/files-XXX.c (get_contents_ret): New
22809         enumerator.
22810         (get_contents): New function.
22811         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22813 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22815         * configure.in: Moved to ...
22816         * configure.ac: ... here. Change reference to configure.in
22817         to configure.ac.
22818         * sysdeps/arm/preconfigure.ac: ... here.
22819         configure.in to configure.ac.
22820         * sysdeps/gnu/configure.in: Moved to ...
22821         * sysdeps/gnu/configure.ac: ... here.
22822         * sysdeps/i386/configure.in: Moved to ...
22823         * sysdeps/i386/configure.ac: ... here.
22824         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22825         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22826         * sysdeps/mach/configure.in: Moved to ...
22827         * sysdeps/mach/configure.ac: ... here.
22828         * sysdeps/mach/hurd/configure.in: Moved to ...
22829         * sysdeps/mach/hurd/configure.ac: ... here.
22830         * sysdeps/powerpc/configure.in: Moved to ...
22831         * sysdeps/powerpc/configure.ac: ... here.
22832         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22833         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22834         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22835         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22836         * sysdeps/s390/s390-32/configure.in: Moved to ...
22837         * sysdeps/s390/s390-32/configure.ac: ... here.
22838         * sysdeps/s390/s390-64/configure.in: Moved to ...
22839         * sysdeps/s390/s390-64/configure.ac: ... here.
22840         * sysdeps/sh/configure.in: Moved to ...
22841         * sysdeps/sh/configure.ac: ... here.
22842         * sysdeps/sparc/configure.in: Moved to ...
22843         * sysdeps/sparc/configure.ac: ... here.
22844         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22845         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22846         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22847         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22848         * sysdeps/x86_64/configure.in: Moved to ...
22849         * sysdeps/x86_64/configure.ac: ... here.
22850         * sysdeps/x86_64/preconfigure.in: Moved to ...
22851         * sysdeps/x86_64/preconfigure.ac: ... here.
22852         * aclocal.m4: Change reference to configure.in to configure.ac.
22853         * config.h.in: Likewise.
22854         * manual/install.texi: Likewise.
22855         * manual/maint.texi: Likewise.
22856         * Makefile: Likewise.
22857         * malloc/Makefile: Likewise.
22858         * nscd/Makefile: Likewise.
22859         * Makeconfig: Change reference to configure.in and
22860         preconfigure.in to configure.ac and preconfigure.ac
22861         respectively.
22862         * INSTALL: Regenerated.
22863         * configure: Likewise.
22864         * sysdeps/gnu/configure: Likewise.
22865         * sysdeps/i386/configure: Likewise.
22866         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22867         * sysdeps/mach/configure: Likewise.
22868         * sysdeps/mach/hurd/configure: Likewise.
22869         * sysdeps/powerpc/configure: Likewise.
22870         * sysdeps/powerpc/powerpc32/configure: Likewise.
22871         * sysdeps/powerpc/powerpc64/configure: Likewise.
22872         * sysdeps/s390/s390-32/configure: Likewise.
22873         * sysdeps/s390/s390-64/configure: Likewise.
22874         * sysdeps/sh/configure: Likewise.
22875         * sysdeps/sparc/configure: Likewise.
22876         * sysdeps/unix/sysv/linux/configure: Likewise.
22877         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22878         * sysdeps/x86_64/configure: Likewise.
22879         * sysdeps/x86_64/preconfigure: Likewise.
22881 2013-10-29  Andreas Schwab  <schwab@suse.de>
22883         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22885 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22887         * benchtests/pow-inputs: Add new inputs.
22889         * benchtests/exp-inputs: Add new inputs.
22891         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22892         conditional check for return value.
22893         (__cos32): Likewise.
22895 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22897         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22898         to provide a boost for large inputs with word alignment.
22899         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22900         implementation based on optimized PPC64 strcpy.
22901         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22902         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22903         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22904         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22906 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22908         [BZ #2801]
22909         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22911 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22913         [BZ #14876]
22914         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22915         * time/tst-strptime.c (day_tests): Add testcase.
22917 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22919         [BZ #14029]
22920         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22922 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22924         [BZ #16074]
22925         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22926         MAP_FAILED on error.
22928 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22930         [BZ #16072]
22931         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22932         heap for large requests.
22934 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22936         [BZ #9954]
22937         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22938         result if the result has no associated interface.
22939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22940         interface for all 127.X.Y.Z addresses.
22942 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22944         * locale/iso-639.def: Add Ligurian (lij)
22946 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22948         [BZ #15825]
22949         * sunrpc/rpc_main.c: Document rpcgen -5.
22951 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22953         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22955 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22957         [BZ #10278]
22958         * posix/glob.c: Match only directories when trailing slash is present.
22959         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22960         (main): Add testcase.
22962 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22964         [BZ #15670]
22965         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22967 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22969         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22970         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22971         AUTH_DES and cindex for FIPS 140-2.
22972         (DES Encryption): Add cindex FIPS 46-3.
22974         * locale/locarchive.h (struct locarhandle): Add fname.
22975         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22976         if an optional argument was specified to --list-archive,
22977         otherwise NULL.
22978         * locale/programs/locarchive.c (show_archive_content): Take new
22979         argument fname and pass it via ah.fname to open_archive.
22980         * locale/programs/localedef.h: Update decl.
22981         (open_archive): If AH->fname is non-null, open that file
22982         rather than the default file name, and don't ignore ENOENT.
22983         (create_archive): Set AH.fname to NULL.
22984         (delete_locales_from_archive): Likewise.
22985         (add_locales_to_archive): Likewise.
22986         * locale/programs/locfile.c (write_all_categories): Likewise.
22988 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22989             Aldy Hernandez  <aldyh@redhat.com>
22991         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22992         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22993         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22994         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22995         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22996         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22997         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22998         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22999         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23000         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23001         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23002         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23003         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23004         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23005         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23006         Likewise.
23007         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23008         Likewise.
23009         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23010         Likewise.
23011         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23012         Likewise.
23013         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23014         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23015         Likewise.
23016         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23017         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23018         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23019         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23020         Likewise.
23021         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23022         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23023         * sysdeps/powerpc/preconfigure: Likewise.
23024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23025         Likewise.
23026         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23027         Replace contents of file by #include of <fenv_libc.h>.
23028         * sysdeps/powerpc/soft-fp/sfp-machine.h
23029         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23030         and <sys/prctl.h>.
23031         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23032         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23033         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23034         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23035         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23036         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23044         Allow copysignl PLT reference to be missing.
23046 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23047             Joseph Myers  <joseph@codesourcery.com
23049         [BZ #15948]
23050         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23051         single character.
23052         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23054 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23056         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23057         * elf/tst-tls1.c: Likewise.
23058         * elf/tst-tls10.h: Likewise.
23059         * elf/tst-tls14.c: Likewise.
23060         * elf/tst-tls2.c: Likewise.
23061         * elf/tst-tls3.c: Likewise.
23062         * elf/tst-tls4.c: Likewise.
23063         * elf/tst-tls5.c: Likewise.
23064         * elf/tst-tls6.c: Likewise.
23065         * elf/tst-tls7.c: Likewise.
23066         * elf/tst-tls8.c: Likewise.
23067         * elf/tst-tls9.c: Likewise.
23068         * elf/tst-tlsmod1.c: Likewise.
23069         * elf/tst-tlsmod13.c: Likewise.
23070         * elf/tst-tlsmod13a.c: Likewise.
23071         * elf/tst-tlsmod14a.c: Likewise.
23072         * elf/tst-tlsmod16a.c: Likewise.
23073         * elf/tst-tlsmod16b.c: Likewise.
23074         * elf/tst-tlsmod2.c: Likewise.
23075         * elf/tst-tlsmod3.c: Likewise.
23076         * elf/tst-tlsmod4.c: Likewise.
23077         * elf/tst-tlsmod5.c: Likewise.
23078         * elf/tst-tlsmod6.c: Likewise.
23080 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23082         [BZ #12486]
23083         * malloc/malloc.c: remove checks for statistics.
23085 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23087         [BZ #15277]
23088         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23089         * inet/tst-network.c: Add testcase.
23091 2013-10-17  Andreas Schwab  <schwab@suse.de>
23093         [BZ #15218]
23094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23095         to determine canonical name.
23097 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23099         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23100         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23101         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23102         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23104         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23105         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23106         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23107         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23108         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23109         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23110         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23111         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23112         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23113         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23114         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23116         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23117         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23118         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23121         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23122         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23123         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23124         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23125         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23126         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23127         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23128         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23129         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23130         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23131         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23132         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23133         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23134         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23135         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23136         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23137         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23138         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23139         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23140         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23141         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23142         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23143         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23144         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23145         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23146         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23147         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23148         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23149         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23150         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23151         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23152         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23153         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23154         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23156         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23158 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23160         [BZ #16041]
23161         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23162         make result into a quiet NaN.
23164 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23166         * soft-fp/adddf3.c: Fix horizontal whitespace.
23167         * soft-fp/addsf3.c: Likewise.
23168         * soft-fp/addtf3.c: Likewise.
23169         * soft-fp/divdf3.c: Likewise.
23170         * soft-fp/divsf3.c: Likewise.
23171         * soft-fp/divtf3.c: Likewise.
23172         * soft-fp/double.h: Likewise.
23173         * soft-fp/eqdf2.c: Likewise.
23174         * soft-fp/eqsf2.c: Likewise.
23175         * soft-fp/eqtf2.c: Likewise.
23176         * soft-fp/extenddftf2.c: Likewise.
23177         * soft-fp/extended.h: Likewise.
23178         * soft-fp/extendsfdf2.c: Likewise.
23179         * soft-fp/extendsftf2.c: Likewise.
23180         * soft-fp/extendxftf2.c: Likewise.
23181         * soft-fp/fixdfdi.c: Likewise.
23182         * soft-fp/fixdfsi.c: Likewise.
23183         * soft-fp/fixdfti.c: Likewise.
23184         * soft-fp/fixsfdi.c: Likewise.
23185         * soft-fp/fixsfsi.c: Likewise.
23186         * soft-fp/fixsfti.c: Likewise.
23187         * soft-fp/fixtfdi.c: Likewise.
23188         * soft-fp/fixtfsi.c: Likewise.
23189         * soft-fp/fixtfti.c: Likewise.
23190         * soft-fp/fixunsdfdi.c: Likewise.
23191         * soft-fp/fixunsdfsi.c: Likewise.
23192         * soft-fp/fixunsdfti.c: Likewise.
23193         * soft-fp/fixunssfdi.c: Likewise.
23194         * soft-fp/fixunssfsi.c: Likewise.
23195         * soft-fp/fixunssfti.c: Likewise.
23196         * soft-fp/fixunstfdi.c: Likewise.
23197         * soft-fp/fixunstfsi.c: Likewise.
23198         * soft-fp/fixunstfti.c: Likewise.
23199         * soft-fp/floatdidf.c: Likewise.
23200         * soft-fp/floatdisf.c: Likewise.
23201         * soft-fp/floatditf.c: Likewise.
23202         * soft-fp/floatsidf.c: Likewise.
23203         * soft-fp/floatsisf.c: Likewise.
23204         * soft-fp/floatsitf.c: Likewise.
23205         * soft-fp/floattidf.c: Likewise.
23206         * soft-fp/floattisf.c: Likewise.
23207         * soft-fp/floattitf.c: Likewise.
23208         * soft-fp/floatundidf.c: Likewise.
23209         * soft-fp/floatundisf.c: Likewise.
23210         * soft-fp/floatunditf.c: Likewise.
23211         * soft-fp/floatunsidf.c: Likewise.
23212         * soft-fp/floatunsisf.c: Likewise.
23213         * soft-fp/floatunsitf.c: Likewise.
23214         * soft-fp/floatuntidf.c: Likewise.
23215         * soft-fp/floatuntisf.c: Likewise.
23216         * soft-fp/floatuntitf.c: Likewise.
23217         * soft-fp/fmadf4.c: Likewise.
23218         * soft-fp/fmasf4.c: Likewise.
23219         * soft-fp/fmatf4.c: Likewise.
23220         * soft-fp/gedf2.c: Likewise.
23221         * soft-fp/gesf2.c: Likewise.
23222         * soft-fp/getf2.c: Likewise.
23223         * soft-fp/ledf2.c: Likewise.
23224         * soft-fp/lesf2.c: Likewise.
23225         * soft-fp/letf2.c: Likewise.
23226         * soft-fp/muldf3.c: Likewise.
23227         * soft-fp/mulsf3.c: Likewise.
23228         * soft-fp/multf3.c: Likewise.
23229         * soft-fp/negdf2.c: Likewise.
23230         * soft-fp/negsf2.c: Likewise.
23231         * soft-fp/negtf2.c: Likewise.
23232         * soft-fp/op-1.h: Likewise.
23233         * soft-fp/op-2.h: Likewise.
23234         * soft-fp/op-4.h: Likewise.
23235         * soft-fp/op-8.h: Likewise.
23236         * soft-fp/op-common.h: Likewise.
23237         * soft-fp/quad.h: Likewise.
23238         * soft-fp/single.h: Likewise.
23239         * soft-fp/soft-fp.h: Likewise.
23240         * soft-fp/sqrtdf2.c: Likewise.
23241         * soft-fp/sqrtsf2.c: Likewise.
23242         * soft-fp/sqrttf2.c: Likewise.
23243         * soft-fp/subdf3.c: Likewise.
23244         * soft-fp/subsf3.c: Likewise.
23245         * soft-fp/subtf3.c: Likewise.
23246         * soft-fp/truncdfsf2.c: Likewise.
23247         * soft-fp/trunctfdf2.c: Likewise.
23248         * soft-fp/trunctfsf2.c: Likewise.
23249         * soft-fp/trunctfxf2.c: Likewise.
23250         * soft-fp/unorddf2.c: Likewise.
23251         * soft-fp/unordsf2.c: Likewise.
23252         * soft-fp/unordtf2.c: Likewise.
23254 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23256         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23257         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23259 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23261         * elf/dl-libc.c: Clear initfini list after freeing.
23263 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23265         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23266         * soft-fp/addsf3.c: Likewise.
23267         * soft-fp/addtf3.c: Likewise.
23268         * soft-fp/divdf3.c: Likewise.
23269         * soft-fp/divsf3.c: Likewise.
23270         * soft-fp/divtf3.c: Likewise.
23271         * soft-fp/double.h: Likewise.
23272         * soft-fp/eqdf2.c: Likewise.
23273         * soft-fp/eqsf2.c: Likewise.
23274         * soft-fp/eqtf2.c: Likewise.
23275         * soft-fp/extenddftf2.c: Likewise.
23276         * soft-fp/extended.h: Likewise.
23277         * soft-fp/extendsfdf2.c: Likewise.
23278         * soft-fp/extendsftf2.c: Likewise.
23279         * soft-fp/extendxftf2.c: Likewise.
23280         * soft-fp/fixdfdi.c: Likewise.
23281         * soft-fp/fixdfsi.c: Likewise.
23282         * soft-fp/fixdfti.c: Likewise.
23283         * soft-fp/fixsfdi.c: Likewise.
23284         * soft-fp/fixsfsi.c: Likewise.
23285         * soft-fp/fixsfti.c: Likewise.
23286         * soft-fp/fixtfdi.c: Likewise.
23287         * soft-fp/fixtfsi.c: Likewise.
23288         * soft-fp/fixtfti.c: Likewise.
23289         * soft-fp/fixunsdfdi.c: Likewise.
23290         * soft-fp/fixunsdfsi.c: Likewise.
23291         * soft-fp/fixunsdfti.c: Likewise.
23292         * soft-fp/fixunssfdi.c: Likewise.
23293         * soft-fp/fixunssfsi.c: Likewise.
23294         * soft-fp/fixunssfti.c: Likewise.
23295         * soft-fp/fixunstfdi.c: Likewise.
23296         * soft-fp/fixunstfsi.c: Likewise.
23297         * soft-fp/fixunstfti.c: Likewise.
23298         * soft-fp/floatdidf.c: Likewise.
23299         * soft-fp/floatdisf.c: Likewise.
23300         * soft-fp/floatditf.c: Likewise.
23301         * soft-fp/floatsidf.c: Likewise.
23302         * soft-fp/floatsisf.c: Likewise.
23303         * soft-fp/floatsitf.c: Likewise.
23304         * soft-fp/floattidf.c: Likewise.
23305         * soft-fp/floattisf.c: Likewise.
23306         * soft-fp/floattitf.c: Likewise.
23307         * soft-fp/floatundidf.c: Likewise.
23308         * soft-fp/floatundisf.c: Likewise.
23309         * soft-fp/floatunsidf.c: Likewise.
23310         * soft-fp/floatunsisf.c: Likewise.
23311         * soft-fp/floatuntidf.c: Likewise.
23312         * soft-fp/floatuntisf.c: Likewise.
23313         * soft-fp/floatuntitf.c: Likewise.
23314         * soft-fp/fmadf4.c: Likewise.
23315         * soft-fp/fmasf4.c: Likewise.
23316         * soft-fp/fmatf4.c: Likewise.
23317         * soft-fp/gedf2.c: Likewise.
23318         * soft-fp/gesf2.c: Likewise.
23319         * soft-fp/getf2.c: Likewise.
23320         * soft-fp/ledf2.c: Likewise.
23321         * soft-fp/lesf2.c: Likewise.
23322         * soft-fp/letf2.c: Likewise.
23323         * soft-fp/muldf3.c: Likewise.
23324         * soft-fp/mulsf3.c: Likewise.
23325         * soft-fp/multf3.c: Likewise.
23326         * soft-fp/negdf2.c: Likewise.
23327         * soft-fp/negsf2.c: Likewise.
23328         * soft-fp/negtf2.c: Likewise.
23329         * soft-fp/op-1.h: Likewise.
23330         * soft-fp/op-2.h: Likewise.
23331         * soft-fp/op-4.h: Likewise.
23332         * soft-fp/op-8.h: Likewise.
23333         * soft-fp/op-common.h: Likewise.
23334         * soft-fp/quad.h: Likewise.
23335         * soft-fp/single.h: Likewise.
23336         * soft-fp/soft-fp.h: Likewise.
23337         * soft-fp/sqrtdf2.c: Likewise.
23338         * soft-fp/sqrtsf2.c: Likewise.
23339         * soft-fp/sqrttf2.c: Likewise.
23340         * soft-fp/subdf3.c: Likewise.
23341         * soft-fp/subsf3.c: Likewise.
23342         * soft-fp/subtf3.c: Likewise.
23343         * soft-fp/truncdfsf2.c: Likewise.
23344         * soft-fp/trunctfdf2.c: Likewise.
23345         * soft-fp/trunctfsf2.c: Likewise.
23346         * soft-fp/trunctfxf2.c: Likewise.
23347         * soft-fp/unorddf2.c: Likewise.
23348         * soft-fp/unordsf2.c: Likewise.
23349         * soft-fp/unordtf2.c: Likewise.
23351 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23353         [BZ #15672]
23354         * misc/error.c (error_tail): Fix possible buffer overflow.
23356 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23358         [BZ #13028]
23359         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23360         address.
23362 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23364         [BZ #832]
23365         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23366         testing pipefail option.
23368 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23370         * soft-fp/double.h: Indent preprocessor directives inside #if.
23371         * soft-fp/extended.h: Likewise.
23372         * soft-fp/op-2.h: Likewise.
23373         * soft-fp/op-4.h: Likewise.
23374         * soft-fp/op-common.h: Likewise.
23375         * soft-fp/quad.h: Likewise.
23376         * soft-fp/single.h: Likewise.
23377         * soft-fp/soft-fp.h: Likewise.
23379 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23381         * iconv/iconv_prog.c: Fix typos.
23382         * stdio-common/psiginfo-data.h: Likewise.
23384 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23386         [BZ #15764]
23387         * locale/setlocale.c: Fix typo.
23389 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23391         [BZ #16036]
23392         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23393         signaling NaN arguments.
23394         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23395         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23397         [BZ #14910]
23398         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23399         unordered operands.
23400         * soft-fp/gesf2.c (__gesf2): Likewise.
23401         * soft-fp/getf2.c (__getf2): Likewise.
23402         * soft-fp/ledf2.c (__ledf2): Likewise.
23403         * soft-fp/lesf2.c (__lesf2): Likewise.
23404         * soft-fp/letf2.c (__letf2): Likewise.
23406         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23407         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23408         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23409         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23410         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23411         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23412         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23413         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23414         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23415         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23416         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23417         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23418         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23419         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23420         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23421         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23422         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23423         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23424         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23425         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23426         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23427         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23428         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23429         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23430         * soft-fp/floattidf.c (__floattidf): Likewise.
23431         * soft-fp/floattisf.c (__floattisf): Likewise.
23432         * soft-fp/floattitf.c (__floattitf): Likewise.
23433         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23434         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23435         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23436         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23437         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23438         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23439         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23440         * soft-fp/gesf2.c (__gesf2): Likewise.
23441         * soft-fp/getf2.c (__getf2): Likewise.
23442         * soft-fp/ledf2.c (__ledf2): Likewise.
23443         * soft-fp/lesf2.c (__lesf2): Likewise.
23444         * soft-fp/letf2.c (__letf2): Likewise.
23446         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23447         Undefine and redefine.
23448         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23449         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23450         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23451         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23452         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23453         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23454         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23455         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23456         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23457         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23458         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23459         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23460         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23461         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23462         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23464         [BZ #16032]
23465         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23466         without decrementing exponent if mantissa >= that for the
23467         denominator, not >.
23468         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23469         denominator, not >.  Decrement exponent in < case instead of
23470         incrementing in >= case.
23471         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23472         without decrementing exponent if mantissa >= that for the
23473         denominator, not >.
23475         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23476         computing saturated result for unsigned overflow.
23478 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23479             Jeff Law  <law@redhat.com>
23481         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23482         (atan2Mp): Add systemtap probe marker.
23483         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23484         (__ieee754_log): Add systemtap probe marker.
23485         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23486         (atanMp): Add systemtap probe marker.
23487         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23488         (tanMp): Add systemtap probe marker.
23489         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23490         (__slowexp): Add systemtap probe marker.
23491         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23492         (__slowpow): Add systemtap probe marker.
23493         * manual/probes.texi: Document probes.
23495 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23497         [BZ #15362]
23498         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23499         written.
23500         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23501         written.
23502         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23503         written to buffer but not flushed.
23504         * libio/iofwrite_u.c:  Likewise.
23505         * libio/iopadn.c:  Return bytes returned even if EOF was
23506         encountered.
23507         * libio/iowpadn.c:  Likewise.
23508         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23509         if _IO_padn does not write the whole buffer.
23510         [!COMPILE_WPRINTF] (PAD): Likewise.
23512 2013-10-10  David S. Miller  <davem@davemloft.net>
23514         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23515         directory block.
23517 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23519         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23520         instead of FSF address.
23521         * soft-fp/fixdfti.c: Likewise.
23522         * soft-fp/fixsfti.c: Likewise.
23523         * soft-fp/fixtfti.c: Likewise.
23524         * soft-fp/fixunsdfti.c: Likewise.
23525         * soft-fp/fixunssfti.c: Likewise.
23526         * soft-fp/fixunstfti.c: Likewise.
23527         * soft-fp/floattidf.c: Likewise.
23528         * soft-fp/floattisf.c: Likewise.
23529         * soft-fp/floattitf.c: Likewise.
23530         * soft-fp/floatuntidf.c: Likewise.
23531         * soft-fp/floatuntisf.c: Likewise.
23532         * soft-fp/floatuntitf.c: Likewise.
23533         * soft-fp/trunctfxf2.c: Likewise.
23535         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23536         * soft-fp/fixdfti.c: Likewise.
23537         * soft-fp/fixsfti.c: Likewise.
23538         * soft-fp/fixtfti.c: Likewise.
23539         * soft-fp/fixunsdfti.c: Likewise.
23540         * soft-fp/fixunssfti.c: Likewise.
23541         * soft-fp/fixunstfti.c: Likewise.
23542         * soft-fp/floattidf.c: Likewise.
23543         * soft-fp/floattisf.c: Likewise.
23544         * soft-fp/floattitf.c: Likewise.
23545         * soft-fp/floatuntidf.c: Likewise.
23546         * soft-fp/floatuntisf.c: Likewise.
23547         * soft-fp/floatuntitf.c: Likewise.
23548         * soft-fp/trunctfxf2.c: Likewise.
23550 2013-10-10  David S. Miller  <davem@davemloft.net>
23552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23554 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23556         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23557         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23558         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23559         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23560         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23561         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23562         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23565         for NaNs before doing comparisons on argument.
23566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23567         Likewise.
23569 2013-10-10  Will Newton  <will.newton@linaro.org>
23571         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23572         passed to _int_memalign does not overflow.
23574 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23576         * scripts/bench.pl: Add include-sources directive.
23577         * benchtests/README: Update documentation.
23579 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23581         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23582         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23583         instead of FP_INIT_ROUNDMODE.
23584         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23585         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23587         [BZ #16034]
23588         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23589         copy class of input value.
23590         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23591         not handle exceptions.
23592         * soft-fp/negsf2.c (__negsf2): Likewise.
23593         * soft-fp/negtf2.c (__negtf2): Likewise.
23594         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23596 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23598         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23599         semicolon.  From Linux kernel.
23601 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23603         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23605 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23607         [BZ #156]
23608         * manual/socket.texi: Added statement about buffer
23609         for gethostbyname2_r.
23611 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
23613         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23614         Use .p2align directive instead, throughout.
23615         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23616         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23617         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23618         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23619         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23620         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23621         * sysdeps/x86_64/strchr.S: Likewise.
23622         * sysdeps/x86_64/strrchr.S: Likewise.
23624 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23626         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23628         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23630         * sysdeps/generic/math_private.h (__mpsin1): Remove
23631         declaration.
23632         (__mpcos1): Likewise.
23633         (__mpsin): New argument __range_reduce.
23634         (__mpcos): Likewise.
23635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23636         (slow): Use __mpsin and __mpcos.
23637         (slow1): Likewise.
23638         (slow2): Likewise.
23639         (sloww): Likewise.
23640         (sloww1): Likewise.
23641         (sloww2): Likewise.
23642         (bsloww): Likewise.
23643         (bsloww1): Likewise.
23644         (bsloww2): Likewise.
23645         (cslow2): Likewise.
23646         (csloww): Likewise.
23647         (csloww1): Likewise.
23648         (csloww2): Likewise.
23649         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23650         range_reduce.  Merge in __mpsin1.
23651         (__mpcos): Likewise.
23652         (__mpsin1): Remove.
23653         (__mpcos1): Likewise.
23655 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
23657         * locale/loadlocale.c (_nl_intern_locale_data): Use
23658         LOCFILE_ALIGNED_P.
23659         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23660         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23661         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23662         obstack data is appropriately aligned.
23663         (obstack_int32_grow_fast): Likewise.
23664         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23665         * locale/programs/locfile.c (add_locale_uint32): Likewise.
23666         (add_locale_uint32_array): Likewise.
23668 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23670         * benchtests/Makefile: Remove ARGLIST and RET variables.
23671         ($(objpfx)bench-%.c): Pass only function name to the script.
23672         * benchtests/README: Update documentation.
23673         * benchtests/acos-inputs: Add new directives.
23674         * benchtests/acosh-inputs: Likewise.
23675         * benchtests/asin-inputs: Likewise.
23676         * benchtests/asinh-inputs: Likewise.
23677         * benchtests/atan-inputs: Likewise.
23678         * benchtests/atanh-inputs: Likewise.
23679         * benchtests/cos-inputs: Likewise.
23680         * benchtests/cosh-inputs: Likewise.
23681         * benchtests/exp-inputs: Likewise.
23682         * benchtests/log-inputs: Likewise.
23683         * benchtests/pow-inputs: Likewise.
23684         * benchtests/rint-inputs: Likewise.
23685         * benchtests/sin-inputs: Likewise.
23686         * benchtests/sinh-inputs: Likewise.
23687         * benchtests/tan-inputs: Likewise.
23688         * benchtests/tanh-inputs: Likewise.
23689         * scripts/bench.pl: Add support for new directives.
23691 2013-10-07  Alan Modra  <amodra@gmail.com>
23693         * README: Fix careless merge.
23695 2013-10-05  Alan Modra  <amodra@gmail.com>
23697         * NEWS: Mention powerpc64le support and bugs fixed.
23698         * README: Both big-endian and little-endian powerpc64 supported.
23700 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23702         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23703         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23704         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23705         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23707 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
23709         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23710         match prototype.
23712 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
23714         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23715         Move -mhard-float appending from
23716         ports/sysdeps/powerpc/powerpc32/Makefile.
23717         [$(with-fp) = yes] (ASFLAGS): Likewise.
23718         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23719         * sysdeps/powerpc/nofpu: Move directory from
23720         ports/sysdeps/powerpc/nofpu.
23721         * sysdeps/powerpc/soft-fp: Move directory from
23722         ports/sysdeps/powerpc/soft-fp.
23723         * sysdeps/powerpc/powerpc32/405: Move directory from
23724         ports/sysdeps/powerpc/powerpc32/405.
23725         * sysdeps/powerpc/powerpc32/440: Move directory from
23726         ports/sysdeps/powerpc/powerpc32/440.
23727         * sysdeps/powerpc/powerpc32/464: Move directory from
23728         ports/sysdeps/powerpc/powerpc32/464.
23729         * sysdeps/powerpc/powerpc32/476: Move directory from
23730         ports/sysdeps/powerpc/powerpc32/476.
23731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23732         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23734         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23736         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23738         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23740         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23741         * README: Update for powerpc-*-linux-gnu software floating point
23742         support in libc.
23744         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23745         case to powerpc/powerpc32*.
23746         * sysdeps/unix/sysv/linux/configure: Regenerated.
23748         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23749         (_FPU_MASK_OM): Define as 0x04.
23750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23752         0x00c10080.
23753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23754         0x0000003c.
23755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23758         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23759         getcontext_e500.
23760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23761         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23762         setcontext_e500.
23763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23764         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23765         and setcontext_e500.
23767 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
23769         * locale/iso-3166.def: Update iso-1366.def and related occurrences
23771 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23773         * manual/threads.texi (Default Thread Attributes): Fix typo.
23775 2013-10-04  Will Newton  <will.newton@linaro.org>
23777         * malloc/Makefile: Add tst-memalign.
23778         * malloc/tst-memalign.c: New file.
23780         * malloc/tst-posix_memalign.c: Add comments.
23781         (do_test): Add comments and call free on all potentially
23782         allocated pointers. Add space after cast.
23784         * malloc/tst-pvalloc.c: Add comments.
23785         (do_test): Add comments and call free on all potentially
23786         allocated pointers. Remove duplicate check for NULL pointer.
23787         Add space after cast.
23789         * malloc/tst-valloc.c: Add comments.
23790         (do_test): Add comments and call free on all potentially
23791         allocated pointers. Remove duplicate check for NULL pointer.
23792         Add space after cast.
23794 2013-10-04  Alan Modra  <amodra@gmail.com>
23796         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23797         Use stdint types in rather than __attribute__((mode())).
23798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23800 2013-10-04  Alan Modra  <amodra@gmail.com>
23802         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23803         Correct handling of unaligned relocs for little-endian.
23804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23806 2013-10-04  Alan Modra  <amodra@gmail.com>
23808         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23809         * configure: Regenerate.
23810         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23811         * shlib-versions: Likewise.
23813 2013-10-04  Alan Modra  <amodra@gmail.com>
23815         * string/tester.c (test_memrchr): Increment reported test cycle.
23817 2013-10-04  Alan Modra  <amodra@gmail.com>
23819         * string/test-memcpy.c (do_one_test): When reporting errors, print
23820         string address and don't overrun end of string.
23822 2013-10-04  Alan Modra  <amodra@gmail.com>
23824         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23825         insrdi.  Make better use of reg selection to speed exit slightly.
23826         Schedule entry path a little better.  Remove useless "are we done"
23827         checks on entry to main loop.  Handle wrapping around zero address.
23828         Correct main loop count.  Handle single left-over word from main
23829         loop inline rather than by using loop_small.  Remove extra word
23830         case in loop_small caused by wrong loop count.  Add little-endian
23831         support.
23832         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23834         cache hint.
23835         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23837         support.  Avoid rlwimi.
23838         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23840 2013-10-04  Alan Modra  <amodra@gmail.com>
23842         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23843         insrdi.  Formatting.
23844         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23845         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23846         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23847         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23848         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23849         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23851 2013-10-04  Alan Modra  <amodra@gmail.com>
23853         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23855         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23856         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23857         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23858         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23859         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23860         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23861         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23862         use of regs.  Use power7 mtocrf.  Tidy function tails.
23864 2013-10-04  Alan Modra  <amodra@gmail.com>
23866         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23867         Formatting.  Consistently use rXXX register defines or rN defines.
23868         Use early exit labels that avoid restoring unused non-volatile regs.
23869         Make cr field use more consistent with rWORDn compares.  Rename
23870         regs used as shift registers for unaligned loop, using rN defines
23871         for short lifetime/multiple use regs.
23872         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23874         addi 1,1,64 to pop stack frame.  Simplify return value code.
23875         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23877 2013-10-04  Alan Modra  <amodra@gmail.com>
23879         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23880         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23881         rather than rlwimi.
23882         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23883         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23884         little-endian support.  Correct typos.
23885         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23886         rather than rlwimi.
23887         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23888         in loop and entry code to keep "and." results.
23889         (strchr): Add little-endian support.  Comment.  Move cntlzd
23890         earlier in tail.
23891         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23893 2013-10-04  Alan Modra  <amodra@gmail.com>
23895         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23896         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23897         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23898         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23900 2013-10-04  Alan Modra  <amodra@gmail.com>
23902         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23903         (rTMP): Define as r11.
23904         (strcmp): Add little-endian support.  Optimise tail.
23905         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23906         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23907         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23908         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23909         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23910         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23911         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23913 2013-10-04  Alan Modra  <amodra@gmail.com>
23915         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23916         little-endian support.  Remove unnecessary "are we done" tests.
23917         Handle "s" wrapping around zero and extremely large "size".
23918         Correct main loop count.  Handle single left-over word from main
23919         loop inline rather than by using small_loop.  Correct comments.
23920         Delete "zero" tail, use "end_max" instead.
23921         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23923 2013-10-04  Alan Modra  <amodra@gmail.com>
23925         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23926         support.  Don't branch over align.
23927         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23928         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23929         support.  Rearrange tmp reg use to suit.  Comment.
23930         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23932 2013-10-04  Alan Modra  <amodra@gmail.com>
23934         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23936 2013-10-04  Alan Modra  <amodra@gmail.com>
23938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23939         conditional form of branch and link when obtaining pc.
23940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23942 2013-10-04  Alan Modra  <amodra@gmail.com>
23944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23945         HIWORD/LOWORD.
23946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23949 2013-10-04  Alan Modra  <amodra@gmail.com>
23951         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23952         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23953         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23954         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23955         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23956         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23957         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23958         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23959         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23960         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23962 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23963             Alistair Popple <alistair@ozlabs.au.ibm.com>
23964             Alan Modra <amodra@gmail.com>
23966         [BZ #15723]
23967         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23968         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23969         _dl_hwcap access for little-endian.
23970         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23971         destroy vmx regs when saving unaligned.
23972         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23973         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23974         destroy vmx regs when saving unaligned.
23976 2013-10-04  Alan Modra  <amodra@gmail.com>
23978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23979         Don't use a union to pack hi/low value.
23981 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23983         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23984         for little-endian.
23985         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23986         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23987         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23988         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23989         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23991 2013-10-04  Alan Modra  <amodra@gmail.com>
23993         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23994         constants to usual value for .cst8 section, and remove redundant
23995         high address load.
23996         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23997         constant for 0x1p52.  Load little-endian words of double from
23998         correct stack offsets.
24000 2013-10-04  Alan Modra  <amodra@gmail.com>
24002         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24003         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24004         words of double from correct stack offsets.
24005         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24006         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24007         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24008         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24010         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24011         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24012         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24013         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24014         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24015         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24016         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24017         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24018         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24019         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24020         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24021         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24023 2013-10-04  Alan Modra  <amodra@gmail.com>
24025         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24026         64-bit int/double union.
24027         (_FPU_SETCW): Likewise.
24028         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24029         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24031 2013-10-04  Alan Modra  <amodra@gmail.com>
24033         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24034         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24036 2013-10-04  Alan Modra  <amodra@gmail.com>
24038         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24039         use vector int constants.
24040         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24042 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24044         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24045         array with long long.
24046         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24047         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24048         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24049         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24050         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24051         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24052         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24053         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24054         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24055         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24056         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24057         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24058         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24060 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24062         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24063         (__signbit): Likewise.  Correct for little-endian.
24064         (__signbitl): Call __signbit.
24065         (lrint): Correct for little-endian.
24066         (lrintf): Call lrint.
24068 2013-10-04  Alan Modra  <amodra@gmail.com>
24070         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24071         union 32-bit int array member with 64-bit int array.
24072         (t515, tm256): Double rather than long double.
24073         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24075 2013-10-04  Alan Modra  <amodra@gmail.com>
24077         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24078         Delete.
24079         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24081         version of math_ldbl.h.
24083 2013-10-04  Alan Modra  <amodra@gmail.com>
24085         [BZ #15734], [BZ #15735]
24086         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24087         all uses of ieee875 long double macros and unions.  Simplify test
24088         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24089         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24090         normalize after ldbl_extract_mantissa, and don't add hidden bit
24091         already handled.  Don't treat low word of ieee854 mantissa like
24092         low word of IBM long double and mask off bit when testing for
24093         zero.
24094         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24095         all uses of ieee875 long double macros and unions.  Simplify tests
24096         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24097         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24098         two1022, instead use their values.  Recognise that tests for large
24099         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24100         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24101         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24102         test for 0.0L and nan.  Correct negation.
24103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24104         ieee875 long double macros and unions.  Correct output for large
24105         magnitude x.  Correct absolute value calculation.
24106         (__erfcl): Likewise.
24107         * math/libm-test.inc: Add tests for errors discovered in IBM long
24108         double versions of fmodl, remainderl, erfl and erfcl.
24110 2013-10-04  Alan Modra  <amodra@gmail.com>
24112         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24113         all uses of ieee854 long double macros and unions.  Simplify tests
24114         for long doubles that are fully specified by the high double.
24115         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24116         Likewise.
24117         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24118         Remove dead code too.
24119         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24120         (__ieee754_ynl): Likewise.
24121         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24122         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24123         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24124         Remove dead code too.
24125         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24126         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24127         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24128         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24129         Simplify.
24130         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24131         Simplify.
24132         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24133         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24134         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24135         Comment on variable precision.
24136         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24137         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24138         Likewise.
24139         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24140         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24141         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24142         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24143         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24145 2013-10-04  Alan Modra  <amodra@gmail.com>
24147         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24149         all uses of ieee854 long double macros and unions.
24150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24154         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24155         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24156         Likewise.
24157         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24158         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24159         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24160         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24161         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24162         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24163         Simplify sign and nan test too.
24164         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24165         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24166         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24167         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24168         Likewise.
24169         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24170         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24171         Likewise.
24172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24173         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24174         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24175         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24176         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24177         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24179 2013-10-04  Alan Modra  <amodra@gmail.com>
24181         * stdio-common/printf_size.c (__printf_size): Don't use
24182         union ieee854_long_double in fpnum union.
24183         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24184         signbit macro to retrieve sign from long double.
24185         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24186         retrieve sign from long double.
24187         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24188         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24189         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24190         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24191         * math/test-misc.c (main): Don't use union ieee854_long_double.
24193 2013-10-04  Alan Modra  <amodra@gmail.com>
24195         [BZ #15680]
24196         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24197         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24198         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24199         calculation.  Remove unnecessary test for denormal exponent.
24200         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24201         Correct handling of denormals.  Avoid undefined shift behaviour.
24202         Correct normalisation of low mantissa when low double is denormal.
24203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24204         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24205         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24206         Correct normalisation of low mantissa.  Test for overflow of high
24207         mantissa and normalise.
24208         (ldbl_nearbyint): Use more readable constant for two52.
24209         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24210         (__mpn_construct_long_double): Fix test for overflow of high
24211         mantissa and correct normalisation.  Avoid undefined shift.
24213 2013-10-04  Alan Modra  <amodra@gmail.com>
24215         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24216         (union ibm_extended_long_double): Define as an array of ieee754_double.
24217         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24218         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24219         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24220         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24222         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24224         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24225         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24226         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24227         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24229 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24231         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24232         page size instead of calling getpagesize.
24234         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24235         (LOCFILE_ALIGN_MASK): Likewise.
24236         (LOCFILE_ALIGN_UP): Likewise.
24237         (LOCFILE_ALIGNED_P): Likewise.
24238         * locale/programs/ld-collate.c (collate_output): Use the new
24239         macros instead of __alignof__ (int32_t).
24240         * locale/weight.h (findidx): Likewise.
24242 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24244         [BZ #431]
24245         * manual/string.texi: Fix strncat and wcsncat.
24247 2013-10-03  Brooks Moses  <bmoses@google.com>
24249         [BZ #15915]
24250         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24251         * Makerules: ...here, and adjust associated comments.
24253 2013-10-02  Will Newton  <will.newton@linaro.org>
24255         * malloc/Makefile: Add tst-pvalloc.
24256         * malloc/tst-pvalloc.c: New file.
24258 2013-10-02  Will Newton  <will.newton@linaro.org>
24260         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24261         improve test coverage.
24263 2013-10-02  Will Newton  <will.newton@linaro.org>
24265         * malloc/Makefile: Add tst-posix_memalign.
24266         * malloc/tst-posix_memalign.c: New file.
24268 2013-10-01  Eric Blake  <eblake@redhat.com>
24270         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24271         Use __THROWNL rather than __THROW on static functions.
24273 2013-09-30  Petr Machata  <pmachata@redhat.com>
24275         * elf/elf.h (R_AARCH64_ABS16): New macro.
24276         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24277         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24278         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24279         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24280         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24281         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24282         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24283         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24284         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24285         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24286         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24287         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24288         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24289         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24290         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24291         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24292         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24293         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24294         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24295         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24296         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24297         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24298         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24299         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24300         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24301         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24302         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24303         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24304         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24305         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24306         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24307         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24308         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24309         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24310         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24311         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24312         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24313         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24314         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24315         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24316         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24317         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24318         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24319         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24320         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24321         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24322         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24323         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24324         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24325         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24326         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24327         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24328         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24329         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24330         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24331         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24332         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24333         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24334         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24335         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24336         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24337         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24338         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24339         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24340         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24341         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24342         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24343         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24344         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24345         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24346         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24347         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24348         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24349         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24350         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24351         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24352         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24353         (R_AARCH64_TLSDESC_LDR): Likewise.
24354         (R_AARCH64_TLSDESC_ADD): Likewise.
24355         (R_AARCH64_TLSDESC_CALL): Likewise.
24357 2013-09-30  Andreas Schwab  <schwab@suse.de>
24359         [BZ #15048]
24360         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24361         the nss database lookup.
24362         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24365 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24367         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24369 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24371         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24372         ${Bash-specific parameter/pattern/string} parameter expansion.
24373         * sysdeps/unix/make-syscalls.sh: Likewise.
24375 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24377         * sysdeps/sh/stackguard-macros.h: New file.
24379 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24383         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24384         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24385         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24386         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24388 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24390         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24391         Fix thread ID register.
24393 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24395         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24396         [POSIX || UNIX98]: Require rather than permitting all symbols from
24397         <time.h>.
24398         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24399         element of struct sched_param.
24400         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24401         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24402         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24403         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24404         constant.
24406 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24408         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24409         argument calculation.
24411 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24413         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24414         Expect macro.
24415         [POSIX] (pthread_attr_t): Do not require type.
24416         [POSIX] (pthread_cond_t): Likewise.
24417         [POSIX] (pthread_condattr_t): Likewise.
24418         [POSIX] (pthread_key_t): Likewise.
24419         [POSIX] (pthread_mutex_t): Likewise.
24420         [POSIX] (pthread_mutexattr_t): Likewise.
24421         [POSIX] (pthread_once_t): Likewise.
24422         [POSIX] (pthread_t): Likewise.
24423         [POSIX-based standards] (pthread_atfork): Expect function.
24425 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24426             Richard Sandiford  <richard@codesourcery.com>
24428         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24429         (swap_endianness_p): New extern variable.
24430         (set_big_endian): New inline function.
24431         (maybe_swap_uint32): Likewise.
24432         (maybe_swap_uint32_array): Likewise.
24433         (maybe_swap_uint32_obstack): Likewise.
24434         * locale/programs/locfile.c: Include <stdbool.h>.
24435         (swap_endianness_p): New variable.
24436         (add_locale_uint32): Call maybe_swap_uint32.
24437         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24438         (write_locale_data): Call maybe_swap_uint32_array.
24439         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24440         maybe_swap_uint32.
24441         (obstack_int32_grow_fast): Likewise.
24442         (output_weightwc): Call maybe_swap_uint32_obstack.
24443         (collate_output): Likewise.
24444         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24445         (OPT_LITTLE_ENDIAN): Likewise.
24446         (options): Add --little-endian and --big-endian options.
24447         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24448         * locale/programs/locarchive.c: Include "locfile.h".
24449         (GET): New macro.
24450         (SET): Likewise.
24451         (INC): Likewise.
24452         (create_archive): Use the new macros to access fields of
24453         structures directly mapped from or written to locale archives.
24454         (oldlocrecentcmp): Likewise.
24455         (enlarge_archive): Likewise.
24456         (insert_name): Likewise.
24457         (add_alias): Likewise.
24458         (add_locale): Likewise.
24459         (delete_locales_from_archive): Likewise.
24460         (show_archive_content): Likewise.
24461         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24462         locale data.
24464 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24466         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24467         http://www.gnu.org/doc/freemanuals.texi.
24468         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24470 2013-09-24  Will Newton  <will.newton@linaro.org>
24472         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24473         macro.
24475 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24477         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24478         unsigned char.
24480 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24482         * manual/threads.texi (POSIX Threads): Fix a typo.
24484 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24486         [BZ #14547]
24487         * string/tst-strcoll-overflow.c: New test case.
24488         * string/Makefile (xtests): Add tst-strcoll-overflow.
24489         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24490         cache if string sizes may cause integer overflow.
24492         [BZ #14547]
24493         * string/strcoll_l.c (coll_seq): New members rule, idx,
24494         save_idx and back_us.
24495         (get_next_seq_nocache): New function.
24496         (do_compare_nocache): New function.
24497         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24498         when malloc fails.
24500 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24502         [BZ #15754]
24503         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24504         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24505         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24507         [BZ #15754]
24508         * elf/Makefile (tests): Add tst-ptrguard1.
24509         (tests-static): Add tst-ptrguard1-static.
24510         (tst-ptrguard1-ARGS): Define.
24511         (tst-ptrguard1-static-ARGS): Define.
24512         * elf/tst-ptrguard1.c: New file.
24513         * elf/tst-ptrguard1-static.c: New file.
24514         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24515         * sysdeps/i386/stackguard-macros.h: Likewise.
24516         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24517         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24518         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24519         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24520         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24521         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24523 2013-09-23  Hector Marco  <hecmargi@upv.es>
24524             Ismael Ripoll  <iripoll@disca.upv.es>
24525             Carlos O'Donell  <carlos@redhat.com>
24527         [BZ #15754]
24528         * sysdeps/generic/stackguard-macros.h: Define
24529         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24530         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24531         Define __pointer_chk_guard_local.
24532         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24533         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24535 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24537         [BZ #15859]
24538         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24540 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24542         * include/string.h (__ffs): Declare as hidden.
24543         * string/ffs.c (__ffs): Define as hidden.
24544         * sysdeps/i386/ffs.c (__ffs): Likewise.
24545         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24546         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24547         * sysdeps/s390/ffs.c (__ffs): Likewise.
24548         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24550 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24552         * NEWS: Mention malloc probes.
24554         * malloc/arena.c (new_heap): New memory_heap_new probe.
24555         (grow_heap): New memory_heap_more probe.
24556         (shrink_heap): New memory_heap_less probe.
24557         (heap_trim): New memory_heap_free probe.
24558         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24559         (systrim): New memory_sbrk_less probe.
24560         * manual/probes.texi: Document them.
24562         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24563         * manual/probes.texi: Document it.
24565         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24566         (__libc_realloc): Add memory_realloc_retry probe.
24567         (__libc_memalign): Add memory_memalign_retry probe.
24568         (__libc_valloc): Add memory_valloc_retry probe.
24569         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24570         (__libc_calloc): Add memory_calloc_retry probe.
24571         * manual/probes.texi: Document them.
24573         * malloc/arena.c (get_free_list): Add probe
24574         memory_arena_reuse_free_list.
24575         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24576         and memory_arena_reuse.
24577         (arena_get2) [!PER_THREAD]: Likewise.
24578         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24579         memory_arena_reuse_realloc.
24580         * manual/probes.texi: Document them.
24582         * malloc/malloc.c (__libc_free): Add
24583         memory_mallopt_free_dyn_thresholds probe.
24584         (__libc_mallopt): Add multiple memory_mallopt probes.
24585         * manual/probes.texi: Document them.
24587         * malloc/malloc.c: Include stap-probe.h.
24588         (__libc_mallopt): Add memory_mallopt probe.
24589         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24590         * manual/probes.texi: New.
24591         * manual/Makefile (chapters): Add probes.
24592         * manual/threads.texi: Set next node.
24594 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
24596         [BZ #15963, #13985]
24597         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24598         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24599         Add `Chinese' to `nan' entry name.
24601 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24603         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24604         (POLYNOMIAL): Likewise.
24605         (TAYLOR_SINCOS): Likewise.
24606         (TAYLOR_SLOW): Likewise.
24607         (__sin): Use TAYLOR_SINCOS.
24608         (__cos): Likewise.
24609         (slow): Use TAYLOR_SLOW.
24610         (sloww): Likewise.
24611         (bsloww): Likewise.
24612         (csloww): Likewise.
24614 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24616         * stdlib/strtod_l.c: Fix buffer overrun.
24618 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24620         * benchtests/Makefile (bench): Add sincos.
24621         * benchtests/bench-sincos.c: New file.
24623         * math/libm-test.inc (cos_test_data): New test inputs.
24624         (sin_test_data): Likewise.
24626         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24627         macro.
24628         (__sin): Use it.
24629         (__cos): Likewise.
24630         (slow1): Likewise.
24631         (slow2): Likewise.
24632         (sloww1): Likewise.
24633         (sloww2): Likewise.
24634         (bsloww1): Likewise.
24635         (bsloww2): Likewise.
24636         (cslow2): Likewise.
24637         (csloww1): Likewise.
24638         (csloww2): Likewise.
24640         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24641         function.
24642         (__sin): Use it.
24643         (__cos): Likewise.
24645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24646         gotos.
24647         (__cos): Likewise.
24649 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
24651         * config.h.in (HAVE_MIPS_NAN2008): New macro.
24652         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24653         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24654         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24655         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24656         * elf/cache.c (print_entry): Handle the new cache flags.
24658 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24659             Aldy Hernandez  <aldyh@redhat.com>
24661         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24662         Change condition to [_SOFT_FLOAT].
24663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24666         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24675         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24678         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24679         declaration.
24681 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24683         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24684         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24685         (__longjmp): Use LOAD_GP to load saved GPRs.
24686         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24687         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24688         (__sigsetjmp): Use SAVE_GP to save GPRs.
24690         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24691         Do not append -msoft-float.
24692         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24694 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24696         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24698 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
24700         [BZ #15966]
24701         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24702         (_FPU_GETCW): Use initial "__" on variable and field names but not
24703         on macro parameter name.
24704         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
24705         parentheses around reference to macro parameter.
24707 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
24709         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24710         prototype.
24711         (ctype_startup): Use uint32_t in cast and sizeof for
24712         ctype->charnames.
24714 2013-09-11  Jia Liu  <proljc@gmail.com>
24716         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24717         __daddr_t_defined.
24718         [__FreeBSD__]: Likewise.
24720 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
24722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24723         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24724         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24725         (strchr): Remove __strchr_sse42 ifunc selection.
24726         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24727         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24729 2013-09-11  Will Newton  <will.newton@linaro.org>
24731         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24732         parameter to RES. Remove hardcoded 1000 value.
24733         * benchtests/bench-skeleton.c (main): Pass RES parameter
24734         to TIMING_INIT and multiply result by 1000.
24736 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24740 2013-09-11  Andreas Schwab  <schwab@suse.de>
24742         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24743         if not defined.
24744         (O_TMPFILE) [__USE_GNU]: Define.
24745         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24746         Define.
24748 2013-09-11  Will Newton  <will.newton@linaro.org>
24750         [BZ #15857]
24751         * malloc/malloc.c (__libc_memalign): Check the value of bytes
24752         does not overflow.
24754 2013-09-11  Will Newton  <will.newton@linaro.org>
24756         [BZ #15856]
24757         * malloc/malloc.c (__libc_valloc): Check the value of bytes
24758         does not overflow.
24760 2013-09-11  Will Newton  <will.newton@linaro.org>
24762         [BZ #15855]
24763         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24764         does not overflow.
24766 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
24768         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24769         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24770         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24771         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24772         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24774 2013-09-10  Allan McRae  <allan@archlinux.org>
24776         [BZ #15748]
24777         * manual/arith.texi (Parsing of Floats): Clarify
24778         cross-reference.
24780         [BZ #15849]
24781         * manual/install.texi (Running make install): Mention
24782         --enable-pt-chown.
24783         * INSTALL: Regenerated.
24785 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
24787         * csu/init-first.c (_init): Remove the !SHARED condition around
24788         FPU control word initialization.
24789         * elf/dl-support.c (_dl_fpu_control): New variable.
24790         (_dl_aux_init) <AT_FPUCW>: Initialize it.
24791         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24792         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24793         * math/test-fpucw-static.c: New file.
24794         * math/test-fpucw-ieee.c: New file.
24795         * math/test-fpucw-ieee-static.c: New file.
24796         * math/Makefile (tests): Add `test-fpucw-ieee' and
24797         `$(tests-static)'.
24798         (tests-static): New variable.
24799         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24800         dependency to...
24801         [($(build-shared),yes)]
24802         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24803         ... this.
24804         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24805         New dependency.
24807 2013-09-09  Allan McRae  <allan@archlinux.org>
24809         [BZ #15939]
24810         * manual/string.texi (Collation Functions): Fix typo in
24811         strcoll example.
24812         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24814         [BZ #15893]
24815         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24817         [BZ #15892]
24818         * libio/memstream.c (open_memstream): Fix memory leak.
24819         * libio/wmemstream.c (open_wmemstream): Likewise.
24821         [BZ #15895]
24822         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24824 2013-09-09  Will Newton  <will.newton@linaro.org>
24826         * malloc/Makefile: Add tst-realloc to tests.
24827         * malloc/tst-realloc.c: New file.
24829 2013-09-09  Allan McRae  <allan@archlinux.org>
24831         [BZ #15844]
24832         * COPYING: Update from GNU website to fix FSF address.
24833         * COPYING.LIB: Likewise.
24835 2013-09-06  David S. Miller  <davem@davemloft.net>
24837         * po/zh_TW.po: Update Chinese (traditional) translation from
24838         translation project.
24840 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24841             Joseph Myers  <joseph@codesourcery.com>
24843         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24844         "localeinfo.h".
24845         (obstack_chunk_alloc): New macro.
24846         (obstack_chunk_free): Likewise.
24847         (record_offset): New function.
24848         (init_locale_data): Likewise.
24849         (align_locale_data): Likewise.
24850         (add_locale_empty): Likewise.
24851         (add_locale_raw_data): Likewise.
24852         (add_locale_raw_obstack): Likewise.
24853         (add_locale_string): Likewise.
24854         (add_locale_wstring): Likewise.
24855         (add_locale_uint32): Likewise.
24856         (add_locale_uint32_array): Likewise.
24857         (add_locale_char): Likewise.
24858         (start_locale_structure): Likewise.
24859         (end_locale_structure): Likewise.
24860         (start_locale_prelude): Likewise.
24861         (end_locale_prelude): Likewise.
24862         (write_locale_data): Take locale_file structure rather than an
24863         iovec.
24864         * locale/programs/locfile.h: Include "obstack.h".
24865         (struct locale_file): Change to store locale file contents instead
24866         of header.
24867         (init_locale_data): New prototype.
24868         (align_locale_data): Likewise.
24869         (add_locale_empty): Likewise.
24870         (add_locale_raw_data): Likewise.
24871         (add_locale_raw_obstack): Likewise.
24872         (add_locale_string): Likewise.
24873         (add_locale_wstring): Likewise.
24874         (add_locale_uint32): Likewise.
24875         (add_locale_uint32_array): Likewise.
24876         (add_locale_char): Likewise.
24877         (start_locale_structure): Likewise.
24878         (end_locale_structure): Likewise.
24879         (start_locale_prelude): Likewise.
24880         (end_locale_prelude): Likewise.
24881         (write_locale_data): Update prototype.
24882         * locale/programs/3level.h (struct TABLE): Remove result field.
24883         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24884         Use new locale_file interface.
24885         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24886         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24887         * locale/programs/ld-address.c (address_output): Use new
24888         locale_file interface.
24889         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24890         NO_ADD_LOCALE.
24891         (collate_finish): Don't call collseq_table_finalize.
24892         (collate_output): Use new locale_file interface.
24893         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24894         in file.
24895         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24896         (TABLE): Move defines earlier in file.
24897         (ELEMENT): Likewise.
24898         (DEFAULT): Likewise.
24899         (wctrans_table_add): Move macro and inline function earlier in
24900         file.
24901         (struct wctype_table): Move type earlier in file.
24902         (add_locale_wctype_table): New static prototype.
24903         (struct locale_ctype_t): Use logical types instead of struct iovec
24904         pointers for members.
24905         (ctype_output): Use new locale_file interface.
24906         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24907         new locale_file interface.
24908         (allocate_arrays): Update for use of new locale_file interface.
24909         * locale/programs/ld-identification.c (identification_output): Use
24910         new locale_file interface.
24911         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24912         * locale/programs/ld-messages.c (messages_output): Likewise.
24913         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24914         * locale/programs/ld-name.c (name_output): Likewise.
24915         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24916         * locale/programs/ld-paper.c (paper_output): Likewise.
24917         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24918         * locale/programs/ld-time.c (time_output): Likewise.
24920 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24922         * benchtests/Makefile: Add memrchr benchmark.
24923         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24924         benchmark as memrchr.
24925         * benchtests/bench-memrchr-ifunc.c: New file.
24926         * benchtests/bench-memrchr.c: New file.
24928 2013-09-06   Will Newton  <will.newton@linaro.org>
24930         * benchtests/Makefile (string-bench): Add memcpy.
24932 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24933             Cong Wang  <amwang@redhat.com>
24935         [BZ #15850]
24936         * sysdeps/unix/sysv/linux/bits/in.h
24937         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24938         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24939         before __USE_KERNEL_IPV6_DEFS uses.
24940         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24941         IPPROTO_BEETPH.
24942         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24943         sockaddr_in6, or ipv6_mreq.
24945 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24947         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24948         memory access for final bytes in some large inputs.
24949         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24951 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24953         * string/test-memrchr.c: New file.
24954         * string/test-memrchr-ifunc.c: New file.
24955         * string/Makefile: Add new memrchr testcase.
24957 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24959         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24960         fanotify_init returns EPERM.
24962 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24964         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24965         errors.
24966         (top level): Treat second token from macro or constant entries for
24967         allowed headers as allowed.
24968         * include/complex.h: Condition internal declarations on
24969         [!_ISOMAC].
24970         * include/fenv.h: Condition include of <stdbool.h> and internal
24971         declarations on [!_ISOMAC].
24973 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24975         [BZ #15923]
24976         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24978 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24980         * configure.in (--enable-versioning): Remove configure option.
24981         (libc_cv_asm_symver_directive): Remove configure test.
24982         (libc_cv_ld_version_script_option): Likewise.
24983         (VERSIONING): Remove variable and AC_SUBST.
24984         (DO_VERSIONING): Remove AC_DEFINE.
24985         * configure: Regenerated.
24986         * config.h.in (DO_VERSIONING): Remove macro.
24987         * Makerules [$(versioning) = yes]: Change conditionals to
24988         [$(build-shared) = yes].
24989         * config.make.in (versioning): Remove variable.
24990         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24991         [$(build-shared) = yes].
24992         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24993         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24994         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24995         [$(build-shared) = yes].
24996         * extra-lib.mk [$(versioning) = yes]: Likewise.
24997         * hurd/Makefile [$(versioning) = yes]: Likewise.
24998         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24999         [SHARED].
25000         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25001         [SHARED].
25002         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25003         [SHARED && !NO_HIDDEN].
25004         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25005         [SHARED].
25006         [SHARED && DO_VERSIONING]: Likewise..
25007         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25008         [$(build-shared) = yes].
25009         * manual/install.texi (--disable-versioning): Remove
25010         documentation.
25011         * INSTALL: Regenerated.
25012         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25013         to [SHARED].
25014         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25015         [$(build-shared) = yes].
25016         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25017         * sysdeps/i386/i686/multiarch/strstr-c.c
25018         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25019         [SHARED && !NO_HIDDEN].
25020         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25021         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25022         * sysdeps/powerpc/powerpc32/dl-machine.c
25023         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25024         * sysdeps/powerpc/powerpc32/sysdep.h
25025         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25026         to [SHARED && PIC && !NO_HIDDEN].
25027         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25028         conditional to [SHARED].
25030 2013-09-04   Will Newton  <will.newton@linaro.org>
25032         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25033         * benchtests/bench-string.h: Include bench-timing.h instead
25034         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25035         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25036         call to HP_TIMING_DIFF_INIT.
25037         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25038         instead of hp-timing.h macros.
25039         * benchtests/bench-memchr.c: Likewise.
25040         * benchtests/bench-memcmp.c: Likewise.
25041         * benchtests/bench-memcpy.c: Likewise.
25042         * benchtests/bench-memmem.c: Likewise.
25043         * benchtests/bench-memmove.c: Likewise.
25044         * benchtests/bench-memset.c: Likewise.
25045         * benchtests/bench-rawmemchr.c: Likewise.
25046         * benchtests/bench-strcasecmp.c: Likewise.
25047         * benchtests/bench-strcasestr.c: Likewise.
25048         * benchtests/bench-strcat.c: Likewise.
25049         * benchtests/bench-strchr.c: Likewise.
25050         * benchtests/bench-strcmp.c: Likewise.
25051         * benchtests/bench-strcpy.c: Likewise.
25052         * benchtests/bench-strcpy_chk.c: Likewise.
25053         * benchtests/bench-strlen.c: Likewise.
25054         * benchtests/bench-strncasecmp.c: Likewise.
25055         * benchtests/bench-strncat.c: Likewise.
25056         * benchtests/bench-strncmp.c: Likewise.
25057         * benchtests/bench-strncpy.c: Likewise.
25058         * benchtests/bench-strnlen.c: Likewise.
25059         * benchtests/bench-strpbrk.c: Likewise.
25060         * benchtests/bench-strrchr.c: Likewise.
25061         * benchtests/bench-strspn.c: Likewise.
25062         * benchtests/bench-strstr.c: Likewise.
25064 2013-09-04  Will Newton  <will.newton@linaro.org>
25066         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25068 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25070         [BZ #15427]
25071         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25072         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25073         * math/libm-test.inc (lgamma_test_data): Add more tests.
25074         * sysdeps/i386/fpu/libm-test-ulps: Update.
25075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25079         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25081         Add ifunc.
25082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25083         Add strcmp-sse2-unaligned
25084         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25086 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25088         * Versions.def (libc): Add GLIBC_2.19.
25090 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25092         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25093         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25095 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25097         [BZ #14155]
25098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25099         intermediate calculations in recurrence.
25100         (__ieee754_ynf): Likewise.
25101         * math/libm-test.inc (jn_test_data): Do not allow spurious
25102         underflow exception.  Add more tests.
25103         (yn_test_data): Add more tests.
25104         * sysdeps/i386/fpu/libm-test-ulps: Update.
25105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25107 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25109         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25111 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25113         * csu/init-first.c: Fix then/than typos.
25114         * locale/programs/ld-collate.c: Likewise.
25115         * locale/programs/linereader.h: Likewise.
25116         * manual/charset.texi: Likewise.
25117         * manual/filesys.texi: Likewise.
25118         * manual/stdio.texi: Likewise.
25119         * manual/string.texi: Likewise.
25120         * stdlib/fmtmsg.c: Likewise.
25121         * sysdeps/i386/stpncpy.S: Likewise.
25122         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25123         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25124         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25125         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25127 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25129         * elf/dl-open.c: Fix typos.
25130         * iconvdata/gbbig5.c: Likewise.
25131         * iconvdata/iso-2022-jp.c: Likewise.
25132         * iconv/gconv_int.h: Likewise.
25133         * iconv/loop.c: Likewise.
25134         * nis/rpcsvc/nis.h: Likewise.
25135         * resolv/ns_name.c: Likewise.
25136         * stdio-common/vfscanf.c: Likewise.
25137         * streams/stropts.h: Likewise.
25138         * sunrpc/rpc_thread.c: Likewise.
25139         * sysdeps/i386/strpbrk.S: Likewise.
25140         * sysdeps/ieee754/k_standard.c: Likewise.
25141         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25142         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25143         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25144         * sysdeps/mach/hurd/profil.c: Likewise.
25145         * sysdeps/s390/dl-procinfo.h: Likewise.
25146         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25147         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25148         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25149         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25152 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25154         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25157 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25159         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25160         aix specific files.
25161         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25162         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25163         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25164         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25165         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25166         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25167         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25168         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25170 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25171             Roland McGrath  <roland@hack.frob.com>
25173         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25174         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25176 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25178         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25179         __executable_start symbol instead of _start.
25181 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25183         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25184         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25185         Move macros to...
25186         * sysdeps/gnu/ldsodefs.h: ... this new file.
25188         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25189         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25190         instead of ELFOSABI_LINUX.
25192         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25193         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25194         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25195         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25196         Likewise.
25197         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25198         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25199         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25200         Likewise.
25201         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25202         (ibm_extended_long_double): Add ieee_nan member.
25203         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25204         (do_test): New function.
25206         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25207         TEST_TRUNC.
25208         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25209         functions, renamed from truncdfsf_test, trunctfsf_test,
25210         trunctfdf_test.
25211         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25212         functions.
25213         (do_test): Run all these.
25215 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25217         * argp/argp-help.c: Fix typos.
25218         * argp/argp-parse.c: Likewise.
25219         * debug/backtracesyms.c: Likewise.
25220         * elf/elf.h: Likewise.
25221         * malloc/malloc.c: Likewise.
25222         * nis/nis_print.c: Likewise.
25223         * resolv/res_comp.c: Likewise.
25224         * stdlib/stdlib.h: Likewise.
25225         * sunrpc/clnt_tcp.c: Likewise.
25226         * sunrpc/clnt_udp.c: Likewise.
25227         * sunrpc/clnt_unix.c: Likewise.
25228         * sysdeps/unix/bsd/ptsname.c: Likewise.
25229         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25230         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25232         Likewise.
25233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25234         Likewise.
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25236         Likewise.
25237         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25239 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25241         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25244 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25246         [BZ #15897]
25247         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25248         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25249         ($(objpfx)bug-dl-leaf): New rule.
25250         ($(objpfx)bug-dl-leaf.so): Likewise.
25251         ($(objpfx)bug-dl-leaf.out): Likewise.
25252         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25253         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25254         * dlfcn/bug-dl-leaf.c: New test.
25255         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25256         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25257         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25258         (dlclose): Likewise.
25259         (dlmopen): Likewise.
25261 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25263         * include/netdb.h [!_ISOMAC]:
25264         Don't include <tls.h>.
25265         (h_errno, __libc_h_errno): Move declaration and macros out of
25266         [_LIBC_REENTRANT].
25268         * include/resolv.h [_RESOLV_H_]:
25269         Don't include <tls.h>.
25270         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25271         * resolv/res_libc.c: Don't include <tls.h>.
25272         (_res): Use __attribute__ ((nocommon)) in place of
25273         __attribute__ ((section (".bss"))).
25275         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25276         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25278         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25280         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25281         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25283         * resolv/res_mkquery.c: Include <sys/time.h>.
25285         * inet/ifreq.c: Moved to ...
25286         * sysdeps/unix/ifreq.c: ... here.
25287         * inet/ifreq.c: New file, true stub version.
25289         * socket/sa_len.c: New file.
25290         * socket/Makefile (aux): Add it.
25291         * sysdeps/unix/sysv/linux/Makefile
25292         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25293         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25294         and #include <socket/sa_len.c>.
25295         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25296         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25298         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25299         * bits/socket.h: ... here.
25301         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25302         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25303         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25305 2013-08-27  Andreas Schwab  <schwab@suse.de>
25307         [BZ #15736]
25308         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25309         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25310         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25311         * string/test-strcasecmp.c (test_main): Run tests in several
25312         locales.
25313         * string/test-strncasecmp.c (test_main): Likewise.
25315         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25316         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25317         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25319         (__strncasecmp_ssse3) [PIC]: Likewise.
25321 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25323         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25325         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25326         instead of explicitly declaring xdecrypt.
25327         * nis/nss_nis/nis-publickey.c: Likewise.
25329 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25331         [BZ #15890]
25332         * nscd/aicache.c: Include res_hconf.h.
25333         (addhstaiX): Initialize res_hconf.
25335 2013-08-26  Andreas Schwab  <schwab@suse.de>
25337         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25338         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25340 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25342         * nscd/aicache.c (addhstaiX): Fix indentation.
25344 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25346         * configure.ac: Quote $build_pt_chown test.
25347         * configure: Regenerated.
25349 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25351         [BZ #15532]
25352         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25353         * math/s_cexpf.c (__cexpf): Likewise.
25354         * math/s_cexpl.c (__cexpl): Likewise.
25355         * math/libm-test.inc (cexp_test_data): Correct expected return
25356         value for NaN + i0.  Add another test.
25358 2013-08-22  David S. Miller  <davem@davemloft.net>
25360         * po/ca.po: Update Catalan translation from translation project.
25361         * po/uk.po: Add Ukrainian translations from translation project.
25363 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #15797]
25366         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25367         is infinite, not alongside NaN test.
25368         * math/s_fdimf.c (__fdimf): Likewise.
25369         * math/s_fdiml.c (__fdiml): Likewise.
25370         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25371         errno is unchanged.
25373 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25375         * argp/argp-help.c: Fix typos.
25376         * crypt/speeds.c: Likewise.
25377         * csu/check_fds.c: Likewise.
25378         * elf/dl-load.c: Likewise.
25379         * elf/dl-open.c: Likewise.
25380         * elf/reldep3.c: Likewise.
25381         * elf/reldep.c: Likewise.
25382         * elf/sprof.c: Likewise.
25383         * iconv/iconv_charmap.c: Likewise.
25384         * iconv/skeleton.c: Likewise.
25385         * iconv/strtab.c: Likewise.
25386         * io/lockf64.c: Likewise.
25387         * libio/libioP.h: Likewise.
25388         * resolv/gai_notify.c: Likewise.
25389         * resolv/ns_name.c: Likewise.
25390         * resolv/ns_samedomain.c: Likewise.
25391         * resolv/res_send.c: Likewise.
25392         * stdlib/random.c: Likewise.
25393         * sunrpc/rpc/xdr.h: Likewise.
25394         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25395         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25396         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25397         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25398         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25399         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25400         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25401         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25402         * sysdeps/mach/hurd/check_fds.c: Likewise.
25403         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25404         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25405         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25406         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25407         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25408         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25409         * sysdeps/pthread/aio_notify.c: Likewise.
25410         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25411         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25412         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25413         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25414         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25416 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25418         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25419         version if bit_Slow_SSE4_2 is set.
25420         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25421         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25423 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25425         [BZ #15867]
25426         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25427         trampoline stack frame information.
25428         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25429         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25430         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25431         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25432         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25433         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25434         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25435         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25436         sa_flags value.
25437         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25438         interrupting a syscall and set with option SA_SIGINFO.
25440 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25442         [BZ #15531]
25443         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25444         argument is infinite.
25445         * math/s_cprojf.c (__cprojf): Likewise.
25446         * math/s_cprojl.c (__cprojl): Likewise.
25447         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25448         * math/libm-test.inc (cproj_test_data): Add more tests.
25450         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25452         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25453         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25454         size.  Use __ffs to determine corresponding shift.
25456 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25457             Roland McGrath  <roland@hack.frob.com>
25459         * Makefile (INSTALL): Remove trailing blank lines from output of
25460         makeinfo.
25462 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25464         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25465         Align 32 bit compat elf_greg to 8 bytes.
25467 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25469         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25471 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25473         * string/strcoll_l.c (coll_seq): New structure.
25474         (get_next_seq_cached): New function.
25475         (get_next_seq): New function.
25476         (do_compare): New function.
25477         (STRCOLL): Use GNU style definition.  Simplify implementation
25478         by using get_next_seq, get_next_seq_cached and do_compare.
25480 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25482         [BZ #14699]
25483         CVE-2013-4237
25484         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25485         member.
25486         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25487         member.
25488         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25489         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25490         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25491         conditional.
25492         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25493         GETDENTS_64BIT_ALIGNED.
25494         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25495         * manual/filesys.texi (Reading/Closing Directory): Document
25496         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25497         strongly.
25498         * manual/conf.texi (Limits for Files): Add portability note to
25499         NAME_MAX, PATH_MAX.
25500         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25502 2013-08-13  Andreas Schwab  <schwab@suse.de>
25504         [BZ #15749]
25505         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25506         of fabs.
25507         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25508         LDBL_MAX_EXP >= 16384]: Add tests for it.
25510 2013-08-12  David S. Miller  <davem@davemloft.net>
25512         * version.h (RELEASE): Set to "development".
25513         (VERSION): Set to "2.18.90".
25514         * NEWS: Add 2.19 section.
25516 2013-08-03  David S. Miller  <davem@davemloft.net>
25518         * po/ko.po: Update Korean translation from translation project.
25520 2013-08-01  David S. Miller  <davem@davemloft.net>
25522         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25523         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25524         Bilka.
25526 2013-07-30  David S. Miller  <davem@davemloft.net>
25528         * po/fr.po: Update French translation from translation project.
25530 2013-07-28  David S. Miller  <davem@davemloft.net>
25532         * po/cs.po: Update Czech translation from translation project.
25534         * po/sv.po: Update Swedish translation from translation project.
25536 2013-07-27  David S. Miller  <davem@davemloft.net>
25538         * po/eo.po: Update Esperanto translation from translation project.
25540         * po/vi.po: Update Vietnamese translation from translation project.
25542         * po/de.po: Update German translation from translation project.
25544 2013-07-26  David S. Miller  <davem@davemloft.net>
25546         * po/bg.po: Update Bulgarian translation from translation project.
25548         * po/nl.po: Update Dutch translation from translation project.
25549         * po/pl.po: Update Polish translation from translation project.
25550         * po/ru.po: Update Russian translation from translation project.
25552 2013-07-24  David S. Miller  <davem@davemloft.net>
25554         * po/libc.pot: Update.
25556 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25558         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25559         variable page size.
25560         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25561         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25562         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25564 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25566         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25568 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25569             Andreas Schwab  <schwab@suse.de>
25570             Roland McGrath  <roland@hack.frob.com>
25571             Joseph Myers  <joseph@codesourcery.com>
25572             Carlos O'Donell  <carlos@redhat.com>
25574         [BZ #15755]
25575         * config.h.in: Define HAVE_PT_CHOWN.
25576         * config.make.in (build-pt-chown): New variable.
25577         * configure.in (--enable-pt_chown): New configure option.
25578         * configure: Regenerate.
25579         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25580         build-pt-chown is enabled.
25581         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25582         pt_chown to fix pty ownership.
25583         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25584         CLOSE_ALL_FDS.
25585         * manual/install.texi (Configuring and compiling): Mention
25586         --enable-pt_chown. Add @findex for grantpt.
25587         * INSTALL: Regenerate.
25589 2013-07-20  David S. Miller  <davem@davemloft.net>
25591         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25592         difference between 32-bit and 64-bit.
25594 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
25596         [BZ #15711]
25597         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25598         Avoid system header dependency with -ffreestanding.
25599         ($(objpfx)bits/syscall%d): Likewise.
25601 2013-07-13  David S. Miller  <davem@davemloft.net>
25603         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25604         underflows from atanl/atan2l due to bug 15319.
25605         (casinh_test_data): Likewise.
25607 2013-07-07  David S. Miller  <davem@davemloft.net>
25609         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25611 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
25613         * sysdeps/i386/fpu/libm-test-ulps: Update.
25614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25616 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25618         * configure.in (--enable-lock-elision): Fix message text.
25619         * INSTALL: Regenerate.
25620         * configure: Regenerate.
25622 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25626 2013-07-03  Andreas Jaeger  <aj@suse.de>
25628         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25629         define.
25630         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25631         (ptrace_peeksiginfo_args): Add.
25632         (__ptrace_peeksiginfo_flags): Add.
25633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25635         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25637 2013-07-03  Allan McRae  <allan@archlinux.org>
25639         * sysdeps/i386/fpu/libm-test-ulps: Update.
25641 2013-07-02  David S. Miller  <davem@davemloft.net>
25643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25645 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
25647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25649 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25651         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25654 2013-07-02  Andi Kleen <ak@linux.intel.com>
25656         * config.h.in (ENABLE_LOCK_ELISION): Add.
25657         * configure.in (--enable-lock-elision): Add option.
25658         * manual/install.texi: Document --enable lock elision.
25659         * configure: Regenerate
25660         * INSTALL: Regenerate.
25662 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
25664         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25665         SSE4.2 strcasecmp for libc.a.
25666         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25668 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25670         [BZ #13304]
25671         * soft-fp/op-common.h (_FP_FMA): New macro.
25672         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25673         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
25674         (_FP_MUL_MEAT_1_imm): ... here.
25675         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
25676         (_FP_MUL_MEAT_1_wide): ... here.
25677         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
25678         (_FP_MUL_MEAT_1_hard): ... here.
25679         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25680         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
25681         (_FP_MUL_MEAT_2_wide): ... here.
25682         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
25683         (_FP_MUL_MEAT_2_wide_3mul): ... here.
25684         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
25685         (_FP_MUL_MEAT_2_gmp): ... here.
25686         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25687         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
25688         (_FP_MUL_MEAT_4_wide): ... here.
25689         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
25690         (_FP_MUL_MEAT_4_gmp): ... here.
25691         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25692         (_FP_WFRACBITS_DW_S): Likewise.
25693         (_FP_WFRACXBITS_DW_S): Likewise.
25694         (_FP_HIGHBIT_DW_S): Likewise.
25695         (FP_FMA_S): Likewise.
25696         (_FP_FRAC_HIGH_DW_S): Likewise.
25697         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25698         (_FP_WFRACBITS_DW_D): Likewise.
25699         (_FP_WFRACXBITS_DW_D): Likewise.
25700         (_FP_HIGHBIT_DW_D): Likewise.
25701         (FP_FMA_D): Likewise.
25702         (_FP_FRAC_HIGH_DW_D): Likewise.
25703         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25704         (_FP_WFRACBITS_DW_E): Likewise.
25705         (_FP_WFRACXBITS_DW_E): Likewise.
25706         (_FP_HIGHBIT_DW_E): Likewise.
25707         (FP_FMA_E): Likewise.
25708         (_FP_FRAC_HIGH_DW_E): Likewise.
25709         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25710         (_FP_WFRACBITS_DW_Q): Likewise.
25711         (_FP_WFRACXBITS_DW_Q): Likewise.
25712         (_FP_HIGHBIT_DW_Q): Likewise.
25713         (FP_FMA_Q): Likewise.
25714         (_FP_FRAC_HIGH_DW_Q): Likewise.
25715         * soft-fp/fmasf4.c: New file.
25716         * soft-fp/fmadf4.c: Likewise.
25717         * soft-fp/fmatf4.c: Likewise.
25719 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25722         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25723         Silvermont.
25724         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25725         macro.
25726         (index_Slow_SSE4_2): Likewise.
25727         (index_Prefer_PMINUB_for_stringop): Likewise.
25728         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25729         bit_Slow_SSE4_2 is set.
25730         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25731         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25733 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25735         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25736         rtld_global._dl_hwcap2.
25737         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25738         POWER8.
25739         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25740         POWER8 feature descriptions defined in _dl_hwcap2.
25741         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25742         string handling for POWER8 feature bits.
25743         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25744         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25745         _dl_powerpc_cap_flags.
25746         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25747         * sysdeps/powerpc/rtld-global-offsets.sym
25748         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25749         _dl_hwcap2 in the rtld_global_ro structure.
25751 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25753         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25754         hardware capabilities in support of AT_HWCAP2.
25755         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25756         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25757         GLRO(dl_hwcap2).
25758         (_dl_show_auxv): Add support for calling _dl_procinfo to display
25759         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
25760         explicitly the unknown a_type display mechanism is used.
25761         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25762         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25763         struct member.
25764         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25765         to macro prototype for AT_HWCAP2 support.
25766         * sysdeps/i386/dl-procinfo.h: Likewise.
25767         * sysdeps/s390/dl-procinfo.h: Likewise.
25768         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25769         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
25770         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
25771         return -1 for unknown a_type display fallback.
25772         * sysdeps/sparc/dl-procinfo.h: Likewise.
25773         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25774         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25776 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
25778         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25779         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25781 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
25783         [BZ #12492]
25784         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25785         mprotect making __stack_prot writable.
25787 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
25788             Joseph Myers  <joseph@codesourcery.com>
25790         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25791         as being properly aligned.
25793 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
25795         * dlfcn/modstatic5.c: New file.
25796         * dlfcn/tststatic5.c: New file.
25797         * dlfcn/Makefile (tests): Add tststatic5.
25798         (tests-static): Likewise.
25799         (modules-names): Add modstatic5.
25800         (tststatic5-ENV): New variable.
25801         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25803         [BZ #15022]
25804         * elf/dl-support.c (_dl_main_map): New variable.
25805         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25806         (_dl_nns, _dl_load_adds): Set to 1.
25807         (_dl_initial_searchlist): Refer to _dl_main_map.
25808         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25809         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25810         call to _dl_get_origin.
25811         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25812         around call_map.
25813         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25814         * dlfcn/modstatic3.c: New file.
25815         * dlfcn/tststatic3.c: New file.
25816         * dlfcn/tststatic4.c: New file.
25817         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25818         (tests-static): Likewise.
25819         (modules-names): Add modstatic3.
25820         (tststatic3-ENV, tststatic4-ENV): New variables.
25821         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25822         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25824 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25826         * configure.in (CC): Require GCC version 4.4 or later.
25827         * configure: Regenerated.
25828         * manual/install.texi (Tools for Compilation): Update GCC version
25829         requirement.
25830         * INSTALL: Regenerated.
25832 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25834         [BZ #15674]
25835         * string/test-memcmp.c (check2): New.
25836         (main): Call check2.
25838         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25840 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25842         [BZ #15022]
25843         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25844         over to...
25845         (dl_open_worker) [!SHARED]: ... here.
25847 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25849         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25851 2013-06-25  Richard Henderson  <rth@redhat.com>
25853         * locale/programs/locarchive.c: Include <libc-internal.h>
25855 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25857         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25858         trailing whitespace removed.
25860 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25862         [BZ #10283]
25863         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25864         * locale/programs/locarchive.c: Include libc-mmap.h.
25865         (prepare_address_space): Take two new outputs (the mmap base and len).
25866         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25867         values.
25868         (create_archive): Declare new mmap base and len values for
25869         prepare_address_space, and store the result in ah.
25870         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25871         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25872         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25873         Declare new mmap base and len values for
25874         prepare_address_space, and store the result in new_ah.
25875         (open_archive): Declare new mmap base and len values for
25876         prepare_address_space, and store the result in ah.
25877         (close_archive): If ah->mmap_base is not NULL, use that and
25878         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25879         * sysdeps/generic/libc-mmap.h: New file.
25881 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25883         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25884         (ALIGN_UP): Likewise.
25885         (PTR_ALIGN_DOWN): Likewise.
25886         (PTR_ALIGN_UP): Likewise.
25888 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25890         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25891         entry mapped to PPC_PLATFORM_POWER8.
25892         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25893         POWER8.
25894         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25895         (_dl_string_platform): Add case for exporting platform position for
25896         POWER8.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25898         search path to sysdeps/powerpc/powerpc32/power8 directory.
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25900         search path to sysdeps/powerpc/powerpc64/power8 directory.
25901         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25902         power7 directories.
25903         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25904         power7 directories.
25906 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25908         * INSTALL: Regenerate.
25910         * nscd/connections.c (nscd_init): Fix comment.
25912 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25914         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25916         [BZ #15667]
25917         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25918         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25920 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25922         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25923         DL_DST_REQ_STATIC.
25924         (DL_DST_REQ_STATIC): Remove macro.
25926 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25928         [BZ #7006]
25929         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25930         with a shift of 0 bits.
25932 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25934         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25935         $(tststatic-ENV).
25937 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25939         [BZ #15655]
25940         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25942 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25944         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25945         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25946         accepts -fno-tree-loop-distribute-patterns.
25947         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25948         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25949         recursive call.
25950         * string/memset.c (memset): Likewise.
25951         * string/test-memmove.c (simple_memmove): Disable loop transformation
25952         to library calls.
25953         * string/test-memset.c (simple_memset): Likewise.
25954         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25955         * benchtests/bench-memset.c (simple_memset): Likewise.
25956         * configure: Regenerated.
25958 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25960         * math/test-misc.c (main): Ignore fesetround failure when failures
25961         of subsequent rounding tests would be ignored.
25963         [BZ #15654]
25964         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25965         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25966         * math/fegetenv.c (__fegetenv): Return 0.
25967         * math/fegetexcept.c (fegetexcept): Return 0.
25968         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25969         FE_TONEAREST.
25970         * math/feholdexcpt.c (feholdexcept): Return 0.
25971         * math/fesetenv.c (__fesetenv): Return 0.
25972         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25973         argument FE_TONEAREST.
25974         * math/feupdateenv.c (__feupdateenv): Return 0.
25975         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25977 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25979         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25980         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25981         ($(objpfx)rtld-%.os rules): Use them.
25983 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25985         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25986         fields.
25988 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25990         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25991         length of target pattern, then descending length of dependency pattern.
25992         * configure.in (AWK): Require gawk 3.1.2 or newer.
25993         * manual/install.texi (Tools for Compilation): Say that we do.
25994         * configure: Regenerated.
25996         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25997         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25998         * scripts/sysd-rules.awk: ... this new script.
25999         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26000         than a glob-style pattern.
26002 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26004         * math/test-misc.c (main): Do not treat incorrectly rounded
26005         conversions as failure unless ROUNDING_TESTS passes.
26007 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26009         [BZ #15631]
26010         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26011         restore exception state around main square root computation, then
26012         check for inexactness explicitly.
26014         * math/libm-test.inc (fma_test_data): Add another test.
26016 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26018         * manual/threads.texi (Non-POSIX Extensions): New document
26019         node.  Document pthread_getattr_default_np and
26020         pthread_setattr_default_np.
26022         * Versions.def (libpthread): Add GLIBC_2.18.
26023         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26025         Likewise.
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26027         Likewise.
26028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26029         Likewise.
26030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26031         Likewise.
26032         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26033         Likewise.
26034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26035         Likewise.
26036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26037         Likewise.
26038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26039         Likewise.
26040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26041         Likewise.
26043 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26046         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26048 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26049             H.J. Lu  <hjl.tools@gmail.com>
26051         [BZ #15627]
26052         * sysdeps/x86_64/rtld-memset.c: Remove file.
26053         * sysdeps/x86_64/rtld-memset.S: New file.
26055 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26057         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26058         (test_in_one_mode): Take arguments for whether the rounding mode
26059         is supported for each floating-point type.
26060         (do_test): Pass new arguments to test_in_one_mode using
26061         ROUNDING_TESTS.
26063 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26065         * posix/tst-waitid.c (do_test): Distinguish different instances of
26066         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26067         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26068         before entering the kernel for waitpid.
26070 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26072         * NEWS: Fix note on clock function precision.  Text by Roland
26073         McGrath.
26075 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26077         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26078         it into place only when and if the sanity check passes.
26080 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26082         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26083         output for whether conversion result is exact.  Take argument
26084         indicating whether type is IBM long double.
26085         (round_for_all): Change need_exact field to ibm_ld.
26086         * stdlib/tst-strtod-round.c (struct exactness): New type.
26087         (struct test): Change bool ld_ok field to struct exactness exact.
26088         (TEST): Update all definitions for change to field.
26089         (tests): Regenerate array contents.
26090         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26091         field value.  Check for IBM long double here.
26092         (do_test): Update calls to test_in_one_mode.
26094 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26096         [BZ #12515]
26097         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26098         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26100 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26102         [BZ #15605]
26103         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26104         generated by the compiler on loop optimizations.
26105         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26106         general definitions.
26108 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26110         * math/bug-nextafter.c: Include <math-tests.h>.
26111         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26112         the relevant type.
26113         * math/bug-nexttoward.c: Include <math-tests.h>.
26114         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26115         the relevant type.
26116         * math/test-misc.c: Include <math-tests.h>.
26117         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26118         the relevant type.
26120 2013-06-12  Andreas Jaeger  <aj@suse.de>
26122         * po/ia.po: Update Interlingua translation from translation
26123         project.
26125 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26127         * include/fenv.h: Include stdbool.h.
26128         (struct rm_ctx): New structure.
26129         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26130         Define macro.
26131         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26132         (SET_RESTORE_ROUNDF): Likewise.
26133         (SET_RESTORE_ROUNDL): Likewise.
26134         (SET_RESTORE_ROUND_NOEX): Likewise.
26135         (SET_RESTORE_ROUND_NOEXF): Likewise.
26136         (SET_RESTORE_ROUND_NOEXL): Likewise.
26137         (SET_RESTORE_ROUND_53BIT): Likewise.
26138         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26139         (libc_feresetround_noexf_ctx): Likewise.
26140         (libc_feresetround_noexl_ctx): Likewise.
26141         (libc_feholdsetround_53bit_ctx): Likewise.
26142         (libc_feresetround_53bit_ctx): Likewise.
26143         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26144         (libc_feholdexcept_setround_sse_ctx): New function.
26145         (libc_fesetenv_sse_ctx): Likewise.
26146         (libc_feupdateenv_sse_ctx): Likewise.
26147         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26148         (libc_feholdexcept_setround_387_ctx): Likewise.
26149         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26150         (libc_feholdsetround_387_prec_ctx): Likewise.
26151         (libc_feholdsetround_387_ctx): Likewise.
26152         (libc_feholdsetround_387_53bit_ctx): Likewise.
26153         (libc_feholdsetround_sse_ctx): Likewise.
26154         (libc_feresetround_sse_ctx): Likewise.
26155         (libc_feresetround_387_ctx): Likewise.
26156         (libc_feupdateenv_387_ctx): Likewise.
26157         (libc_feholdexcept_setroundf_ctx): Define macro.
26158         (libc_fesetenvf_ctx): Likewise.
26159         (libc_feupdateenvf_ctx): Likewise.
26160         (libc_feholdsetroundf_ctx): Likewise.
26161         (libc_feresetroundf_ctx): Likewise.
26162         (libc_feholdexcept_setround_ctx): Likewise.
26163         (libc_fesetenv_ctx): Likewise.
26164         (libc_feupdateenv_ctx): Likewise.
26165         (libc_feholdsetround_ctx): Likewise.
26166         (libc_feresetround_ctx): Likewise.
26167         (libc_feholdexcept_setroundl_ctx): Likewise.
26168         (libc_feupdateenvl_ctx): Likewise.
26169         (libc_feholdsetroundl_ctx): Likewise.
26170         (libc_feresetroundl_ctx): Likewise.
26171         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26172         (libc_feresetround_53bit_ctx): Likewise.
26174 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26176         * locale/iso-639.def: Convert to UTF-8.
26178 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26180         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26181         (EXCEPTION_TESTS_double): Likewise.
26182         (EXCEPTION_TESTS_long_double): Likewise.
26183         (EXCEPTION_TESTS): Likewise.
26184         * math/libm-test.inc (test_exceptions): Only test exceptions if
26185         EXCEPTION_TESTS (FLOAT).
26187 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26189         * benchtests/Makefile (string-bench): Add strcpy_chk and
26190         stpcpy_chk.
26191         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26192         * benchtests/bench-stpcpy_chk.c: New file.
26193         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26194         * benchtests/bench-strcpy_chk.c: New file.
26195         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26196         code.
26197         (do_test): Likewise.
26199 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26201         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26202         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26203         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26204         with tabs where appropriate.
26205         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26206         dl-procinfo.h.
26207         [PPC_PLATFORM_PPC440]: Likewise.
26208         [PPC_PLATFORM_PPC464]: Likewise.
26209         [PPC_PLATFORM_PPC476]: Likewise.
26210         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26211         ppc464, and ppc476 platform strings merging from ports/
26212         dl-procinfo.h.
26214 2013-06-11  Andreas Schwab  <schwab@suse.de>
26216         [BZ #14991]
26217         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26218         (from_ucs4_idx): Regenerate.
26219         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26220         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26221         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26222         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26223         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26224         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26225         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26226         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26227         from FROM_LOOP and TO_LOOP specific macros.
26228         (BODY): Handle combining characters.
26229         * iconvdata/BIG5HKSCS.irreversible: Update.
26230         * iconvdata/BIG5HKSCS.precomposed: New file.
26231         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26232         characters.
26233         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26235 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26237         * include/sys/time.h: Fix indentation and add copyright header.
26239         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26240         (do_test): Likewise.
26241         * string/test-memchr.c (do_one_test): Likewise.
26242         (do_test): Likewise.
26243         * string/test-memcmp.c (do_one_test): Likewise.
26244         (do_test): Likewise.
26245         * string/test-memcpy.c (do_one_test): Likewise.
26246         (do_test): Likewise.
26247         * string/test-memmem.c (do_one_test): Likewise.
26248         (do_test): Likewise.
26249         (do_random_tests): Likewise.
26250         * string/test-memmove.c (do_one_test): Likewise.
26251         (do_test): Likewise.
26252         * string/test-memset.c (do_one_test): Likewise.
26253         (do_test): Likewise.
26254         * string/test-rawmemchr.c (do_one_test): Likewise.
26255         (do_test): Likewise.
26256         * string/test-strcasecmp.c (do_one_test): Likewise.
26257         (do_test): Likewise.
26258         * string/test-strcasestr.c (do_one_test): Likewise.
26259         (do_test): Likewise.
26260         * string/test-strcat.c (do_one_test): Likewise.
26261         (do_test): Likewise.
26262         * string/test-strchr.c (do_one_test): Likewise.
26263         (do_test): Likewise.
26264         * string/test-strcmp.c (do_one_test): Likewise.
26265         (do_test): Likewise.
26266         * string/test-strcpy.c (do_one_test): Likewise.
26267         (do_test): Likewise.
26268         * string/test-string.h: Likewise.
26269         (test_init): Likewise.
26270         * string/test-strlen.c (do_one_test): Likewise.
26271         (do_test): Likewise.
26272         * string/test-strncasecmp.c (do_one_test): Likewise.
26273         (do_test): Likewise.
26274         * string/test-strncat.c (do_one_test): Likewise.
26275         (do_test): Likewise.
26276         * string/test-strncmp.c (do_one_test): Likewise.
26277         (do_test_limit): Likewise.
26278         (do_test): Likewise.
26279         * string/test-strncpy.c (do_one_test): Likewise.
26280         (do_test): Likewise.
26281         * string/test-strnlen.c (do_one_test): Likewise.
26282         (do_test): Likewise.
26283         * string/test-strpbrk.c (do_one_test): Likewise.
26284         (do_test): Likewise.
26285         * string/test-strrchr.c (do_one_test): Likewise.
26286         (do_test): Likewise.
26287         * string/test-strspn.c (do_one_test): Likewise.
26288         (do_test): Likewise.
26289         * string/test-strstr.c (do_one_test): Likewise.
26290         (do_test): Likewise.
26292         * benchtests/Makefile (string-bench): Add string benchmarks.
26293         * benchtests/bench-bcopy-ifunc.c: New file.
26294         * benchtests/bench-bcopy.c: New file.
26295         * benchtests/bench-bzero-ifunc.c: New file.
26296         * benchtests/bench-bzero.c: New file.
26297         * benchtests/bench-memccpy-ifunc.c: New file.
26298         * benchtests/bench-memccpy.c: New file.
26299         * benchtests/bench-memchr-ifunc.c: New file.
26300         * benchtests/bench-memchr.c: New file.
26301         * benchtests/bench-memcmp-ifunc.c: New file.
26302         * benchtests/bench-memcmp.c: New file.
26303         * benchtests/bench-memmem-ifunc.c: New file.
26304         * benchtests/bench-memmem.c: New file.
26305         * benchtests/bench-memmove-ifunc.c: New file.
26306         * benchtests/bench-memmove.c: New file.
26307         * benchtests/bench-mempcpy-ifunc.c: New file.
26308         * benchtests/bench-mempcpy.c: New file.
26309         * benchtests/bench-memset-ifunc.c: New file.
26310         * benchtests/bench-memset.c: New file.
26311         * benchtests/bench-rawmemchr-ifunc.c: New file.
26312         * benchtests/bench-rawmemchr.c: New file.
26313         * benchtests/bench-stpcpy-ifunc.c: New file.
26314         * benchtests/bench-stpcpy.c: New file.
26315         * benchtests/bench-stpncpy-ifunc.c: New file.
26316         * benchtests/bench-stpncpy.c: New file.
26317         * benchtests/bench-strcasecmp-ifunc.c: New file.
26318         * benchtests/bench-strcasecmp.c: New file.
26319         * benchtests/bench-strcasestr-ifunc.c: New file.
26320         * benchtests/bench-strcasestr.c: New file.
26321         * benchtests/bench-strcat-ifunc.c: New file.
26322         * benchtests/bench-strcat.c: New file.
26323         * benchtests/bench-strchr-ifunc.c: New file.
26324         * benchtests/bench-strchr.c: New file.
26325         * benchtests/bench-strchrnul-ifunc.c: New file.
26326         * benchtests/bench-strchrnul.c: New file.
26327         * benchtests/bench-strcmp-ifunc.c: New file.
26328         * benchtests/bench-strcmp.c: New file.
26329         * benchtests/bench-strcpy-ifunc.c: New file.
26330         * benchtests/bench-strcpy.c: New file.
26331         * benchtests/bench-strcspn-ifunc.c: New file.
26332         * benchtests/bench-strcspn.c: New file.
26333         * benchtests/bench-strlen-ifunc.c: New file.
26334         * benchtests/bench-strlen.c: New file.
26335         * benchtests/bench-strncasecmp-ifunc.c: New file.
26336         * benchtests/bench-strncasecmp.c: New file.
26337         * benchtests/bench-strncat-ifunc.c: New file.
26338         * benchtests/bench-strncat.c: New file.
26339         * benchtests/bench-strncmp-ifunc.c: New file.
26340         * benchtests/bench-strncmp.c: New file.
26341         * benchtests/bench-strncpy-ifunc.c: New file.
26342         * benchtests/bench-strncpy.c: New file.
26343         * benchtests/bench-strnlen-ifunc.c: New file.
26344         * benchtests/bench-strnlen.c: New file.
26345         * benchtests/bench-strpbrk-ifunc.c: New file.
26346         * benchtests/bench-strpbrk.c: New file.
26347         * benchtests/bench-strrchr-ifunc.c: New file.
26348         * benchtests/bench-strrchr.c: New file.
26349         * benchtests/bench-strspn-ifunc.c: New file.
26350         * benchtests/bench-strspn.c: New file.
26351         * benchtests/bench-strstr-ifunc.c: New file.
26352         * benchtests/bench-strstr.c: New file.
26354         * benchtests/Makefile: Disable parallel execution of targets.
26355         (string-bench): Add memcpy.
26356         (benchset): New variable to store a list of benchmark sets.
26357         (bench-func): Renamed from bench.
26358         (bench-set): New target.
26359         (bench): Depend on bench-func and bench-set.
26360         * benchtests/README: Add section on benchmark sets.
26361         * benchtests/bench-memcpy-ifunc.c: New file.
26362         * benchtests/bench-memcpy.c: New file.
26363         * benchtests/bench-string.h: New file.
26365 2013-06-11  Andreas Schwab  <schwab@suse.de>
26367         [BZ #15577]
26368         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26369         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26370         values in the triple.
26371         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26372         terminator in the group key.
26374 2013-06-11  Andreas Jaeger  <aj@suse.de>
26376         * po/zh_TW.po: Update Chinese (traditional) translation from
26377         translation project.
26379 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26381         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26382         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26383         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26384         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26385         (clock_getcpuclockid): Likewise.
26386         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26387         Add weak_alias and libc_hidden_def.
26388         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26389         * rt/clock_gettime.c (clock_gettime): Rename to
26390         __clock_gettime.  Add weak_alias and libc_hidden_def.
26391         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26392         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26393         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26394         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26395         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26396         Likewise.
26397         * rt/clock_settime.c (clock_settime): Rename to
26398         __clock_settime.  Add weak_alias and libc_hidden_def.
26399         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26401 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26403         * mach/err_boot.sub: Remove trailing whitespace.
26404         * mach/err_ipc.sub: Likewise.
26405         * mach/err_mach.sub: Likewise.
26407         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26408         (ROUNDING_TESTS_double): Likewise.
26409         (ROUNDING_TESTS_long_double): Likewise.
26410         (ROUNDING_TESTS): Likewise.
26411         * math/libm-test.inc: Include <math-tests.h>.
26412         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26413         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26414         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26415         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26417 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26419         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26420         of assigning.
26422 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26424         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26425         otherwise empty TRANS lines.
26426         * sysdeps/gnu/errlist.c: Regenerated.
26428         * catgets/gencat.c (error_print): Use (void) in function
26429         definition.
26430         * crypt/crypt_util.c (__init_des): Likewise.
26431         * crypt/speeds.c (Stop): Likewise.
26432         (main): Likewise.
26433         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26434         * inet/ruserpass.c (token): Likewise.
26435         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26436         * intl/localealias.c (extend_alias_table): Likewise.
26437         * intl/plural-exp.c (init_germanic_plural): Likewise.
26438         * libio/fcloseall.c (__fcloseall): Likewise.
26439         * libio/genops.c (_IO_flush_all): Likewise.
26440         (_IO_flush_all_linebuffered): Likewise.
26441         (_IO_cleanup): Likewise.
26442         (_IO_iter_begin): Likewise.
26443         (_IO_iter_end): Likewise.
26444         (_IO_list_lock): Likewise.
26445         (_IO_list_unlock): Likewise.
26446         (_IO_list_resetlock): Likewise.
26447         * libio/getchar.c (getchar): Likewise.
26448         * libio/getchar_u.c (getchar_unlocked): Likewise.
26449         * libio/getwchar.c (getwchar): Likewise.
26450         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26451         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26452         * login/getpt.c (__getpt): Likewise.
26453         * login/tst-utmp.c (main): Likewise.
26454         * malloc/hooks.c (__malloc_check_init): Likewise.
26455         * malloc/malloc.c (__malloc_stats): Likewise.
26456         * malloc/mtrace.c (tr_break): Likewise.
26457         (mtrace): Likewise.
26458         (muntrace): Likewise.
26459         * misc/fstab.c (endfsent): Likewise.
26460         * misc/getclktck.c (__getclktck): Likewise.
26461         * misc/getdtsz.c (__getdtablesize): Likewise.
26462         * misc/gethostid.c (gethostid): Likewise.
26463         * misc/getpagesize.c (__getpagesize): Likewise.
26464         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26465         (__get_nprocs): Likewise.
26466         (__get_phys_pages): Likewise.
26467         (__get_avphys_pages): Likewise.
26468         * misc/getttyent.c (getttyent): Likewise.
26469         (setttyent): Likewise.
26470         (endttyent): Likewise.
26471         * misc/getusershell.c (getusershell): Likewise.
26472         (endusershell): Likewise.
26473         (setusershell): Likewise.
26474         (initshells): Likewise.
26475         * misc/hsearch.c (__hdestroy): Likewise.
26476         * misc/sync.c (sync): Likewise.
26477         * misc/syslog.c (closelog_internal): Likewise.
26478         (closelog): Likewise.
26479         * misc/ttyslot.c (ttyslot): Likewise.
26480         * misc/vhangup.c (vhangup): Likewise.
26481         * posix/fork.c (__fork): Likewise.
26482         * posix/getegid.c (__getegid): Likewise.
26483         * posix/geteuid.c (__geteuid): Likewise.
26484         * posix/getgid.c (__getgid): Likewise.
26485         * posix/getpid.c (__getpid): Likewise.
26486         * posix/getppid.c (__getppid): Likewise.
26487         * posix/getuid.c (__getuid): Likewise.
26488         * posix/pause.c (pause): Likewise.
26489         * posix/setpgrp.c (setpgrp): Likewise.
26490         * posix/setsid.c (__setsid): Likewise.
26491         * posix/test-vfork.c (noop): Likewise.
26492         * resolv/gethnamaddr.c (_endhtent): Likewise.
26493         (_gethtent): Likewise.
26494         (ht_endhostent): Likewise.
26495         (gethostent): Likewise.
26496         (dns_service): Likewise.
26497         * stdlib/drand48.c (drand48): Likewise.
26498         * stdlib/lrand48.c (lrand48): Likewise.
26499         * stdlib/mrand48.c (mrand48): Likewise.
26500         * stdlib/rand.c (rand): Likewise.
26501         * stdlib/random.c (__random): Likewise.
26502         * stdlib/setenv.c (clearenv): Likewise.
26503         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26504         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26505         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26506         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26507         (__get_nprocs): Likewise.
26508         (__get_phys_pages): Likewise.
26509         (__get_avphys_pages): Likewise.
26510         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26511         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26512         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26513         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26514         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26515         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26516         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26517         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26518         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26519         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26520         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26521         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26522         * sysdeps/posix/clock.c (clock): Likewise.
26523         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26524         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26525         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26526         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26527         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26528         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26529         (__get_nprocs_conf): Likewise.
26530         (__get_phys_pages): Likewise.
26531         (__get_avphys_pages): Likewise.
26532         * time/clock.c (clock): Likewise.
26533         * time/tzset.c (__tzname_max): Likewise.
26535 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26537         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26538         (__bswap_32): Do not use "register".
26539         * crypt/crypt.c (_ufc_doit_r): Likewise.
26540         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26541         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26542         * gmon/gmon.c (__monstartup): Likewise.
26543         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26544         * hurd/hurdmalloc.c (more_memory): Likewise.
26545         (malloc): Likewise.
26546         (free): Likewise.
26547         (realloc): Likewise.
26548         (malloc_fork_prepare): Likewise.
26549         (malloc_fork_parent): Likewise.
26550         (malloc_fork_child): Likewise.
26551         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26552         (_svcauth_des): Likewise.
26553         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26554         * inet/inet_net.c (inet_network): Likewise.
26555         * inet/inet_netof.c (inet_netof): Likewise.
26556         * inet/rcmd.c (__validuser2_sa): Likewise.
26557         * io/fts.c (fts_open): Likewise.
26558         (fts_load): Likewise.
26559         (fts_close): Likewise.
26560         (fts_read): Likewise.
26561         (fts_children): Likewise.
26562         (fts_build): Likewise.
26563         (fts_stat): Likewise.
26564         (fts_sort): Likewise.
26565         (fts_alloc): Likewise.
26566         (fts_lfree): Likewise.
26567         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26568         (_IO_file_xsgetn): Likewise.
26569         (_IO_file_xsgetn_mmap): Likewise.
26570         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26571         (_IO_cookie_write): Likewise.
26572         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26573         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26574         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26575         * malloc/obstack.c (_obstack_begin): Likewise.
26576         (_obstack_begin_1): Likewise.
26577         (_obstack_newchunk): Likewise.
26578         (_obstack_allocated_p): Likewise.
26579         (obstack_free): Likewise.
26580         (_obstack_memory_used): Likewise.
26581         * misc/getttyent.c (getttynam): Likewise.
26582         (getttyent): Likewise.
26583         (skip): Likewise.
26584         (value): Likewise.
26585         * misc/getusershell.c (initshells): Likewise.
26586         * misc/syslog.c (__vsyslog_chk): Likewise.
26587         * misc/ttyslot.c (ttyslot): Likewise.
26588         * nis/nis_hash.c (__nis_hash): Likewise.
26589         * posix/fnmatch_loop.c (FCT): Likewise.
26590         * posix/getconf.c (print_all): Likewise.
26591         (main): Likewise.
26592         * posix/getopt.c (exchange): Likewise.
26593         * posix/glob.c (globfree): Likewise.
26594         (prefix_array): Likewise.
26595         (__glob_pattern_type): Likewise.
26596         * resolv/arpa/nameser.h (NS_GET16): Likewise.
26597         (NS_GET32): Likewise.
26598         (NS_PUT16): Likewise.
26599         (NS_PUT32): Likewise.
26600         * resolv/gethnamaddr.c (getanswer): Likewise.
26601         (gethostbyname2): Likewise.
26602         (gethostbyaddr): Likewise.
26603         (_gethtent): Likewise.
26604         (_gethtbyname2): Likewise.
26605         (_gethtbyaddr): Likewise.
26606         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26607         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26608         * resolv/res_init.c (__res_vinit): Likewise.
26609         (net_mask): Likewise.
26610         * resolv/res_mkquery.c (outchar): Likewise.
26611         (PRINT): Likewise.
26612         * stdio-common/printf_fp.c (outchar): Likewise.
26613         (PRINT): Likewise.
26614         * stdio-common/printf_fphex.c (outchar): Likewise.
26615         (PRINT): Likewise.
26616         * stdio-common/printf_size.c (outchar): Likewise.
26617         (PRINT): Likewise.
26618         * stdio-common/test_rdwr.c (main): Likewise.
26619         * stdio-common/tfformat.c (matches): Likewise.
26620         * stdio-common/vfprintf.c (outchar): Likewise.
26621         (printf_unknown): Likewise.
26622         (buffered_vfprintf): Likewise.
26623         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26624         * stdio-common/xbug.c (AppendToBuffer): Likewise.
26625         (ReadFile): Likewise.
26626         * stdlib/qsort.c (SWAP): Likewise.
26627         (_quicksort): Likewise.
26628         * stdlib/setenv.c (__add_to_environ): Likewise.
26629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26630         * stdlib/strtol_l.c (__strtol_l): Likewise.
26631         * stdlib/tst-strtod.c (main): Likewise.
26632         * stdlib/tst-strtol.c (main): Likewise.
26633         * stdlib/tst-strtoll.c (main): Likewise.
26634         * string/bits/string2.h (__strcmp_cc): Likewise.
26635         (__strcmp_cg): Likewise.
26636         (__strcspn_c1): Likewise.
26637         (__strcspn_c2): Likewise.
26638         (__strcspn_c3): Likewise.
26639         (__strspn_c1): Likewise.
26640         (__strspn_c2): Likewise.
26641         (__strspn_c3): Likewise.
26642         (__strsep_1c): Likewise.
26643         (__strsep_2c): Likewise.
26644         (__strsep_3c): Likewise.
26645         * string/memccpy.c (__memccpy): Likewise.
26646         * string/stpcpy.c (__stpcpy): Likewise.
26647         * string/strcmp.c (strcmp): Likewise.
26648         * string/strrchr.c (strrchr): Likewise.
26649         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26650         Likewise.
26651         * sysdeps/mach/hurd/getcwd.c
26652         (_hurd_canonicalize_directory_name_internal): Likewise.
26653         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26654         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26655         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26656         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26657         Likewise, in both definitions.
26658         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26659         definitions.
26660         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26661         64] (__bswap_64): Likewise.
26662         * time/test_time.c (main): Likewise.
26663         * time/tzfile.c (__tzfile_read): Likewise.
26664         (__tzfile_compute): Likewise.
26665         * time/tzset.c (__tzset_parse_tz): Likewise.
26666         (tzset_internal): Likewise.
26667         (compute_change): Likewise.
26668         * wcsmbs/wcscat.c (__wcscat): Likewise.
26669         * wcsmbs/wcschr.c (wcschr): Likewise.
26670         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26671         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26672         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26673         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26674         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26675         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26676         * wcsmbs/wmemchr.c (wmemchr): Likewise.
26677         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26678         * wcsmbs/wmemset.c (wmemset): Likewise.
26680 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
26682         * scripts/config.guess: Update to version 2013-05-16.
26683         * scripts/config.sub: Update to version 2013-04-24.
26684         * scripts/install-sh: Update to version 2011-11-20.07.
26685         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26686         * scripts/move-if-change: Update to version 2012-01-06 07:23.
26688 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
26690         * debug/fgetws_u_chk.c: Fix leading whitespaces.
26691         * elf/sln.c: Likewise.
26692         * hurd/hurd/ioctl.h: Likewise.
26693         * hurd/hurdmalloc.c: Likewise.
26694         * hurd/xattr.c: Likewise.
26695         * include/shlib-compat.h: Likewise.
26696         * inet/ruserpass.c: Likewise.
26697         * libio/iofgets_u.c: Likewise.
26698         * libio/iofgetws_u.c: Likewise.
26699         * locale/programs/ld-identification.c: Likewise.
26700         * locale/programs/ld-time.c: Likewise.
26701         * mach/msg-destroy.c: Likewise.
26702         * nss/nss_files/files-netgrp.c: Likewise.
26703         * resolv/res_data.c: Likewise.
26704         * soft-fp/op-1.h: Likewise.
26705         * soft-fp/op-2.h: Likewise.
26706         * soft-fp/op-4.h: Likewise.
26707         * soft-fp/op-common.h: Likewise.
26708         * stdio-common/printf_fphex.c: Likewise.
26709         * stdlib/strtod_l.c: Likewise.
26710         * sunrpc/rpc/clnt.h: Likewise.
26711         * sysdeps/generic/framestate.c: Likewise.
26712         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26713         * sysdeps/i386/bsd-setjmp.S: Likewise.
26714         * sysdeps/i386/__longjmp.S: Likewise.
26715         * sysdeps/i386/setjmp.S: Likewise.
26716         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26717         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26718         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26719         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26720         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26721         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26722         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26723         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26724         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26725         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26726         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26727         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26728         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26729         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26730         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26732         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26733         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26734         * sysdeps/ieee754/support.c: Likewise.
26735         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26736         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26737         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26738         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26739         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26740         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26741         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26742         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26743         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26744         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26745         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26746         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26747         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26748         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26749         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26750         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26751         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26754 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
26756         * posix/transbug.c: Remove executable mode.
26758 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
26760         * crypt/speeds.c: Remove trailing whitespace.
26761         * dlfcn/default.c: Likewise.
26762         * elf/ifuncdep2.c: Likewise.
26763         * elf/ifuncmain1.c: Likewise.
26764         * elf/ifuncmain1vis.c: Likewise.
26765         * elf/testobj.h: Likewise.
26766         * elf/tst-stackguard1.c: Likewise.
26767         * gmon/sys/gmon.h: Likewise.
26768         * hurd/hurdmsg.c: Likewise.
26769         * hurd/new-fd.c: Likewise.
26770         * hurd/ports-get.c: Likewise.
26771         * iconvdata/ibm1008_420.c: Likewise.
26772         * inet/tst-getni1.c: Likewise.
26773         * inet/tst-getni2.c: Likewise.
26774         * libio/ioungetc.c: Likewise.
26775         * libio/wfiledoalloc.c: Likewise.
26776         * manual/libm-err-tab.pl: Likewise.
26777         * math/w_dremf.c: Likewise.
26778         * misc/ftruncate.c: Likewise.
26779         * posix/bug-glob2.c: Likewise.
26780         * posix/tst-pcre.c: Likewise.
26781         * posix/wait4.c: Likewise.
26782         * resolv/README: Likewise.
26783         * resolv/res_debug.h: Likewise.
26784         * resolv/tst-inet_ntop.c: Likewise.
26785         * setjmp/bug269-setjmp.c: Likewise.
26786         * soft-fp/extended.h: Likewise.
26787         * soft-fp/op-1.h: Likewise.
26788         * soft-fp/op-2.h: Likewise.
26789         * soft-fp/op-4.h: Likewise.
26790         * soft-fp/op-8.h: Likewise.
26791         * soft-fp/testit.c: Likewise.
26792         * stdio-common/bug16.c: Likewise.
26793         * stdlib/random.c: Likewise.
26794         * sunrpc/rpcsvc/rquota.x: Likewise.
26795         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26796         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26797         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26798         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26799         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26800         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26801         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26802         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26803         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26804         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26805         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26806         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26807         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26808         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26809         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26810         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26811         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26813         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26814         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26815         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26816         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26817         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26818         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26819         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26820         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26822         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26823         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26824         * sysdeps/ieee754/s_lib_version.c: Likewise.
26825         * sysdeps/mach/hurd/check_fds.c: Likewise.
26826         * sysdeps/mach/hurd/getsockname.c: Likewise.
26827         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26828         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26829         * sysdeps/powerpc/bits/link.h: Likewise.
26830         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26831         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26832         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26833         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26834         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26835         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26836         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26837         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26838         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26839         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26840         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26841         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26842         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26843         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26844         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26845         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26846         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26847         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26849         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26850         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26851         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26852         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26853         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26854         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26855         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26856         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26857         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26859         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26860         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26861         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26862         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26863         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26864         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26865         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26866         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26867         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26868         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26869         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26870         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26871         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26872         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26873         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26874         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26875         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26876         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26877         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26878         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26879         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26880         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26882         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26883         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26884         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26885         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26886         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26888         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26889         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26890         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26891         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26892         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26893         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26894         * sysdeps/powerpc/sysdep.h: Likewise.
26895         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26896         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26897         * sysdeps/sh/dl-trampoline.S: Likewise.
26898         * sysdeps/sh/memset.S: Likewise.
26899         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26900         * sysdeps/sh/strlen.S: Likewise.
26901         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26902         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26903         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26904         * sysdeps/sparc/sparc32/rem.S: Likewise.
26905         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26906         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26907         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26908         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26909         * sysdeps/sparc/sparc32/urem.S: Likewise.
26910         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26911         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26912         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26913         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26914         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26915         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26916         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26917         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26918         * sysdeps/unix/bsd/times.c: Likewise.
26919         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26920         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26924         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26925         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26926         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26927         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26928         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26929         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26930         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26931         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26932         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26933         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26934         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26935         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26936         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26937         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26938         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26939         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26940         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26941         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26942         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26943         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26944         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26945         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26946         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26947         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26948         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26949         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26950         * sysdeps/x86_64/strcspn.S: Likewise.
26952 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26954         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26955         generated file.  Regenerate properly from gen-translit.pl.
26956         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26957         locale/C-translit.h.
26959 2013-06-05  Andreas Schwab  <schwab@suse.de>
26961         [BZ #15100]
26962         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26963         week as 6 instead of -1.
26964         * time/tst-strptime.c (day_tests): Add test case.
26966 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26968         * sysdeps/generic/math_private.h
26969         (libc_feholdexcept_setround_53bit): Replace with
26970         libc_feholdsetround_53bit.
26971         (libc_feupdateenv_53bit): Replace with
26972         libc_feresetround_53bit.
26973         (SET_RESTORE_ROUND_53BIT): Adjust.
26975 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26977         * string/test-strchrnul.c: Add copyright header.
26979         * posix/tst-getaddrinfo4.c: Increase test timeout.
26981 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26983         [BZ #15536]
26984         * math/libm-test.inc (MAX_EXP): Remove
26985         (MIN_EXP): Define.
26986         (ulp): Use MIN_EXP - MANT_DIG.
26987         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26989 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26991         * po/be.po: Revert last change.
26992         * po/zh_CN.po: Likewise.
26993         * po/header.pot: Likewise.
26995 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26997         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26998         link-libc-deps to empty as target-specific variable.
26999         * Makerules (link-libc-args): New variable.
27000         (libc-for-link): Likewise.
27001         (link-libc-deps): Likewise.
27002         (lib%.so): Depend on $(link-libc-deps).  Link with
27003         $(link-libc-args).
27004         (build-module): Link with $(link-libc-args).
27005         (build-module-asneeded): Likewise.
27006         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27007         list of objects.
27008         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27009         target-specific variable.
27010         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27011         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27012         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27013         libc.
27014         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27015         libc and ld.so.
27016         ($(objpfx)libpcprofile.so): Likewise.
27017         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27018         libc_nonshared.a.
27019         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27020         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27021         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27022         $(link-libc-deps).
27023         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27024         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27025         * login/Makefile ($(objpfx)libutil.so): Likewise.
27026         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27027         * math/Makefile ($(objpfx)libm.so): Likewise.
27028         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27029         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27030         variable instead of depending directly on libc.
27031         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27032         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27033         $(link-libc-deps).
27034         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27035         libc.
27036         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27037         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27038         ($(objpfx)libanl.so): Likewise.
27039         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27040         ld.so.
27041         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27042         $(link-libc-deps).
27043         * sysdeps/i386/fpu/Makefile: Remove file.
27044         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27045         ($(objpfx)libm.so): Remove dependency on ld.so.
27047 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27049         [BZ # 15553]
27050         * nis/yp_xdr.c (XDRMAXNAME): Define.
27051         (XDRMAXRECORD): Define.
27052         (xdr_domainname): Use XDRMAXNAME.
27053         (xdr_mapname): Likewise.
27054         (xdr_peername): Likewise.
27055         (xdr_keydat): Use XDRMAXRECORD.
27056         (xdr_valdat): Likewise.
27058 2013-05-30  Jeff Law  <law@redhat.com>
27060         [BZ #14256]
27061         * manual/errno.texi (ESTALE): Update to account for more than
27062         just NFS file systems.
27063         * sysdeps/gnu/errlist.c: Regenerated.
27065 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27067         [BZ #15465]
27068         * elf/Makefile (tests): Add tst-null-argv.
27069         (modules-names):  Add tst-null-argv-lib.
27070         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27071         (tst-null-argv-ENV): Set environment for tst-null-argv.
27072         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27073         (RTLD_PROGNAME): New macro.
27074         * elf/tst-null-argv.c: New test case.
27075         * elf/tst-null-argv-lib.c: Library for test case.
27076         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27077         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27078         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27079         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27080         * elf/dl-init.c (call_init): Likewise.
27081         (_dl_init): Likewise.
27082         * elf/dl-load.c (print_search_path): Likewise.
27083         (_dl_map_object): Likewise.
27084         * elf/dl-lookup.c (do_lookup_x): Likewise.
27085         (add_dependency): Likewise.
27086         (_dl_lookup_symbol_x): Likewise.
27087         (_dl_debug_bindings): Likewise.
27088         * elf/dl-open.c (_dl_show_scope): Likewise.
27089         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27090         * elf/dl-version.c (match_symbol): Likewise.
27091         (_dl_check_map_versions): Likewise.
27092         * elf/rtld.c (dl_main): Likewise.
27093         (print_unresolved): Use RTLD_PROGNAME.
27094         (print_missing_version): Likewise.
27095         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27096         (elf_machine_rela): Likewise.
27097         * sysdeps/powerpc/powerpc32/dl-machine.c
27098         (__process_machine_rela): Likewise.
27099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27100         Likewise.
27101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27102         Likewise.
27103         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27104         Likewise.
27105         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27106         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27107         Likewise.
27108         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27109         Likewise.
27110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27112 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27114         * po/be.po: Add descriptive title.
27115         * po/zh_CN.po: Likewise.
27116         * po/header.pot: Likewise.
27118 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27120         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27121         error message.
27122         (enlarge_archive): Likewise.
27124 2013-05-28  Ben North  <ben@redfrontdoor.org>
27126         * manual/arith.texi (frexp): It is the magnitude of the return
27127         value which lies in [0.5, 1), not the return value itself.
27129 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27133 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27135         * stdio-common/bug26.c (main): Correct fscanf template.
27137         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27138         declare _dl_skip_args.
27140         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27141         Don't declare.
27143         * manual/platform.texi: Add missing @end deftypefun.
27145 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27147         [BZ #15529]
27148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27149         bit of mantissa of 2^16382.
27150         * math/libm-test.inc (hypot_test_data): Add more tests.
27152         * math/libm-test.inc: Add drem and pow10 to list of tested
27153         functions.
27154         (pow10_test): New function.
27155         (drem_test): Likewise.
27156         (drem_test_tonearest): Likewise.
27157         (drem_test_towardzero): Likewise.
27158         (drem_test_downward): Likewise.
27159         (drem_test_upward): Likewise.
27160         (main): Call the new functions.
27162         * math/libm-test.inc (finite_test_data): Remove.
27163         (finite_test): Run tests from isfinite_test_data.
27164         (gamma_test_data): Remove.
27165         (gamma_test): Run tests from lgamma_test_data.
27166         * sysdeps/i386/fpu/libm-test-ulps: Update.
27167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27169 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27171         * manual/platform.texi: Add PowerPC PPR function set documentation.
27172         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27173         implementation.
27175 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27177         * math/libm-test.inc (MAX_EXP): Define.
27178         (ULPDIFF): Define.
27179         (ulp): New function.
27180         (check_float_internal): Use ULPDIFF.
27181         (cpow_test): Disable failing test.
27182         (check_ulp): Test ulp() implemetnation.
27183         (main): Call check_ulp before starting tests.
27185 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27187         * math/gen-libm-test.pl (generate_testfile): Do not handle
27188         START_DATA and END_DATA.
27189         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27190         END_DATA.
27191         (acos_tonearest_test_data): Likewise.
27192         (acos_towardzero_test_data): Likewise.
27193         (acos_downward_test_data): Likewise.
27194         (acos_upward_test_data): Likewise.
27195         (acosh_test_data): Likewise.
27196         (asin_test_data): Likewise.
27197         (asin_tonearest_test_data): Likewise.
27198         (asin_towardzero_test_data): Likewise.
27199         (asin_downward_test_data): Likewise.
27200         (asin_upward_test_data): Likewise.
27201         (asinh_test_data): Likewise.
27202         (atan_test_data): Likewise.
27203         (atanh_test_data): Likewise.
27204         (atan2_test_data): Likewise.
27205         (cabs_test_data): Likewise.
27206         (cacos_test_data): Likewise.
27207         (cacosh_test_data): Likewise.
27208         (carg_test_data): Likewise.
27209         (casin_test_data): Likewise.
27210         (casinh_test_data): Likewise.
27211         (catan_test_data): Likewise.
27212         (catanh_test_data): Likewise.
27213         (cbrt_test_data): Likewise.
27214         (ccos_test_data): Likewise.
27215         (ccosh_test_data): Likewise.
27216         (ceil_test_data): Likewise.
27217         (cexp_test_data): Likewise.
27218         (cimag_test_data): Likewise.
27219         (clog_test_data): Likewise.
27220         (clog10_test_data): Likewise.
27221         (conj_test_data): Likewise.
27222         (copysign_test_data): Likewise.
27223         (cos_test_data): Likewise.
27224         (cos_tonearest_test_data): Likewise.
27225         (cos_towardzero_test_data): Likewise.
27226         (cos_downward_test_data): Likewise.
27227         (cos_upward_test_data): Likewise.
27228         (cosh_test_data): Likewise.
27229         (cosh_tonearest_test_data): Likewise.
27230         (cosh_towardzero_test_data): Likewise.
27231         (cosh_downward_test_data): Likewise.
27232         (cosh_upward_test_data): Likewise.
27233         (cpow_test_data): Likewise.
27234         (cproj_test_data): Likewise.
27235         (creal_test_data): Likewise.
27236         (csin_test_data): Likewise.
27237         (csinh_test_data): Likewise.
27238         (csqrt_test_data): Likewise.
27239         (ctan_test_data): Likewise.
27240         (ctan_tonearest_test_data): Likewise.
27241         (ctan_towardzero_test_data): Likewise.
27242         (ctan_downward_test_data): Likewise.
27243         (ctan_upward_test_data): Likewise.
27244         (ctanh_test_data): Likewise.
27245         (ctanh_tonearest_test_data): Likewise.
27246         (ctanh_towardzero_test_data): Likewise.
27247         (ctanh_downward_test_data): Likewise.
27248         (ctanh_upward_test_data): Likewise.
27249         (erf_test_data): Likewise.
27250         (erfc_test_data): Likewise.
27251         (exp_test_data): Likewise.
27252         (exp_tonearest_test_data): Likewise.
27253         (exp_towardzero_test_data): Likewise.
27254         (exp_downward_test_data): Likewise.
27255         (exp_upward_test_data): Likewise.
27256         (exp10_test_data): Likewise.
27257         (exp2_test_data): Likewise.
27258         (expm1_test_data): Likewise.
27259         (fabs_test_data): Likewise.
27260         (fdim_test_data): Likewise.
27261         (finite_test_data): Likewise.
27262         (floor_test_data): Likewise.
27263         (fma_test_data): Likewise.
27264         (fma_towardzero_test_data): Likewise.
27265         (fma_downward_test_data): Likewise.
27266         (fma_upward_test_data): Likewise.
27267         (fmax_test_data): Likewise.
27268         (fmin_test_data): Likewise.
27269         (fmod_test_data): Likewise.
27270         (fpclassify_test_data): Likewise.
27271         (frexp_test_data): Likewise.
27272         (gamma_test_data): Likewise.
27273         (hypot_test_data): Likewise.
27274         (ilogb_test_data): Likewise.
27275         (isfinite_test_data): Likewise.
27276         (isgreater_test_data): Likewise.
27277         (isgreaterequal_test_data): Likewise.
27278         (isinf_test_data): Likewise.
27279         (isless_test_data): Likewise.
27280         (islessequal_test_data): Likewise.
27281         (islessgreater_test_data): Likewise.
27282         (isnan_test_data): Likewise.
27283         (isnormal_test_data): Likewise.
27284         (issignaling_test_data): Likewise.
27285         (isunordered_test_data): Likewise.
27286         (j0_test_data): Likewise.
27287         (j1_test_data): Likewise.
27288         (jn_test_data): Likewise.
27289         (ldexp_test_data): Likewise.
27290         (lgamma_test_data): Likewise.
27291         (lrint_test_data): Likewise.
27292         (lrint_tonearest_test_data): Likewise.
27293         (lrint_towardzero_test_data): Likewise.
27294         (lrint_downward_test_data): Likewise.
27295         (lrint_upward_test_data): Likewise.
27296         (llrint_test_data): Likewise.
27297         (llrint_tonearest_test_data): Likewise.
27298         (llrint_towardzero_test_data): Likewise.
27299         (llrint_downward_test_data): Likewise.
27300         (llrint_upward_test_data): Likewise.
27301         (log_test_data): Likewise.
27302         (log10_test_data): Likewise.
27303         (log1p_test_data): Likewise.
27304         (log2_test_data): Likewise.
27305         (logb_test_data): Likewise.
27306         (logb_downward_test_data): Likewise.
27307         (lround_test_data): Likewise.
27308         (llround_test_data): Likewise.
27309         (modf_test_data): Likewise.
27310         (nearbyint_test_data): Likewise.
27311         (nextafter_test_data): Likewise.
27312         (nexttoward_test_data): Likewise.
27313         (pow_test_data): Likewise.
27314         (pow_tonearest_test_data): Likewise.
27315         (pow_towardzero_test_data): Likewise.
27316         (pow_downward_test_data): Likewise.
27317         (pow_upward_test_data): Likewise.
27318         (remainder_test_data): Likewise.
27319         (remainder_tonearest_test_data): Likewise.
27320         (remainder_towardzero_test_data): Likewise.
27321         (remainder_downward_test_data): Likewise.
27322         (remainder_upward_test_data): Likewise.
27323         (remquo_test_data): Likewise.
27324         (rint_test_data): Likewise.
27325         (rint_tonearest_test_data): Likewise.
27326         (rint_towardzero_test_data): Likewise.
27327         (rint_downward_test_data): Likewise.
27328         (rint_upward_test_data): Likewise.
27329         (round_test_data): Likewise.
27330         (scalb_test_data): Likewise.
27331         (scalbn_test_data): Likewise.
27332         (scalbln_test_data): Likewise.
27333         (signbit_test_data): Likewise.
27334         (sin_test_data): Likewise.
27335         (sin_tonearest_test_data): Likewise.
27336         (sin_towardzero_test_data): Likewise.
27337         (sin_downward_test_data): Likewise.
27338         (sin_upward_test_data): Likewise.
27339         (sincos_test_data): Likewise.
27340         (sinh_test_data): Likewise.
27341         (sinh_tonearest_test_data): Likewise.
27342         (sinh_towardzero_test_data): Likewise.
27343         (sinh_downward_test_data): Likewise.
27344         (sinh_upward_test_data): Likewise.
27345         (sqrt_test_data): Likewise.
27346         (tan_test_data): Likewise.
27347         (tan_tonearest_test_data): Likewise.
27348         (tan_towardzero_test_data): Likewise.
27349         (tan_downward_test_data): Likewise.
27350         (tan_upward_test_data): Likewise.
27351         (tanh_test_data): Likewise.
27352         (tgamma_test_data): Likewise.
27353         (trunc_test_data): Likewise.
27354         (y0_test_data): Likewise.
27355         (y1_test_data): Likewise.
27356         (yn_test_data): Likewise.
27357         (significand_test_data): Likewise.
27359         * math/gen-libm-test.pl (@functions): Remove variable.
27360         (generate_testfile): Don't handle START and END lines.
27361         * math/libm-test.inc (START): New macro.
27362         (END): Likewise.
27363         (END_COMPLEX): Likewise.
27364         (acos_test): Use END macro without arguments.
27365         (acos_test_tonearest): Likewise.
27366         (acos_test_towardzero): Likewise.
27367         (acos_test_downward): Likewise.
27368         (acos_test_upward): Likewise.
27369         (acosh_test): Likewise.
27370         (asin_test): Likewise.
27371         (asin_test_tonearest): Likewise.
27372         (asin_test_towardzero): Likewise.
27373         (asin_test_downward): Likewise.
27374         (asin_test_upward): Likewise.
27375         (asinh_test): Likewise.
27376         (atan_test): Likewise.
27377         (atanh_test): Likewise.
27378         (atan2_test): Likewise.
27379         (cabs_test): Likewise.
27380         (cacos_test): Use END_COMPLEX macro without arguments.
27381         (cacosh_test): Likewise.
27382         (carg_test): Use END macro without arguments.
27383         (casin_test): Use END_COMPLEX macro without arguments.
27384         (casinh_test): Likewise.
27385         (catan_test): Likewise.
27386         (catanh_test): Likewise.
27387         (cbrt_test): Use END macro without arguments.
27388         (ccos_test): Use END_COMPLEX macro without arguments.
27389         (ccosh_test): Likewise.
27390         (ceil_test): Use END macro without arguments.
27391         (cexp_test): Use END_COMPLEX macro without arguments.
27392         (cimag_test): Use END macro without arguments.
27393         (clog_test): Use END_COMPLEX macro without arguments.
27394         (clog10_test): Likewise.
27395         (conj_test): Likewise.
27396         (copysign_test): Use END macro without arguments.
27397         (cos_test): Likewise.
27398         (cos_test_tonearest): Likewise.
27399         (cos_test_towardzero): Likewise.
27400         (cos_test_downward): Likewise.
27401         (cos_test_upward): Likewise.
27402         (cosh_test): Likewise.
27403         (cosh_test_tonearest): Likewise.
27404         (cosh_test_towardzero): Likewise.
27405         (cosh_test_downward): Likewise.
27406         (cosh_test_upward): Likewise.
27407         (cpow_test): Use END_COMPLEX macro without arguments.
27408         (cproj_test): Likewise.
27409         (creal_test): Use END macro without arguments.
27410         (csin_test): Use END_COMPLEX macro without arguments.
27411         (csinh_test): Likewise.
27412         (csqrt_test): Likewise.
27413         (ctan_test): Likewise.
27414         (ctan_test_tonearest): Likewise.
27415         (ctan_test_towardzero): Likewise.
27416         (ctan_test_downward): Likewise.
27417         (ctan_test_upward): Likewise.
27418         (ctanh_test): Likewise.
27419         (ctanh_test_tonearest): Likewise.
27420         (ctanh_test_towardzero): Likewise.
27421         (ctanh_test_downward): Likewise.
27422         (ctanh_test_upward): Likewise.
27423         (erf_test): Use END macro without arguments.
27424         (erfc_test): Likewise.
27425         (exp_test): Likewise.
27426         (exp_test_tonearest): Likewise.
27427         (exp_test_towardzero): Likewise.
27428         (exp_test_downward): Likewise.
27429         (exp_test_upward): Likewise.
27430         (exp10_test): Likewise.
27431         (exp2_test): Likewise.
27432         (expm1_test): Likewise.
27433         (fabs_test): Likewise.
27434         (fdim_test): Likewise.
27435         (finite_test): Likewise.
27436         (floor_test): Likewise.
27437         (fma_test): Likewise.
27438         (fma_test_towardzero): Likewise.
27439         (fma_test_downward): Likewise.
27440         (fma_test_upward): Likewise.
27441         (fmax_test): Likewise.
27442         (fmin_test): Likewise.
27443         (fmod_test): Likewise.
27444         (fpclassify_test): Likewise.
27445         (frexp_test): Likewise.
27446         (gamma_test): Likewise.
27447         (hypot_test): Likewise.
27448         (ilogb_test): Likewise.
27449         (isfinite_test): Likewise.
27450         (isgreater_test): Likewise.
27451         (isgreaterequal_test): Likewise.
27452         (isinf_test): Likewise.
27453         (isless_test): Likewise.
27454         (islessequal_test): Likewise.
27455         (islessgreater_test): Likewise.
27456         (isnan_test): Likewise.
27457         (isnormal_test): Likewise.
27458         (issignaling_test): Likewise.
27459         (isunordered_test): Likewise.
27460         (j0_test): Likewise.
27461         (j1_test): Likewise.
27462         (jn_test): Likewise.
27463         (ldexp_test): Likewise.
27464         (lgamma_test): Likewise.
27465         (lrint_test): Likewise.
27466         (lrint_test_tonearest): Likewise.
27467         (lrint_test_towardzero): Likewise.
27468         (lrint_test_downward): Likewise.
27469         (lrint_test_upward): Likewise.
27470         (llrint_test): Likewise.
27471         (llrint_test_tonearest): Likewise.
27472         (llrint_test_towardzero): Likewise.
27473         (llrint_test_downward): Likewise.
27474         (llrint_test_upward): Likewise.
27475         (log_test): Likewise.
27476         (log10_test): Likewise.
27477         (log1p_test): Likewise.
27478         (log2_test): Likewise.
27479         (logb_test): Likewise.
27480         (logb_test_downward): Likewise.
27481         (lround_test): Likewise.
27482         (llround_test): Likewise.
27483         (modf_test): Likewise.
27484         (nearbyint_test): Likewise.
27485         (nextafter_test): Likewise.
27486         (nexttoward_test): Likewise.
27487         (pow_test): Likewise.
27488         (pow_test_tonearest): Likewise.
27489         (pow_test_towardzero): Likewise.
27490         (pow_test_downward): Likewise.
27491         (pow_test_upward): Likewise.
27492         (remainder_test): Likewise.
27493         (remainder_test_tonearest): Likewise.
27494         (remainder_test_towardzero): Likewise.
27495         (remainder_test_downward): Likewise.
27496         (remainder_test_upward): Likewise.
27497         (remquo_test): Likewise.
27498         (rint_test): Likewise.
27499         (rint_test_tonearest): Likewise.
27500         (rint_test_towardzero): Likewise.
27501         (rint_test_downward): Likewise.
27502         (rint_test_upward): Likewise.
27503         (round_test): Likewise.
27504         (scalb_test): Likewise.
27505         (scalbn_test): Likewise.
27506         (scalbln_test): Likewise.
27507         (signbit_test): Likewise.
27508         (sin_test): Likewise.
27509         (sin_test_tonearest): Likewise.
27510         (sin_test_towardzero): Likewise.
27511         (sin_test_downward): Likewise.
27512         (sin_test_upward): Likewise.
27513         (sincos_test): Likewise.
27514         (sinh_test): Likewise.
27515         (sinh_test_tonearest): Likewise.
27516         (sinh_test_towardzero): Likewise.
27517         (sinh_test_downward): Likewise.
27518         (sinh_test_upward): Likewise.
27519         (sqrt_test): Likewise.
27520         (tan_test): Likewise.
27521         (tan_test_tonearest): Likewise.
27522         (tan_test_towardzero): Likewise.
27523         (tan_test_downward): Likewise.
27524         (tan_test_upward): Likewise.
27525         (tanh_test): Likewise.
27526         (tgamma_test): Likewise.
27527         (trunc_test): Likewise.
27528         (y0_test): Likewise.
27529         (y1_test): Likewise.
27530         (yn_test): Likewise.
27531         (significand_test): Likewise.
27533 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27535         [BZ #15381]
27536         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27538 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27540         [BZ #14894]
27541         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27542         __ppc_mdoio and __ppc_mdoom.
27543         * manual/platform.texi: Document new functions __ppc_yield,
27544         __ppc_mdoio and __ppc_mdoom.
27546 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27548         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27549         (main): Mention "tls" pseudo-hwcap is legacy.
27550         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27552 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27554         * math/gen-libm-test.pl (parse_args): Output only string of
27555         arguments as text for test name, not full call or descriptions of
27556         tests for extra outputs.
27557         (generate_testfile): Do not pass function name to parse_args.
27558         Generate this_func variable from START.
27559         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27560         field to arg_str.
27561         (struct test_ff_f_data): Likewise.
27562         (test_ff_f_data_nexttoward): Likewise.
27563         (struct test_fi_f_data): Likewise.
27564         (struct test_fl_f_data): Likewise.
27565         (struct test_if_f_data): Likewise.
27566         (struct test_fff_f_data): Likewise.
27567         (struct test_c_f_data): Likewise.
27568         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27569         (struct test_fF_f1_data): Likewise.
27570         (struct test_ffI_f1_data): Likewise.
27571         (struct test_c_c_data): Rename test_name field to arg_str.
27572         (struct test_cc_c_data): Likewise.
27573         (struct test_f_i_data): Likewise.
27574         (struct test_ff_i_data): Likewise.
27575         (struct test_f_l_data): Likewise.
27576         (struct test_f_L_data): Likewise.
27577         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27578         and extra2_name.
27579         (COMMON_TEST_SETUP): New macro.
27580         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27581         (COMMON_TEST_CLEANUP): Likewise.
27582         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27583         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27584         macros.
27585         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27586         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27587         macros.
27588         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27589         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27590         cleanup macros.
27591         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27592         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
27593         macros.
27594         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27595         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
27596         macros.
27597         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27598         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27599         cleanup macros.
27600         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27601         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27602         cleanup macros.
27603         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27604         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27605         cleanup macros.
27606         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27607         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27608         macros.
27609         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27610         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
27611         macros.
27612         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27613         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
27614         macros.
27615         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27616         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
27617         cleanup macros.
27618         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27619         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
27620         cleanup macros.
27621         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27622         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
27623         macros.
27624         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27625         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
27626         cleanup macros.
27627         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27628         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
27629         macros.
27630         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27631         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
27632         macros.
27633         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27634         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
27635         cleanup macros.
27636         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27638 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
27640         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27641         to _sifields.sigfault.
27642         (si_addr_lsb): Define new macro.
27643         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27644         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27645         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27647 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
27649         [BZ #15441]
27650         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27651         returns -1.
27652         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27653         null return -1.
27654         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27655         loading the domain.
27657 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27659         * math/gen-libm-test.pl (parse_args): Do not include expected
27660         result in test name.
27661         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27663         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27664         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27665         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27668 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27670         * benchtests/Makefile: Sort function entries.
27672         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27673         tanh, asinh, acosh, atanh.
27674         * benchtests/acos-inputs: New file.
27675         * benchtests/acosh-inputs: New file.
27676         * benchtests/asin-inputs: New file.
27677         * benchtests/asinh-inputs: New file.
27678         * benchtests/atanh-inputs: New file.
27679         * benchtests/cosh-inputs: New file.
27680         * benchtests/log-inputs: New file.
27681         * benchtests/sinh-inputs: New file.
27682         * benchtests/tanh-inputs: New file.
27684 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
27686         [BZ #15339]
27687         * posix/tst-getaddrinfo4.c: New test.
27688         * posix/Makefile (tests): Add it.
27690 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27692         [BZ #15339]
27693         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27694         when no services were used.
27695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27696         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27698 2013-05-21  Andreas Schwab  <schwab@suse.de>
27700         [BZ #15014]
27701         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27702         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27703         successful.
27704         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27705         redundant variable declarations and reallocation of buffer when
27706         parsing as IPv6 address.  Always set NSS status when called from
27707         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
27708         buffer too small.  Correct computation of needed size.
27709         * nss/Makefile (tests): Add test-digits-dots.
27710         * nss/test-digits-dots.c: New test.
27712 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27714         * benchtests/Makefile: Remove instructions for adding
27715         benchmark tests.
27716         * benchtests/README: New file to explain how to execute and
27717         enhance the benchmark tests.
27719 2013-05-21  Andreas Schwab  <schwab@suse.de>
27721         [BZ #15493]
27722         * setjmp/Makefile (tests): Add tst-sigsetjmp.
27723         * setjmp/tst-sigsetjmp.c: New test.
27725 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27727         * sysdeps/x86_64/memset.S (memset): New implementation.
27728         (__bzero): Likewise.
27729         (__memset_tail): New function.
27731 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27733         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27735         __memcpy_sse2_unaligned ifunc selection.
27736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27737         Add memcpy-sse2-unaligned.S.
27738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27739         Add: __memcpy_sse2_unaligned.
27741 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
27743         [BZ #15490]
27744         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27745         math_force_eval before restoring floating-point envrionment.
27746         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27748         Likewise.
27749         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27750         <math_private.h>.
27751         (__nearbyintl): Use math_force_eval before restoring
27752         floating-point environment.
27753         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27755         * math/gen-libm-test.pl (special_functions): Remove.
27756         (parse_args): Don't handle TEST_extra.  Handle functions with no
27757         return value.
27758         * math/libm-test.inc (struct test_sincos_data): Replace with
27759         struct test_fFF_11_data.
27760         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27761         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27762         (sincos_test_data): Change element type to struct
27763         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
27764         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27765         RUN_TEST_LOOP_sincos.
27766         * math/README.libm-test: Don't mention special handling of
27767         individual functions.
27768         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27769         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27770         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27771         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27772         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27775         * math/gen-libm-test.pl (get_variable): Remove function.
27776         (parse_args): Don't show pointer parameters to call in test
27777         names.  Use "extra output N" in test names for extra outputs
27778         rather than naming variables.
27780 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #15488]
27783         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27784         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27785         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27786         double tests.
27787         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27788         disable.
27789         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27790         check_long_double.
27792         * math/gen-libm-test.pl (@tests): Remove variable.
27793         ($count): Likewise.
27794         (new_test): Remove function.
27795         (show_exceptions): New function.
27796         (special_functions): Use show_exceptions instead of new_test.
27797         (parse_args): Likewise.
27798         (generate_testfile): Pass only function name in generated call to
27799         print_max_error or print_complex_max_error.
27800         (get_ulps): Do not handle complex tests specially.
27801         (output_test): Rename to ...
27802         (get_all_ulps_for_test): ... this.  Return a string rather than
27803         printing to a file.  Require ulps to be present.
27804         (output_ulps): Generate arrays rather than #defines.
27805         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27806         (struct ulp_data): New type.
27807         (BUILD_COMPLEX_ULP): Remove macro.
27808         (compare_ulp_data): New function.
27809         (find_ulps): Likewise.
27810         (find_test_ulps): Likewise.
27811         (find_function_ulps): Likewise.
27812         (find_complex_function_ulps): Likewise.
27813         (print_max_error): Determine allowed ulps using
27814         find_function_ulps.
27815         (print_complex_max_error): Determine allowed ulps using
27816         find_complex_function_ulps.
27817         (check_float_internal): Determine max ulps using find_test_ulps.
27818         (check_float): Do not take max_ulp parameter.  Update call to
27819         check_float_internal.
27820         (check_complex): Likewise.
27821         (check_int): Do not take max_ulp parameter.
27822         (check_long): Likewise.
27823         (check_bool): Likewise.
27824         (check_longlong): Likewise.
27825         (struct test_f_f_data): Remove max_ulp field.
27826         (struct test_ff_f_data): Likewise.
27827         (struct test_ff_f_data_nexttoward): Likewise.
27828         (struct test_fi_f_data): Likewise.
27829         (struct test_fl_f_data): Likewise.
27830         (struct test_if_f_data): Likewise.
27831         (struct test_fff_f_data): Likewise.
27832         (struct test_c_f_data): Likewise.
27833         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27834         (struct test_fF_f1_data): Likewise.
27835         (struct test_ffI_f1_data): Likewise.
27836         (struct test_c_c_data): Remove max_ulp field.
27837         (struct test_cc_c_data): Likewise.
27838         (struct test_f_i_data): Likewise.
27839         (struct test_ff_i_data): Likewise.
27840         (struct test_f_l_data): Likewise.
27841         (struct test_f_L_data): Likewise.
27842         (struct test_sincos_data): Likewise.
27843         (RUN_TEST_f_f): Do not handle ulps.
27844         (RUN_TEST_LOOP_f_f): Likewise.
27845         (RUN_TEST_2_f): Likewise.
27846         (RUN_TEST_LOOP_2_f): Likewise.
27847         (RUN_TEST_fff_f): Likewise.
27848         (RUN_TEST_LOOP_fff_f): Likewise.
27849         (RUN_TEST_c_f): Likewise.
27850         (RUN_TEST_LOOP_c_f): Likewise.
27851         (RUN_TEST_f_f1): Likewise.
27852         (RUN_TEST_LOOP_f_f1): Likewise.
27853         (RUN_TEST_fF_f1): Likewise.
27854         (RUN_TEST_LOOP_fF_f1): Likewise.
27855         (RUN_TEST_fI_f1): Likewise.
27856         (RUN_TEST_LOOP_fI_f1): Likewise.
27857         (RUN_TEST_ffI_f1): Likewise.
27858         (RUN_TEST_LOOP_ffI_f1): Likewise.
27859         (RUN_TEST_c_c): Likewise.
27860         (RUN_TEST_LOOP_c_c): Likewise.
27861         (RUN_TEST_cc_c): Likewise.
27862         (RUN_TEST_LOOP_cc_c): Likewise.
27863         (RUN_TEST_f_i): Likewise.
27864         (RUN_TEST_LOOP_f_i): Likewise.
27865         (RUN_TEST_f_i_tg): Likewise.
27866         (RUN_TEST_LOOP_f_i_tg): Likewise.
27867         (RUN_TEST_ff_i_tg): Likewise.
27868         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27869         (RUN_TEST_f_b): Likewise.
27870         (RUN_TEST_LOOP_f_b): Likewise.
27871         (RUN_TEST_f_b_tg): Likewise.
27872         (RUN_TEST_LOOP_f_b_tg): Likewise.
27873         (RUN_TEST_f_l): Likewise.
27874         (RUN_TEST_LOOP_f_l): Likewise.
27875         (RUN_TEST_f_L): Likewise.
27876         (RUN_TEST_LOOP_f_L): Likewise.
27877         (RUN_TEST_sincos): Likewise.
27878         (RUN_TEST_LOOP_sincos): Likewise.
27880 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27882         [BZ #15480]
27883         [BZ #15485]
27884         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27885         main case of finite arguments, set rounding mode to FE_TONEAREST
27886         and discard exceptions.
27887         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27888         exceptions.
27889         (remainder_tonearest_test_data): New variable.
27890         (remainder_test_tonearest): New function.
27891         (remainder_towardzero_test_data): New variable.
27892         (remainder_test_towardzero): New function.
27893         (remainder_downward_test_data): New variable.
27894         (remainder_test_downward): New function.
27895         (remainder_upward_test_data): New variable.
27896         (remainder_test_upward): New function.
27897         (main): Call the new test functions.
27899         * math/libm-test.inc (struct test_f_f1_data): Remove field
27900         extra_init.
27901         (struct test_fF_f1_data): Likewise.
27902         (struct test_ffI_f1_data): Likewise.
27903         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27904         based on value of EXTRA_EXPECTED.
27905         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27906         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27907         EXTRA_VAR based on value of EXTRA_EXPECTED.
27908         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27909         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27910         EXTRA_VAR based on value of EXTRA_EXPECTED.
27911         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27912         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27913         EXTRA_VAR based on value of EXTRA_EXPECTED.
27914         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27915         * math/gen-libm-test.pl (parse_args): Don't output initializers
27916         for extra output values.
27918         * math/libm-test.inc (check_int): Expect result to be exactly
27919         equal to expected value and do not handle ulps.
27920         (check_long): Likewise.
27921         (check_longlong): Likewise.
27923         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27924         exceptions.
27925         (cimag_test_data): Likewise.
27926         (conj_test_data): Likewise.
27927         (copysign_test_data): Likewise.
27928         (cproj_test_data): Likewise.
27929         (creal_test_data): Likewise.
27930         (fabs_test_data): Likewise.
27931         (fdim_test_data): Likewise.
27932         (finite_test_data): Likewise.
27933         (floor_test_data): Likewise.
27934         (fmax_test_data): Likewise.
27935         (fmin_test_data): Likewise.
27936         (fmod_test_data): Likewise.
27937         (fpclassify_test_data): Likewise.
27938         (frexp_test_data): Likewise.
27939         (ilogb_test_data): Likewise.
27940         (isfinite_test_data): Likewise.
27941         (isgreater_test_data): Likewise.
27942         (isgreaterequal_test_data): Likewise.
27943         (isinf_test_data): Likewise.
27944         (isless_test_data): Likewise.
27945         (islessequal_test_data): Likewise.
27946         (islessgreater_test_data): Likewise.
27947         (isnan_test_data): Likewise.
27948         (isnormal_test_data): Likewise.
27949         (issignaling_test_data): Likewise.
27950         (isunordered_test_data): Likewise.
27951         (ldexp_test_data): Likewise.
27952         (lrint_test_data): Likewise.
27953         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27954         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27955         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27956         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27957         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27958         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27959         test input.
27960         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27961         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27962         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27963         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27964         that test input.
27965         (lrint_downward_test_data): Test for "inexact" exceptions.
27966         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27967         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27968         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27969         test input.
27970         (lrint_upward_test_data): Test for "inexact" exceptions.
27971         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27972         test input.
27973         (llrint_test_data): Test for "inexact" exceptions.
27974         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27975         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27976         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27977         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27978         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27979         (llrint_downward_test_data): Test for "inexact" exceptions.
27980         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27981         (llrint_upward_test_data): Test for "inexact" exceptions.
27982         (logb_test_data): Likewise.
27983         (logb_downward_test_data): Likewise.
27984         (nextafter_test_data): Likewise.
27985         (nexttoward_test_data): Likewise.
27986         (remainder_test_data): Likewise.
27987         (remquo_test_data): Likewise.
27988         (scalbn_test_data): Likewise.
27989         (scalbln_test_data): Likewise.
27990         (signbit_test_data): Likewise.
27991         (sqrt_test_data): Likewise.
27992         (significand_test_data): Likewise.
27994 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27996         [BZ #15424]
27997         * benchtests/bench-modf.c (struct args): Mark arg0 as
27998         volatile.
27999         * scripts/bench.pl: Mark members of struct args as volatile.
28001 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28003         [BZ # 15497]
28004         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28005         negative infinity on POWER6 or lower.
28006         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28008 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28010         [BZ #15442]
28011         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28012         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28013         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28014         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28015         (_FP_SETQNAN): New macro.
28016         (_FP_SETQNAN_SEMIRAW): Likewise.
28017         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28018         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28019         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28020         (FP_EXTEND): Use _FP_FRAC_SNANP.
28021         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28022         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28023         into account.
28024         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28025         New macro.
28026         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28027         Likewise.
28029 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28031         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28032         with DIVIDE_BY_ZERO_EXCEPTION.
28033         (gamma_test_data): Likewise.
28034         (lgamma_test_data): Likewise.
28035         (log_test_data): Likewise.
28036         (log10_test_data): Likewise.
28037         (log2_test_data): Likewise.
28038         (tgamma_test_data): Likewise.
28040         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28041         (acos_test_tonearest): Likewise.
28042         (acos_test_towardzero): Likewise.
28043         (acos_test_downward): Likewise.
28044         (acos_test_upward): Likewise.
28045         (acosh_test): Likewise.
28046         (asin_test): Likewise.
28047         (asin_test_tonearest): Likewise.
28048         (asin_test_towardzero): Likewise.
28049         (asin_test_downward): Likewise.
28050         (asin_test_upward): Likewise.
28051         (asinh_test): Likewise.
28052         (atan_test): Likewise.
28053         (atanh_test): Likewise.
28054         (atan2_test): Likewise.
28055         (cabs_test): Likewise.
28056         (cacos_test): Likewise.
28057         (cacosh_test): Likewise.
28058         (casin_test): Likewise.
28059         (casinh_test): Likewise.
28060         (catan_test): Likewise.
28061         (catanh_test): Likewise.
28062         (cbrt_test): Likewise.
28063         (ccos_test): Likewise.
28064         (ccosh_test): Likewise.
28065         (cexp_test): Likewise.
28066         (clog_test): Likewise.
28067         (clog10_test): Likewise.
28068         (cos_test): Likewise.
28069         (cos_test_tonearest): Likewise.
28070         (cos_test_towardzero): Likewise.
28071         (cos_test_downward): Likewise.
28072         (cos_test_upward): Likewise.
28073         (cosh_test): Likewise.
28074         (cosh_test_tonearest): Likewise.
28075         (cosh_test_towardzero): Likewise.
28076         (cosh_test_downward): Likewise.
28077         (cosh_test_upward): Likewise.
28078         (cpow_test): Likewise.
28079         (csin_test): Likewise.
28080         (csinh_test): Likewise.
28081         (csqrt_test): Likewise.
28082         (ctan_test): Likewise.
28083         (ctan_test_tonearest): Likewise.
28084         (ctan_test_towardzero): Likewise.
28085         (ctan_test_downward): Likewise.
28086         (ctan_test_upward): Likewise.
28087         (ctanh_test): Likewise.
28088         (ctanh_test_tonearest): Likewise.
28089         (ctanh_test_towardzero): Likewise.
28090         (ctanh_test_downward): Likewise.
28091         (ctanh_test_upward): Likewise.
28092         (erf_test): Likewise.
28093         (erfc_test): Likewise.
28094         (exp_test): Likewise.
28095         (exp_test_tonearest): Likewise.
28096         (exp_test_towardzero): Likewise.
28097         (exp_test_downward): Likewise.
28098         (exp_test_upward): Likewise.
28099         (exp10_test): Likewise.
28100         (exp2_test): Likewise.
28101         (expm1_test): Likewise.
28102         (fmod_test): Likewise.
28103         (gamma_test): Likewise.
28104         (hypot_test): Likewise.
28105         (j0_test): Likewise.
28106         (j1_test): Likewise.
28107         (jn_test): Likewise.
28108         (lgamma_test): Likewise.
28109         (log_test): Likewise.
28110         (log10_test): Likewise.
28111         (log1p_test): Likewise.
28112         (log2_test): Likewise.
28113         (logb_test_downward): Likewise.
28114         (pow_test): Likewise.
28115         (pow_test_tonearest): Likewise.
28116         (pow_test_towardzero): Likewise.
28117         (pow_test_downward): Likewise.
28118         (pow_test_upward): Likewise.
28119         (remainder_test): Likewise.
28120         (remquo_test): Likewise.
28121         (sin_test): Likewise.
28122         (sin_test_tonearest): Likewise.
28123         (sin_test_towardzero): Likewise.
28124         (sin_test_downward): Likewise.
28125         (sin_test_upward): Likewise.
28126         (sincos_test): Likewise.
28127         (sinh_test): Likewise.
28128         (sinh_test_tonearest): Likewise.
28129         (sinh_test_towardzero): Likewise.
28130         (sinh_test_downward): Likewise.
28131         (sinh_test_upward): Likewise.
28132         (sqrt_test): Likewise.
28133         (tan_test): Likewise.
28134         (tan_test_tonearest): Likewise.
28135         (tan_test_towardzero): Likewise.
28136         (tan_test_downward): Likewise.
28137         (tan_test_upward): Likewise.
28138         (tanh_test): Likewise.
28139         (tgamma_test): Likewise.
28140         (y0_test): Likewise.
28141         (y1_test): Likewise.
28142         (yn_test): Likewise.
28144         * math/gen-libm-test.pl (adjust_arg): Remove function.
28145         (special_function): Remove argument $in_func.  Only handle
28146         generating output for tables of tests, not inside functions.
28147         (parse_args): Likewise.
28148         (generate_testfile): Remove variable $in_func.  Update call to
28149         parse_args.
28150         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28151         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28152         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28153         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28154         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28155         (MAX_VALUE_INIT): Rename macro to max_value.
28156         (MIN_VALUE_INIT): Rename macro to min_value.
28157         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28158         (plus_zero): Remove variable.
28159         (minus_zero): Likewise.
28160         (plus_infty): Likewise.
28161         (minus_infty): Likewise.
28162         (qnan_value): Likewise.
28163         (max_value): Likewise.
28164         (min_value): Likewise.
28165         (min_subnorm_value): Likewise.
28167 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28169         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28170         uint64_t or uint32_t usage.
28171         * crypt/sha256-block.c: Likewise.
28172         * crypt/sha256-crypt.c: Likewise.
28173         * crypt/sha256.c: Likewise.
28174         * crypt/sha512-block.c: Likewise.
28175         * crypt/sha512-crypt.c: Likewise.
28176         * crypt/sha512.c: Likewise.
28177         * debug/backtrace-tst.c: Likewise.
28178         * debug/pcprofiledump.c: Likewise.
28179         * elf/cache.c: Likewise.
28180         * elf/dl-cache.c: Likewise.
28181         * elf/dl-misc.c: Likewise.
28182         * elf/dl-profile.c: Likewise.
28183         * elf/dl-support.c: Likewise.
28184         * elf/ldconfig.c: Likewise.
28185         * elf/sprof.c: Likewise.
28186         * iconv/dummy-repertoire.c: Likewise.
28187         * iconv/iconv_charmap.c: Likewise.
28188         * iconv/skeleton.c: Likewise.
28189         * iconvdata/8bit-generic.c: Likewise.
28190         * iconvdata/cp737.h: Likewise.
28191         * iconvdata/cp775.h: Likewise.
28192         * iconvdata/ibm1008.h: Likewise.
28193         * iconvdata/ibm1025.h: Likewise.
28194         * iconvdata/ibm1046.h: Likewise.
28195         * iconvdata/ibm1097.h: Likewise.
28196         * iconvdata/ibm1112.h: Likewise.
28197         * iconvdata/ibm1122.h: Likewise.
28198         * iconvdata/ibm1123.h: Likewise.
28199         * iconvdata/ibm1124.h: Likewise.
28200         * iconvdata/ibm1129.h: Likewise.
28201         * iconvdata/ibm1130.h: Likewise.
28202         * iconvdata/ibm1132.h: Likewise.
28203         * iconvdata/ibm1133.h: Likewise.
28204         * iconvdata/ibm1137.h: Likewise.
28205         * iconvdata/ibm1140.h: Likewise.
28206         * iconvdata/ibm1141.h: Likewise.
28207         * iconvdata/ibm1142.h: Likewise.
28208         * iconvdata/ibm1143.h: Likewise.
28209         * iconvdata/ibm1144.h: Likewise.
28210         * iconvdata/ibm1145.h: Likewise.
28211         * iconvdata/ibm1146.h: Likewise.
28212         * iconvdata/ibm1147.h: Likewise.
28213         * iconvdata/ibm1148.h: Likewise.
28214         * iconvdata/ibm1149.h: Likewise.
28215         * iconvdata/ibm1153.h: Likewise.
28216         * iconvdata/ibm1154.h: Likewise.
28217         * iconvdata/ibm1155.h: Likewise.
28218         * iconvdata/ibm1156.h: Likewise.
28219         * iconvdata/ibm1157.h: Likewise.
28220         * iconvdata/ibm1158.h: Likewise.
28221         * iconvdata/ibm1160.h: Likewise.
28222         * iconvdata/ibm1161.h: Likewise.
28223         * iconvdata/ibm1162.h: Likewise.
28224         * iconvdata/ibm1163.h: Likewise.
28225         * iconvdata/ibm1164.h: Likewise.
28226         * iconvdata/ibm1166.h: Likewise.
28227         * iconvdata/ibm1167.h: Likewise.
28228         * iconvdata/ibm12712.h: Likewise.
28229         * iconvdata/ibm1390.h: Likewise.
28230         * iconvdata/ibm1399.h: Likewise.
28231         * iconvdata/ibm16804.h: Likewise.
28232         * iconvdata/ibm4517.h: Likewise.
28233         * iconvdata/ibm4899.h: Likewise.
28234         * iconvdata/ibm4909.h: Likewise.
28235         * iconvdata/ibm4971.h: Likewise.
28236         * iconvdata/ibm5347.h: Likewise.
28237         * iconvdata/ibm803.h: Likewise.
28238         * iconvdata/ibm856.h: Likewise.
28239         * iconvdata/ibm901.h: Likewise.
28240         * iconvdata/ibm902.h: Likewise.
28241         * iconvdata/ibm9030.h: Likewise.
28242         * iconvdata/ibm9066.h: Likewise.
28243         * iconvdata/ibm921.h: Likewise.
28244         * iconvdata/ibm922.h: Likewise.
28245         * iconvdata/ibm9448.h: Likewise.
28246         * iconvdata/isiri-3342.h: Likewise.
28247         * iconvdata/jis0201.h: Likewise.
28248         * include/link.h: Likewise.
28249         * include/netdb.h: Likewise.
28250         * inet/check_native.c: Likewise.
28251         * inet/check_pf.c: Likewise.
28252         * inet/getipv4sourcefilter.c: Likewise.
28253         * inet/getnameinfo.c: Likewise.
28254         * inet/getsourcefilter.c: Likewise.
28255         * inet/htonl.c: Likewise.
28256         * inet/setipv4sourcefilter.c: Likewise.
28257         * inet/setsourcefilter.c: Likewise.
28258         * inet/test-inet6_opt.c: Likewise.
28259         * inet/tst-network.c: Likewise.
28260         * locale/C-collate.c: Likewise.
28261         * locale/C-ctype.c: Likewise.
28262         * locale/C-time.c: Likewise.
28263         * locale/C-translit.h: Likewise.
28264         * locale/loadarchive.c: Likewise.
28265         * locale/programs/3level.h: Likewise.
28266         * locale/programs/charmap.c: Likewise.
28267         * locale/programs/charmap.h: Likewise.
28268         * locale/programs/ld-address.c: Likewise.
28269         * locale/programs/ld-collate.c: Likewise.
28270         * locale/programs/ld-ctype.c: Likewise.
28271         * locale/programs/ld-identification.c: Likewise.
28272         * locale/programs/ld-measurement.c: Likewise.
28273         * locale/programs/ld-messages.c: Likewise.
28274         * locale/programs/ld-monetary.c: Likewise.
28275         * locale/programs/ld-name.c: Likewise.
28276         * locale/programs/ld-numeric.c: Likewise.
28277         * locale/programs/ld-paper.c: Likewise.
28278         * locale/programs/ld-telephone.c: Likewise.
28279         * locale/programs/ld-time.c: Likewise.
28280         * locale/programs/linereader.c: Likewise.
28281         * locale/programs/locale.c: Likewise.
28282         * locale/programs/locarchive.c: Likewise.
28283         * locale/programs/locfile.h: Likewise.
28284         * locale/programs/repertoire.c: Likewise.
28285         * locale/programs/simple-hash.c: Likewise.
28286         * locale/programs/simple-hash.h: Likewise.
28287         * malloc/memusage.c: Likewise.
28288         * malloc/memusagestat.c: Likewise.
28289         * nis/nis_defaults.c: Likewise.
28290         * nis/nis_hash.c: Likewise.
28291         * nis/nis_print.c: Likewise.
28292         * nis/nis_xdr.c: Likewise.
28293         * nscd/connections.c: Likewise.
28294         * nscd/hstcache.c: Likewise.
28295         * nscd/nscd_gethst_r.c: Likewise.
28296         * nscd/nscd_getserv_r.c: Likewise.
28297         * nscd/nscd_helper.c: Likewise.
28298         * nscd/servicescache.c: Likewise.
28299         * nss/makedb.c: Likewise.
28300         * nss/nss_db/db-XXX.c: Likewise.
28301         * nss/nss_db/db-initgroups.c: Likewise.
28302         * nss/nss_db/db-netgrp.c: Likewise.
28303         * nss/nss_files/files-network.c: Likewise.
28304         * nss/nss_files/files-parse.c: Likewise.
28305         * posix/bug-regex5.c: Likewise.
28306         * posix/fnmatch_loop.c: Likewise.
28307         * posix/regcomp.c: Likewise.
28308         * posix/regexec.c: Likewise.
28309         * posix/tst-rfc3484-2.c: Likewise.
28310         * posix/tst-rfc3484-3.c: Likewise.
28311         * posix/tst-rfc3484.c: Likewise.
28312         * resolv/nss_dns/dns-canon.c: Likewise.
28313         * resolv/nss_dns/dns-network.c: Likewise.
28314         * resolv/res_init.c: Likewise.
28315         * resolv/res_mkquery.c: Likewise.
28316         * resolv/tst-aton.c: Likewise.
28317         * stdlib/cxa_atexit.c: Likewise.
28318         * stdlib/cxa_finalize.c: Likewise.
28319         * stdlib/gen-fpioconst.c: Likewise.
28320         * stdlib/strtol_l.c: Likewise.
28321         * string/tst-endian.c: Likewise.
28322         * sunrpc/auth_des.c: Likewise.
28323         * sunrpc/clnt_udp.c: Likewise.
28324         * sunrpc/rtime.c: Likewise.
28325         * sunrpc/svcauth_des.c: Likewise.
28326         * sunrpc/xdr.c: Likewise.
28327         * sunrpc/xdr_intXX_t.c: Likewise.
28328         * sunrpc/xdr_rec.c: Likewise.
28329         * sysdeps/generic/ldconfig.h: Likewise.
28330         * sysdeps/generic/ldsodefs.h: Likewise.
28331         * sysdeps/generic/memusage.h: Likewise.
28332         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28334         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28335         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28336         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28338         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28339         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28340         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28341         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28342         * sysdeps/posix/getaddrinfo.c: Likewise.
28343         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28344         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28345         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28346         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28347         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28348         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28349         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28350         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28351         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28352         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28353         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28354         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28355         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28356         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28357         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28358         * sysdeps/x86_64/dl-tls.h: Likewise.
28359         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28360         * time/alt_digit.c: Likewise.
28361         * time/era.c: Likewise.
28362         * wcsmbs/tst-c16c32-1.c: Likewise.
28364 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28366         * math/libm-test.inc (struct test_sincos_data): New type.
28367         (RUN_TEST_LOOP_sincos): New macro.
28368         (sincos_test_data): New variable.
28369         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28371 2013-05-16  Richard Henderson  <rth@redhat.com>
28373         * math/atest-exp2.c (LIMB64): New macro.
28374         (CONSTSZ): New macro.
28375         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28376         (hexdig): Move ...
28377         (print_mpn_fp): ... to function scope.
28378         (read_mpn_hex): Remove.
28379         (get_log2): Remove.
28380         (exp2_mpn): Use mp_log2.
28381         (main): Use mp_exp1.
28383 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28385         * math/libm-test.inc: Remove comment about not testing "inexact"
28386         exceptions.
28387         (INEXACT_EXCEPTION): New macro.
28388         (NO_INEXACT_EXCEPTION): Likewise.
28389         (INVALID_EXCEPTION_OK): Update value.
28390         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28391         (OVERFLOW_EXCEPTION_OK): Likewise.
28392         (UNDERFLOW_EXCEPTION_OK): Likewise.
28393         (IGNORE_ZERO_INF_SIGN): Likewise.
28394         (ERRNO_UNCHANGED): Likewise.
28395         (ERRNO_EDOM): Likewise.
28396         (ERRNO_ERANGE): Likewise.
28397         (test_exceptions): Handle testing "inexact" exceptions.
28398         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28399         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28400         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28401         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28402         INEXACT_EXCEPTION.
28403         (rint_towardzero_test_data): Likewise.
28404         (rint_downward_test_data): Likewise.
28405         (rint_upward_test_data): Likewise.
28407         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28408         with OVERFLOW_EXCEPTION.
28409         (exp10_test_data): Likewise.
28410         (exp2_test_data): Likewise.
28411         (expm1_test_data): Likewise.
28412         (lgamma_test_data): Likewise.
28413         (pow_test_data): Likewise.
28414         (tgamma_test_data): Likewise.
28415         (yn_test_data): Remove duplicate test of overflow.
28417         * math/libm-test.inc (struct test_cc_c_data): New type.
28418         (RUN_TEST_LOOP_cc_c): New macro.
28419         (cpow_test_data): New variable.
28420         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28422         * math/libm-test.inc (struct test_f_L_data): New type.
28423         (RUN_TEST_LOOP_f_L): New macro.
28424         (llrint_test_data): New variable.
28425         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28426         (llrint_tonearest_test_data): New variable.
28427         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28428         (llrint_towardzero_test_data): New variable.
28429         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28430         (llrint_downward_test_data): New variable.
28431         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28432         (llrint_upward_test_data): New variable.
28433         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28434         (llround_test_data): New variable.
28435         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28437 2013-05-13  Peter Collingbourne  <pcc@google.com>
28439         * math/atest-exp2.c (get_log2): Remove const attribute.
28441 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28443         * math/libm-test.inc (struct test_f_l_data): New type.
28444         (RUN_TEST_LOOP_f_l): New macro.
28445         (lrint_test_data): New variable.
28446         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28447         (lrint_tonearest_test_data): New variable.
28448         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28449         (lrint_towardzero_test_data): New variable.
28450         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28451         (lrint_downward_test_data): New variable.
28452         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28453         (lrint_upward_test_data): New variable.
28454         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28455         (lround_test_data): New variable.
28456         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28458 2013-05-15  Peter Collingbourne  <pcc@google.com>
28460         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28461         (EXTRACT_WORDS64) Use where appropriate.
28462         (INSERT_WORDS64) Likewise.
28464         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28465         constraints with x constraints.
28466         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28468         * malloc/obstack.c (_obstack_compat): Add initializer.
28470 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28472         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28473         si_trapno and add si_addr_lsb to _sifields.sigfault.
28474         (si_trapno): Remove macro.
28475         (si_addr_lsb): Define new macro.
28476         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28478 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28480         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28481         instead of TEST_f_l.
28482         (llrint_test_tonearest): Likewise.
28483         (llrint_test_towardzero): Likewise.
28484         (llrint_test_downward): Likewise.
28485         (llrint_test_upward): Likewise.
28486         (llround_test): Likewise.
28488         * math/libm-test.inc (struct test_f_i_data): Add comment.
28489         (RUN_TEST_LOOP_f_b): New macro.
28490         (RUN_TEST_LOOP_f_b_tg): Likewise.
28491         (finite_test_data): New variable.
28492         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28493         (isfinite_test_data): New variable.
28494         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28495         (isinf_test_data): New variable.
28496         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28497         (isnan_test_data): New variable.
28498         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28499         (isnormal_test_data): New variable.
28500         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28501         (issignaling_test_data): New variable.
28502         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28503         (signbit_test_data): New variable.
28504         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28506         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28507         with INVALID_EXCEPTION.
28508         (acosh_test_data): Likewise.
28509         (asin_test_data): Likewise.
28510         (atanh_test_data): Likewise.
28511         (fmod_test_data): Likewise.
28512         (log_test_data): Likewise.
28513         (log10_test_data): Likewise.
28514         (log2_test_data): Likewise.
28515         (pow_test_data): Likewise.
28516         (sqrt_test_data): Likewise.
28517         (y0_test_data): Likewise.
28518         (y1_test_data): Likewise.
28519         (yn_test_data): Likewise.
28521         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28522         function contents.
28524         * math/libm-test.inc (struct test_ff_i_data): New type.
28525         (RUN_TEST_LOOP_ff_i_tg): New macro.
28526         (isgreater_test_data): New variable.
28527         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28528         (isgreaterequal_test_data): New variable.
28529         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28530         (isless_test_data): New variable.
28531         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28532         (islessequal_test_data): New variable.
28533         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28534         (islessgreater_test_data): New variable.
28535         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28536         (isunordered_test_data): New variable.
28537         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28539 2013-05-14  David S. Miller  <davem@davemloft.net>
28541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28543 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28545         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28547         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28548         extra_test to int.
28549         (struct test_f_i_data): Change type of max_ulp to int.
28551         * math/libm-test.inc (test_ffI_f1_data): New type.
28552         (RUN_TEST_LOOP_ffI_f1): New macro.
28553         (remquo_test_data): New variable.
28554         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28556         * setjmp/tst-setjmp-fp.c: New file.
28557         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28558         (link-libm): New variable.
28559         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28561         * math/libm-test.inc (struct test_f_i_data): New type.
28562         (RUN_TEST_LOOP_f_i): New macro.
28563         (RUN_TEST_LOOP_f_i_tg): Likewise.
28564         (fpclassify_test_data): New variable.
28565         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28566         (ilogb_test_data): New variable.
28567         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28569         * math/libm-test.inc (scalbln_test): Correct function name in END
28570         call.
28572         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28573         (RUN_TEST_LOOP_fI_f1): New macro.
28574         (frexp_test_data): New variable.
28575         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28577         * math/libm-test.inc (struct test_fF_f1_data): New type.
28578         (RUN_TEST_LOOP_fF_f1): New macro.
28579         (modf_test_data): New variable.
28580         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28582         * math/libm-test.inc (struct test_f_f1_data): New type.
28583         (RUN_TEST_LOOP_f_f1): New macro.
28584         (gamma_test_data): New variable.
28585         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28586         (lgamma_test_data): New variable.
28587         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28589 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28591         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28592         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28593         (main): Comment "tls" pseudo-hwcap.
28595 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
28597         * math/libm-test.inc (struct test_fl_f_data): New type.
28598         (RUN_TEST_LOOP_fl_f): New variable.
28599         (scalbln_test_data): New variable.
28600         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28602         * math/libm-test.inc (struct test_fi_f_data): New type.
28603         (RUN_TEST_LOOP_fi_f): New macro.
28604         (ldexp_test_data): New variable.
28605         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28606         (scalbn_test_data): New variable.
28607         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28609         * math/libm-test.inc (struct test_c_f_data): New type.
28610         (RUN_TEST_LOOP_c_f): New macro.
28611         (cabs_test_data): New variable.
28612         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28613         (carg_test_data): New variable.
28614         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28615         (cimag_test_data): New variable.
28616         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28617         (creal_test_data): New variable.
28618         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28620         * math/libm-test.inc (struct test_if_f_data): New type.
28621         (RUN_TEST_LOOP_if_f): New macro.
28622         (jn_test_data): New variable.
28623         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28624         (yn_test_data): New variable.
28625         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28627         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28629 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28631         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28632         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28634 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28636         * benchtests/Makefile (CPPFLAGS-nonlib): Add
28637         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28638         (bench-deps): Add bench-timing.h.
28639         * benchtests-bench-skeleton.c: Include bench-timing.h.
28640         (main): Use TIMING_* macros instead of clock_gettime.
28641         * benchtests/bench-timing.h: New file.
28643         [BZ #14582]
28644         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28645         Renamed from _LIB_VERSION.
28646         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28648 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
28650         * math/libm-test.inc (struct test_fff_f_data): New type.
28651         (RUN_TEST_LOOP_fff_f): New macro.
28652         (fma_test_data): New variable.
28653         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28654         (fma_towardzero_test_data): New variable.
28655         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28656         (fma_downward_test_data): New variable.
28657         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28658         (fma_upward_test_data): New variable.
28659         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28661         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28662         (struct test_c_c_data): New type.
28663         (RUN_TEST_LOOP_c_c): New macro.
28664         (cacos_test_data): New variable.
28665         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28666         (cacosh_test_data): New variable.
28667         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28668         (casin_test_data): New variable.
28669         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28670         (casinh_test_data): New variable.
28671         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28672         (catan_test_data): New variable.
28673         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28674         (catanh_test_data): New variable.
28675         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28676         (ccos_test_data): New variable.
28677         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28678         (ccosh_test_data): New variable.
28679         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28680         (cexp_test_data): New variable.
28681         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28682         (clog_test_data): New variable.
28683         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28684         (clog10_test_data): New variable.
28685         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28686         (conj_test_data): New variable.
28687         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28688         (cproj_test_data): New variable.
28689         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28690         (csin_test_data): New variable.
28691         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28692         (csinh_test_data): New variable.
28693         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28694         (csqrt_test_data): New variable.
28695         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28696         (ctan_test_data): New variable.
28697         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28698         (ctan_tonearest_test_data): New variable.
28699         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28700         (ctan_towardzero_test_data): New variable.
28701         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28702         (ctan_downward_test_data): New variable.
28703         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28704         (ctan_upward_test_data): New variable.
28705         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28706         (ctanh_test_data): New variable.
28707         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28708         (ctanh_tonearest_test_data): New variable.
28709         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28710         (ctanh_towardzero_test_data): New variable.
28711         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28712         (ctanh_downward_test_data): New variable.
28713         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28714         (ctanh_upward_test_data): New variable.
28715         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28716         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28717         of BUILD_COMPLEX.
28719         * math/libm-test.inc (struct test_ff_f_data): New type.
28720         (struct test_ff_f_data_nexttoward): Likewise.
28721         (RUN_TEST_LOOP_2_f): New macro.
28722         (RUN_TEST_LOOP_ff_f): Likewise.
28723         (atan2_test_data): New variable.
28724         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28725         (copysign_test_data): New variable.
28726         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28727         (fdim_test_data): New variable.
28728         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28729         (fmax_test_data): New variable.
28730         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28731         (fmin_test_data): New variable.
28732         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28733         (fmod_test_data): New variable.
28734         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28735         (hypot_test_data): New variable.
28736         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28737         (nextafter_test_data): New variable.
28738         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28739         (nexttoward_test_data): New variable.
28740         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28741         (pow_test_data): New variable.
28742         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28743         (pow_tonearest_test_data): New variable.
28744         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28745         (pow_towardzero_test_data): New variable.
28746         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28747         (pow_downward_test_data): New variable.
28748         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28749         (pow_upward_test_data): New variable.
28750         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28751         (remainder_test_data): New variable.
28752         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28753         (scalb_test_data): New variable.
28754         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28755         * sysdeps/i386/fpu/libm-test-ulps: Update.
28757 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
28759         * math/libm-test.inc (fma_test): Use max_value instead of local
28760         variable fltmax.
28761         (nextafter_test): Likewise.
28763         * math/libm-test.inc (acos_towardzero_test_data): New variable.
28764         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28765         (acos_downward_test_data): New variable.
28766         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28767         (acos_upward_test_data): New variable.
28768         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28769         (acosh_test_data): New variable.
28770         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28771         (asin_test_data): New variable.
28772         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28773         (asin_tonearest_test_data): New variable.
28774         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28775         (asin_towardzero_test_data): New variable.
28776         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28777         (asin_downward_test_data): New variable.
28778         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28779         (asin_upward_test_data): New variable.
28780         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28781         (asinh_test_data): New variable.
28782         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28783         (atan_test_data): New variable.
28784         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28785         (atanh_test_data): New variable.
28786         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28787         (cbrt_test_data): New variable.
28788         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28789         (ceil_test_data): New variable.
28790         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28791         (cos_test_data): New variable.
28792         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28793         (cos_tonearest_test_data): New variable.
28794         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28795         (cos_towardzero_test_data): New variable.
28796         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28797         (cos_downward_test_data): New variable.
28798         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28799         (cos_upward_test_data): New variable.
28800         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28801         (cosh_test_data): New variable.
28802         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28803         (cosh_tonearest_test_data): New variable.
28804         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28805         (cosh_towardzero_test_data): New variable.
28806         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28807         (cosh_downward_test_data): New variable.
28808         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28809         (cosh_upward_test_data): New variable.
28810         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28811         (erf_test_data): New variable.
28812         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28813         (erfc_test_data): New variable.
28814         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28815         (exp_test_data): New variable.
28816         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28817         (exp_tonearest_test_data): New variable.
28818         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28819         (exp_towardzero_test_data): New variable.
28820         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28821         (exp_downward_test_data): New variable.
28822         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28823         (exp_upward_test_data): New variable.
28824         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28825         (exp10_test_data): New variable.
28826         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28827         (exp2_test_data): New variable.
28828         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28829         (expm1_test_data): New variable.
28830         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28831         (fabs_test_data): New variable.
28832         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28833         (floor_test_data): New variable.
28834         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28835         (j0_test_data): New variable.
28836         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28837         (j1_test_data): New variable.
28838         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28839         (log_test_data): New variable.
28840         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28841         (log10_test_data): New variable.
28842         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28843         (log1p_test_data): New variable.
28844         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28845         (log2_test_data): New variable.
28846         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28847         (logb_test_data): New variable.
28848         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28849         (logb_downward_test_data): New variable.
28850         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28851         (nearbyint_test_data): New variable.
28852         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28853         (rint_test_data): New variable.
28854         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28855         (rint_tonearest_test_data): New variable.
28856         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28857         (rint_towardzero_test_data): New variable.
28858         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28859         (rint_downward_test_data): New variable.
28860         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28861         (rint_upward_test_data): New variable.
28862         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28863         (round_test_data): New variable.
28864         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28865         (sin_test_data): New variable.
28866         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28867         (sin_tonearest_test_data): New variable.
28868         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28869         (sin_towardzero_test_data): New variable.
28870         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28871         (sin_downward_test_data): New variable.
28872         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28873         (sin_upward_test_data): New variable.
28874         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28875         (sinh_test_data): New variable.
28876         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28877         (sinh_tonearest_test_data): New variable.
28878         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28879         (sinh_towardzero_test_data): New variable.
28880         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28881         (sinh_downward_test_data): New variable.
28882         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28883         (sinh_upward_test_data): New variable.
28884         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28885         (sqrt_test_data): New variable.
28886         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28887         (tan_test_data): New variable.
28888         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28889         (tan_tonearest_test_data): New variable.
28890         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28891         (tan_towardzero_test_data): New variable.
28892         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28893         (tan_downward_test_data): New variable.
28894         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28895         (tan_upward_test_data): New variable.
28896         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28897         (tanh_test_data): New variable.
28898         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28899         (tgamma_test_data): New variable.
28900         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28901         (trunc_test_data): New variable.
28902         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28903         (y0_test_data): New variable.
28904         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28905         (y1_test_data): New variable.
28906         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28907         (significand_test_data): New variable.
28908         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28910 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28912         [BZ #12387]
28913         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28915 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28917         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28919 2013-05-10  Andreas Jaeger  <aj@suse.de>
28921         [BZ #15448]
28922         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28923         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28925 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28927         * math/gen-libm-test.pl (adjust_arg): New function.
28928         (special_functions): Handle generating output in both functions
28929         and arrays.
28930         (parse_args): Likewise.
28931         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28932         $in_func argument to parse_args.
28933         * math/libm-test.inc (struct test_f_f_data): New type.
28934         (IF_ROUND_INIT_): New macro.
28935         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28936         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28937         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28938         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28939         (ROUND_RESTORE_): Likewise.
28940         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28941         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28942         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28943         (ROUND_RESTORE_FE_UPWARD): Likewise.
28944         (RUN_TEST_LOOP_f_f): New macro.
28945         (acos_test_data): New variable.
28946         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28947         (acos_tonearest_test_data): New variable.
28948         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28950 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28952         * benchtests/bench-skeleton.c (startup): Fix coding style.
28954 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28956         [BZ #6809]
28957         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28958         negative infinity argument.
28959         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28960         negative infinity argument.
28961         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28962         negative infinity argument.
28963         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28964         domain errors.
28966 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28968         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28969         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28970         * iconv/iconv_prog.c (main): Likewise.
28971         * locale/programs/charmap-dir.c (charmap_readdir)
28972         (fopen_uncompressed): Likewise.
28973         * locale/programs/locfile.c (siblings_uncached)
28974         (write_locale_data): Use lstat64 instead of lstat.
28975         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28976         stat.
28978 2013-05-10  Andreas Jaeger  <aj@suse.de>
28980         [BZ #15395]
28981         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28982         localization.
28983         Include <locale.h>.
28985 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28987         * elf/dl-close.c (_dl_close_worker): Add comments.
28989 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28991         [BZ #15359]
28992         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28993         high part of pi/2.
28994         (__ieee754_rem_pio2l): Update comments.
28996         [BZ #15429]
28997         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28998         high part of pi/2.
28999         (__ieee754_rem_pio2l): Update comments.
29001         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29002         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29004         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29005         M_PI_4l.
29007         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29008         (M_PI_34_LOG10El): Likewise.
29009         (M_PI2_LOG10El): Likewise.
29010         (M_PI4_LOG10El): Likewise.
29011         (M_PI_LOG10El): Likewise.
29013 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29017 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29019         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29020         (MINUS_ZERO_INIT): Likewise.
29021         (PLUS_INFTY_INIT): Likewise.
29022         (MINUS_INFTY_INIT): Likewise.
29023         (QNAN_VALUE_INIT): Likewise.
29024         (MAX_VALUE_INIT): Likewise.
29025         (MIN_VALUE_INIT): Likewise.
29026         (MIN_SUBNORM_VALUE_INIT): Likewise.
29027         (plus_zero): Initialize with PLUS_ZERO_INIT.
29028         (minus_zero): Initialize with MINUS_ZERO_INIT.
29029         (plus_infty): Initialize with PLUS_INFTY_INIT.
29030         (minus_infty): Initialize with MINUS_INFTY_INIT.
29031         (qnan_value): Initialize with QNAN_VALUE_INIT.
29032         (max_value): Initialize with MAX_VALUE_INIT.
29033         (min_value): Initialize with MIN_VALUE_INIT.
29034         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29036         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29037         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29038         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29039         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29041         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29042         (RUN_TEST_2_f): Likewise.
29043         (RUN_TEST_ff_f): Likewise.
29044         (RUN_TEST_fi_f): Likewise.
29045         (RUN_TEST_fl_f): Likewise.
29046         (RUN_TEST_fff_f): Likewise.
29047         (RUN_TEST_c_f): Likewise.
29048         (RUN_TEST_f_f1): Likewise.
29049         (RUN_TEST_fF_f1): Likewise.
29050         (RUN_TEST_fI_f1): Likewise.
29051         (RUN_TEST_ffI_f1): Likewise.
29052         (RUN_TEST_c_c): Likewise.
29053         (RUN_TEST_cc_c): Likewise.
29054         (RUN_TEST_f_i): Likewise.
29055         (RUN_TEST_f_i_tg): Likewise.
29056         (RUN_TEST_ff_i_tg): Likewise.
29057         (RUN_TEST_f_b): Likewise.
29058         (RUN_TEST_f_b_tg): Likewise.
29059         (RUN_TEST_f_l): Likewise.
29060         (RUN_TEST_f_L): Likewise.
29061         (RUN_TEST_sincos): Likewise.
29062         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29063         whether to show exceptions.  Do not include ");\n" in return
29064         value.
29065         (special_functions): Output call to RUN_TEST_sincos instead of
29066         check_float calls.  Update calls to new_test.
29067         (parse_args): Output call to single RUN_TEST_* macro instead of
29068         check_* calls and other assignments.  Update calls to new_test.
29070         [BZ #2546]
29071         [BZ #2560]
29072         [BZ #5159]
29073         [BZ #15426]
29074         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29075         input to result for tgamma overflow.
29076         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29077         (gamma_coeff): New variable.
29078         (NCOEFF): New macro.
29079         (gamma_positive): New function.
29080         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29081         underflow here.  Use gamma_positive instead of exp (lgamma) for
29082         other arguments.
29083         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29084         (gamma_coeff): New variable.
29085         (NCOEFF): New macro.
29086         (gammaf_positive): New function.
29087         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29088         underflow here.  Use gamma_positive instead of exp (lgamma) for
29089         other arguments.
29090         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29091         (gamma_coeff): New variable.
29092         (NCOEFF): New macro.
29093         (gammal_positive): New function.
29094         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29095         underflow here.  Use gamma_positive instead of exp (lgamma) for
29096         other arguments.
29097         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29098         (gamma_coeff): New variable.
29099         (NCOEFF): New macro.
29100         (gammal_positive): New function.
29101         (__ieee754_gammal_r): Handle positive infinity, overflow and
29102         underflow here.  Handle NaN the same as positive infinity.  Remove
29103         check x < 0xffffffff for negative integers.  Use gamma_positive
29104         instead of exp (lgamma) for other arguments.
29105         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29106         (gamma_coeff): New variable.
29107         (NCOEFF): New macro.
29108         (gammal_positive): New function.
29109         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29110         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29111         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29112         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29113         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29114         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29115         * sysdeps/generic/math_private.h (__gamma_productf): New
29116         prototype.
29117         (__gamma_product): Likewise.
29118         (__gamma_productl): Likewise.
29119         * math/Makefile (libm-calls): Add gamma_product.
29120         * math/libm-test.inc (tgamma_test): Add more tests.
29121         * sysdeps/i386/fpu/libm-test-ulps: Update.
29122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29124 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29126         * benchtests/bench-skeleton.c (main): Preheat CPU.
29128 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29130         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29132 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29134         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29135         and _dl_skip_args_internal.
29137 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29139         * manual/message.texi (Message Translation): Talk about users.
29140         Message to key mapping impacts design.
29142 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29144         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29146         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29148         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29149         * sysdeps/wordsize-64/glob64.c: ... here.
29151         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29152         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29153         New macros.
29155         * debug/getlogin_r_chk.c: Moved to ...
29156         * login/getlogin_r_chk.c: ... here.
29157         * debug/Makefile (routines): Move getlogin_r_chk to ...
29158         * login/Makefile (routines): ... here.
29159         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29160         * login/Versions (libc: GLIBC_2.4): ... here.
29162         * io/poll.c (__poll): Renamed from poll.
29163         Add libc_hidden_def.
29164         (poll): Define as weak alias.
29166         * debug/ptsname_r_chk.c: Moved to ...
29167         * login/ptsname_r_chk.c: ... here.
29168         * debug/Makefile (routines): Move ptsname_r_chk to ...
29169         * login/Makefile (routines): ... here.
29170         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29171         * login/Versions (libc: GLIBC_2.4): ... here.
29173         * posix/getlogin.c: Moved to ...
29174         * login/getlogin.c: ... here.
29175         * posix/getlogin_r.c: Moved to ...
29176         * login/getlogin_r.c: ... here.
29177         * posix/getlogin_r.c: Moved to ...
29178         * login/getlogin_r.c: ... here.
29179         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29180         * login/Makefile (routines): ... here.
29181         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29182         * login/Versions (libc: GLIBC_2.0): ... here.
29184         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29185         (setrlimit): Define as weak alias.
29187         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29188         Call __ names for open, ftruncate, and close.
29189         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29190         (truncate): Define as weak alias.
29192 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29194         * math/gen-libm-test.pl (parse_args): Initialize x before each
29195         test of frexp, modf and remquo.
29197         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29198         test signgam value.
29200 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29202         [BZ #15418]
29203         [BZ #15419]
29204         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29205         internal tests.
29206         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29208 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29210         * elf/dl-writev.h: New file.
29211         * elf/dl-misc.c: Include it.
29212         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29213         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29215 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29217         * math/libm-test.inc (noXFails): Remove variable.
29218         (noXPasses): Likewise.
29219         (BUILD_COMPLEX_INT): Remove macro.
29220         (print_screen): Remove xfail argument.
29221         (print_screen_max_error): Likewise.
29222         (update_stats): Likewise.
29223         (print_max_error): Likewise.  Update calls to other affected
29224         functions.
29225         (print_complex_max_error): Likewise.
29226         (test_single_exception): Update calls to print_screen.
29227         (test_single_errno): Likewise.
29228         (check_float_internal): Remove xfail argument.  Update calls to
29229         other affected functions.
29230         (check_float): Likewise.
29231         (check_complex): Likewise.
29232         (check_int): Likewise.
29233         (check_long): Likewise.
29234         (check_bool): Likewise.
29235         (check_longlong): Likewise.
29236         (main): Don't print noXFails and noXPasses.
29237         * math/gen-libm-test.pl (top level): Don't mention expected
29238         failure handling in comment.
29239         (new_test): Don't handle expected failures.
29240         (parse_args): Don't mention expected failure handling in comment.
29241         (generate_testfile): Don't handle expected failures.
29242         (parse_ulps): Likewise.
29243         (print_ulps_file): Likewise.
29244         (get_failure): Remove function.
29245         (output_test): Don't handle expected failures.
29246         * make/README.libm-test: Don't mention expected failure handling.
29248         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29249         (minus_zero): Likewise.
29250         (plus_infty): Likewise.
29251         (minus_infty): Likewise.
29252         (qnan_value): Likewise.
29253         (max_value): Likewise.
29254         (min_value): Likewise.
29255         (min_subnorm_value): Likewise.
29256         (initialize): Do not initialize those variables dynamically.
29258 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29260         * io/open.c (__open_2): Moved to ...
29261         * io/open_2.c: ... this new file.
29262         * io/open64.c (__open64_2): Moved to ...
29263         * io/open64_2.c: ... this new file.
29264         * io/openat.c (__openat_2): Moved to ...
29265         * io/openat_2.c: ... this new file.
29266         * io/openat64.c (__openat64_2): Moved to ...
29267         * io/openat64_2.c: ... this new file.
29268         * io/Makefile (routines): Add them.
29269         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29270         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29271         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29272         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29273         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29274         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29275         (__openat64): Add hidden_ver.
29276         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29277         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29279         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29280         Separately conditionalize setting of GLRO(dl_sysinfo) so
29281         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29282         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29284 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29286         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29287         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29288         definition.
29289         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29290         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29291         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29292         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29293         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29295 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29297         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29298         test signgam value.
29300         * math/libm-test.inc (hypot_test): Do not use
29301         IGNORE_ZERO_INF_SIGN.
29303 2013-05-03  Andreas Jaeger  <aj@suse.de>
29305         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29306         Linux 3.9.
29307         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29308         (PF_MAX): Adjust for VSOCK change.
29310 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29314 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29316         [BZ #15264]
29317         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29318         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29319         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29321 2013-05-02  David S. Miller  <davem@davemloft.net>
29323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29325 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29327         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29329 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29331         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29333 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29335         [BZ #14952]
29336         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29337         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29338         Use __attribute__ ((__gnu_inline__)).
29339         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29340         Don't use __attribute__ ((__gnu_inline__)).
29342 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29344         [BZ #15423]
29345         * math/s_catan.c (__catan): Handle small real or imaginary part of
29346         input specially to avoid spurious underflow.
29347         * math/s_catanf.c (__catanf): Likewise.
29348         * math/s_catanh.c (__catanh): Likewise.
29349         * math/s_catanhf.c (__catanhf): Likewise.
29350         * math/s_catanhl.c (__catanhl): Likewise.
29351         * math/s_catanl.c (__catanl): Likewise.
29352         * math/libm-test.inc (catan_test): Add more tests.
29353         (catanh_test): Likewise.
29354         * sysdeps/i386/fpu/libm-test-ulps: Update.
29355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29357 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29361 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29363         [BZ #15416]
29364         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29365         accurately for denominator in atan2.
29366         * math/s_catanf.c (__catanf): Likewise.
29367         * math/s_catanh.c (__catanh): Likewise.
29368         * math/s_catanhf.c (__catanhf): Likewise.
29369         * math/s_catanhl.c (__catanhl): Likewise.
29370         * math/s_catanl.c (__catanl): Likewise.
29371         * math/libm-test.inc (catan_test): Add more tests.
29372         (catanh_test): Likewise.
29373         * sysdeps/i386/fpu/libm-test-ulps: Update.
29374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29376 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29378         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29380         * benchtests/Makefile (bench): Remove slow benchmarks.
29381         * benchtests/atan-inputs: Add slow benchmark inputs.
29382         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29383         (BENCH_FUNC): Accept variant offset.
29384         (VARIANT): Define.
29385         * benchtests/bench-skeleton.c (main): Run benchmark for each
29386         variant.
29387         * benchtests/cos-inputs: Add slow benchmark inputs.
29388         * benchtests/exp-inputs: Likewise.
29389         * benchtests/pow-inputs: Likewise.
29390         * benchtests/sin-inputs: Likewise.
29391         * benchtests/slowatan-inputs: Remove.
29392         * benchtests/slowatan.c: Remove.
29393         * benchtests/slowcos-inputs: Remove.
29394         * benchtests/slowcos.c: Remove.
29395         * benchtests/slowexp-inputs: Remove.
29396         * benchtests/slowexp.c: Remove.
29397         * benchtests/slowpow-inputs: Remove.
29398         * benchtests/slowpow.c: Remove.
29399         * benchtests/slowsin-inputs: Remove.
29400         * benchtests/slowsin.c: Remove.
29401         * benchtests/slowtan-inputs: Remove.
29402         * benchtests/slowtan.c: Remove.
29403         * benchtests/tan-inputs: Add slow benchmark inputs.
29404         * scripts/bench.pl: Parse comments and directives.
29406         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29407         in CPPFLAGS.
29408         ($(objpfx)bench-%.c): Remove *-ITER.
29409         * benchtests/bench-modf.c: Remove definition of ITER.
29410         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29411         (main): Loop for DURATION seconds instead of fixed number of
29412         iterations.
29413         * scripts/bench.pl: Don't expect iterations in parameters.
29415 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29417         * io/fchdir.c (__fchdir): Renamed from fchdir.
29418         (fchdir): Define as weak alias.
29420 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29422         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29423         (ERRNO_EDOM): Likewise.
29424         (ERRNO_ERANGE): Likewise.
29425         (noErrnoTests): New variable.
29426         (init_max_error): Set errno to 0.
29427         (test_single_errno): New function.
29428         (test_errno): Likewise.
29429         (check_float_internal): Call test_errno.  Set errno to 0.
29430         (check_complex): Refer to errno tests in comment.
29431         (check_int): Call test_errno.  Set errno to 0.
29432         (check_long): Likewise.
29433         (check_bool): Likewise.
29434         (check_longlong): Likewise.
29435         (cos_test): Use ERRNO_* flags for errno tests instead of
29436         check_int.
29437         (expm1_test): Likewise.
29438         (fmod_test): Likewise.
29439         (ilogb_test): Likewise.
29440         (lgamma_test): Likewise.
29441         (pow_test): Likewise.
29442         (remainder_test): Likewise.
29443         (sin_test): Likewise.
29444         (tan_test): Likewise.
29445         (yn_test): Likewise.
29446         (initialize): Set errno to 0.
29447         (main): Print number of errno tests.
29448         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29450 2013-04-29  Andreas Jaeger  <aj@suse.de>
29452         [BZ #15084]
29453         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29454         and RES_USEVC.
29456         [BZ #15085]
29457         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29458         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29459         unimplemented.
29461         [BZ #15380]
29462         * stdlib/random.c (__initstate): Return NULL if
29463         __initstate fails.
29465         [BZ #15086]
29466         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29467         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29468         RES_SNGLKUPREOP.
29470 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29474 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29476         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29477         of individual tests.
29478         (casin_test): Likewise.
29479         (casinh_test): Likewise.
29481 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29483         [BZ #15409]
29484         * math/s_catan.c (__catan): Handle arguments with large real or
29485         imaginary part separately without squaring.
29486         * math/s_catanf.c (__catanf): Likewise.
29487         * math/s_catanh.c (__catanh): Likewise.
29488         * math/s_catanhf.c (__catanhf): Likewise.
29489         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29490         and redefine.
29491         (__catanhl): Handle arguments with large real or imaginary part
29492         separately without squaring.
29493         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29494         and redefine.
29495         (__catanl): Handle arguments with large real or imaginary part
29496         separately without squaring.
29497         * math/libm-test.inc (catan_test): Add more tests.
29498         (catanh_test): Likewise.
29499         * sysdeps/i386/fpu/libm-test-ulps: Update.
29500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29502 2013-04-27  Andreas Jaeger  <aj@suse.de>
29504         [BZ #15007]
29505         * stdlib/stdlib.h: Update guards for qecvt.
29506         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29507         <stdlib.h>.
29509 2013-04-27  Allan McRae  <allan@archlinux.org>
29511         * sysdeps/i386/fpu/libm-test-ulps: Update.
29513 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29515         [BZ #15406]
29516         * math/s_catan.c: Include <float.h>.
29517         (__catan): Ensure underflow exception occurs for underflowed
29518         result.
29519         * math/s_catanf.c: Include <float.h>.
29520         (__catanf): Ensure underflow exception occurs for underflowed
29521         result.
29522         * math/s_catanh.c: Include <float.h>.
29523         (__catanh): Ensure underflow exception occurs for underflowed
29524         result.
29525         * math/s_catanhf.c: Include <float.h>.
29526         (__catanhf): Ensure underflow exception occurs for underflowed
29527         result.
29528         * math/s_catanhl.c: Include <float.h>.
29529         (__catanhl): Ensure underflow exception occurs for underflowed
29530         result.
29531         * math/s_catanl.c: Include <float.h>.
29532         (__catanl): Ensure underflow exception occurs for underflowed
29533         result.
29534         * math/libm-test.inc (catan_test): Add more tests.
29535         (catanh_test): Likewise.
29537         [BZ #15405]
29538         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29539         underflowed result.
29540         * math/s_ccoshf.c (__ccoshf): Likewise.
29541         * math/s_ccoshl.c (__ccoshl): Likewise.
29542         * math/s_csin.c (__csin): Likewise.
29543         * math/s_csinf.c (__csinf): Likewise.
29544         * math/s_csinh.c (__csinh): Likewise.
29545         * math/s_csinhf.c (__csinhf): Likewise.
29546         * math/s_csinhl.c (__csinhl): Likewise.
29547         * math/s_csinl.c (__csinl): Likewise.
29548         * math/libm-test.inc (ccos_test): Add more tests.
29549         (ccosh_test): Likewise.
29550         (csin_test): Likewise.
29551         (csinh_test): Likewise.
29553 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29555         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29556         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29557         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29558         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29559         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29560         powerpc/power5+/fpu folders.
29561         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29564 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29568 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29570         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29571         additions to variable.
29572         [$(config-machine) = x86_64] (modules-names): Likewise.
29573         ($(objpfx)tst-audit3): Remove dependency.
29574         ($(objpfx)tst-audit3.out): Likewise.
29575         ($(objpfx)tst-audit4): Likewise.
29576         ($(objpfx)tst-audit4.out): Likewise.
29577         ($(objpfx)tst-audit5): Likewise.
29578         ($(objpfx)tst-audit5.out): Likewise.
29579         ($(objpfx)tst-audit6): Likewise.
29580         ($(objpfx)tst-audit6.out): Likewise.
29581         ($(objpfx)tst-audit7): Likewise.
29582         ($(objpfx)tst-audit7.out): Likewise.
29583         (tst-audit3-ENV): Remove variable.
29584         (tst-audit4-ENV): Likewise.
29585         (tst-audit5-ENV): Likewise.
29586         (tst-audit6-ENV): Likewise.
29587         (tst-audit7-ENV): Likewise.
29588         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29589         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29590         addition to variable.
29591         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29592         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29593         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29594         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29595         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29596         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29597         tst-audit3, tst-audit4 and tst-audit5.
29598         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29599         tst-audit6 and tst-audit7.
29600         [$(subdir) = elf] (modules-names): Add audit modules for those
29601         tests.
29602         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29603         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29604         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29605         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29606         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29607         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29608         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29609         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29610         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29611         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29612         [$(subdir) = elf] (tst-audit3-ENV): New variable.
29613         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29614         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29615         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29616         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29617         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29618         Likewise.
29619         [$(subdir) = elf && $(config-cflags-avx) = yes]
29620         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29621         [$(subdir) = elf && $(config-cflags-avx) = yes]
29622         (CFLAGS-tst-auditmod4a.c): Likewise.
29623         [$(subdir) = elf && $(config-cflags-avx) = yes]
29624         (CFLAGS-tst-auditmod4b.c): Likewise.
29625         [$(subdir) = elf && $(config-cflags-avx) = yes]
29626         (CFLAGS-tst-auditmod6b.c): Likewise.
29627         [$(subdir) = elf && $(config-cflags-avx) = yes]
29628         (CFLAGS-tst-auditmod6c.c): Likewise.
29629         [$(subdir) = elf && $(config-cflags-avx) = yes]
29630         (CFLAGS-tst-auditmod7b.c): Likewise.
29631         * elf/tst-audit3.c: Move to ...
29632         * sysdeps/x86_64/tst-audit3.c: ... here.
29633         * elf/tst-audit4.c: Move to ...
29634         * sysdeps/x86_64/tst-audit4.c: ... here.
29635         * elf/tst-audit5.c: Move to ...
29636         * sysdeps/x86_64/tst-audit5.c: ... here.
29637         * elf/tst-audit6.c: Move to ...
29638         * sysdeps/x86_64/tst-audit6.c: ... here.
29639         * elf/tst-audit7.c: Move to ...
29640         * sysdeps/x86_64/tst-audit7.c: ... here.
29641         * elf/tst-auditmod3a.c: Move to ...
29642         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29643         * elf/tst-auditmod3b.c: Move to ...
29644         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29645         * elf/tst-auditmod4a.c: Move to ...
29646         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29647         * elf/tst-auditmod4b.c: Move to ...
29648         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29649         * elf/tst-auditmod5a.c: Move to ...
29650         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29651         * elf/tst-auditmod5b.c: Move to ...
29652         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29653         * elf/tst-auditmod6a.c: Move to ...
29654         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29655         * elf/tst-auditmod6b.c: Move to ...
29656         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29657         * elf/tst-auditmod6c.c: Move to ...
29658         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29659         * elf/tst-auditmod7a.c: Move to ...
29660         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29661         * elf/tst-auditmod7b.c: Move to ...
29662         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29664 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
29666         [BZ #15366]
29667         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29668         define unconditionally.
29669         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29670         define unconditionally.
29671         (INT8_C, INT16_C, etc.): Likewise.
29673 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
29675         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29676         __ehdr_start with hidden visibility.
29678         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29680 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
29682         * math/libm-test.inc (cos_test): Use accurate hex constants.
29683         (sincost_test): Likewise.
29685 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
29687         * math/libm-test.inc (catan_test): Add more tests.
29688         (catanh_test): Likewise.
29690         * math/s_catanf.c (__catanf): Use suffixed floating-point
29691         constants.
29692         * math/s_catanhf.c (__catanhf): Likewise.
29693         * math/s_catanhl.c (__catanhl): Likewise.
29694         * math/s_catanl.c (__catanl): Likewise.
29696         [BZ #15394]
29697         * math/s_catan.c (__catan): Calculate imaginary part of result
29698         with log1p not log unless computing log of number close to 0.
29699         * math/s_catanf.c (__catanf): Likewise.
29700         * math/s_catanl.c (__catanl): Likewise.
29701         * math/s_catanh.c (__catanh): Calculate real part of result with
29702         log1p not log unless computing log of number close to 0.
29703         * math/s_catanhf.c (__catanhf): Likewise.
29704         * math/s_catanhl.c (__catanhl): Likewise.
29705         * math/libm-test.inc (catan_test): Add more tests.
29706         (catanh_test): Likewise.
29707         * sysdeps/i386/fpu/libm-test-ulps: Update.
29708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29710 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29712         * benchtests/Makefile: Mention files in which fast and slow
29713         paths of math functions are implemented.
29715 2013-04-23  Roland McGrath  <roland@hack.frob.com>
29717         * sysdeps/posix/timespec_get.c: New file.
29719 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29721         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29722         POWER.
29723         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29724         for POWER.
29725         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29726         powerpc/power5/fpu folders.
29727         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29728         * benchtests/Makefile: Add modf testcase.
29729         * benchtests/bench-modf.c: New file: Benchmark test for mo
29731 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29733         [BZ #14888]
29734         * time/Makefile (tests): Add tst-strptime-whitespace.
29735         * time/strptime_l.c (get_number): Use ISSPACE.
29736         (__strptime_internal): Likewise.
29737         * time/tst-strptime-whitespace.c: New test case.
29739 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
29741         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29742         member.
29743         (_nss_files_init): Set it here.
29745 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
29747         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29748         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29749         unsigned.
29751 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
29753         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29755 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29758         size just once.
29760 2013-04-21  David S. Miller  <davem@davemloft.net>
29762         * po/ru.po: Update Russion translation from translation project.
29764 2013-04-17  Adam Conrad  <adconrad@0c3.net>
29766         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29767         and setfsgid.
29769 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
29771         * configure.in: Remove i386 configure warning. Remove i386 case.
29772         * configure: Regenerate.
29773         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29774         Add example to error message.
29775         * sysdeps/i386/configure: Regenerate.
29777 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29779         * benchtests/Makefile (bench): Add cos, tan, slowcos and
29780         slowtan.
29781         * benchtests/cos-inputs: New file.
29782         * benchtests/slowcos-inputs: New file.
29783         * benchtests/slowcos.c: New file.
29784         * benchtests/slowtan-inputs: New file.
29785         * benchtests/slowtan.c: New file.
29786         * benchtests/tan-inputs: New file.
29788 2013-04-16  Roland McGrath  <roland@hack.frob.com>
29790         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29791         considered kosher.
29793 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29795         * benchtests/Makefile: Include cppflags-iterator.mk to add
29796         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29798         * Makefile.in (bench-clean): New target.
29799         * benchtests/Makefile (bench-clean): Likewise.
29801 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
29803         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29805 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
29807         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29809 2013-04-15  Andreas Schwab  <schwab@suse.de>
29811         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29812         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29813         * nscd/pwdcache.c (cache_addpw): Likewise.
29814         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29815         more than recsize.
29817 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * benchtests/Makefile (bench): Write all output to
29820         bench-out.tmp together.
29822 2013-04-15  Andreas Schwab  <schwab@suse.de>
29824         * nscd/nscd.c (main): Don't fork again after closing files.
29826 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29828         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29830         * benchtests/Rules (bench-deps): Collect dependencies into a
29831         single variable.  Add Makefile to dependencies.
29832         ($(objpfx)bench-%.c): Depend on bench-deps.
29834 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29835             Xavier Roche  <roche+kml2@exalead.com>
29837         [BZ #15361]
29838         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29839         just that it's a file descriptor.
29840         * manual/llio.texi (Synchronizing AIO Operations): Update description
29841         for EBADF error from aio_fsync.
29843 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29845         * Rules (bench): Move target definition...
29846         * benchtests/Makefile: ... here.
29848 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29850         * math/libm-test.inc (cos_test): Fix PI/2 test.
29851         (sincos_test): Likewise.
29852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29853         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29855 2013-04-11  Andreas Schwab  <schwab@suse.de>
29857         [BZ #13988]
29858         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29859         accept exponent character only when digits were seen.
29860         * stdio-common/Makefile (tests): Add bug26.
29861         * stdio-common/bug26.c: New file.
29863         [BZ #14293]
29864         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29865         non-freeable.
29867 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29869         * Makeconfig (rtld-prefix): Define built linker prefix.
29870         * Rules (run-bench): Use it.
29871         * math/Makefile (run-regen-ulps): Likewise.
29873         * Rules (bench): Remove eval.
29875 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876             Roland McGrath  <roland@hack.frob.com>
29877             Ondrej Bilka  <neleai@seznam.cz>
29879         [BZ #15346]
29880         * time/getdate.c: Include ctype.h and alloca.h.
29881         (__getdate_r): Trim leading and trailing spaces of input.
29882         * time/tst-getdate.c (tests): Add tests with leading and
29883         trailing spaces.
29885 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29887         [BZ #14280]
29888         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29889         when computing value.
29891 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29893         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29894         Use testrun.sh to run libm tests.
29896         [BZ #15309]
29897         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29899 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29901         [BZ #15264]
29902         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29904 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29906         * Makefile.in (regen-ulps): New target.
29907         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29908         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29909         [ifneq (no,$(PERL)] (regen-ulps): New target.
29910         [ifeq (no,$(PERL)] (regen-ulps): New target.
29911         * math/libm-test.inc (ulps_file_name): Define.
29912         (output_dir): New variable.
29913         (options): Add "output-dir" option.
29914         (parse_opt): Handle 'o' case.
29915         (main): If output_dir is non-NULL use it as a prefix
29916         otherwise use "".
29917         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29919 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29921         [BZ #10060, #10062]
29922         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29923         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29924         fail configure if __sync_val_compare_and_swap is not inlined.
29925         * sysdeps/i386/configure: Regenerate.
29926         * configure.in: Build for i686 when configured for i386.
29927         * configure: Regenerate.
29928         * README: Remove i386 reference.
29930 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29932         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29933         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29935 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29937         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29938         (lmsnanval): New variables.
29939         (F): Add conversion tests.
29940         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29941         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29943         * stdio-common/tstdiomisc.c (F): Properly collect individual
29944         tests' results.
29946         [BZ #14686, #15336]
29947         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29948         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29949         Instead, use input NaN values or generate a qNaN by arithmetic
29950         operation.  Also fix bugs to comply with the standard.
29951         * math/libm-test.inc (remainder_test): Add more tests.
29953         [BZ #15335, #15342]
29954         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29955         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29956         input NaN values or generate a qNaN by arithmetic operation.
29958         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29959         unreachable code.
29961         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29962         definitions.
29964 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29966         [BZ #14478]
29967         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29968         underflowed result.
29969         * math/s_cexpf.c (__cexpf): Likewise.
29970         * math/s_cexpl.c (__cexpl): Likewise.
29971         * math/libm-test.inc (cexp_test): Add more tests.
29973 2013-04-03  Andreas Schwab  <schwab@suse.de>
29975         [BZ #15330]
29976         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29977         order arrays from heap if bigger than alloca cutoff.
29979 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29981         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29982         (SNAN_TESTS_double): Refer to GCC PR56831.
29983         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29984         GCC PR56828.
29986 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29988         * Rules (bench): Move bench.out after the run is complete.
29990         * Rules (bench): Echo currently running benchmark.
29992         * benchtests/Makefile (bench): Add atan and slowatan.
29993         * benchtests/atan-inputs: New file.
29994         * benchtests/slowatan-inputs: New file.
29995         * benchtests/slowatan.c: New file.
29997         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29999         its value.
30001         [BZ #15305]
30002         * sysdeps/unix/sysv/linux/kernel-features.h
30003         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30004         __ASSUME_XFS_RESTRICTED_CHOWN.
30005         * sysdeps/unix/sysv/linux/pathconf.c
30006         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30007         Save and restore errno.
30009 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30011         [BZ #15327]
30012         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30013         arguments using __kernel_casinh.
30014         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30015         arguments using __kernel_casinhf.
30016         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30017         arguments using __kernel_casinhl.
30018         * math/libm-test.inc (cacosh_test): Add more tests.
30019         * sysdeps/i386/fpu/libm-test-ulps: Update.
30020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30022 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30024         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30027         * bench/Makefile (bench): Add sin and slowsin.
30028         * benchtests/sin-inputs: New file.
30029         * benchtests/slowsin-inputs: New file.
30030         * benchtests/slowsin.c: New file.
30032         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30033         (bench): Add slowexp and slowpow.
30034         (exp-ITER): Increase iterations.
30035         (pow-ITER): Likewise.
30036         * benchtests/exp-inputs: Change input.
30037         * benchtests/pow-inputs: Likewise.
30038         * benchtests/slowexp-inputs: New file.
30039         * benchtests/slowexp.c: New file.
30040         * benchtests/slowpow-inputs: New file.
30041         * benchtests/slowpow.c: New file.
30043 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30045         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30046         instructions.
30047         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30048         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30049         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30050         * benchtests/Makefile: Add rint benchtest.
30051         * benchtests/rint-inputs: Input for rint benchtest.
30053 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30055         * Versions.def (libm): Add GLIBC_2.18.
30056         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30057         hidden libm prototypes.
30058         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30059         * math/Makefile (libm-calls): Add s_issignaling.
30060         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30061         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30062         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30063         declaration.
30064         * math/math.h [__USE_GNU] (issignaling): New macro.
30065         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30066         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30067         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30068         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30071         * manual/arith.texi (issignaling): New section.
30072         * manual/libm-err-tab.pl (@all_functions): Update comment.
30073         * math/gen-libm-test.pl (parse_args): Apply special handling for
30074         issignaling.
30075         * math/libm-test.inc (print_float, issignaling_test): New
30076         functions.
30077         (check_float_internal): Add issignaling checks.
30078         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30079         default definition.
30080         * sysdeps/powerpc/math-tests.h: New file.
30081         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30082         tests.
30083         * math/test-snan.c (TEST_FUNC): Likewise.
30085 2013-03-30  David S. Miller  <davem@davemloft.net>
30087         * po/de.po: Update from translation team.
30089 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30091         [BZ #10357]
30092         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30093         imaginary part less than 1.0 and real part less than 0.5
30094         specially.
30095         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30096         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30097         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30098         (cacos_test): Add more tests.
30099         (casin_test): Likewise.
30100         (casinh_test): Likewise.
30101         * sysdeps/i386/fpu/libm-test-ulps: Update.
30102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30104 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30106         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30107         ONE with its value.
30109         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30110         (__pow_mp): Replace ONE and MONE with their values.
30111         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30113         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30114         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30115         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30116         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30118         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30120         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30121         (__pow_mp): Replace ZERO and MZERO with their values.
30122         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30123         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30124         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30126         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30127         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30128         (__sqr): Likewise.
30130         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30132         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30134 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30136         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30137         Declare with __attribute__ ((weak)).
30138         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30139         Call __call_tls_dtors only if it's not NULL.
30141 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30143         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30144         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30145         magic __ehdr_start linker symbol if it's defined.
30146         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30147         them up here if it was already done.
30149         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30150         (_dl_aux_init): Use const in cast when setting it.
30151         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30152         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30153         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30155         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30156         Declare them here.
30157         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30158         * csu/libc-tls.c: Nor here.
30159         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30161         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30162         (__libc_message): Never call vsyslog.
30164 2013-03-28  Alan Modra  <amodra@gmail.com>
30166         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30167         Define as empty.
30168         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30169         Likewise.
30171 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30173         [BZ #15214]
30174         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30175         underflow.
30176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30178 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30180         [BZ #15304]
30181         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30182         Don't add gid passed as argument.
30184         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30186 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30188         [BZ #15307]
30189         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30190         imaginary part between 1.0 and 1.5 and real part less than 0.5
30191         specially.
30192         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30193         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30194         * math/libm-test.inc (cacos_test): Add more tests.
30195         (casin_test): Likewise.
30196         (casinh_test): Likewise.
30197         * sysdeps/i386/fpu/libm-test-ulps: Update.
30198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30200 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30202         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30203         constants.
30204         (norm): Likewise.
30205         (denorm): Likewise.
30206         (__dbl_mp): Likewise.
30207         (add_magnitudes): Likewise.
30208         (sub_magnitudes): Likewise.
30209         (__add): Likewise.
30210         (__sub): Likewise.
30211         (__mul): Likewise.
30212         (__sqr): Likewise.
30213         (__inv): Likewise.
30214         (__dvd): Likewise.
30216         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30217         commented code.
30218         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30219         (__dubcos): Likewise.
30220         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30221         (__ieee754_acos): Likewise.
30222         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30223         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30224         (__exp1): Likewise.
30225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30226         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30227         (log1): Likewise.
30228         (my_log2): Likewise.
30229         (checkint): Likewise.
30230         * sysdeps/ieee754/dbl-64/e_remainder.c
30231         (__ieee754_remainder): Likewise.
30232         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30234         (bsloww): Likewise.
30235         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30237         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30238         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30239         MANTISSA_STORE_T to store computations on mantissa.  Use
30240         macros for rounding and division.
30241         (denorm): Likewise.
30242         (__dbl_mp): Likewise.
30243         (add_magnitudes): Likewise.
30244         (sub_magnitudes): Likewise.
30245         (__mul): Likewise.
30246         (__sqr): Likewise.
30247         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30248         powers of two in terms of TWOPOW macro.
30249         (mp_no): Make type of mantissa as MANTISSA_T.
30250         [!RADIXI]: Define RADIXI.
30251         [!TWO52]: Define TWO52.
30252         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30254 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30256         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30257         llroundl symbol when building for PPC32.
30259 2013-03-24  Mark H Weaver  <mhw@netris.org>
30261         * manual/arith.texi (Normalization Functions): Fix prototypes for
30262         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30264 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30266         [BZ #13889]
30267         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30268         high value to check if expl overflow.
30269         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30270         to check for underflow and overflow.
30271         * math/libm-test.inc: Add exp test.
30273 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30275         [BZ #11120]
30276         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30277         with NOT_IN_libc.
30279 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30281         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30282         symbol.
30284 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30286         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30287         wrap blocks consisting of several statements.
30289         * sysdeps/generic/math-tests.h: New file.
30290         * sysdeps/i386/fpu/math-tests.h: Likewise.
30291         * math/test-snan.c: Include it.
30292         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30294 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30296         [BZ #15285]
30297         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30298         (__ieee754_j0l): Do not improve calculations using cos of twice
30299         input for inputs above LDBL_MAX / 2.0L.
30300         (__ieee754_y0l): Likewise.
30301         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30302         (__ieee754_j1l): Do not improve calculations using cos of twice
30303         input for inputs above LDBL_MAX / 2.0L.
30304         (__ieee754_y1l): Likewise.
30305         * math/libm-test.inc (j0_test): Add another test.
30306         (j1_test): Likewise.
30307         (y0_test): Likewise.
30308         (y1_test): Likewise.
30309         * sysdeps/i386/fpu/libm-test-ulps: Update.
30311 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30313         * Rules ($(objpfx)bench-%.c): Include code from a C source
30314         file.
30316 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30318         [BZ #15287]
30319         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30320         imaginary part 1.0 and real part less than 0.5 specially.
30321         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30322         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30323         * math/libm-test.inc (cacos_test): Add more tests.
30324         (casin_test): Likewise.
30325         (casinh_test): Likewise.
30326         * sysdeps/i386/fpu/libm-test-ulps: Update.
30327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30329 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30331         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30332         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30334 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30336         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30337         * config.make.in (config-cflags-sse4): Remove variable.
30338         (config-cflags-avx): Likewise.
30339         (config-cflags-sse2avx): Likewise.
30340         (config-cflags-novzeroupper): Likewise.
30341         (config-asflags-i686): Likewise.
30342         (have-mfma4): Likewise.
30343         (have-as-vis3): Likewise.
30344         (MIG): Likewise.
30345         * configure.in (MIG): Do not AC_SUBST.
30346         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30347         (libc_cv_cc_sse4): Do not AC_SUBST.
30348         (libc_cv_cc_avx): Likewise.
30349         (libc_cv_cc_sse2avx): Likewise.
30350         (libc_cv_cc_novzeroupper): Likewise.
30351         (libc_cv_cc_fma4): Likewise.
30352         (libc_cv_as_i686): Likewise.
30353         (libc_cv_sparc_as_vis3): Likewise.
30354         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30355         LIBC_CONFIG_VAR.
30356         (config-asflags-i686): Likewise.
30357         (config-cflags-avx): Likewise.
30358         (config-cflags-sse2avx): Likewise.
30359         (have-mfma4): Likewise.
30360         (config-cflags-novzeroupper): Likewise.
30361         * sysdeps/mach/configure.in (MIG): Likewise.
30362         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30363         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30364         LIBC_CONFIG_VAR.
30365         (config-cflags-avx): Likewise.
30366         (config-cflags-sse2avx): Likewise.
30367         (have-mfma4): Likewise.
30368         (config-cflags-novzeroupper): Likewise.
30369         * configure: Regenerated.
30370         * sysdeps/i386/configure: Likewise.
30371         * sysdeps/mach/configure: Likewise.
30372         * sysdeps/sparc/configure: Likewise.
30373         * sysdeps/x86_64/configure: Likewise.
30375 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30377         [BZ #14812]
30378         * locale/programs/localedef.c (options): Put N_ translation marker
30379         on argument names, not just descriptions.
30381 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30383         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30385 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30387         [BZ #14176]
30388         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30390 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30392         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30393         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30394         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30395         [!BEFORE_ABORT] (before_abort): New function.
30396         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30397         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30398         (writev_for_fatal): New function.
30399         (WRITEV_FOR_FATAL): New macro; call that.
30400         (backtrace_and_maps): New function.
30401         (BEFORE_ABORT): New macro; call that.
30402         (struct str_list): Type removed.
30403         (__libc_message, __libc_fatal): Functions removed.
30404         Include <sysdeps/posix/libc_fatal.c> instead.
30406 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30408         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30409         constants.
30410         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30411         double constants.
30413 2013-03-19  Andreas Schwab  <schwab@suse.de>
30415         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30416         * sysdeps/gnu/configure: Regenerate.
30418         * configure.in: Substitute libc_cv_rtlddir.
30419         * configure: Regenerate.
30420         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30421         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30422         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30423         * elf/Makefile (install-others, CFLAGS-interp.c)
30424         (ldso_install, common-ldd-rewrite): Likewise.
30425         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30426         $(inst_slibdir)/$(rtld-installed-name).
30427         * scripts/rellns-sh: Add -p option.
30428         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30429         for source.
30431 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30433         * manual/nptl.texi: Renamed to ...
30434         * manual/threads.texi: ... this.
30435         * manual/Makefile (chapters): Update.
30437 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30439         [BZ #14812]
30440         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30441         on argument names, not just descriptions.
30442         * malloc/memusagestat.c (options): Likewise.
30443         * nss/getent.c (options): Likewise.
30445 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30447         [BZ #14812]
30448         * iconv/iconv_prog.c (options): Put N_ translation marker
30449         on argument names, not just descriptions.
30450         * iconv/iconvconfig.c (options): Likewise.
30452 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30454         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30455         implementation which is faster on all x86_64 architectures.
30456         Tested on AMD, Intel Nehalem, SNB, IVB.
30457         * sysdeps/x86_64/strnlen.S: Likewise.
30459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30460         Remove all multiarch strlen and strnlen versions.
30461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30462         Remove strlen and strnlen related parts.
30464         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30465         Inline strlen part.
30466         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30468         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30469         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30470         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30471         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30472         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30473         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30475 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30477         * manual/memory.texi (Malloc Tunable Parameters):
30478         Sort parameters alphabetically. Add comments for missing entries.
30480 2013-03-17  David S. Miller  <davem@davemloft.net>
30482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30484 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30486         [BZ #15283]
30487         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30488         for arguments at most half maximum finite value.
30489         * math/libm-test.inc (j0_test): Add more tests.
30490         (j1_test): Likewise.
30491         (y0_test): Likewise.
30492         (y1_test): Likewise.
30493         * sysdeps/i386/fpu/libm-test-ulps: Update.
30494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30496         [BZ #14155]
30497         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30498         1 / x and functions P and Q for arguments above 0x1p256L.
30499         (__ieee754_y0l): Likewise.
30500         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30501         (__ieee754_y1l): Likewise.
30502         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30503         (j1_test): Likewise.
30504         (y0_test): Likewise.
30505         (y1_test): Likewise.
30507 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30509         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30510         variable.
30512 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30514         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30515         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30516         zero since it's initialized to EXEC_PAGESIZE.
30518         * sysdeps/unix/sysv/linux/ldsodefs.h
30519         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30520         * sysdeps/generic/ldsodefs.h: ... here.
30522 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30524         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30526         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30527         math/test-snan.c.
30528         * math/test-snan.c: Renamed from
30529         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30530         * math/Makefile (tests): Add test-snan.
30531         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30532         test-powerpc-snan.
30534         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30535         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30536         functions.
30537         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30538         __builtin_nan family of functions.
30539         * math/libm-test.inc (initialize): Initialize qnan_value with
30540         __builtin_nan family of functions.
30541         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30542         Remove variables.
30543         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30544         Remove functions.
30545         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30546         storage class.  Initialize qNaN_var and sNaN_var with
30547         __builtin_nan and __builtin_nans families of functions,
30548         respectively.
30550         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30551         (sqrt_test): Remove duplicate test with qNaN input.
30552         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30553         (round_test, signbit_test, significand_test): Note missing +/-Inf
30554         as well as qNaN tests.
30556         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30557         qNaN_var.  Fix a few strings, too.
30558         * math/libm-test.inc (nan_value): Rename to qnan_value.
30559         * math/gen-libm-test.pl (%beautify): Adjust to that.
30560         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30561         * math/test-misc.c (main): Likewise.
30562         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30563         to __qnan_bytes, and __qnan_union, respectively.
30564         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30565         Likewise.
30566         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30567         and lqnanval, respectively.
30568         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30569         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30570         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30571         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30573         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30574         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30575         doubles.
30577         * math/test-misc.c (main): Fix copy'n'pastos.
30578         * misc/tst-efgcvt.c (special): Likewise.
30580         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30581         Remove declarations.
30583 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30585         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30586         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30587         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30588         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30590 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30593         macro to return vdso values correctly in IFUNC implementations.
30594         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30595         Optimization by using IFUNC.
30597 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30598             Richard Henderson  <rth@redhat.com>
30599             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30601         * Makefile.in (bench): New target.
30602         * NEWS: Mention the benchmark framework.
30603         * Rules (bench): Likewise.
30604         (binaries-bench): Generate binaries for functions to
30605         benchmark.
30606         * benchtests/Makefile: New makefile for benchmark tests.
30607         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30608         programs.
30609         * benchtests/exp-inputs: New input file for EXP function.
30610         * benchtests/pow-inputs: New input file for POW function.
30611         * scripts/bench.pl: New script to generate source files for
30612         benchmark programs.
30614 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30616         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30617         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30618         computations on mantissa.  Use macros for rounding and
30619         division.
30620         (denorm): Likewise.
30621         (__dbl_mp): Likewise.
30622         (add_magnitudes): Likewise.
30623         (sub_magnitudes): Likewise.
30624         (__mul): Likewise.
30625         (__sqr): Likewise.
30626         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30627         powers of two in terms of TWOPOW macro.
30628         (mp_no): Make type of mantissa as MANTISSA_T.
30629         [!RADIXI]: Define RADIXI.
30630         [!TWO52]: Define TWO52.
30631         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30633         * manual/nptl.texi (cindex): Modify threads to pthreads.
30635 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
30637         * sysdeps/x86_64/preconfigure: Regenerated.
30639 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
30641         [BZ #14155]
30642         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30643         0x1p28 and above.
30644         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30645         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30646         0x1p28 and above.
30647         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30648         * math/libm-test.inc (j0_test): Do not allow one spurious
30649         underflow exception.
30650         (y1_test): Likewise.
30652 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30654         * manual/Makefile (chapters): Add nptl.
30655         * manual/debug.texi (Debugging Support): Add link to Threads
30656         chapter.
30657         * manual/nptl.texi: New file.
30659         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30661 2013-03-14  Petr Baudis  <pasky@ucw.cz>
30663         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30664         for non-NULL pointer before the memory validity test. Pointed
30665         out by Holger Brunck <holger.brunck@keymile.com>.
30667 2013-03-13  Andreas Schwab  <schwab@suse.de>
30669         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30670         instead of .os.
30672 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
30674         * timezone/zic.c: Update from tzcode 2013b.
30676 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
30678         * manual/install.texi (Configuring and compiling):
30679         Mention i686 and i586.
30680         * INSTALL: Regenerate.
30682 2013-03-12  Roland McGrath  <roland@hack.frob.com>
30684         * sysdeps/init_array/elf-init.c: New file.
30685         * csu/elf-init.c
30686         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30687         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30689         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30690         __gmon_start__ as global, but as static with a .preinit_array pointer.
30691         * sysdeps/init_array/gmon-start.c: New file.  Use that.
30692         * sysdeps/init_array/crti.S: New file, empty except for comments.
30693         * sysdeps/init_array/crtn.S: Likewise.
30695 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
30697         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30698         definining bcopy.
30699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30700         Remove Prefer_SSE_for_memop.
30701         * sysdeps/x86_64/multiarch/init-arch.h: Remove
30702         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30703         HAS_PREFER_SSE_FOR_MEMOP.
30704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30705         memset-x86-64.
30706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30707         Remove bzero, memset ifunc support.
30708         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30709         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30710         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30711         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30713 2013-03-11  Andreas Schwab  <schwab@suse.de>
30715         [BZ #15234]
30716         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30717         by SHLIB_COMPAT.
30718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30719         (GLIBC_2.16): Remove pthread_atfork.
30721 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30723         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30724         (ptestcases.h): Likewise.
30726 2013-03-08  Roland McGrath  <roland@hack.frob.com>
30728         * Makeconfig ($(common-objpfx)config.status): Depend on
30729         sysdeps/*/preconfigure{,.in} too.
30731 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
30733         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30734         (__free_hook): Use void * instead of __malloc_ptr_t.
30735         (__malloc_hook): Likewise.
30736         (__realloc_hook): Likewise.
30737         (__memalign_hook): Likewise.
30738         (__after_morecore_hook): Likewise.
30739         * malloc/arena.c (save_malloc_hook): Likewise.
30740         (save_free_hook): Likewise.
30741         * malloc/hooks.c (malloc_hook_ini): Likewise.
30742         (realloc_hook_ini): Likewise.
30743         (memalign_hook_ini): Likewise.
30744         * malloc/malloc.c (malloc_hook_ini): Likewise.
30745         (realloc_hook_ini): Likewise.
30746         (memalign_hook_ini): Likewise.
30747         (__free_hook): Likewise.
30748         (__malloc_hook): Likewise.
30749         (__realloc_hook): Likewise.
30750         (__memalign_hook): Likewise.
30751         (__libc_malloc): Likewise.
30752         (__libc_free): Likewise.
30753         (__libc_realloc): Likewise.
30754         (__libc_memalign): Likewise.
30755         (__libc_valloc): Likewise.
30756         (__libc_pvalloc): Likewise.
30757         (__libc_calloc): Likewise.
30758         (__posix_memalign): Likewise.
30759         * malloc/morecore.c (__sbrk): Likewise.
30760         (__default_morecore): Likewise.
30762         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30764         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30765         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30766         __malloc_ptrdiff_t.
30768         * malloc/malloc.h (__malloc_size_t): Remove macro.
30769         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30770         __malloc_size_t.
30771         (old_memalign_hook): Likewise.
30772         (old_realloc_hook): Likewise.
30773         (struct hdr): Likewise.
30774         (flood): Likewise.
30775         (mallochook): Likewise.
30776         (memalignhook): Likewise.
30777         (reallochook): Likewise.
30778         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30779         (tr_old_realloc_hook): Likewise.
30780         (tr_old_memalign_hook): Likewise.
30781         (tr_mallochook): Likewise.
30782         (tr_reallochook): Likewise.
30783         (tr_memalignhook): Likewise.
30785 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30788         default_ldbl_pack and using as default implementation.
30789         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30790         implementation.
30791         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30792         redundant definition.
30793         (ldbl_insert_mantissa): Likewise.
30794         (ldbl_canonicalize): Likewise.
30795         (ldbl_nearbyint): Likewise.
30796         (ldbl_pack): Rename to ldbl_pack_ppc.
30797         (ldbl_unpack): Rename to ldbl_unpack_ppc.
30798         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30799         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30801 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30804         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30805         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30806         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30808         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30809         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30810         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30812 2013-03-07  Andreas Jaeger  <aj@suse.de>
30814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30815         bits/mman-linux.h.
30817 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30819         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30820         Include mpa.h and declare __MPEXP.
30821         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30822         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30823         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30824         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30825         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30826         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30827         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30829         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30830         (__slowpow): Use long double EXPL and LOGL functions to
30831         compute POW.
30832         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30833         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30834         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30835         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30836         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30837         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30840         intermediate variable to calculate exponent.
30841         (__sqr): Likewise.
30842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30843         Likewise.
30844         (__sqr): Likewise.
30846         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30847         [!NO__SQR]: Define __sqr.
30848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30849         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30850         sysdeps/ieee754/dbl-64/mpa.c.
30851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30853         [BZ #12723]
30854         * posix/Makefile (tests): Add tst-pathconf.
30855         * posix/tst-pathconf.c: New test case.
30856         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30857         _PC_PIPE_BUF.
30858         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30860 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30862         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30864 2013-03-06  Andreas Jaeger  <aj@suse.de>
30866         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30867         definition via __MAP_ANONYMOUS.
30869         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30870         it's not part of Linux headers.
30872         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30873         (MAP_HUGE_MASK): Define.
30875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30876         Define.
30877         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30879         Define.
30880         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30881         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30882         Define.
30883         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30884         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30885         Define.
30886         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30888         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30889         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30890         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30891         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30892         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30893         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30895         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30896         Handle f2fs.
30898         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30899         Handle f2fs and efivarfs.
30901         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30902         f2fs.
30904         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30905         (EFIVARFS_MAGIC): Add.
30906         (F2FS_LINK_MAX): Add.
30908 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30910         * stdio-common/vfprintf.c: Replace __builtin_expect with
30911         __glibc_unlikely.
30913 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30915         [BZ #13550]
30916         * sysdeps/generic/bp-sym.h: Remove file.
30917         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30919         <bp-sym.h> and <bp-asm.h>.
30920         (__longjmp): Don't use BP_SYM.
30921         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30922         and <bp-asm.h>.
30923         (memcpy): Don't use BP_SYM.
30924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30925         <bp-sym.h> and <bp-asm.h>.
30926         (memcpy): Don't use BP_SYM.
30927         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30928         <bp-asm.h>.
30929         (memcpy): Don't use BP_SYM.
30930         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30931         <bp-asm.h>.
30932         (memset): Don't use BP_SYM.
30933         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30934         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30935         (__bzero): Don't use BP_SYM.
30936         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30937         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30938         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30939         <bp-sym.h> and <bp-asm.h>.
30940         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30941         pointers.
30942         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30943         <bp-sym.h> and <bp-asm.h>.
30944         (memcpy): Don't use BP_SYM.
30945         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30946         <bp-sym.h> and <bp-asm.h>.
30947         (memset): Don't use BP_SYM.
30948         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30949         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30950         (__bzero): Don't use BP_SYM.
30951         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30952         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30953         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30954         <bp-sym.h> and <bp-asm.h>.
30955         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30956         pointers.
30957         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30958         <bp-sym.h> and <bp-asm.h>.
30959         (memcpy): Don't use BP_SYM.
30960         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30961         <bp-sym.h> and <bp-asm.h>.
30962         (memset): Don't use BP_SYM.
30963         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30964         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30965         (__bzero): Don't use BP_SYM.
30966         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30967         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30969         <bp-sym.h> and <bp-asm.h>.
30970         (__memchr): Don't use BP_SYM.
30971         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30972         <bp-sym.h> and <bp-asm.h>.
30973         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30974         pointers.
30975         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30976         <bp-sym.h> and <bp-asm.h>.
30977         (memcpy): Don't use BP_SYM.
30978         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30979         <bp-sym.h> and <bp-asm.h>.
30980         (__mempcpy): Don't use BP_SYM.
30981         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30982         <bp-sym.h> and <bp-asm.h>.
30983         (__memrchr): Don't use BP_SYM.
30984         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30985         <bp-sym.h> and <bp-asm.h>.
30986         (memset): Don't use BP_SYM.
30987         (__bzero): Likewise.
30988         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30989         <bp-sym.h> and <bp-asm.h>.
30990         (__rawmemchr): Don't use BP_SYM.
30991         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30992         <bp-sym.h> and <bp-asm.h>.
30993         (__STRCMP): Don't use BP_SYM.
30994         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30995         <bp-sym.h> and <bp-asm.h>.
30996         (strchr): Don't use BP_SYM.
30997         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30998         <bp-sym.h> and <bp-asm.h>.
30999         (__strchrnul): Don't use BP_SYM.
31000         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31001         <bp-sym.h> and <bp-asm.h>.
31002         (strlen): Don't use BP_SYM.
31003         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31004         <bp-sym.h> and <bp-asm.h>.
31005         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31006         pointers.
31007         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31008         <bp-sym.h> and <bp-asm.h>.
31009         (__strnlen): Don't use BP_SYM.
31010         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31011         <bp-sym.h> and <bp-asm.h>.
31012         (__GI__setjmp): Don't use BP_SYM.
31013         (_setjmp): Likewise.
31014         (__sigsetjmp): Likewise.
31015         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31016         (L(start_addresses)): Don't use BP_SYM.
31017         (_start): Likewise.
31018         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31019         <bp-asm.h>.
31020         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31021         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31022         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31023         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31024         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31025         <bp-asm.h>.
31026         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31027         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31028         about bounded pointers.
31029         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31030         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31031         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31032         <bp-asm.h>.
31033         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31034         about bounded pointers.  Remove GKM FIXME comments.
31035         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31036         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31037         <bp-asm.h>.
31038         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31039         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31040         Remove GKM FIXME comments.
31041         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31042         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31043         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31044         <bp-asm.h>.
31045         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31046         about bounded pointers.  Remove GKM FIXME comment.
31047         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31048         and <bp-asm.h>.
31049         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31050         pointers.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31052         <bp-sym.h> and <bp-asm.h>.
31053         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31055         <bp-sym.h> and <bp-asm.h>.
31056         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31057         comment.
31059 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31061         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31062         call free(NULL).
31064 2013-03-05  David S. Miller  <davem@davemloft.net>
31066         * po/es.po: Update from translation team.
31068 2013-03-05  Andreas Jaeger  <aj@suse.de>
31070         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31071         <bits/mman-linux.h>.
31072         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31073         is fine.
31074         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31075         <bits/mman-linux.h> to end of file.
31076         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31077         is fine.
31078         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31079         <bits/mman-linux.h> to end of file.
31080         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31081         is fine.
31082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31083         <bits/mman-linux.h> to end of file.
31085         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31086         (MCL_CURRENT, MCL_FUTURE): Define here.
31088 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31090         [BZ #15232]
31091         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31092         attribute_hidden.
31093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31095 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31097         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31098         fourth parameter needed for rt_sigprocmask syscall.
31099         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31100         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31101         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31102         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31103         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31104         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31106 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31108         [BZ #13550]
31109         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31110         comment about bounded pointers.
31111         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31112         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31114 2013-03-04  Andreas Jaeger  <aj@suse.de>
31116         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31117         common definitions.
31119         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31120         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31121         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31122         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31123         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31124         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31126 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31128         [BZ #15055]
31129         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31130         __ieee754_sqrl instead of __sqrl.
31132 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31134         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31135         * sysdeps/powerpc/fpu_control.h: ... here.
31136         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31137         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31138         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31139         * sysdeps/powerpc/bits/mathinline.h: ... here.
31141 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31143         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31144         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31145         to just [NEED_DL_SYSINFO_DSO].
31146         * elf/dl-support.c: Likewise.
31147         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31148         * elf/rtld.c (dl_main): Likewise.
31149         * elf/setup-vdso.h (setup_vdso): Likewise.
31150         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31151         * sysdeps/unix/sysv/linux/dl-sysdep.c
31152         (_dl_discover_osversion): Likewise.
31154 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31156         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31157         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31159 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31161         * NEWS: Mention libm performance improvements and non-x86 PI
31162         futex support.
31164         * csu/libc-start.c (__pthread_initialize_minimal): Change
31165         function arguments.
31166         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31168 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31170         [BZ #13550]
31171         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31172         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31173         <bp-sym.h> and <bp-asm.h>.
31174         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31175         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31176         and <bp-asm.h>.
31177         (memcpy): Don't use BP_SYM.
31178         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31179         <bp-asm.h>.
31180         (__mpn_add_n): Don't use BP_SYM.
31181         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31182         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31183         and <bp-asm.h>.
31184         (__mpn_addmul_1): Don't use BP_SYM.
31185         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31186         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31187         <bp-sym.h>.
31188         (_setjmp): Don't use BP_SYM.
31189         (__novmx_setjmp): Likewise.
31190         (__GI__setjmp): Likewise.
31191         (__vmx_setjmp): Likewise.
31192         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31193         <bp-sym.h>.
31194         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31195         (__bzero): Don't use BP_SYM.
31196         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31197         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31198         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31199         <bp-sym.h> and <bp-asm.h>.
31200         (memcpy): Don't use BP_SYM.
31201         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31202         <bp-sym.h> and <bp-asm.h>.
31203         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31204         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31205         <bp-sym.h> and <bp-asm.h>.
31206         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31207         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31208         <bp-asm.h>.
31209         (__mpn_lshift): Don't use BP_SYM.
31210         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31211         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31212         <bp-asm.h>.
31213         (memset): Don't use BP_SYM.
31214         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31215         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31216         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31217         <bp-asm.h>.
31218         (__mpn_mul_1): Don't use BP_SYM.
31219         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31220         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31221         <bp-sym.h> and <bp-asm.h>.
31222         (memcmp): Don't use BP_SYM.
31223         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31224         <bp-sym.h> and <bp-asm.h>.
31225         (memcpy): Don't use BP_SYM.
31226         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31227         <bp-sym.h> and <bp-asm.h>.
31228         (memset): Don't use BP_SYM.
31229         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31230         <bp-sym.h> and <bp-asm.h>.
31231         (strncmp): Don't use BP_SYM.
31232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31233         <bp-sym.h> and <bp-asm.h>.
31234         (memcpy): Don't use BP_SYM.
31235         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31236         <bp-sym.h> and <bp-asm.h>.
31237         (memset): Don't use BP_SYM.
31238         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31239         <bp-sym.h> and <bp-asm.h>.
31240         (__memchr): Don't use BP_SYM.
31241         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31242         <bp-sym.h> and <bp-asm.h>.
31243         (memcmp): Don't use BP_SYM.
31244         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31245         <bp-sym.h> and <bp-asm.h>.
31246         (memcpy): Don't use BP_SYM.
31247         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31248         <bp-sym.h> and <bp-asm.h>.
31249         (__mempcpy): Don't use BP_SYM.
31250         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31251         <bp-sym.h> and <bp-asm.h>.
31252         (__memrchr): Don't use BP_SYM.
31253         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31254         <bp-sym.h> and <bp-asm.h>.
31255         (memset): Don't use BP_SYM.
31256         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31257         <bp-sym.h> and <bp-asm.h>.
31258         (__rawmemchr): Don't use BP_SYM.
31259         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31260         <bp-sym.h> and <bp-asm.h>.
31261         (__STRCMP): Don't use BP_SYM.
31262         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31263         <bp-sym.h> and <bp-asm.h>.
31264         (strchr): Don't use BP_SYM.
31265         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31266         <bp-sym.h> and <bp-asm.h>.
31267         (__strchrnul): Don't use BP_SYM.
31268         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31269         <bp-sym.h> and <bp-asm.h>.
31270         (strlen): Don't use BP_SYM.
31271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31272         <bp-sym.h> and <bp-asm.h>.
31273         (strncmp): Don't use BP_SYM.
31274         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31275         <bp-sym.h> and <bp-asm.h>.
31276         (__strnlen): Don't use BP_SYM.
31277         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31278         <bp-asm.h>.
31279         (__mpn_rshift): Don't use BP_SYM.
31280         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31281         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31282         <bp-sym.h> and <bp-asm.h>.
31283         (__sigsetjmp): Don't use BP_SYM.
31284         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31285         (L(start_addresses)): Don't use BP_SYM.
31286         (_start): Likewise.
31287         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31288         <bp-asm.h>.
31289         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31290         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31291         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31292         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31293         <bp-asm.h>.
31294         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31295         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31296         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31297         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31298         <bp-asm.h>.
31299         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31300         comments.
31301         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31302         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31303         <bp-asm.h>.
31304         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31305         FIXME comments.
31306         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31307         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31308         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31309         <bp-asm.h>.
31310         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31311         comment.
31312         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31313         and <bp-asm.h>.
31314         (strncmp): Don't use BP_SYM,
31315         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31316         <bp-asm.h>.
31317         (__mpn_sub_n): Don't use BP_SYM.
31318         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31319         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31320         and <bp-asm.h>.
31321         (__mpn_submul_1): Don't use BP_SYM.
31322         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31324         <bp-sym.h> and <bp-asm.h>.
31325         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31327         <bp-sym.h> and <bp-asm.h>.
31328         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31329         comment.
31331 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31334         Use ZK to minimize writes to Z.
31335         (sub_magnitudes): Simplify code a bit.
31336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31337         Use ZK to minimize writes to Z.
31338         (sub_magnitudes): Simplify code a bit.
31340 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31342         * csu/gmon-start.c: Add special exception to license text.
31344 2013-02-27  Richard Henderson  <rth@redhat.com>
31346         * scripts/config.guess: Update from config.git.
31347         * scripts/config.sub: Likewise.
31349 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31351         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31353         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31355         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31357         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31359         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31361 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31363         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31364         [$(build-shared = yes].
31366 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31368         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31369         (__mul): Reduce iterations for calculating mantissa.
31371         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31372         MPTWO.
31373         (__mpranred): Likewise.
31375         [BZ #15160]
31376         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31377         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31379 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31381         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31382         Define __attribute__.
31384 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31386         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31387         unused.
31388         * posix/regex_internal.h (__attribute): Remove.
31389         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31390         (re_string_context_at): Likewise.
31391         (bitset_not): Use __attribute__ and mark function as possibly
31392         unused.
31393         (bitset_merge): Likewise.
31394         (bitset_mask): Likewise.
31395         (re_string_char_size_at): Likewise.
31396         (re_string_wchar_at): Likewise.
31397         (re_string_elem_size_at): Likewise.
31399 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31401         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31402         code.
31403         (cc32): Likewise.
31405         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31406         (__acr): Likewise.
31407         (__cpy): Likewise.
31408         (norm): Likewise.
31409         (denorm): Likewise.
31410         (__dbl_mp): Likewise.
31411         (add_magnitudes): Likewise.
31412         (sub_magnitudes): Likewise.
31413         (__mul): Likewise.
31414         (__inv): Likewise.
31416         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31417         style.
31419         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31420         style.
31422         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31423         code.
31425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31426         up changes with default code.
31427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31428         Likewise.
31430 2013-02-24  Allan McRae  <allan@archlinux.org>
31432         * manual/socket.texi (The Internet Namespace): Order menu items
31433         to match that in the file.
31435         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31436         node listing of the info page menu.
31438 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31440         [BZ #13550]
31441         * sysdeps/i386/bp-asm.h: Remove file.
31442         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31443         (PARMS): Do not use macros from bp-asm.h.
31444         (S1): Likewise.
31445         (S2): Likewise.
31446         (SIZE): Likewise.
31447         (__mpn_add_n): Do not use BP_SYM
31448         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31449         "bp-asm.h".
31450         (PARMS): Do not use macros from bp-asm.h.
31451         (S1): Likewise.
31452         (SIZE): Likewise.
31453         (__mpn_addmul_1): Do not use BP_SYM
31454         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31455         "bp-asm.h".
31456         (PARMS): Do not use macros from bp-asm.h.
31457         (SIGMSK): Likewise.
31458         (_setjmp): Likewise.  Do not use BP_SYM.
31459         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31460         "bp-asm.h".
31461         (PARMS): Do not use macros from bp-asm.h.
31462         (SIGMSK): Likewise.
31463         (setjmp): Likewise.  Do not use BP_SYM.
31464         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31465         "bp-asm.h".
31466         (PARMS): Do not use macros from bp-asm.h.
31467         (__frexp): Do not use BP_SYM.
31468         (frexp): Likewise.
31469         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31470         "bp-asm.h".
31471         (PARMS): Do not use macros from bp-asm.h.
31472         (__frexpf): Do not use BP_SYM.
31473         (frexpf): Likewise.
31474         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31475         "bp-asm.h".
31476         (PARMS): Do not use macros from bp-asm.h.
31477         (__frexpl): Do not use BP_SYM.
31478         (frexpl): Likewise.
31479         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31480         "bp-asm.h".
31481         (PARMS): Do not use macros from bp-asm.h.
31482         (__remquo): Do not use BP_SYM.
31483         (remquo): Likewise.
31484         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31485         "bp-asm.h".
31486         (PARMS): Do not use macros from bp-asm.h.
31487         (__remquof): Do not use BP_SYM.
31488         (remquof): Likewise.
31489         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31490         "bp-asm.h".
31491         (PARMS): Do not use macros from bp-asm.h.
31492         (__remquol): Do not use BP_SYM.
31493         (remquol): Likewise.
31494         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31495         "bp-asm.h".
31496         (PARMS): Do not use macros from bp-asm.h.
31497         (DEST): Likewise.
31498         (SRC): Likewise.
31499         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31500         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31501         "bp-asm.h".
31502         (PARMS): Do not use macros from bp-asm.h.
31503         (strlen): Do not use BP_SYM.
31504         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31505         "bp-asm.h".
31506         (PARMS): Do not use macros from bp-asm.h.
31507         (S1): Likewise.
31508         (S2): Likewise.
31509         (SIZE): Likewise.
31510         (__mpn_add_n): Do not use BP_SYM.
31511         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31512         "bp-asm.h".
31513         (PARMS): Do not use macros from bp-asm.h.
31514         (S1): Likewise.
31515         (SIZE): Likewise.
31516         (__mpn_addmul_1): Do not use BP_SYM.
31517         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31518         weak_alias.
31519         (bzero): Likewise.
31520         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31521         "bp-asm.h".
31522         (PARMS): Do not use macros from bp-asm.h.
31523         (S): Likewise.
31524         (SIZE): Likewise.
31525         (__mpn_lshift): Do not use BP_SYM.
31526         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31527         "bp-asm.h".
31528         (PARMS): Do not use macros from bp-asm.h.
31529         (DEST): Likewise.
31530         (SRC): Likewise.
31531         (LEN): Likewise.
31532         (memcpy): Likewise.  Do not use BP_SYM.
31533         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31534         libc_hidden_def and weak_alias.
31535         (mempcpy): Do not use BP_SYM in weak_alias.
31536         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31537         "bp-asm.h".
31538         (PARMS): Do not use macros from bp-asm.h.
31539         (DEST): Likewise.
31540         (LEN): Likewise.
31541         [!BZERO_P] (CHR): Likewise.
31542         (memset): Likewise.  Do not use BP_SYM.
31543         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31544         "bp-asm.h".
31545         (PARMS): Do not use macros from bp-asm.h.
31546         (S1): Likewise.
31547         (SIZE): Likewise.
31548         (__mpn_mul_1): Do not use BP_SYM.
31549         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31550         "bp-asm.h".
31551         (PARMS): Do not use macros from bp-asm.h.
31552         (S): Likewise.
31553         (SIZE): Likewise.
31554         (__mpn_rshift): Do not use BP_SYM.
31555         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31556         "bp-asm.h".
31557         (PARMS): Do not use macros from bp-asm.h.
31558         (STR): Likewise.
31559         (CHR): Likewise.
31560         (strchr): Likewise.  Do not use BP_SYM.
31561         (index): Do not use BP_SYM in weak_alias.
31562         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31563         "bp-asm.h".
31564         (PARMS): Do not use macros from bp-asm.h.
31565         (DEST): Likewise.
31566         (SRC): Likewise.
31567         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31568         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31569         "bp-asm.h".
31570         (PARMS): Do not use macros from bp-asm.h.
31571         (strlen): Do not use BP_SYM.
31572         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31573         "bp-asm.h".
31574         (PARMS): Do not use macros from bp-asm.h.
31575         (S1): Likewise.
31576         (S2): Likewise.
31577         (SIZE): Likewise.
31578         (__mpn_sub_n): Do not use BP_SYM.
31579         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31580         "bp-asm.h".
31581         (PARMS): Do not use macros from bp-asm.h.
31582         (S1): Likewise.
31583         (SIZE): Likewise.
31584         (__mpn_submul_1): Do not use BP_SYM.
31585         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31586         "bp-asm.h".
31587         (PARMS): Do not use macros from bp-asm.h.
31588         (S1): Likewise.
31589         (S2): Likewise.
31590         (SIZE): Likewise.
31591         (__mpn_add_n): Do not use BP_SYM.
31592         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31593         weak_alias.
31594         (bzero): Likewise.
31595         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31596         "bp-asm.h".
31597         (PARMS): Do not use macros from bp-asm.h.
31598         (BLK2): Likewise.
31599         (LEN): Likewise.
31600         (memcmp): Do not use BP_SYM.
31601         (bcmp): Do not use BP_SYM in weak_alias.
31602         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31603         "bp-asm.h".
31604         (PARMS): Do not use macros from bp-asm.h.
31605         (DEST): Likewise.
31606         (SRC): Likewise.
31607         (LEN): Likewise.
31608         (memcpy): Likewise.  Do not use BP_SYM.
31609         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31610         "bp-asm.h".
31611         (PARMS): Do not use macros from bp-asm.h.
31612         (DEST): Likewise.
31613         (SRC): Likewise.
31614         (LEN): Likewise.
31615         (memmove): Likewise.  Do not use BP_SYM.
31616         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31617         "bp-asm.h".
31618         (PARMS): Do not use macros from bp-asm.h.
31619         (DEST): Likewise.
31620         (SRC): Likewise.
31621         (LEN): Likewise.
31622         (__mempcpy): Likewise.  Do not use BP_SYM.
31623         (mempcpy): Do not use BP_SYM in weak_alias.
31624         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31625         "bp-asm.h".
31626         (PARMS): Do not use macros from bp-asm.h.
31627         (DEST): Likewise.
31628         (LEN): Likewise.
31629         [!BZERO_P] (CHR): Likewise.
31630         (memset): Likewise.  Do not use BP_SYM.
31631         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31632         "bp-asm.h".
31633         (PARMS): Do not use macros from bp-asm.h.
31634         (STR2): Likewise.
31635         (strcmp): Do not use BP_SYM.
31636         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31637         "bp-asm.h".
31638         (PARMS): Do not use macros from bp-asm.h.
31639         (STR): Likewise.
31640         (DELIM): Likewise.
31641         [USE_AS_STRTOK_R] (SAVE): Likewise.
31642         (FUNCTION): Likewise.  Do not use BP_SYM.
31643         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31644         aliases.
31645         (strtok_r): Likewise.
31646         (__GI___strtok_r): Likewise.
31647         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31648         (PARMS): Do not use macros from bp-asm.h.
31649         (S): Likewise.
31650         (SIZE): Likewise.
31651         (__mpn_lshift): Do not use BP_SYM.
31652         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31653         (PARMS): Do not use macros from bp-asm.h.
31654         (STR): Likewise.
31655         (CHR): Likewise.
31656         (__memchr): Do not use BP_SYM.
31657         (memchr): Do not use BP_SYM in weak_alias.
31658         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31659         (PARMS): Do not use macros from bp-asm.h.
31660         (BLK2): Likewise.
31661         (LEN): Likewise.
31662         (memcmp): Do not use BP_SYM.
31663         (bcmp): Do not use BP_SYM in weak_alias.
31664         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31665         (PARMS): Do not use macros from bp-asm.h.
31666         (S1): Likewise.
31667         (SIZE): Likewise.
31668         (__mpn_mul_1): Do not use BP_SYM.
31669         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31670         "bp-asm.h".
31671         (PARMS): Do not use macros from bp-asm.h.
31672         (STR): Likewise.
31673         (CHR): Likewise.
31674         (__rawmemchr): Do not use BP_SYM.
31675         (rawmemchr): Do not use BP_SYM in weak_alias.
31676         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31677         (PARMS): Do not use macros from bp-asm.h.
31678         (S): Likewise.
31679         (SIZE): Likewise.
31680         (__mpn_rshift): Do not use BP_SYM.
31681         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31682         (PARMS): Do not use macros from bp-asm.h.
31683         (SIGMSK): Likewise.
31684         (__sigsetjmp): Likewise.  Do not use BP_SYM.
31685         * sysdeps/i386/start.S: Do not include "bp-sym.h".
31686         (_start): Do not use BP_SYM.
31687         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31688         (PARMS): Do not use macros from bp-asm.h.
31689         (DEST): Likewise.
31690         (SRC): Likewise.
31691         (__stpcpy): Likewise.  Do not use BP_SYM.
31692         (stpcpy): Do not use BP_SYM in weak_alias.
31693         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31694         "bp-asm.h".
31695         (PARMS): Do not use macros from bp-asm.h.
31696         (DEST): Likewise.
31697         (SRC): Likewise.
31698         (LEN): Likewise.
31699         (__stpncpy): Likewise.  Do not use BP_SYM.
31700         (stpncpy): Do not use BP_SYM in weak_alias.
31701         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31702         (PARMS): Do not use macros from bp-asm.h.
31703         (STR): Likewise.
31704         (CHR): Likewise.
31705         (strchr): Likewise.  Do not use BP_SYM.
31706         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31707         "bp-asm.h".
31708         (PARMS): Do not use macros from bp-asm.h.
31709         (STR): Likewise.
31710         (CHR): Likewise.
31711         (__strchrnul): Likewise.  Do not use BP_SYM.
31712         (strchrnul): Do not use BP_SYM in weak_alias.
31713         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31714         "bp-asm.h".
31715         (PARMS): Do not use macros from bp-asm.h.
31716         (STOP): Likewise.
31717         (strcspn): Do not use BP_SYM.
31718         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31719         "bp-asm.h".
31720         (PARMS): Do not use macros from bp-asm.h.
31721         (STR): Likewise.
31722         (STOP): Likewise.
31723         (strpbrk): Likewise.  Do not use BP_SYM.
31724         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31725         "bp-asm.h".
31726         (PARMS): Do not use macros from bp-asm.h.
31727         (STR): Likewise.
31728         (CHR): Likewise.
31729         (strrchr): Likewise.  Do not use BP_SYM.
31730         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31731         (PARMS): Do not use macros from bp-asm.h.
31732         (SKIP): Likewise.
31733         (strspn): Do not use BP_SYM.
31734         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31735         (PARMS): Do not use macros from bp-asm.h.
31736         (STR): Likewise.
31737         (DELIM): Likewise.
31738         (SAVE): Likewise.
31739         (FUNCTION): Likewise.  Do not use BP_SYM.
31740         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31741         aliases.
31742         (strtok_r): Likewise.
31743         (__GI___strtok_r): Likewise.
31744         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31745         (PARMS): Do not use macros from bp-asm.h.
31746         (S1): Likewise.
31747         (S2): Likewise.
31748         (SIZE): Likewise.
31749         (__mpn_sub_n): Do not use BP_SYM.
31750         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31751         "bp-asm.h".
31752         (PARMS): Do not use macros from bp-asm.h.
31753         (S1): Likewise.
31754         (SIZE): Likewise.
31755         (__mpn_submul_1): Do not use BP_SYM.
31756         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31757         <bp-sym.h>.
31758         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31759         and <bp-asm.h>.
31760         (PARMS): Do not use macros from bp-asm.h.
31761         (FLAGS): Likewise.
31762         (PTID): Likewise.
31763         (TLS): Likewise.
31764         (CTID): Likewise.
31765         (__clone): Do not use BP_SYM.
31766         (clone): Do not use BP_SYM in weak_alias.
31767         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31768         and <bp-asm.h>.
31769         (PARMS): Do not use macros from bp-asm.h.
31770         (LEN): Likewise.
31771         (__mmap64): Do not use BP_SYM.
31772         (mmap64): Do not use BP_SYM in weak_alias.
31773         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31774         <bp-sym.h> and <bp-asm.h>.
31775         (PARMS): Do not use macros from bp-asm.h.
31776         (__posix_fadvise64_l64): Do not use BP_SYM.
31777         * sysdeps/unix/sysv/linux/i386/semtimedop.S
31778         (PARMS): Do not use macros from bp-asm.h.
31779         (NSOPS): Likewise.
31780         (semtimedop): Do not use BP_SYM.
31781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31782         and <bp-asm.h>.
31784 2013-02-21  Allan McRae  <allan@archlinux.org>
31786         * manual/message.texi (Charset conversion in gettext):
31787         Move @end statement to beginning of line.
31789 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31792         static.
31793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31794         Likewise.
31796         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31797         (denorm): Likewise.
31798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31801 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31803         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31804         tail-call to the resolved function if pltexit isn't needed.
31806 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31809         or Y being zero as being unlikely.
31810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31811         Likewise.
31813 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31815         * manual/nss.texi (System Databases and Name Service Switch):
31816         Remove frobnicate @pxref.
31818 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31820         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31821         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31823 2013-02-20  Petr Machata  <pmachata@redhat.com>
31825         * elf/elf.h (R_ARM_TARGET1): New macro.
31826         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31827         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31828         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31829         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31830         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31831         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31832         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31833         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31834         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31835         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31836         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31837         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31838         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31839         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31840         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31841         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31842         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31843         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31844         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31845         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31846         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31847         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31848         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31849         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31850         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31851         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31852         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31853         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31854         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31855         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31856         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31857         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31858         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31859         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31860         (R_ARM_THM_GOT_BREL12): Likewise.
31861         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31862         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31863         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31864         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31865         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31866         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31867         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31868         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31869         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31871 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31873         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31874         __attribute_used__ to __attribute__ ((unused)).
31876 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31878         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31879         powerpc mpa.c.
31880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31881         comment formatting.
31882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31884 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31886         [BZ #13550]
31887         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31888         Remove macro.
31889         (ENTER): Remove both macro definitions.
31890         (LEAVE): Likewise.
31891         (CHECK_BOUNDS_LOW): Likewise.
31892         (CHECK_BOUNDS_HIGH): Likewise.
31893         (CHECK_BOUNDS_BOTH): Likewise.
31894         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31895         (RETURN_BOUNDED_POINTER): Likewise.
31896         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31897         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31898         (POP_ERRNO_LOCATION_RETURN): Likewise.
31899         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31900         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31901         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31902         macros.
31903         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31904         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31905         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31906         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31907         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31908         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31909         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31910         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31911         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31912         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31913         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31914         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31915         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31916         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31917         removed macros.
31918         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31919         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31920         macros.
31921         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31922         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31923         * sysdeps/i386/i586/memset.S (memset): Likewise.
31924         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31925         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31926         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31927         macros.
31928         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31929         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31930         Change uses of L(2) to L(out).
31931         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31932         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31933         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31934         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31935         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31936         removed macros.
31937         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31938         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31939         macros.
31940         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31941         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31942         (RETURN): Do not use macro LEAVE.
31943         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31944         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31945         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31946         * sysdeps/i386/i686/memset.S (memset): Likewise.
31947         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31948         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31949         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31950         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31951         Likewise.
31952         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31953         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31954         L(1_2) and L(1_3) into L(1).
31955         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31956         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31957         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31958         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31959         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31960         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31961         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31962         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31963         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31964         macros.
31965         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31966         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31967         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31968         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31969         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31970         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31971         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31972         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31973         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31974         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31975         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31976         * sysdeps/i386/strspn.S (strspn): Likewise.
31977         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31978         conditional code.
31979         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31980         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31981         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31982         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31983         L(1_3) into L(1_1).
31984         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31985         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31986         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31987         macros.
31988         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31990 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31992         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31993         macro.
31995 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31997         * math/atest-exp.c (exp_mpn): Remove ROUND.
31998         * math/atest-exp2.c (exp_mpn): Likewise.
31999         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32001         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32002         * stdlib/tst-tls-atexit-lib.c: Likewise.
32003         * stdlib/tst-tls-atexit.c: Likewise.
32005 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32007         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32008         and __attribute_alloc_size__.
32010 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32012         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32013         __attribute_alloc_size__.
32014         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32015         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32017 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32019         * include/programs/xmalloc.h: New file.
32020         * catgets/gencat.c: Include it.
32021         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32022         * elf/pldd.c: Likewise.
32023         * iconv/iconv_charmap.c: Likewise.
32024         * iconv/iconvconfig.c: Likewise.
32025         * iconv/strtab.c: Likewise.
32026         * locale/programs/locale.c: Likewise.
32027         * locale/programs/localedef.h: Likewise.
32028         * locale/programs/simple-hash.c: Likewise.
32029         * nscd/nscd.h: Likewise.
32030         * nss/makedb.c: Likewise.
32031         * sysdeps/generic/ldconfig.h: Likewise.
32033 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32035         * Versions.def: Add GLIBC_2.18.
32036         * include/link.h (struct link_map): New member l_tls_dtor_count.
32037         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32038         (__call_tls_dtors): Likewise.
32039         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32040         __cxa_thread_atexit_impl.
32041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32042         Likewise.
32043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32044         Likewise.
32045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32046         Likewise.
32047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32048         Likewise.
32049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32051         Likewise.
32052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32053         Likewise.
32054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32056         Likewise.
32057         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32058         (tests): Add test case tst-tls-atexit.
32059         (modules-names): Add shared library for tst-tls-atexit.
32060         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32061         (GLIBC_PRIVATE): Add __call_tls_dtors.
32062         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32063         for libstdc++.
32064         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32065         * stdlib/tst-tls-atexit.c: New test case.
32066         * stdlib/tst-tls-atexit-lib.c: New test case.
32068         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32070         * elf/Versions (ld): Add _dl_find_dso_for_object.
32071         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32072         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32073         (dl_open_worker): Use _dl_find_dso_for_object.
32074         * elf/dl-sym.c (do_sym): Likewise.
32075         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32077 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32079         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32080         Syntactic changes only.
32081         (_dl_runtime_profile): Do a tail-call to the resolved function.
32083 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32085         [BZ #13550]
32086         * sysdeps/x86_64/bp-asm.h: Remove file.
32087         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32088         <bp-sym.h> and <bp-asm.h>.
32089         (__clone): Do not use BP_SYM.
32090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32091         <bp-sym.h> and <bp-asm.h>.
32092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32093         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32094         "bp-asm.h".
32095         (_setjmp): Do not use BP_SYM.
32096         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32097         "bp-asm.h".
32098         (setjmp): Do not use BP_SYM.
32099         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32100         libc_hidden_def.
32101         (mempcpy): Do not use BP_SYM in weak_alias.
32102         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32103         "bp-asm.h".
32104         (strchr): Do not use BP_SYM.
32105         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32106         "bp-asm.h".
32107         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32108         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32109         (_start): Do not use BP_SYM.
32110         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32111         "bp-asm.h".
32112         (strcat): Do not use BP_SYM.
32113         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32114         "bp-asm.h".
32115         (STRCMP): Do not use BP_SYM.
32116         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32117         "bp-asm.h".
32118         (STRCPY): Do not use BP_SYM.
32119         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32120         "bp-asm.h".
32121         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32122         "bp-asm.h".
32123         (FUNCTION): Do not use BP_SYM.
32124         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32125         weak_alias.
32126         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32128 2013-02-17  Andreas Jaeger  <aj@suse.de>
32130         * time/Versions: Sort entries.
32131         * string/Versions: Likewise.
32132         * resolv/Versions: Likewise.
32133         * posix/Versions: Likewise.
32134         * iconv/Versions: Likewise.
32135         * elf/Versions: Likewise.
32136         * wcsmbs/Versions: Likewise.
32138 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32140         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32141         loop termination condition.
32143         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32144         variable to calculate EZ.
32145         (__sqr): Likewise.
32147         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32148         the lower precision input.
32150 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32152         [BZ #13550]
32153         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32154         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32155         (run-via-rtld-prefix): Do not handle %-bp tests.
32156         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32157         (all-object-suffixes): Remove .ob.
32158         (bppfx): Remove variable.
32159         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32160         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32161         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32162         [$(build-bounded) = yes] (libtype.ob): Likewise.
32163         * Makerules (elide-routines.ob): Remove variable.
32164         (do-tests-clean): Do not handle *-bp.out.
32165         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32166         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32167         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32168         (tests): Do not include $(tests-bp.out).
32169         (xtests): Do not include $(xtests-bp.out).
32170         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32171         [$(build-bounded) = yes] ($(addprefix
32172         $(objpfx),$(binaries-bounded))): Remove rule.
32173         ($(objpfx)%-bp.out): Remove rule.
32174         * config.make.in (build-bounded): Remove variable.
32175         * crypt/Makefile [$(build-bounded) = yes]
32176         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32177         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32178         append to variable.
32179         [$(build-bounded) = yes] (install-lib): Likewise.
32180         [$(build-bounded) = yes] (generated): Likewise.
32181         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32182         Remove rule.
32183         * intl/Makefile [$(build-bounded) = yes]
32184         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32185         * math/Makefile [$(build-bounded) = yes]
32186         ($(tests:%=$(objpfx)%-bp): Likewise.
32187         * misc/Makefile [$(build-bounded) = yes]
32188         ($(objpfx)tst-tsearch-bp): Likewise.
32189         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32190         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32191         Remove dependency.
32192         * string/Makefile (o-objects.ob): Remove variable.
32193         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32194         (CFLAGS-.ob): Remove variable.
32195         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32196         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32197         both definitions of variable.
32198         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32199         (ASFLAGS-.ob): Remove variable.
32201 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32203         [BZ #13550]
32204         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32205         Remove __BOUNDED_POINTERS__ from condition.
32206         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32207         * string/bits/string2.h [!__NO_STRING_INLINES &&
32208         !__BOUNDED_POINTERS__]: Likewise.
32209         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32210         Likewise.
32211         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32212         Remove conditional code.
32213         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32214         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32215         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32216         condition.
32218         [BZ #13550]
32219         * csu/libc-start.c: Do not include <bp-sym.h>.
32220         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32221         * elf/dl-open.c: Do not include <bp-sym.h>.
32222         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32223         * math/fegetenv.c: Do not include <bp-sym.h>.
32224         (fegetenv): Do not use BP_SYM in versioned symbols.
32225         * nptl/sysdeps/pthread/bits/libc-lockP.h
32226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32227         <bp-sym.h>.
32228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32229         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32231         (__pthread_mutex_destroy): Likewise.
32232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32233         (__pthread_mutex_lock): Likewise.
32234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32235         (__pthread_mutex_trylock): Likewise.
32236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32237         (__pthread_mutex_unlock): Likewise.
32238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32239         (__pthread_mutexattr_init): Likewise.
32240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32241         (__pthread_mutexattr_destroy): Likewise.
32242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32243         (__pthread_mutexattr_settype): Likewise.
32244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32245         (__pthread_rwlock_init): Likewise.
32246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32247         (__pthread_rwlock_destroy): Likewise.
32248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32249         (__pthread_rwlock_rdlock): Likewise.
32250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32251         (__pthread_rwlock_tryrdlock): Likewise.
32252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32253         (__pthread_rwlock_wrlock): Likewise.
32254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32255         (__pthread_rwlock_trywrlock): Likewise.
32256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32257         (__pthread_rwlock_unlock): Likewise.
32258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32259         (__pthread_key_create): Likewise.
32260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32261         (__pthread_setspecific): Likewise.
32262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32263         (__pthread_getspecific): Likewise.
32264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32265         Likewise.
32266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32267         (_pthread_cleanup_push_defer): Likewise.
32268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32269         (_pthread_cleanup_pop_restore): Likewise.
32270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32271         (pthread_setcancelstate): Likewise.
32272         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32273         <bp-sym.h>.
32274         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32275         (memchr): Do not use BP_SYM in weak_alias.
32276         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32277         (fegetenv): Do not use BP_SYM in versioned symbols.
32278         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32279         (fesetenv): Do not use BP_SYM in versioned symbols.
32280         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32281         (feupdateenv): Do not use BP_SYM in versioned symbols.
32282         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32283         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32284         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32285         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32286         (open64): Do not use BP_SYM in weak_alias.
32287         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32288         (fegetenv): Do not use BP_SYM in versioned symbols.
32289         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32290         (fesetenv): Do not use BP_SYM in versioned symbols.
32291         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32292         (feupdateenv): Do not use BP_SYM in versioned symbols.
32293         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32294         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32295         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32296         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32297         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32298         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32299         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32300         <bp-sym.h>.
32301         (__libc_start_main): Do not use BP_SYM.
32303 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32306         redundant return line.
32307         (norm): Likewise.
32308         (denorm): Likewise.
32309         (dbl_mp): Likewise.
32310         (sub_magnitudes): Likewise.
32311         (__add): Likewise.
32312         (__sub): Likewise.
32313         (__mul): Likewise.
32314         (__inv): Likewise.
32315         (__dvd): Likewise.
32316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32317         (norm): Likewise.
32318         (denorm): Likewise.
32319         (dbl_mp): Likewise.
32320         (sub_magnitudes): Likewise.
32321         (__add): Likewise.
32322         (__sub): Likewise.
32323         (__mul): Likewise.
32324         (__inv): Likewise.
32325         (__dvd): Likewise.
32327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32328         instead of __mul.
32329         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32330         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32331         (cc32): Likewise.
32333         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32334         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32336         of __mul for squares.
32337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32338         function
32339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32340         Likewise.
32341         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32342         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32344 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32346         [BZ #13550]
32347         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32348         code.
32349         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32350         prototype or function definition.  Rename ubp_* variables and
32351         parameters.  Remove argv definitions conditional on
32352         [__BOUNDED_POINTERS__].
32353         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32354         * elf/dl-runtime.c (_dl_fixup): Likewise.
32355         * include/set-hooks.h (RUN_HOOK): Likewise.
32356         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32357         definition.
32358         * string/strcpy.c (strcpy): Do not use __unbounded.
32359         * sysdeps/generic/frame.h (struct layout): Likewise.
32360         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32361         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32362         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32363         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32364         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32365         (__backtrace): Likewise.
32366         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32367         use __ptrvalue.
32368         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32369         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32370         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32371         Likewise.
32372         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32373         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32374         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32375         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32376         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32377         Do not use __unbounded.
32378         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32379         Rename __unboundedrlimits parameter to rlimits in prototype.
32380         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32381         Do not use __unbounded.
32382         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32383         not use __ptrvalue.
32384         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32385         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32386         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32387         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32388         __ptrvalue or __unbounded.
32389         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32390         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32391         use __unbounded.
32392         (__new_msgctl): Do not use __ptrvalue.
32393         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32394         __unbounded.
32395         (__libc_msgrcv): Do not use __ptrvalue.
32396         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32397         startup_info): Do not use __unbounded.
32398         (__libc_start_main): Likewise.  Rename ubp_* variables and
32399         parameters.  Remove argv definitions conditional on
32400         [__BOUNDED_POINTERS__].
32401         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32402         __ptrvalue.
32403         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32404         use __unbounded.
32405         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32406         or __ptrvalue.
32407         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32408         use __unbounded.
32409         (__new_shmctl): Do not use __ptrvalue.
32410         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32411         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32412         Likewise.
32413         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32414         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32415         (__libc_sigaction): Likewise.
32416         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32417         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32418         Likewise.
32419         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32421 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32423         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32425         * string/mempcpy.c: Implement by calling memcpy.
32427 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32432         evaluation.
32434         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32435         values in the mantissa.
32437         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32438         minimize writes to Z.
32439         (sub_magnitudes): Simplify code a bit.
32441 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32443         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32444         from the message.  The linker prefixes all warnings with that already.
32446 2013-02-12  Andreas Schwab  <schwab@suse.de>
32448         [BZ #15078]
32449         * posix/regexec.c (extend_buffers): Add parameter min_len.
32450         (check_matching): Pass minimum needed length.
32451         (clean_state_log_if_needed): Likewise.
32452         (get_subexp): Likewise.
32453         * posix/Makefile (tests): Add bug-regex34.
32454         (bug-regex34-ENV): Define.
32455         * posix/bug-regex34.c: New file.
32457         [BZ #11561]
32458         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32459         elements compare against the byte sequence of it, not its name.
32460         * posix/Makefile (tests): Add bug-regex35.
32461         (bug-regex35-ENV): Define.
32462         * posix/bug-regex35.c: New file.
32464 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32466         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32467         comment.
32468         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32469         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32470         (CHECK_EOL): Add undef.
32472 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32474         * bits/stdlib-bsearch.h: New file.
32475         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32476         * stdlib/stdlib.h: Likewise.
32478 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32480         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32481         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32482         declaration.
32483         * manual/search.texi (Array Search Function): Add missing const in
32484         lfind prototype.
32485         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32486         declaration to use rlim_t.
32487         (Basic Scheduling Functions): Remove erroneous const from
32488         sched_getparam prototype.  Remove erroneous * from
32489         sched_get_priority_max and sched_get_priority_min prototypes.
32490         (Resource Usage): Fix summary @comment on vtimes to refer to
32491         sys/vtimes.h rather than vtimes.h.
32492         Add missing *s in vtimes prototype.
32493         (Limits on Resources): Fix ulimit prototype to return long int.
32494         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32495         prototypes to use long int rather than double.
32496         (BSD Random): Fix initstate and setstate to use char *, not void *.
32497         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32498         prototype to make second argument 'struct aiocb64 *const[]'.
32499         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32500         (Status of AIO Operations): Remove erroneous const in aio_return and
32501         aio_return64 prototypes.
32502         (Synchronizing I/O): Fix sync prototype to return void.
32503         * manual/startup.texi (Suboptions): Remove an erroneous const in
32504         getsubopt prototype.
32505         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32506         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32507         use size_t rather than int.
32508         (Scanning All Users): Likewise for getpwent_r.
32509         (Setting Groups): Add missing const to setgroups prototype.
32510         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32511         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32512         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32513         'const void *' rather than 'const char *'.
32514         (Host Address Functions): Likewise for inet_ntop.
32515         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32516         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32517         ssize_t for return value.
32518         (Sending Data): Likewise for send, sendto, sendmsg.
32519         (Socket Option Functions): Add a missing const in setsockopt prototype.
32520         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32521         use wchar_t for the argument.
32522         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32523         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32524         take no arguments.
32525         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32526         double/float/long double for second argument.
32527         Fix return types of significand, significandf, significandl.
32528         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32529         argument in fchmod prototype.
32530         (File Owner): Use uid_t and gid_t in fchown prototype.
32531         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32532         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32533         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32534         use 'const struct dirent **' as argument types to CMP function pointer
32535         argument.
32536         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32537         (File Times): Fix summary magic @comment for struct utimbuf and utime
32538         to refer to utime.h, not time.h.
32539         * manual/string.texi (Argz Functions): Add missing const in
32540         argz_extract and argz_next prototypes.
32541         (Finding Tokens in a String): Likewise for basename.
32542         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32543         (Copying and Concatenation): Fix typo in wmemmove prototype.
32544         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32545         (Signal Stack): Remove erroneous const in sigstack prototype.
32546         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32547         prototype.
32548         (Simple Calendar Time): Likewise for stime.
32549         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32550         prototype.
32551         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32552         say sys/sysctl.h instead.
32553         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32554         and vsyslog prototypes.
32556 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32558         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32559         Remove.
32561 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32563         * misc/sys/mman.h: Fix typo in mremap comment.
32565 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32567         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32568         the '\0' terminator.
32570 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32572         [BZ #13550]
32573         * debug/segfault.c: Don't include <bp-checks.h>.
32574         * sysdeps/generic/bp-checks.h: Remove file.
32575         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32576         (__GETDENTS): Don't use CHECK_N.
32577         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32578         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32579         (__getgroups): Don't use CHECK_N.
32580         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32581         (setgroups): Don't use CHECK_N.
32582         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32583         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32584         (__libc_msgrcv): Don't use CHECK_N.
32585         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32586         (__libc_msgsnd): Don't use CHECK_N.
32587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32588         <bp-checks.h>.
32589         (__libc_pread): Don't use CHECK_N.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32591         include <bp-checks.h>.
32592         (__libc_pread64): Don't use CHECK_N.
32593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32594         include <bp-checks.h>.
32595         (__libc_pwrite): Don't use CHECK_N.
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32597         include <bp-checks.h>.
32598         (__libc_pwrite64): Don't use CHECK_N.
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32600         <bp-checks.h>.
32601         (__libc_pread): Don't use CHECK_N.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32603         include <bp-checks.h>.
32604         (__libc_pread64): Don't use CHECK_N.
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32606         include <bp-checks.h>.
32607         (__libc_pwrite): Don't use CHECK_N.
32608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32609         include <bp-checks.h>.
32610         (__libc_pwrite64): Don't use CHECK_N.
32611         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32612         (do_pread): Don't use CHECK_N.
32613         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32614         (do_pread64): Don't use CHECK_N.
32615         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32616         (do_pwrite): Don't use CHECK_N.
32617         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32618         (do_pwrite64): Don't use CHECK_N.
32619         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32620         (__libc_readv): Don't use CHECK_N.
32621         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32622         (semop): Don't use CHECK_N.
32623         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32624         <bp-checks.h>.
32625         (semtimedop): Don't use CHECK_N.
32626         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32627         (__libc_pread): Don't use CHECK_N.
32628         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32629         <bp-checks.h>.
32630         (__libc_pread64): Don't use CHECK_N.
32631         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32632         <bp-checks.h>.
32633         (__libc_pwrite): Don't use CHECK_N.
32634         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32635         <bp-checks.h>.
32636         (__libc_pwrite64): Don't use CHECK_N.
32637         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32638         <bp-checks.h>.
32639         (__libc_msgrcv): Don't use CHECK_N.
32640         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32641         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
32642         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32643         (__libc_writev): Don't use CHECK_N.
32645 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32647         * string/strcpy.c: Removed unused variable.
32649         * Makeconfig (+sysdep-includes): Define with := rather than =.
32650         Use an existing include/ subdir of each sysdeps dir before it.
32652 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32654         * nscd/connection.c (register_traced_file): Comment function.
32655         [HAVE_INOTIFY] (union __inev): Define.
32656         [HAVE_INOTIFY] (inotify_check_files): New function.
32657         [HAVE_INOTIFY] (clear_db_cache): Likewise.
32658         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32659         clear_db_cache.
32660         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32662 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32664         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32665         loaded if not already and that a failure is permanent.
32667 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32669         [BZ #15006]
32670         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32671         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32673 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32675         [BZ #13550]
32676         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32677         (CHECK_1_NULL_OK): Likewise.
32678         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32679         (__fxstat): Do not use CHECK_1.
32680         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32681         <bp-checks.h>.
32682         (___fxstat64): Do not use CHECK_1.
32683         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32684         <bp-checks.h>.
32685         (__fxstatat): Do not use CHECK_1.
32686         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32687         <bp-checks.h>.
32688         (__fxstatat64): Do not use CHECK_1.
32689         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32690         <bp-checks.h>.
32691         (__fxstat): Do not use CHECK_1.
32692         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32693         <bp-checks.h>.
32694         (__fxstatat): Do not use CHECK_1.
32695         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32696         <bp-checks.h>.
32697         (__getresgid): Do not use CHECK_1.
32698         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32699         <bp-checks.h>.
32700         (__getresuid): Do not use CHECK_1.
32701         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32702         <bp-checks.h>.
32703         (__lxstat): Do not use CHECK_1.
32704         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32705         <bp-checks.h>.
32706         (__old_msgctl): Do not use CHECK_1.
32707         (__new_msgctl): Likewise.
32708         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32709         <bp-checks.h>.
32710         (__new_setrlimit): Do not use CHECK_1.
32711         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32712         <bp-checks.h>.
32713         (__old_shmctl): Do not use CHECK_1.
32714         (__new_shmctl): Likewise.
32715         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32716         <bp-checks.h>.
32717         (__xstat): Do not use CHECK_1.
32718         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32719         (__lxstat): Do not use CHECK_1.
32720         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32721         <bp-checks.h>.
32722         (___lxstat64): Do not use CHECK_1.
32723         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32724         (__old_msgctl): Do not use CHECK_1.
32725         (__new_msgctl): Likewise.
32726         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32727         <bp-checks.h>.
32728         (__gettimeofday): Do not use CHECK_1.
32729         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32730         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32731         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32732         <bp-checks.h>.
32733         (__gettimeofday): Do not use CHECK_1.
32734         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32735         (__old_shmctl): Do not use CHECK_1_NULL_OK.
32736         (__new_shmctl): Do not use CHECK_1.
32737         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32738         <bp-checks.h>.
32739         (do_sigtimedwait): Do not use CHECK_1.
32740         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32741         <bp-checks.h>.
32742         (do_sigwaitinfo): Do not use CHECK_1.
32743         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32744         <bp-checks.h>.
32745         (msgctl): Do not use CHECK_1.
32746         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32747         <bp-checks.h>.
32748         (shmctl): Do not use CHECK_1.
32749         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32750         (ustat): Do not use CHECK_1.
32751         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32752         <bp-checks.h>.
32753         (__fxstat): Do not use CHECK_1.
32754         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32755         <bp-checks.h>.
32756         (__fxstatat): Do not use CHECK_1.
32757         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32758         <bp-checks.h>.
32759         (__lxstat): Do not use CHECK_1.
32760         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32761         <bp-checks.h>.
32762         (__xstat): Do not use CHECK_1.
32763         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32764         (__xstat): Do not use CHECK_1.
32765         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32766         (___xstat64): Do not use CHECK_1.
32768         [BZ #13550]
32769         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32770         definitions.
32771         (CHECK_BOUNDS_HIGH): Likewise.
32772         * string/strcpy.c: Do not include <bp-checks.h>.
32773         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32775 2013-02-07  Roland McGrath  <roland@hack.frob.com>
32777         * nscd/nscd-client.h (__nscd_drop_map_ref):
32778         Add __attribute__ ((unused)).
32779         * nis/nss-nisplus.h (niserr2nss): Likewise.
32781         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32782         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32784         * csu/libc-tls.c (init_static_tls, init_slotinfo):
32785         Remove inline keyword.
32786         * include/rounding-mode.h (round_away): Likewise.
32787         * libio/wfileops.c (adjust_wide_data): Likewise.
32788         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32789         (__m128i_strloadu_tolower): Likewise.
32790         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32791         (__m128i_strloadu_tolower): Likewise.
32792         * time/mktime.c (ydhms_diff): Likewise.
32793         * locale/elem-hash.h (elem_hash): Likewise.
32794         * locale/setlocale.c (setdata): Likewise.
32795         * posix/regex_internal.h (re_string_char_size_at): Likewise.
32796         (re_string_wchar_at): Likewise.
32797         (bitset_not, bitset_merge, bitset_mask): Likewise.
32798         [!(__GNUC__ > 3)] (inline): Remove macro.
32799         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32800         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32801         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32802         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32803         * string/memcmp.c (memcmp_bytes): Likewise.
32804         * locale/programs/locarchive.c (compute_hashval): Likewise.
32805         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32806         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32807         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32808         * nss/getent.c (print_rpc, print_protocols): Likewise.
32809         (print_passwd, print_group, print_aliases): Likewise.
32810         * nis/nss-nisplus.h (niserr2nss): Likewise.
32811         * nscd/connections.c (restart_p): Likewise.
32812         Change return type to bool.
32814 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32816         * Makeconfig (all-Depend-files): Add existing
32817         $(sorted-subdirs:=/Depend) files.
32818         (all-subdirs): Remove nss.
32819         * sysdeps/unix/inet/Subdirs: Add it here instead.
32820         * hesiod/Depend: New file.
32822         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32823         instead of calling alloca.
32825         * io/lseek.c (__lseek): Rename to __libc_lseek.
32826         Define __lseek as an alias.
32828         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32830 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32832         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32833         else clause and remove check for non-standard endianness.
32835 2013-02-04  David S. Miller  <davem@davemloft.net>
32837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32839 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32841         [BZ #13550]
32842         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32843         (__ubp_memchr): Remove prototype.
32844         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32845         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32846         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32847         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32848         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32849         Remove alias.
32850         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32851         (__ubp_memchr): Likewise.
32852         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32853         (__ubp_memchr): Likewise.
32854         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32855         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32856         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32857         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32858         CHECK_STRING.
32859         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32860         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32861         (__getcwd): Do not use CHECK_STRING.
32862         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32863         <bp-checks.h>.
32864         (__real_chown): Do not use CHECK_STRING.
32865         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32866         <bp-checks.h>.
32867         (fchownat): Do not use CHECK_STRING.
32868         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32869         CHECK_STRING.
32870         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32871         <bp-checks.h>.
32872         (__lchown): Do not use CHECK_STRING.
32873         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32874         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32875         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32876         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32878         include <bp-checks.h>.
32879         (truncate64): Do not use CHECK_STRING.
32880         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32881         <bp-checks.h>.
32882         (__real_chown): Do not use CHECK_STRING.
32883         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32884         <bp-checks.h>.
32885         (__lchown): Do not use CHECK_STRING.
32886         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32887         <bp-checks.h>.
32888         (__chown): Do not use CHECK_STRING.
32889         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32890         <bp-checks.h>.
32891         (truncate64): Do not use CHECK_STRING.
32892         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32893         Likewise.
32894         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32895         (__xmknod): Do not use CHECK_STRING.
32896         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32897         <bp-checks.h>.
32898         (__xmknodat): Do not use CHECK_STRING.
32899         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32900         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32902 2013-02-04  Andreas Schwab  <schwab@suse.de>
32904         [BZ #14142]
32905         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32906         * include/netdb.h: Likewise for h_errno.
32907         * elf/tst-stackguard1.c: Include <tls.h>.
32909 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32911         * elf/link.h (struct link_map): Extend the l_addr comment.
32912         * include/link.h (struct link_map): Likewise.
32914 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32916         [BZ #13550]
32917         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32918         (BOUNDED_1): Remove macro.
32919         * debug/backtrace.c: Don't include <bp-checks.h>.
32920         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32921         (__backtrace): Likewise.
32922         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32923         <bp-checks.h>.
32924         (__backtrace): Don't use BOUNDED_1.
32925         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32926         <bp-checks.h>.
32927         (__backtrace): Don't use BOUNDED_1.
32928         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32929         (__backtrace): Don't use BOUNDED_1.
32930         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32931         (shmat): Don't use BOUNDED_N.
32933 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32935         [BZ #13550]
32936         * sysdeps/generic/bp-start.h: Remove file.
32937         * csu/libc-start.c: Don't include <bp-start.h>.
32938         (LIBC_START_MAIN): Set up __environ directly instead of using
32939         INIT_ARGV_and_ENVIRON.
32940         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32941         <bp-start.h>.
32943         [BZ #13550]
32944         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32945         definitions.
32946         (CHECK_FCNTL): Likewise.
32947         (CHECK_N_PAGES): Likewise.
32949         [BZ #13550]
32950         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32951         definitions.
32952         (CHECK_SIGSET_NULL_OK): Likewise.
32953         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32954         <bp-checks.h>.
32955         (sigpending): Don't use CHECK_SIGSET.
32956         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32957         <bp-checks.h>.
32958         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32959         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32960         <bp-checks.h>.
32961         (do_sigsuspend): Don't use CHECK_SIGSET.
32962         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32963         use CHECK_SIGSET.
32964         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32965         (do_sigwait): Don't use CHECK_SIGSET.
32966         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32967         use CHECK_SIGSET.
32968         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32969         include <bp-checks.h>.
32970         (sigpending): Don't use CHECK_SIGSET.
32971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32972         include <bp-checks.h>.
32973         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32974         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32975         <bp-checks.h>.
32976         (sigpending): Don't use CHECK_SIGSET.
32977         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32978         <bp-checks.h>.
32979         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32981         [BZ #13550]
32982         * sysdeps/generic/bp-semctl.h: Remove file.
32983         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32984         <bp-checks.h> and <bp-semctl.h>.
32985         (__old_semctl): Don't use CHECK_SEMCTL.
32986         (__new_semctl): Likewise.
32987         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32988         and <bp-semctl.h>.
32989         (__old_semctl): Don't use CHECK_SEMCTL.
32990         (__new_semctl): Likewise.
32991         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32992         <bp-checks.h> and <bp-semctl.h>.
32993         (__old_semctl): Don't use CHECK_SEMCTL.
32994         (__new_semctl): Likewise.
32995         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32996         <bp-checks.h> and <bp-semctl.h>.
32997         (semctl): Don't use CHECK_SEMCTL.
32999         [BZ #13550]
33000         * Makerules (elide-bp-thunks): Remove variable.
33001         (elide-routines.oS): Don't use $(elide-bp-thunks).
33002         (elide-routines.os): Likewise.
33003         (elide-routines.o): Likewise.
33004         (elide-routines.op): Likewise.
33005         (elide-routines.og): Likewise.
33006         (objects): Don't use $(bp-thunks).
33007         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33008         include.
33009         (common-generated): Do not add s-proto-bp.d.
33010         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33011         (int): Likewise.
33012         (typ): Likewise.
33013         Do not generate makefile rules for bounded-pointer thunks.
33014         * sysdeps/generic/bp-thunks.h: Remove file.
33015         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33016         * sysdeps/unix/s-proto-bp.S: Likewise.
33018         [BZ #15062]
33019         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33020         parts of result separately when argument is not close to line from
33021         -i to i and one part of argument is small.
33022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33024         * math/libm-test.inc (cacos_test): Add more tests.
33025         (casin_test): Likewise.
33026         (casinh_test): Likewise.
33027         * sysdeps/i386/fpu/libm-test-ulps: Update.
33028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33030 2013-01-31  David S. Miller  <davem@davemloft.net>
33032         * po/de.po: Update from translation team.
33034 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33036         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33038 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33040         * configure.in (_AC_PROG_CC_C89): New definition.
33041         * configure: Regenerate.
33043         * configure.in (AC_PROG_CPP): New definition.
33044         * configure: Regenerate.
33046 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33048         * debug/tst-backtrace.h: New file.
33049         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33050         (ret): Remove variable.
33051         (x): Likewise.
33052         (FAIL): Remove macro.
33053         (NO_INLINE): Likewise.
33054         (fn1): Use match function instead of strstr.
33055         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33056         (ret): Remove variable.
33057         (x): Likewise.
33058         (FAIL): Remove macro.
33059         (NO_INLINE): Likewise.
33060         (fn): Use match function instead of strstr.
33061         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33062         (ret): Remove variable.
33063         (x): Likewise.
33064         (FAIL): Remove macro.
33065         (NO_INLINE): Likewise.
33066         (handle_signal): Use match function instead of strstr.
33067         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33068         (ret): Remove variable.
33069         (x): Likewise.
33070         (FAIL): Remove macro.
33071         (NO_INLINE): Likewise.
33072         (handle_signal): Use match function instead of strstr.
33074 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33076         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33078 2013-01-23  David S. Miller  <davem@davemloft.net>
33080         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33081         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33082         argument of CAS if possible.
33083         * sysdeps/sparc/sparc64/bits/atomic.h
33084         (__arch_compare_and_exchange_val_32_acq): Likewise.
33085         (__arch_compare_and_exchange_val_64_acq): Likewise.
33087 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33089         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33090         * sysdeps/posix/ulimit.c: ... this.
33091         Include <limits.h>.
33092         * sysdeps/unix/bsd/ulimit.c: Remove file.
33094 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33096         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33097         (LDFLAGS-tst-array5): Likewise.
33099 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33101         [BZ #15036]
33102         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33103         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33104         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33105         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33107 2013-01-21  David S. Miller  <davem@davemloft.net>
33109         * sysdeps/sparc/backtrace.c: New file.
33110         * sysdeps/sparc/sparc32/backtrace.h: New file.
33111         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33112         * sysdeps/sparc/sparc64/backtrace.h: New file.
33113         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33114         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33115         -funwind-tables.
33117 2013-01-21  Andreas Schwab  <schwab@suse.de>
33119         [BZ #15020]
33120         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33121         closed its stdout.
33123 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33126         "mpa2.h".
33127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33129 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33130             Mark Mitchell  <mark@codesourcery.com>
33131             Tom de Vries  <tom@codesourcery.com>
33132             Paul Pluzhnikov  <ppluzhnikov@google.com>
33134         * debug/tst-backtrace2.c: New file.
33135         * debug/tst-backtrace3.c: Likewise.
33136         * debug/tst-backtrace4.c: Likewise.
33137         * debug/tst-backtrace5.c: Likewise.
33138         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33139         (CFLAGS-tst-backtrace3.c): Likewise.
33140         (CFLAGS-tst-backtrace4.c): Likewise.
33141         (CFLAGS-tst-backtrace5.c): Likewise.
33142         (LDFLAGS-tst-backtrace2): Likewise.
33143         (LDFLAGS-tst-backtrace3): Likewise.
33144         (LDFLAGS-tst-backtrace4): Likewise.
33145         (LDFLAGS-tst-backtrace5): Likewise.
33146         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33147         tst-backtrace4 and tst-backtrace5.
33149 2013-01-18  Anton Blanchard  <anton@samba.org>
33150             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33152         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33153         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33154         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33155         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33157         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33158         "+r" and remove output regs list as redundant.  Add explicit inline
33159         asm to specify register of return val to work around compiler codegen
33160         bug.  Remove (int) cast on return value.  Add return type parameter to
33161         use in macro so that this macro does not truncate return value for
33162         64-bit values.
33163         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33164         pass to INTERNAL_VSYSCALL_NCS.
33165         (INLINE_VSYSCALL): Add 'long int' as return type to
33166         INTERNAL_VSYSCALL_NCS macro invocation.
33167         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33168         INTERNAL_VSYSCALL_NCS macro invocation.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33171 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33173         [BZ #14496]
33174         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33175         Fix application of SIMD FP exception mask.
33177         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33178         mp_no from a power of two.
33179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33180         __mpexp_twomm1.  Use __pow_mp.
33182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33183         multiplication.
33185 2013-01-17  David S. Miller  <davem@davemloft.net>
33187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33189 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33191         [BZ #15023]
33192         * include/complex.h: Condition contents on [!_COMPLEX_H].
33193         (__kernel_casinhf): New prototype.
33194         (__kernel_casinh): Likewise.
33195         (__kernel_casinhl): Likewise.
33196         * math/Makefile (libm_calls): Add k_casinh.
33197         * math/k_casinh.c: New file.
33198         * math/k_casinhf.c: Likewise.
33199         * math/k_casinhl.c: Likewise.
33200         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33201         finite nonzero arguments.
33202         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33203         finite nonzero arguments.
33204         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33205         finite nonzero arguments.
33206         * math/s_casinh.c: Do not include <float.h>.
33207         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33208         * math/s_casinhf.c: Do not include <float.h>.
33209         (__casinhf): Move code for finite nonzero arguments to
33210         k_casinhf.c.
33211         * math/s_casinhl.c: Do not include <float.h>.
33212         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33213         redefine.
33214         (__casinhl): Move code for finite nonzero arguments to
33215         k_casinhl.c.
33216         * math/libm-test.inc (cacos_test): Add more tests.
33217         * sysdeps/i386/fpu/libm-test-ulps: Update.
33218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33220 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33222         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33223         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33224         [!HAVE_MREMAP]: Remove [defined linux] case.
33225         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33227 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33229         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33231 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33233         * elf/elf.h (R_386_SIZE32): New relocation.
33234         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33235         R_386_SIZE32.
33236         (elf_machine_rela): Likewise.
33237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33238         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33240 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33242         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33243         (FP_FAST_FMA): Do not define.
33244         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33245         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33246         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33247         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33248         !_SOFT_FLOAT]: Likewise.
33249         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33250         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33251         value.
33252         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33253         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33254         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33255         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33256         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33257         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33258         file.
33260 2013-01-16  Andreas Schwab  <schwab@suse.de>
33262         [BZ #14327]
33263         * include/stdlib.h (__mktemp): Add declaration.
33264         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33265         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33267 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33270         definitions.
33271         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33272         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33273         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33274         definitions here.
33275         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33276         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33277         definitions.
33278         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33279         and ONE.
33280         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33281         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33282         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33283         definitions.
33284         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33285         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33286         definitions.
33287         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33289         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33291 2013-01-15  David S. Miller  <davem@davemloft.net>
33293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33294         trunc{,f} to libm-sysdep_routes.
33295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33297         file.
33298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33300         file.
33301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33302         file.
33303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33305         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33306         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33307         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33308         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33309         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33310         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33313         nearbyint{,f} to libm-sysdep_routes.
33314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33316         New file.
33317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33318         file.
33319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33320         New file.
33321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33322         file.
33323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33325         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33326         file.
33327         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33328         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33329         file.
33330         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33331         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33332         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33334         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33335         libc_feholdexcept and libc_fesetenv.
33337 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33339         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33341 2013-01-14  David S. Miller  <davem@davemloft.net>
33343         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33344         (SPARC_ASM_VIS2_IFUNC): Likewise.
33345         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33347         use of 'siam' instruction.
33348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33349         Likewise.
33350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33351         Likewise.
33352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33353         Likewise.
33354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33359         file.
33360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33361         file.
33362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33363         file.
33364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33365         file.
33366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33368         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33371         new VIS2 routines.
33372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33375         Likewise.
33376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33381         routines to libm-sysdep_routines.
33382         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33385         fdim/fdimf to libm-sysdep_routines.
33386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33387         file.
33388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33390         file.
33391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33394         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33395         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33396         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33397         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33399 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33401         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33402         to optimize copies.
33404         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33409         local variable MPTWO.
33410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33411         Likewise.
33413 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33415         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33416         GLOB_NOESCAPE.
33418 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33420         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33422 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33424         * manual/pattern.texi (glob_t): Document gl_flags.
33425         (glob64_t): Likewise.
33427 2013-01-11  David S. Miller  <davem@davemloft.net>
33429         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33430         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33431         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33432         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33433         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33434         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33435         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33436         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33437         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33438         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33439         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33440         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33441         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33443         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33444         sparc V9 rather than using V8 code.
33445         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33446         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33448         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33449         Move to...
33450         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33451         Here.
33453 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33455         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33456         not in the main loop.
33457         * configure: Regenerated.
33459 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33461         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33462         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33463         to just #else.
33464         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33465         [!__GLIBC_HAVE_LONG_LONG] case.
33466         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33467         condition to just #else.
33468         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33469         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33470         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33471         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33472         unconditional.
33473         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33474         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33475         #elif condition to just #else.
33476         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33477         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33478         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33479         #elif condition to just #else.
33481 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33483         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33484         (EF_MIPS_ARCH_64): Fix value.
33485         (EF_MIPS_ARCH_32R2): New.
33486         (EF_MIPS_ARCH_64R2): New.
33488 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33490         * Makeconfig (+link-pie-before-libc): New.
33491         (+link-pie-after-libc): Likewise.
33492         (+link-pie-tests): Likewise.
33493         (+link-pie): Rewritten.
33494         (link-before-libc): Remove $(config-LDFLAGS).
33495         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33496         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33497         (config-LDFLAGS): Renamed to ...
33498         (rtld-LDFLAGS): This.
33499         (rtld-tests-LDFLAGS): New macro.
33500         (link-libc-rpath-link): Likewise.
33501         (link-libc-tests-rpath-link): Likewise.
33502         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33503         (link-libc): Prepand $(link-libc-rpath-link).
33504         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33505         (test-program-prefix): New macro.
33506         (test-via-rtld-prefix): Likewise.
33507         (test-program-cmd): Likewise.
33508         (host-test-program-cmd): Likewise.
33509         * Makefile ($(common-objpfx)testrun.sh): Replace
33510         $(run-program-prefix) with $(test-program-prefix).
33511         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33512         $(rtld-LDFLAGS).
33513         ($(common-objpfx)shlib.lds): Likewise.
33514         (build-module-helper): Likewise.
33515         ($(common-objpfx)format.lds): Likewise.
33516         * Rules (binaries-pie-tests): New.
33517         (binaries-pie-notests): Likewise.
33518         (binaries-pie): Rewritten.
33519         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33520         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33521         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33522         (make-test-out): Replace $(host-built-program-cmd) with
33523         $(host-test-program-cmd).
33524         * config.make.in (build-hardcoded-path-in-tests): New variable.
33525         * configure.in (--enable-hardcoded-path-in-tests): New configure
33526         option.
33527         (hardcoded_path_in_tests): New AC_SUBST.
33528         * configure: Regenerated.
33529         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33530         $(built-program-cmd) with $(test-program-cmd).
33531         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33532         (test_program_cmd): This.
33533         * elf/Makefile ($(objpfx)order.out): Run test with
33534         $(test-program-prefix).
33535         ($(objpfx)order2.out): Likewise.
33536         ($(objpfx)tst-initorder.out): Likewise.
33537         ($(objpfx)tst-initorder2.out): Likewise.
33538         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33539         $(test-program-cmd).
33540         ($(objpfx)tst-array1-static.out): Likewise.
33541         ($(objpfx)tst-array2.out): Likewise.
33542         ($(objpfx)tst-array3.out): Likewise.
33543         ($(objpfx)tst-array4.out): Likewise.
33544         ($(objpfx)tst-array5.out): Likewise.
33545         ($(objpfx)tst-array5-static.out): Likewise.
33546         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33547         $(test-program-cmd).
33548         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33549         $(run-program-prefix) with $(test-program-prefix).
33550         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33551         (test_program_prefix): This.
33552         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33553         $(run-program-prefix) with $(test-program-prefix).
33554         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33555         (test_program_prefix): This.
33556         * iconvdata/tst-tables.sh: Likewise.
33557         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33558         $(run-program-prefix) with $(test-program-prefix).
33559         ($(objpfx)tst-translit.out): Likewise.
33560         ($(objpfx)tst-gettext2.out): Likewise.
33561         ($(objpfx)tst-gettext4.out): Likewise.
33562         ($(objpfx)tst-gettext6.out): Likewise.
33563         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33564         (test_program_prefix): This.
33565         * intl/tst-gettext2.sh: Likewise.
33566         * intl/tst-gettext4.sh  Likewise.
33567         * intl/tst-gettext6.sh: Likewise.
33568         * intl/tst-translit.sh: Likewise.
33569         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33570         with $(test-program-cmd).
33571         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33572         $(run-program-prefix) with $(test-program-prefix).
33573         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33574         (test_program_prefix): This.
33575         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33576         $(run-program-prefix) with $(test-program-prefix).
33577         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33578         (test_program_prefix): This.
33579         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33580         * posix/Makefile ($(objpfx)globtest.out): Replace
33581         $(run-via-rtld-prefix) and $(test-wrapper) with
33582         $(test-program-prefix) and $(test-via-rtld-prefix).
33583         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33584         $(test-program-prefix).
33585         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33586         $(host-test-program-cmd).
33587         (tst-spawn-ARGS): Likewise.
33588         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33589         $(test-program-prefix).
33590         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33591         (test_via_rtld_prefix): This.
33592         (test_wrapper): Renamed to ...
33593         (test_program_prefix): This.
33594         (run_program_prefix): Replaced by test_program_prefix.
33595         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33596         (test_program_prefix): This.
33597         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33598         with $(host-test-program-cmd).
33599         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33600         $(run-program-prefix) with $(test-program-prefix).
33601         ($(objpfx)tst-printf.out): Likewise.
33602         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33603         $(test-program-cmd).
33604         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33605         (test_program_prefix): This.
33606         * stdio-common/tst-unbputc.sh: Likewise.
33607         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33608         $(run-program-prefix) with $(test-program-prefix).
33609         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33610         (test_program_prefix): This.
33611         * string/Makefile ($(objpfx)tst-svc.out):  Replace
33612         $(built-program-cmd) with $(test-program-cmd).
33614 2013-01-11  Andreas Jaeger  <aj@suse.de>
33616         [BZ #15003]
33617         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33618         value. Sync with Linux 3.7.
33620 2013-01-10  David S. Miller  <davem@davemloft.net>
33622         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33623         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33624         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33626 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33628         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33629         never set.
33630         * configure: Regenerated.
33632 2013-01-10  David S. Miller  <davem@davemloft.net>
33634         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33635         sparc V9 rather than using V8 code.
33636         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33637         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33639 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33641         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33642         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33643         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33644         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33645         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33646         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33647         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33648         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33649         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33650         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33651         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33652         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33653         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33654         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33655         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33656         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33657         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33658         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33659         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33660         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33661         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33662         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33663         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33664         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33665         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33666         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33667         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33669 2013-01-10  David S. Miller  <davem@davemloft.net>
33671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33673 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33675         * posix/Makefile (tests-static): New variable.
33676         (tests): Add $(tests-static).
33677         (tst-exec-static-ARGS): New variable.
33678         (tst-spawn-static-ARGS): Likewise.
33679         * posix/tst-exec-static.c: New file.
33680         * posix/tst-spawn-static.c: Likewise.
33681         * posix/tst-exec.c: Support run directly.
33682         * posix/tst-spawn.c: Likewise.
33684 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
33686         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33687         long.
33688         * math/bits/mathcalls.h (llrint): Likewise.
33689         (llround): Likewise.
33690         * stdlib/stdlib.h (struct drand48_data): Likewise.
33691         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33692         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33693         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33694         Likewise.
33695         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33696         Likewise.
33697         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33698         (elf_greg_t): Likewise.
33699         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33700         (__jmp_buf): Likewise.
33701         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33702         definitions.
33703         (llrint): Likewise, for all definitions.
33704         (llrintl): Likewise.
33706         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33707         Remove [__GNUC__] condition.
33708         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33709         condition to just [__USE_ISOC99].
33710         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33712 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33714         [BZ #14200]
33715         * sysdeps/unix/sysv/linux/x86/bits/environments.h
33716         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33717         defined.
33718         (_POSIX_V6_ILP32_OFF32): Likewise.
33719         (_XBS5_ILP32_OFF32): Likewise.
33720         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33721         (__ILP32_OFFBIG_LDFLAGS): Likewise.
33723 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33725         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33727         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33728         doubles __mpexp_twomm1.  Adjust usage.
33729         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33730         Remove.
33732 2013-01-10  Andreas Schwab  <schwab@suse.de>
33734         [BZ #14964]
33735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33736         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33738 2013-01-09  David S. Miller  <davem@davemloft.net>
33740         [BZ #15003]
33741         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33742         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33743         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33744         (TCP_FASTOPEN): Define.
33745         (tcp_repair_opt): New structure.
33746         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33747         enum values.
33748         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33749         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33750         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33751         (tcp_cookie_transactions): New structure.
33753 2013-01-09  Anton Blanchard  <anton@samba.org>
33755         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33756         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33757         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33758         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33760 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
33762         * include/features.h (__USE_ANSI): Remove.
33764 2013-01-09  Roland McGrath  <roland@hack.frob.com>
33766         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33768         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33770 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33772         * sysdeps/s390/fpu/libm-test-ulps: Update.
33774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33776         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33777         (__acr): Likewise.
33778         (__cpy): Likewise.
33779         (norm): Likewise.
33780         (denorm): Likewise.
33781         (__mp_dbl): Likewise.
33782         (__dbl_mp): Likewise.
33783         (add_magnitudes): Likewise.
33784         (sub_magnitudes): Likewise.
33785         (__add): Likewise.
33786         (__sub): Likewise.
33787         (__mul): Likewise.
33788         (__inv): Likewise.
33789         (__dvd): Likewise.
33790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33791         (__acr): Likewise.
33792         (__cpy): Likewise.
33793         (norm): Likewise.
33794         (denorm): Likewise.
33795         (__mp_dbl): Likewise.
33796         (__dbl_mp): Likewise.
33797         (add_magnitudes): Likewise.
33798         (sub_magnitudes): Likewise.
33799         (__add): Likewise.
33800         (__sub): Likewise.
33801         (__mul): Likewise.
33802         (__inv): Likewise.
33803         (__dvd): Likewise.
33804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33805         (__acr): Likewise.
33806         (__cpy): Likewise.
33807         (norm): Likewise.
33808         (denorm): Likewise.
33809         (__mp_dbl): Likewise.
33810         (__dbl_mp): Likewise.
33811         (add_magnitudes): Likewise.
33812         (sub_magnitudes): Likewise.
33813         (__add): Likewise.
33814         (__sub): Likewise.
33815         (__mul): Likewise.
33816         (__inv): Likewise.
33817         (__dvd): Likewise.
33819 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33821         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33822         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33823         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33824         2 && __USE_EXTERN_INLINES]: Likewise.
33826 2013-01-08  Andreas Jaeger  <aj@suse.de>
33828         [BZ# 14985]
33829         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33830         Remove.
33831         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33832         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33834 2013-01-07  Anton Blanchard  <anton@samba.org>
33836         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33837         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33838         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33839         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33840         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33841         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33842         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33843         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33845         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33846         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33847         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33848         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33849         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33850         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33851         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33852         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33853         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33854         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33855         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33856         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33857         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33858         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33859         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33860         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33861         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33862         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33863         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33865         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33866         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33868         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33869         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33870         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33871         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33872         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33873         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33874         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33875         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33876         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33877         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33878         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33880 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33882         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33883         (__MALLOC_PMT): Likewise.
33884         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33885         [__GNUC__], only on [_LIBC].
33886         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33887         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33888         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33889         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33890         forward declaration.
33891         (realloc_hook_ini): Likewise.
33892         (memalign_hook_ini): Likewise.
33893         (__libc_memalign): Do not use __MALLOC_PMT in variable
33894         declaration.
33895         (__libc_valloc): Likewise.
33896         (__libc_pvalloc): Likewise.
33897         (__libc_calloc): Likewise.
33898         (__posix_memalign): Likewise.
33900         [BZ #14996]
33901         * math/s_casinh.c: Include <float.h>.
33902         (__casinh): Do not do computation with squaring and square root
33903         for large arguments.
33904         * math/s_casinhf.c: Include <float.h>.
33905         (__casinhf): Do not do computation with squaring and square root
33906         for large arguments.
33907         * math/s_casinhl.c: Include <float.h>.
33908         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33909         (__casinhl): Do not do computation with squaring and square root
33910         for large arguments.
33911         * math/libm-test.inc (casin_test): Add more tests.
33912         (casinh_test): Likewise.
33913         * sysdeps/i386/fpu/libm-test-ulps: Update.
33914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33916 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33918         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33919         (__x86_64_raw_data_cache_size): Likewise.
33920         (__x86_64_data_cache_size_half): Likewise.
33921         (__x86_64_raw_data_cache_size_half): Likewise.
33922         (__x86_64_shared_cache_size): Likewise.
33923         (__x86_64_raw_shared_cache_size): Likewise.
33924         (__x86_64_shared_cache_size_half): Likewise.
33925         (__x86_64_raw_shared_cache_size_half): Likewise.
33926         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33927         to ...
33928         (__x86_data_cache_size): This.
33929         (__x86_64_raw_data_cache_size): Renamed to ...
33930         (__x86_raw_data_cache_size): This.
33931         (__x86_64_data_cache_size_half): Renamed to ...
33932         (__x86_data_cache_size_half): This.
33933         (__x86_64_raw_data_cache_size_half): Renamed to ...
33934         (__x86_raw_data_cache_size_half): This.
33935         (__x86_64_shared_cache_size): Renamed to ...
33936         (__x86_shared_cache_size): This.
33937         (__x86_64_raw_shared_cache_size): Renamed to ...
33938         (__x86_raw_shared_cache_size): This.
33939         (__x86_64_shared_cache_size_half): Renamed to ...
33940         (__x86_shared_cache_size_half): This.
33941         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33942         (__x86_raw_shared_cache_size_half): This.
33943         * sysdeps/x86_64/memcpy.S: Updated.
33944         * sysdeps/x86_64/memset.S: Likewise.
33945         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33946         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33947         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33949 2013-01-04  David S. Miller  <davem@davemloft.net>
33951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33953 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33955         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33956         1 to avoid redefinition warning.
33957         (__USE_GNU): Don't define.
33958         (init_signaling_nan): Protoize.
33960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33962 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33964         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33966         (__cpymn): Likewise.
33967         (norm): Remove commented code.
33968         (denorm): Likewise.
33969         (__mp_dbl): Likewise.
33970         (__inv): Likewise.
33971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33972         (__cpymn): Likewise.
33973         (norm): Remove commented code.
33974         (denorm): Likewise.
33975         (__mp_dbl): Likewise.
33976         (__inv): Likewise.
33978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33979         mp_no value for 1.0 and 2.0.
33980         (norm): Use RADIXI instead of radixi.d.
33981         (denorm): Likewise.
33982         (__mul): Use 0.0 instead of zero.d.
33983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33984         mp_no value for 1.0 and 2.0.
33985         (norm): Use RADIXI instead of radixi.d.
33986         (denorm): Likewise.
33987         (__mul): Use 0.0 instead of zero.d.
33989 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33991         [BZ #14994]
33992         * math/s_casinh.c (__casinh): Reduce finite argument to first
33993         quadrant then set signs of results at the end.
33994         * math/s_casinhf.c (__casinhf): Likewise.
33995         * math/s_casinhl.c (__casinhl): Likewise.
33996         * math/libm-test.inc (casin_test): Add more tests.
33997         (casinh_test): Likewise.
33998         * sysdeps/i386/fpu/libm-test-ulps: Update.
33999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34001 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34003         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34005         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34007         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34008         declarations.
34009         (denorm): Likewise.
34010         (__mp_dbl): Likewise.
34011         (__inv): Likewise.
34013         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34014         and adjust the header comment.
34016         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34017         variable name from declaration.
34019 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34022         Initialize COMMON_CPUID_INDEX_7 element.
34023         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34024         (CPUID_RTM): Likewise.
34025         (HAS_RTM): Likewise.
34026         (COMMON_CPUID_INDEX_7): New enum.
34028 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34030         [BZ #14981]
34031         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34032         size is zero, record memory as freed.
34034 2013-01-03  Andreas Jaeger  <aj@suse.de>
34036         * po/ia.po: Add new Interlingua translation.
34038 2012-01-03  Allan McRae  <allan@archlinux.org>
34040         * locale/programs/localedef.c: Fix description of '--posix' flag.
34042 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34044         * NEWS: Update dates in second copyright notice.
34045         * README: Update copyright dates in example.
34046         * manual/libc.texinfo: Update copyright dates.
34047         * scripts/test-installation.pl: Update copyright date in --version
34048         output.
34050         * hurd/ctty-input.c: Fix copyright notice formatting.
34051         * hurd/ctty-output.c: Likewise.
34052         * hurd/dtable.c: Likewise.
34053         * hurd/hurd-raise.c: Likewise.
34054         * hurd/hurdprio.c: Likewise.
34055         * hurd/msgportdemux.c: Likewise.
34056         * misc/sys/file.h: Likewise.
34057         * misc/sys/ioctl.h: Likewise.
34058         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34059         * sysdeps/mach/hurd/chdir.c: Likewise.
34060         * sysdeps/mach/hurd/fchdir.c: Likewise.
34061         * sysdeps/mach/hurd/rename.c: Likewise.
34062         * sysdeps/mach/hurd/rmdir.c: Likewise.
34063         * sysdeps/mach/hurd/seekdir.c: Likewise.
34064         * sysdeps/mach/hurd/setsid.c: Likewise.
34065         * sysdeps/posix/wait3.c: Likewise.
34067         * All files with FSF copyright notices: Update copyright dates
34068         using scripts/update-copyrights.
34069         * intl/plural.c: Regenerated.
34070         * locale/programs/charmap-kw.h: Likewise.
34071         * locale/programs/locfile-kw.h: Likewise.
34073 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34075         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34076         four values.
34078         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34079         calculation loop and add branch prediction.
34081         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34082         check access beyond bounds of m1np.
34084         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34085         MPTWO.
34086         (__inv): Remove local variable MPTWO to use the global
34087         constant.
34088         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34089         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34090         variable MPTWO.
34091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34092         MP3HALFS static const.
34094 2013-01-01  David S. Miller  <davem@davemloft.net>
34096         * po/ca.po: Update from translation team.
34098 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34100         * scripts/update-copyrights: New file.
34101         * Makeconfig: Reformat copyright notice.
34102         * ctype/ctype.h: Likewise.
34103         * debug/swprintf_chk.c: Likewise.
34104         * elf/dl-cache.c: Likewise.
34105         * elf/dl-debug.c: Likewise.
34106         * elf/dl-object.c: Likewise.
34107         * grp/initgroups.c: Likewise.
34108         * hurd/Makefile: Likewise.
34109         * hurd/hurd/signal.h: Likewise.
34110         * hurd/hurdfault.c: Likewise.
34111         * hurd/hurdioctl.c: Likewise.
34112         * hurd/hurdlookup.c: Likewise.
34113         * hurd/intr-msg.c: Likewise.
34114         * iconv/gconv_open.c: Likewise.
34115         * libio/swprintf.c: Likewise.
34116         * locale/lc-ctype.c: Likewise.
34117         * locale/nl_langinfo.c: Likewise.
34118         * mach/Machrules: Likewise.
34119         * mach/Makefile: Likewise.
34120         * malloc/obstack.h: Likewise.
34121         * manual/Makefile: Likewise.
34122         * manual/tsort.awk: Likewise.
34123         * misc/bits/stab.def: Likewise.
34124         * nis/nis_print_group_entry.c: Likewise.
34125         * nis/nis_table.c: Likewise.
34126         * nis/nss_compat/compat-pwd.c: Likewise.
34127         * nis/nss_compat/compat-spwd.c: Likewise.
34128         * po/Makefile: Likewise.
34129         * posix/fnmatch.c: Likewise.
34130         * posix/regex.h: Likewise.
34131         * resolv/Makefile: Likewise.
34132         * resolv/nss_dns/dns-network.c: Likewise.
34133         * resolv/res_hconf.c: Likewise.
34134         * scripts/gen-sorted.awk: Likewise.
34135         * soft-fp/soft-fp.h: Likewise.
34136         * stdio-common/printf.h: Likewise.
34137         * stdlib/monetary.h: Likewise.
34138         * stdlib/random.c: Likewise.
34139         * stdlib/random_r.c: Likewise.
34140         * sysdeps/generic/Makefile: Likewise.
34141         * sysdeps/gnu/Makefile: Likewise.
34142         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34143         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34144         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34145         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34146         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34147         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34148         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34149         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34150         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34152         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34153         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34154         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34155         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34156         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34157         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34158         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34159         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34160         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34161         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34162         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34163         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34164         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34165         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34166         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34167         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34168         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34169         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34170         * sysdeps/mach/hurd/errnos.awk: Likewise.
34171         * sysdeps/mach/hurd/fork.c: Likewise.
34172         * sysdeps/mach/hurd/getcwd.c: Likewise.
34173         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34174         * sysdeps/mach/hurd/mmap.c: Likewise.
34175         * sysdeps/mach/hurd/utimes.c: Likewise.
34176         * sysdeps/mach/hurd/xmknod.c: Likewise.
34177         * sysdeps/posix/profil.c: Likewise.
34178         * sysdeps/posix/readdir_r.c: Likewise.
34179         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34180         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34181         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34182         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34184         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34185         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34186         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34188         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34189         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34190         * sysdeps/pthread/lio_listio.c: Likewise.
34191         * sysdeps/sparc/dl-procinfo.h: Likewise.
34192         * sysdeps/unix/i386/sysdep.S: Likewise.
34193         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34194         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34195         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34196         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34198         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34199         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34200         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34201         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34202         * sysdeps/wordsize-32/divdi3.c: Likewise.
34203         * time/sys/time.h: Likewise.
34204         * wcsmbs/Makefile: Likewise.
34206 2013-01-01  David S. Miller  <davem@davemloft.net>
34208         * po/fr.po: Update from translation team.
34210         * catgets/gencat.c: Update copyright year.
34211         * csu/version.c: Likewise.
34212         * debug/catchsegv.sh: Likewise.
34213         * debug/pcprofiledump.c: Likewise.
34214         * debug/xtrace.sh: Likewise.
34215         * elf/ldconfig.c: Likewise.
34216         * elf/ldd.bash.in: Likewise.
34217         * elf/pldd.c: Likewise.
34218         * elf/sotruss.ksh: Likewise.
34219         * elf/sprof.c: Likewise.
34220         * iconv/iconv_prog.c: Likewise.
34221         * iconv/iconvconfig.c: Likewise.
34222         * locale/programs/locale.c: Likewise.
34223         * locale/programs/localedef.c: Likewise.
34224         * login/programs/pt_chown.c: Likewise.
34225         * malloc/memusage.sh: Likewise.
34226         * malloc/memusagestat.c: Likewise.
34227         * malloc/mtrace.pl: Likewise.
34228         * nscd/nscd.c: Likewise.
34229         * nss/getent.c: Likewise.
34230         * nss/makedb.c: Likewise.
34231         * posix/getconf.c: Likewise.
34233 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34235         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34236         numbers.
34238 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34240         * math/bits/mathcalls.h (modf): Use __nonnull.
34242 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34244         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34245         (split): Use macro CN instead of the bare value.
34246         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34247         could be used.
34248         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34249         instead of the bare value.
34250         (power1): Likewise.
34252 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34255         __ATAN_TWOM.
34256         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34258         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34259         their values.
34260         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34261         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34262         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34263         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34265 2012-12-28  Andreas Jaeger  <aj@suse.de>
34267         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34268         values are from Linux 3.7.
34270         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34271         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34273 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34275         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34276         TRUE case.
34278         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34279         (norm): Likewise.
34280         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34281         variables with preprocessor constants.
34282         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34283         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34284         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34286 2012-12-27  Bruno Haible  <bruno@clisp.org>
34288         [BZ #14317]
34289         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34290         only if needed.
34292 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34295         and use variable directly.
34296         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34298         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34299         MPONE.
34300         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34301         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34302         variable MPONE.
34303         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34304         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34305         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34306         include directive.  Remove local variable MPONE.
34307         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34308         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34309         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34311 2012-12-25  David S. Miller  <davem@davemloft.net>
34313         * version.h (RELEASE): Set to "development".
34314         (VERSION): Set to "2.17.90".
34315         * NEWS: Add 2.18 section.
34317 2012-12-21  David S. Miller  <davem@davemloft.net>
34319         * po/hr.po: Update from translation team.
34321 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34323         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34325 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34327         * NEWS:  Mention new memcpy for MIPS.
34329 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34331         * manual/contrib.texi (Contributors): Spelling correction.
34333 2012-12-15  David S. Miller  <davem@davemloft.net>
34335         * po/ru.po: Update from translation team.
34337 2012-12-13  David S. Miller  <davem@davemloft.net>
34339         * NEWS: Mention IFUNC testsuite enhancements.
34341         * po/pl.po: Update from translation team.
34342         * po/bg.po: Likewise.
34344         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34345         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34347 2012-12-11  David S. Miller  <davem@davemloft.net>
34349         * po/sv.po: Update from translation team.
34351         * po/vi.po: Update from translation team.
34353         * po/cs.po: Update from translation team.
34355         * po/de.po: Update from translation team.
34356         * po/eo.po: Likewise.
34357         * po/nl.po: Likewise.
34359 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34361         [BZ #14246]
34362         * manual/argp.texi (Argp Helper Functions): Move node to follow
34363         Argp Parsing State.
34365         [BZ #14872]
34366         * manual/conf.texi (Limits on File System Capacity): Mention if
34367         terminating null is included in the max size.
34369 2012-12-10  Andreas Jaeger  <aj@suse.de>
34371         * po/cs.po: Update from translation team.
34373 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34375         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34376         void pointer and cast to uintptr_t.
34377         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34378         path.
34379         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34380         * sysdeps/s390/s390-64/memset.S: Likewise.
34382 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34384         [BZ #14833]
34385         * menual/message.texi (Message Translation): Fix typos.
34386         (Helper programs for gettext): Likewise.
34388 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34390         [BZ #14898]
34391         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34392         Change to -1.
34394 2012-12-07  David S. Miller  <davem@davemloft.net>
34396         * po/libc.pot: Update.
34398 2012-12-07  Richard Henderson  <rth@redhat.com>
34400         [BZ #10114]
34401         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34402         normal/normal case to before the switch.
34403         (_FP_DIV): Likewise.
34405 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34406             Mike Frysinger  <vapier@gentoo.org>
34408         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34409         check for __NR_fadvise64_64.
34411 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34413         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34414         0, not just to plain "0" as a statement.
34415         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34416         with cw.
34418 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34420         * NEWS: Use sourceware.org in Bugzilla URL.
34422 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34425         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34427         * stdio-common/tst-put-error.c (do_test): Add newline to the
34428         padded test to ensure flush.
34430 2012-12-05  Jeff Law  <law@redhat.com>
34432         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34434 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34436         * README: Don't refer to ports add-on as distributed separately.
34437         Mention AArch64 in list of systems supported in the ports add-on.
34439         * LICENSES: Add more non-FSF copyright and license notices.
34441         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34442         ((unused)).
34444         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34446         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34447         10000 as width of padded output.
34449 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34451         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34453         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34454         variable LX with __attribute__ ((unused)).
34455         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34456         Likewise.
34457         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34458         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34459         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34460         with __attribute__ ((unused)).
34462 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34464         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34466 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34468         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34469         (CFLAGS-nldbl-acos.c): New variable.
34470         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34471         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34472         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34473         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34474         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34475         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34476         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34477         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34478         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34479         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34480         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34481         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34482         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34483         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34484         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34485         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34486         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34487         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34488         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34489         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34490         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34491         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34492         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34493         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34494         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34495         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34496         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34497         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34498         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34499         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34500         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34501         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34502         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34503         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34504         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34505         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34506         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34507         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34508         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34509         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34510         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34511         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34512         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34513         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34514         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34515         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34516         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34517         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34518         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34519         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34520         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34521         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34522         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34523         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34524         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34525         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34526         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34527         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34528         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34529         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34530         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34531         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34532         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34533         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34534         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34535         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34536         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34537         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34538         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34539         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34540         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34541         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34542         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34543         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34544         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34545         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34546         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34547         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34548         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34549         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34550         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34551         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34552         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34553         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34554         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34555         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34556         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34557         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34558         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34559         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34560         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34561         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34562         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34563         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34564         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34565         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34566         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34569         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34571         [BZ #14914]
34572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34573         whole low double instead of just low 47 bits when splitting values
34574         into two parts.
34576 2012-12-03  Allan McRae  <allan@archlinux.org>
34578         * manual/stdio.texi (Predefined Printf Handlers): Remove
34579         @hsep and @vsep usage.
34581 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34583         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34584         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34586 2012-12-03  Jeff Law  <law@redhat.com>
34588         * time/sys/time.h (settimeofday): Do not mark TV argument
34589         as __nonnull.
34591 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
34593         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34594         when currently writing and seek to current position when not.
34595         * libio/Makefile (tests): Remove bug-fclose1.
34596         * libio/bug-fclose1.c: Delete.
34598 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34600         * manual/arith.texi (feenableexcept): Fix typo.
34601         (fedisableexcept): Likewise.
34603 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34605         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34606         second, differently-typed declaration, rather than a cast.
34608 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34610         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34611         * include/rpc/svc.h: ... here.
34613 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
34615         [BZ #13013]
34616         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34617         depending n and resplen2 to catch cases where answer
34618         equals answerp2.
34620 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
34622         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34623         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34625 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
34627         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34629 2012-11-29  Roland McGrath  <roland@hack.frob.com>
34631         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34633 2012-11-28  Jeff Law  <law@redhat.com>
34635         [BZ #13761]
34636         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34637         dataset_temporary.  Track alloca usage into alloca_used.
34638         If dataset is large allocate and release it via malloc/free.
34640 2012-06-04  Florian Weimer  <fweimer@redhat.com>
34642         [BZ #14197]
34643         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34645 2012-11-28  David S. Miller  <davem@davemloft.net>
34647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34649 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34651         [BZ #14803]
34652         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34653         of pi/2 rounded to nearest to 64 bits.
34654         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34655         nearest to 64 bits.
34656         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34657         bits.
34659 2012-11-28  Jeff Law <law@redhat.com>
34660             Martin Osvald <mosvald@redhat.com>
34662         [BZ #14889]
34663         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34664         * sunrpc/svc.c: Include time.h.
34665         (__svc_accept_failed): New function.
34666         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34667         any reason other than EINTR, call __svc_accept_failed.
34668         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34669         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34671 2012-11-28  Andreas Schwab  <schwab@suse.de>
34673         * scripts/abilist.awk: Also handle indirect functions in .opd
34674         section.
34676 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #13881]
34679         * sysdeps/x86/fpu/powl_helper.c: New file.
34680         * sysdeps/x86/fpu/Makefile: Likewise.
34681         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34682         (p3): New object.
34683         (__ieee754_powl): Use __powl_helper for finite arguments except
34684         integer exponents below 8.
34685         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34686         (p3): New object.
34687         (__ieee754_powl): Use __powl_helper for finite arguments except
34688         integer exponents below 8.
34689         * math/libm-test.inc (pow_test): Add more tests and enable some
34690         previously disabled tests.
34691         * sysdeps/i386/fpu/libm-test-ulps: Update.
34692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34694 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34695             Carlos O'Donell  <carlos_odonell@mentor.com>
34697         * nss/makedb.c (is_prime): Assert that input is odd and greater
34698         than 4.  Note that fact in a comment too.
34699         (next_prime): Add 4 to input.
34701 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34703         [BZ #11741]
34704         * libio/Makefile (tests): Add test case tst-fwrite-error.
34705         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34706         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34707         * libio/tst-fwrite-error.c: New test case.
34709 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
34711         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34712         before casting to void *.
34713         * include/libc-internal.h (__pointer_type): New macro.
34714         (__integer_if_pointer_type_sub): Likewise.
34715         (__integer_if_pointer_type): Likewise.
34716         (cast_to_integer): Likewise.
34717         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34718         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34719         before casting to atomic64_t.
34720         (atomic_exchange_acq): Likewise.
34721         (__arch_exchange_and_add_body): Likewise.
34722         (__arch_add_body): Likewise.
34723         (atomic_add_negative): Likewise.
34724         (atomic_add_zero): Likewise.
34726 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
34728         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34729         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34730         (add_fdes): Likewise.
34731         (linear_search_fdes): Likewise.
34732         (binary_search_unencoded_fdes): Likewise.
34734 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
34736         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34738 2012-11-24  Adam Conrad  <adconrad@0c3.net>
34740         * configure.in: Autodetect C++ header directories.
34741         * configure: Regenerated.
34743 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
34745         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34747 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
34749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34751 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
34753         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34754         LDBL_MANT_DIG == 106]: Disable some tests.
34755         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34756         Likewise.
34757         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34758         Likewise.
34760         [BZ #14871]
34761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34762         input for small inputs.  Return +/- pi/2 for large inputs.
34763         * math/libm-test.inc (atan_test): Add more tests.
34765         * sysdeps/generic/unwind-dw2-fde-glibc.c
34766         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34767         __attribute__ ((unused)).
34769         [BZ #14645]
34770         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34771         x * y if x and y are nonzero and z is zero.
34773         [BZ #14811]
34774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34775         nonzero exponents with absolute value below 0x1p-117 to +/-
34776         0x1p-117.
34778         [BZ #14869]
34779         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34780         up arguments below 2**-450, not just those below 2**-500.
34781         * math/libm-test.inc (hypot_test): Add another test.
34783         [BZ #14868]
34784         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34785         Return a+b for ratio over 2**120, not 2**60.
34786         * math/libm-test.inc (hypot_test): Add another test.
34788         * math/libm-test.inc (clog_test): Use
34789         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34790         (clog10_test): Likewise.
34792         [BZ #6778]
34793         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34795 2012-11-22  Andreas Schwab  <schwab@suse.de>
34797         * sysdeps/i386/fpu/libm-test-ulps: Update.
34799 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
34801         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34802         printf output with newline.
34804 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
34806         [BZ #14865]
34807         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34808         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34809         -z nodlopen, -z initfirst and -z execstack support.
34810         * configure: Regenerated.
34812         * elf/elf.h (DF_1_NODIRECT): New macro.
34813         (DF_1_IGNMULDEF): Likewise.
34814         (DF_1_NOKSYMS): Likewise.
34815         (DF_1_NOHDR): Likewise.
34816         (DF_1_EDITED): Likewise.
34817         (DF_1_NORELOC): Likewise.
34818         (DF_1_SYMINTPOSE): Likewise.
34819         (DF_1_GLOBAUDIT): Likewise.
34820         (DF_1_SINGLETON): Likewise.
34821         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34822         DT_1_SUPPORTED_MASK bits.
34823         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34825 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34827         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34829 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34831         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34832         macro.
34834         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34835         (sendmmsg): Move declarations...
34836         * socket/sys/socket.h: ... here.
34837         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34838         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34839         include it from...
34840         * socket/recvmmsg.c: ... this new file.
34841         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34842         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34843         definition of __sendmmsg hidden.
34844         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34845         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34846         Move ENOSYS stub into and include it from...
34847         * socket/sendmmsg.c: ... this new file.
34848         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34849         (sysdep_routines): Move recvmmsg and sendmmsg...
34850         * socket/Makefile (routines): ... here.
34851         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34852         (GLIBC_PRIVATE): Add __sendmmsg.
34853         * include/sys/socket.h (__sendmmsg): Add declarations.
34854         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34855         sendmmsg.
34857 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34860         variable I1 with __attribute__ ((unused)).
34861         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34863 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34865         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34866         DUMMY variables with __attribute__ ((unused)).
34868         * bits/byteswap.h: Include <bits/types.h>.
34869         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34871 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34873         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34874         string_t.  Do not manually set errno.
34875         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34876         length with __strnlen.  Make sure to both set errno and return it on
34877         failure.
34879 2012-11-19  David S. Miller  <davem@davemloft.net>
34881         With help from Joseph Myers.
34882         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34883         very large arguments properly.
34884         * math/libm-test.inc (atan_test): New tests.
34885         (atan2_test): New tests.
34886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34889 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #14856]
34892         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34893         Define to 3.
34895         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34896         [POSIX] (EADDRNOTAVAIL): Likewise.
34897         [POSIX] (EAFNOSUPPORT): Likewise.
34898         [POSIX] (EALREADY): Likewise.
34899         [POSIX] (ECONNABORTED): Likewise.
34900         [POSIX] (ECONNREFUSED): Likewise.
34901         [POSIX] (ECONNRESET): Likewise.
34902         [POSIX] (EDESTADDRREQ): Likewise.
34903         [POSIX] (EDQUOT): Likewise.
34904         [POSIX] (EHOSTUNREACH): Likewise.
34905         [POSIX] (EIDRM): Likewise.
34906         [POSIX] (EISCONN): Likewise.
34907         [POSIX] (ELOOP): Likewise.
34908         [POSIX] (EMULTIHOP): Likewise.
34909         [POSIX] (ENETDOWN): Likewise.
34910         [POSIX] (ENETUNREACH): Likewise.
34911         [POSIX] (ENOBUFS): Likewise.
34912         [POSIX] (ENODATA): Likewise.
34913         [POSIX] (ENOLINK): Likewise.
34914         [POSIX] (ENOMSG): Likewise.
34915         [POSIX] (ENOPROTOOPT): Likewise.
34916         [POSIX] (ENOSR): Likewise.
34917         [POSIX] (ENOSTR): Likewise.
34918         [POSIX] (ENOTCONN): Likewise.
34919         [POSIX] (ENOTSOCK): Likewise.
34920         [POSIX] (EOPNOTSUPP): Likewise.
34921         [POSIX] (EOVERFLOW): Likewise.
34922         [POSIX] (EPROTO): Likewise.
34923         [POSIX] (EPROTONOSUPPORT): Likewise.
34924         [POSIX] (EPROTOTYPE): Likewise.
34925         [POSIX] (ESTALE): Likewise.
34926         [POSIX] (ETIME): Likewise.
34927         [POSIX] (ETXTBSY): Likewise.
34928         [POSIX] (EWOULDBLOCK): Likewise.
34929         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34930         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34931         [POSIX] (SEEK_CUR): Likewise.
34932         [POSIX] (SEEK_END): Likewise.
34933         [POSIX || UNIX98] (mode_t): Do not require.
34934         [POSIX] (off_t): Likewise.
34935         [POSIX] (pid_t): Likewise.
34936         [POSIX] (sys/stat.h): Do not allow header.
34937         [POSIX] (unistd.h): Likewise.
34938         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34939         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34940         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34941         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34942         require.
34943         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34944         sigevent): Specify elements.
34945         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34946         entry.
34947         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34948         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34950         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34951         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34952         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34953         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34954         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34955         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34956         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34957         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34958         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34959         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34960         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34961         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34962         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34963         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34964         Likewise.
34965         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34966         Likewise.
34967         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34968         Likewise.
34969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34970         Likewise.
34971         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34972         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34973         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34974         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34975         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34976         Specify lower bound on value.
34977         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34978         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34979         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34980         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34981         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34982         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34983         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34984         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34985         value.
34986         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34987         as optional.
34988         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34989         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34990         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34991         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34992         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34993         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34994         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34995         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34996         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34997         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34998         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34999         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35000         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35001         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35002         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35003         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35004         entry.
35005         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35006         optional.
35007         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35008         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35009         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35010         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35011         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35012         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35013         Likewise.
35014         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35015         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35016         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35017         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35018         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35019         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35020         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35021         as optional.
35022         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35023         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35024         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35025         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35026         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35027         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35028         specify as optional.
35029         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35030         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35031         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35032         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35033         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35034         [XPG3] (NL_LANGMAX): Likewise.
35035         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35036         [POSIX || XPG3] (NL_NMAX): Likewise.
35037         [POSIX || XPG3] (NL_SETMAX): Likewise.
35038         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35039         [XPG3] (NZERO): Likewise.
35040         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35041         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35042         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35043         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35044         (REG_ERANGE): Expect.
35045         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35046         optional-constant.
35047         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35048         Use (void) in prototype.
35049         [POSIX] (*_t): Allow.
35050         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35051         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35052         (WRDE_BADVAL): Expect.
35054         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35055         expect.
35056         [XPG3 || XPG4] (O_RSYNC): Likewise.
35057         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35058         Likewise.
35059         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35060         [XPG3 || XPG4] (sigqueue): Likewise.
35061         [XPG3 || XPG4] (sigtimedwait): Likewise.
35062         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35063         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35064         [XPG3 || XPG4] (vsnprintf): Likewise.
35065         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35066         Likewise.
35067         [XPG3 || XPG4] (blksize_t): Likewise.
35068         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35069         Likewise.
35070         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35071         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35072         [XPG3 || XPG4] (struct itimerspec): Likewise.
35073         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35074         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35075         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35076         [XPG3 || XPG4] (clockid_t): Likewise.
35077         [XPG3 || XPG4] (timer_t): Likewise.
35078         [XPG3 || XPG4] (clock_getres): Likewise.
35079         [XPG3 || XPG4] (clock_gettime): Likewise.
35080         [XPG3 || XPG4] (clock_settime): Likewise.
35081         [XPG3 || XPG4] (nanosleep): Likewise.
35082         [XPG3 || XPG4] (timer_create): Likewise.
35083         [XPG3 || XPG4] (timer_delete): Likewise.
35084         [XPG3 || XPG4] (timer_gettime): Likewise.
35085         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35086         [XPG3 || XPG4] (timer_settime): Likewise.
35087         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35088         [XPG3 || XPG4] (getlogin_r): Likewise.
35089         [XPG3 || XPG4] (pread): Likewise.
35090         [XPG3 || XPG4] (pthread_atfork): Likewise.
35091         [XPG3 || XPG4] (pwrite): Likewise.
35093         [BZ #14835]
35094         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35095         <bits/siginfo.h>.
35097 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35099         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35100         finalizing MALLSTREAM.
35102         * sysdeps/mach/hurd/syncfs.c: New file.
35104 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35106         [BZ #14719]
35107         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35108         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35109         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35110         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35111         (_nss_dns_gethostbyname4_r): Likewise.
35112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35113         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35115 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35117         [BZ #13763]
35118         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35120 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35122         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35123         * elf/cache.c (print_entry): Print ",AArch64" for
35124         FLAG_AARCH64_LIB64
35126         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35127         * elf/cache.c (print_entry): Print ",hard-float" for
35128         FLAG_ARM_LIBHF.
35130 2012-11-18  David S. Miller  <davem@davemloft.net>
35132         With help from Joseph Myers.
35133         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35134         cutoff to 2**-13.
35135         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35136         cutoff to 2**-25.
35137         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35138         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35139         small.
35140         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35141         * math/libm-test.inc (y0_test): New tests.
35142         (y1_test): New tests.
35143         * sysdeps/i386/fpu/libm-test-ulps: Update.
35144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35147 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35149         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35150         64-bit targets.
35151         * configure: Regenerated.
35153 2012-11-17  David S. Miller  <davem@davemloft.net>
35155         [BZ #14811]
35156         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35157         nonzero exponents with absolute value below 0x1p-128 to +/-
35158         0x1p-128.
35160 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35162         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35164         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35166         * posix/getconf-speclist.c: New file.
35167         * posix/posix-envs.def: Likewise.
35168         * posix/confstr.c (START_ENV_GROUP): New macro.
35169         (END_ENV_GROUP): Likewise.
35170         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35171         (KNOWN_PRESENT_ENV_STRING): Likewise.
35172         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35173         (UNKNOWN_ENVIRONMENT): Likewise.
35174         (confstr): Include posix-envs.def instead of handling
35175         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35176         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35177         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35178         (END_ENV_GROUP): Likewise.
35179         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35180         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35181         (UNKNOWN_ENVIRONMENT): Likewise.
35182         (__sysconf): Include posix-envs.def instead of handling associated
35183         cases directly here.
35184         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35185         preprocessing getconf-speclist.c rather than running getconf or
35186         generating empty file.
35188 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35190         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35192 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35194         [BZ #14672]
35195         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35197 2012-11-16  David S. Miller  <davem@davemloft.net>
35199         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35200         smaller than LDBL_EPSILON/2.0L, just return xm1.
35202 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35204         * elf/tst-array1.c (init): Set constructor priority to 1000.
35205         (fini): Set destructor priority to 1000.
35206         * elf/tst-array2dep.c: Likewise.
35208 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35210         [BZ #11741]
35211         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35212         (_IO_new_file_xsputn): Also return EOF if none of the input
35213         data was written when overflow failed.
35214         * libio/iopadn.c (_IO_padn): Likewise.
35215         * libio/iowpadn.c (_IO_wpadn): Likewise.
35216         * stdio-common/tst-put-error.c: Add copyright notice.
35217         (do_test): Add case for printing padded string.
35218         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35219         _IO_padn returned error.
35220         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35221         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35222         return EOF.
35224 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35226         * libio/libioP.h: Add comment note that the references to C++
35227         bits are now obsolete.
35229 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35231         * math/libm-test.inc (check_complex): Use asprintf.
35233 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35235         * debug/pcprofiledump.c (print_version): Update copyright year.
35236         * malloc/memusagestat.c (print_version): Likewise.
35238 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35240         [BZ #14831]
35241         * elf/Makefile (tests): Add tst-audit8.
35242         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35243         ($(objpfx)tst-audit8.out): New target.
35244         (tst-audit8-ENV): New variable.
35245         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35246         audit if l_reloc_result is NULL.
35247         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35248         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35249         * elf/tst-audit8.c: New file.
35251 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35253         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35254         * misc/Makefile (CFLAGS-select.c): Define.
35255         * posix/Makefile (CFLAGS-pause.c): Define.
35257 2012-11-13  David S. Miller  <davem@davemloft.net>
35259         * crypt/Makefile: Move test targets after toplevel Rules
35260         inclusion.  Grab any necessary sysdep routines when linking.
35261         * crypt/md5.c (md5_process_block): Remove define, we will always
35262         name it __md5_process_block.
35263         (md5_finish_ctx): Update md5_process_block call.
35264         (md5_stream): Likewise.
35265         (md5_process_bytes): Likewise.
35266         (md5_process_block): Rename to __md5_process_block and move to ...
35267         * crypt/md5-block.c: ... here.
35268         * crypt/sha256.c (sha256_process_block): Move to ...
35269         * crypt/sha256-block.c: ... here.
35270         * crypt/sha512.c (sha512_process_block): Move to ...
35271         * crypt/sha512-block.c: ... here.
35272         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35273         path.
35274         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35275         * sysdeps/sparc/sparc64/multiarch/Makefile
35276         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35277         crypt subdir.
35278         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35279         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35280         multiarch changes.
35281         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35282         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35283         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35284         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35285         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35286         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35287         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35288         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35289         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35290         file.
35291         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35292         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35293         file.
35294         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35296 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35298         * timezone/tzselect.ksh: Update from tzcode git revision
35299         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35300         * timezone/zdump.c: Likewise.
35301         * timezone/zic.c: Likewise.
35302         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35303         in TZVERSION setting, not $(PKGVERSION).
35304         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35305         REPORT_BUGS_TO settings.
35307         [BZ #14838]
35308         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35309         macro.
35311 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35313         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35314         detection to immediately after _FP_ROUND().
35315         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35316         bits are 0.
35318 2012-11-11  David S. Miller  <davem@davemloft.net>
35320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35321         inttypes.h
35322         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35323         __close rather than their public counterparts.
35325 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35327         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35328         file.
35329         [UNIX98] (sem_timedwait): Do not expect.
35330         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35331         [XPG4 || UNIX98] (sockatmark): Do not expect.
35332         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35333         (clock_getcpuclockid): Do not expect.
35334         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35335         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35336         Do not expect.
35337         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35338         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35339         [UNIX98] (vwscanf): Likewise.
35340         [UNIX98] (vswscanf): Likewise.
35342 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35344         * timezone/version.h: Remove file.
35345         * timezone/README: Do not refer to version.h.
35346         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35347         $(objpfx)version.h.
35348         ($(objpfx)zdump.o): Likewise.
35349         ($(objpfx)version.h): New target.
35351         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35352         2012i.
35353         * timezone/README: Don't mention modification to tzselect.ksh.
35354         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35355         work on unmodified tzselect.ksh.  Substitute version numbers in
35356         tzselect.ksh.
35358         * Makefile (format-me): Remove.
35359         (INSTALL): Adjust indentation.  Use commands directly instead of
35360         using $(format-me).
35362         * aclocal.m4 (ACX_PKGVERSION): New macro.
35363         (ACX_BUGURL): Likewise.
35364         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35365         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35366         (REPORT_BUGS_TO): Likewise.
35367         * configure: Regenerated.
35368         * config.h.in (PKGVERSION): New macro.
35369         (REPORT_BUGS_TO): Likewise.
35370         * config.make.in (PKGVERSION): New variable.
35371         (PKGVERSION_TEXI): Likewise.
35372         (REPORT_BUGS_TO): Likewise.
35373         (REPORT_BUGS_TEXI): Likewise.
35374         * Makefile (format-me): Use -I$(common-objpfx)manual.
35375         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35376         ($(common-objpfx)manual/%): New target.
35377         (manual/%): Remove target.
35378         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35379         (print_version): Use PKGVERSION.
35380         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35381         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35382         and REPORT_BUGS_TO.
35383         ($(objpfx)xtrace): Likewise.
35384         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35385         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35386         (print_version): Use PKGVERSION.
35387         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35388         (do_version): Use PKGVERSION.
35389         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35390         REPORT_BUGS_TO.
35391         (common-ldd-rewrite): Likewise.
35392         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35393         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35394         (print_version): Use PKGVERSION.
35395         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35396         * elf/pldd.c (argp_program_bug_address): Remove variable.
35397         (more_help): New function.
35398         (argp): Use more_help.
35399         (print_version): Use PKGVERSION.
35400         * elf/sln.c (main): Use PKGVERSION.
35401         (usage): Use REPORT_BUGS_TO.
35402         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35403         (top level): Use PKGVERSION.
35404         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35405         (print_version): Use PKGVERSION.
35406         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35407         (print_version): Use PKGVERSION.
35408         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35409         (print_version): Use PKGVERSION.
35410         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35411         (print_version): Use PKGVERSION.
35412         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35413         (print_version): Use PKGVERSION.
35414         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35415         (print_version): Use PKGVERSION.
35416         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35417         and BUGURL.
35418         ($(objpfx)memusage): Likewise.
35419         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35420         (do_version): Use PKGVERSION.
35421         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35422         (print_version): Use PKGVERSION.
35423         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35424         ($PKGVERSION): New variable.
35425         ($REPORT_BUGS_TO): Likewise.
35426         (usage): Use $REPORT_BUGS_TO.
35427         (top level): Use $PKGVERSION.
35428         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35429         ($(objpfx)pkgvers.texi): New rule.
35430         ($(objpfx)stamp-pkgvers): Likewise.
35431         * manual/install.texi: Include pkgvers.texi.
35432         (--with-pkgversion): Document new configure option.
35433         (--with-bugurl): Likewise.
35434         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35435         than necessarily for this particular distribution.  Use
35436         REPORT_BUGS_TO for where to report bugs.
35437         * INSTALL: Regenerated.
35438         * manual/libc.texinfo: Include pkgvers.texi.
35439         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35440         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35441         (print_version): Use PKGVERSION.
35442         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35443         (print_version): Use PKGVERSION.
35444         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35445         (print_version): Use PKGVERSION.
35446         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35447         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35448         macro.
35449         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35450         (print_version): Use PKGVERSION.
35451         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35452         (print_version): Use PKGVERSION.
35453         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35454         and PKGVERSION.
35456         * timezone/checktab.awk: Update from tzcode 2012i.
35457         * timezone/ialloc.c: Likewise.
35458         * timezone/private.h: Likewise.
35459         * timezone/scheck.c: Likewise.
35460         * timezone/tzfile.h: Likewise.
35461         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35462         (TZVERSION): Hardcode tzcode version number.
35463         * timezone/zdump.c: Update from tzcode 2012i.
35464         * timezone/zic.c: Likewise.
35465         * timezone/version.h: New file.
35466         * timezone/README: Describe version.h.  Update upstream location.
35468         [BZ #14824]
35469         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35470         (mktemp): Enable declaration.
35471         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35472         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35473         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35474         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35475         Likewise.
35476         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35477         Likewise.
35478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35479         Likewise.
35480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35481         Likewise.
35482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35483         Likewise.
35484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35485         Likewise.
35487         [BZ #14821]
35488         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35489         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35490         for copies of such integer values.
35491         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35492         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35494 2012-11-09  Andreas Jaeger  <aj@suse.de>
35496         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35497         definitions and declarations that are provided by
35498         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35500 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35502         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35503         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35504         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35505         definition.
35507 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35509         * elf/elf.h: Update comment before AArch64 relocations.
35511 2012-11-07  David S. Miller  <davem@davemloft.net>
35513         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35514         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35515         (__start_context): Declare.
35516         (__makecontext_ret): Delete.
35517         (__makecontext): Hook up __start_context instead of
35518         __makecontext_ret.
35519         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35520         (sysdep_routines): Add __start_context when in stdlib.
35522 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35524         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35525         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35526         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35527         hardcoded "nm".
35528         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35529         (READELF): New variable.  Use it instead of hardcoded "readelf".
35531 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35533         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35534         * sysdeps/x86/Makefile: Here.
35535         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35536         * sysdeps/x86/tst-xmmymm.sh: This.
35538 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35540         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35541         expectations.
35542         [UNIX98] (pthread_barrier_t): Do not expect.
35543         [UNIX98] (pthread_barrierattr_t): Likewise.
35544         [UNIX98] (pthread_spinlock_t): Likewise.
35545         [UNIX98] (pthread_barrier_destroy): Likewise.
35546         [UNIX98] (pthread_barrier_init): Likewise.
35547         [UNIX98] (pthread_barrier_wait): Likewise.
35548         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35549         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35550         [UNIX98] (pthread_barrierattr_init): Likewise.
35551         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35552         [UNIX98] (pthread_getcpuclockid): Likewise.
35553         [UNIX98] (pthread_mutex_timedlock): Likewise.
35554         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35555         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35556         [UNIX98] (pthread_sigmask): Likewise.
35557         [UNIX98] (pthread_spin_destroy): Likewise.
35558         [UNIX98] (pthread_spin_init): Likewise.
35559         [UNIX98] (pthread_spin_lock): Likewise.
35560         [UNIX98] (pthread_spin_trylock): Likewise.
35561         [UNIX98] (pthread_spin_unlock): Likewise.
35562         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35563         Do not expect.
35564         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35565         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35566         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35567         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35568         [XPG3 || XPG4] (pthread_key_t): Likewise.
35569         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35570         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35571         [XPG3 || XPG4] (pthread_once_t): Likewise.
35572         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35573         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35574         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35575         [XPG3 || XPG4] (pthread_t): Likewise.
35577         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35578         not expect.
35579         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35581         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35582         Change function return type to int.
35584         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35585         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35586         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35587         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35588         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35589         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35590         [!POSIX] (posix_madvise): Likewise.
35591         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35592         && !UNIX98].
35593         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35594         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35595         (mode_t): Likewise.
35596         (posix_mem_offset): Likewise.
35597         (posix_typed_mem_get_info): Likewise.
35598         (posix_typed_mem_open): Likewise.
35600         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35601         Change condition to [XOPEN2K8].
35603         * conform/conformtest.pl: Preprocess allow-header data with -x c
35604         instead of from stdin.
35605         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35606         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35607         [C99-based standards] (cerfc): Likewise.
35608         [C99-based standards] (cexp2): Likewise.
35609         [C99-based standards] (cexpm1): Likewise.
35610         [C99-based standards] (clog10): Likewise.
35611         [C99-based standards] (clog1p): Likewise.
35612         [C99-based standards] (clog2): Likewise.
35613         [C99-based standards] (clgamma): Likewise.
35614         [C99-based standards] (ctgamma): Likewise.
35615         [C99-based standards] (cerff): Likewise.
35616         [C99-based standards] (cerfcf): Likewise.
35617         [C99-based standards] (cexp2f): Likewise.
35618         [C99-based standards] (cexpm1f): Likewise.
35619         [C99-based standards] (clog10f): Likewise.
35620         [C99-based standards] (clog1pf): Likewise.
35621         [C99-based standards] (clog2f): Likewise.
35622         [C99-based standards] (clgammaf): Likewise.
35623         [C99-based standards] (ctgammaf): Likewise.
35624         [C99-based standards] (cerfl): Likewise.
35625         [C99-based standards] (cerfcl): Likewise.
35626         [C99-based standards] (cexp2l): Likewise.
35627         [C99-based standards] (cexpm1l): Likewise.
35628         [C99-based standards] (clog10l): Likewise.
35629         [C99-based standards] (clog1pl): Likewise.
35630         [C99-based standards] (clog2l): Likewise.
35631         [C99-based standards] (clgammal): Likewise.
35632         [C99-based standards] (ctgammal): Likewise.
35633         * conform/data/inttypes.h-data [C99-based standards]: Include
35634         stdint.h-data.  Remove all expectations for stdint.h contents.
35635         [C99-based standards] (PRI*): Do not allow.
35636         [C99-based standards] (SCN*): Likewise.
35637         [C99-based standards] (*_t): Likewise.
35638         [C99-based-standards] (PRId8): Expect macro.
35639         [C99-based-standards] (PRIi8): Likewise.
35640         [C99-based-standards] (PRIo8): Likewise.
35641         [C99-based-standards] (PRIu8): Likewise.
35642         [C99-based-standards] (PRIx8): Likewise.
35643         [C99-based-standards] (PRIX8): Likewise.
35644         [C99-based-standards] (SCNd8): Likewise.
35645         [C99-based-standards] (SCNi8): Likewise.
35646         [C99-based-standards] (SCNo8): Likewise.
35647         [C99-based-standards] (SCNu8): Likewise.
35648         [C99-based-standards] (SCNx8): Likewise.
35649         [C99-based-standards] (PRIdLEAST8): Likewise.
35650         [C99-based-standards] (PRIiLEAST8): Likewise.
35651         [C99-based-standards] (PRIoLEAST8): Likewise.
35652         [C99-based-standards] (PRIuLEAST8): Likewise.
35653         [C99-based-standards] (PRIxLEAST8): Likewise.
35654         [C99-based-standards] (PRIXLEAST8): Likewise.
35655         [C99-based-standards] (SCNdLEAST8): Likewise.
35656         [C99-based-standards] (SCNiLEAST8): Likewise.
35657         [C99-based-standards] (SCNoLEAST8): Likewise.
35658         [C99-based-standards] (SCNuLEAST8): Likewise.
35659         [C99-based-standards] (SCNxLEAST8): Likewise.
35660         [C99-based-standards] (PRIdFAST8): Likewise.
35661         [C99-based-standards] (PRIiFAST8): Likewise.
35662         [C99-based-standards] (PRIoFAST8): Likewise.
35663         [C99-based-standards] (PRIuFAST8): Likewise.
35664         [C99-based-standards] (PRIxFAST8): Likewise.
35665         [C99-based-standards] (PRIXFAST8): Likewise.
35666         [C99-based-standards] (SCNdFAST8): Likewise.
35667         [C99-based-standards] (SCNiFAST8): Likewise.
35668         [C99-based-standards] (SCNoFAST8): Likewise.
35669         [C99-based-standards] (SCNuFAST8): Likewise.
35670         [C99-based-standards] (SCNxFAST8): Likewise.
35671         [C99-based-standards] (PRId16): Likewise.
35672         [C99-based-standards] (PRIi16): Likewise.
35673         [C99-based-standards] (PRIo16): Likewise.
35674         [C99-based-standards] (PRIu16): Likewise.
35675         [C99-based-standards] (PRIx16): Likewise.
35676         [C99-based-standards] (PRIX16): Likewise.
35677         [C99-based-standards] (SCNd16): Likewise.
35678         [C99-based-standards] (SCNi16): Likewise.
35679         [C99-based-standards] (SCNo16): Likewise.
35680         [C99-based-standards] (SCNu16): Likewise.
35681         [C99-based-standards] (SCNx16): Likewise.
35682         [C99-based-standards] (PRIdLEAST16): Likewise.
35683         [C99-based-standards] (PRIiLEAST16): Likewise.
35684         [C99-based-standards] (PRIoLEAST16): Likewise.
35685         [C99-based-standards] (PRIuLEAST16): Likewise.
35686         [C99-based-standards] (PRIxLEAST16): Likewise.
35687         [C99-based-standards] (PRIXLEAST16): Likewise.
35688         [C99-based-standards] (SCNdLEAST16): Likewise.
35689         [C99-based-standards] (SCNiLEAST16): Likewise.
35690         [C99-based-standards] (SCNoLEAST16): Likewise.
35691         [C99-based-standards] (SCNuLEAST16): Likewise.
35692         [C99-based-standards] (SCNxLEAST16): Likewise.
35693         [C99-based-standards] (PRIdFAST16): Likewise.
35694         [C99-based-standards] (PRIiFAST16): Likewise.
35695         [C99-based-standards] (PRIoFAST16): Likewise.
35696         [C99-based-standards] (PRIuFAST16): Likewise.
35697         [C99-based-standards] (PRIxFAST16): Likewise.
35698         [C99-based-standards] (PRIXFAST16): Likewise.
35699         [C99-based-standards] (SCNdFAST16): Likewise.
35700         [C99-based-standards] (SCNiFAST16): Likewise.
35701         [C99-based-standards] (SCNoFAST16): Likewise.
35702         [C99-based-standards] (SCNuFAST16): Likewise.
35703         [C99-based-standards] (SCNxFAST16): Likewise.
35704         [C99-based-standards] (PRId32): Likewise.
35705         [C99-based-standards] (PRIi32): Likewise.
35706         [C99-based-standards] (PRIo32): Likewise.
35707         [C99-based-standards] (PRIu32): Likewise.
35708         [C99-based-standards] (PRIx32): Likewise.
35709         [C99-based-standards] (PRIX32): Likewise.
35710         [C99-based-standards] (SCNd32): Likewise.
35711         [C99-based-standards] (SCNi32): Likewise.
35712         [C99-based-standards] (SCNo32): Likewise.
35713         [C99-based-standards] (SCNu32): Likewise.
35714         [C99-based-standards] (SCNx32): Likewise.
35715         [C99-based-standards] (PRIdLEAST32): Likewise.
35716         [C99-based-standards] (PRIiLEAST32): Likewise.
35717         [C99-based-standards] (PRIoLEAST32): Likewise.
35718         [C99-based-standards] (PRIuLEAST32): Likewise.
35719         [C99-based-standards] (PRIxLEAST32): Likewise.
35720         [C99-based-standards] (PRIXLEAST32): Likewise.
35721         [C99-based-standards] (SCNdLEAST32): Likewise.
35722         [C99-based-standards] (SCNiLEAST32): Likewise.
35723         [C99-based-standards] (SCNoLEAST32): Likewise.
35724         [C99-based-standards] (SCNuLEAST32): Likewise.
35725         [C99-based-standards] (SCNxLEAST32): Likewise.
35726         [C99-based-standards] (PRIdFAST32): Likewise.
35727         [C99-based-standards] (PRIiFAST32): Likewise.
35728         [C99-based-standards] (PRIoFAST32): Likewise.
35729         [C99-based-standards] (PRIuFAST32): Likewise.
35730         [C99-based-standards] (PRIxFAST32): Likewise.
35731         [C99-based-standards] (PRIXFAST32): Likewise.
35732         [C99-based-standards] (SCNdFAST32): Likewise.
35733         [C99-based-standards] (SCNiFAST32): Likewise.
35734         [C99-based-standards] (SCNoFAST32): Likewise.
35735         [C99-based-standards] (SCNuFAST32): Likewise.
35736         [C99-based-standards] (SCNxFAST32): Likewise.
35737         [C99-based-standards] (PRId64): Likewise.
35738         [C99-based-standards] (PRIi64): Likewise.
35739         [C99-based-standards] (PRIo64): Likewise.
35740         [C99-based-standards] (PRIu64): Likewise.
35741         [C99-based-standards] (PRIx64): Likewise.
35742         [C99-based-standards] (PRIX64): Likewise.
35743         [C99-based-standards] (SCNd64): Likewise.
35744         [C99-based-standards] (SCNi64): Likewise.
35745         [C99-based-standards] (SCNo64): Likewise.
35746         [C99-based-standards] (SCNu64): Likewise.
35747         [C99-based-standards] (SCNx64): Likewise.
35748         [C99-based-standards] (PRIdLEAST64): Likewise.
35749         [C99-based-standards] (PRIiLEAST64): Likewise.
35750         [C99-based-standards] (PRIoLEAST64): Likewise.
35751         [C99-based-standards] (PRIuLEAST64): Likewise.
35752         [C99-based-standards] (PRIxLEAST64): Likewise.
35753         [C99-based-standards] (PRIXLEAST64): Likewise.
35754         [C99-based-standards] (SCNdLEAST64): Likewise.
35755         [C99-based-standards] (SCNiLEAST64): Likewise.
35756         [C99-based-standards] (SCNoLEAST64): Likewise.
35757         [C99-based-standards] (SCNuLEAST64): Likewise.
35758         [C99-based-standards] (SCNxLEAST64): Likewise.
35759         [C99-based-standards] (PRIdFAST64): Likewise.
35760         [C99-based-standards] (PRIiFAST64): Likewise.
35761         [C99-based-standards] (PRIoFAST64): Likewise.
35762         [C99-based-standards] (PRIuFAST64): Likewise.
35763         [C99-based-standards] (PRIxFAST64): Likewise.
35764         [C99-based-standards] (PRIXFAST64): Likewise.
35765         [C99-based-standards] (SCNdFAST64): Likewise.
35766         [C99-based-standards] (SCNiFAST64): Likewise.
35767         [C99-based-standards] (SCNoFAST64): Likewise.
35768         [C99-based-standards] (SCNuFAST64): Likewise.
35769         [C99-based-standards] (SCNxFAST64): Likewise.
35770         [C99-based-standards] (PRIdMAX): Likewise.
35771         [C99-based-standards] (PRIiMAX): Likewise.
35772         [C99-based-standards] (PRIoMAX): Likewise.
35773         [C99-based-standards] (PRIuMAX): Likewise.
35774         [C99-based-standards] (PRIxMAX): Likewise.
35775         [C99-based-standards] (PRIXMAX): Likewise.
35776         [C99-based-standards] (SCNdMAX): Likewise.
35777         [C99-based-standards] (SCNiMAX): Likewise.
35778         [C99-based-standards] (SCNoMAX): Likewise.
35779         [C99-based-standards] (SCNuMAX): Likewise.
35780         [C99-based-standards] (SCNxMAX): Likewise.
35781         [C99-based-standards] (PRIdPTR): Likewise.
35782         [C99-based-standards] (PRIiPTR): Likewise.
35783         [C99-based-standards] (PRIoPTR): Likewise.
35784         [C99-based-standards] (PRIuPTR): Likewise.
35785         [C99-based-standards] (PRIxPTR): Likewise.
35786         [C99-based-standards] (PRIXPTR): Likewise.
35787         [C99-based-standards] (SCNdPTR): Likewise.
35788         [C99-based-standards] (SCNiPTR): Likewise.
35789         [C99-based-standards] (SCNoPTR): Likewise.
35790         [C99-based-standards] (SCNuPTR): Likewise.
35791         [C99-based-standards] (SCNxPTR): Likewise.
35792         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35793         allow.
35794         * conform/data/stdint.h-data: Update comments to clarify
35795         requirements.
35796         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
35797         type.
35798         [C99-based standards] (INT8_MAX): Likewise.
35799         [C99-based standards] (INT16_MIN): Likewise.
35800         [C99-based standards] (INT16_MAX): Likewise.
35801         [C99-based standards] (INT32_MIN): Likewise.
35802         [C99-based standards] (INT32_MAX): Likewise.
35803         [C99-based standards] (INT64_MIN): Likewise.
35804         [C99-based standards] (INT64_MAX): Likewise.
35805         [C99-based standards] (UINT8_MAX): Likewise.
35806         [C99-based standards] (UINT16_MAX): Likewise.
35807         [C99-based standards] (UINT32_MAX): Likewise.
35808         [C99-based standards] (UINT64_MAX): Likewise.
35809         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35810         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35811         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35812         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35813         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35814         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35815         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35816         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35817         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35818         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35819         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35820         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35821         [C99-based standards] (INT_FAST8_MIN): Likewise.
35822         [C99-based standards] (INT_FAST8_MAX): Likewise.
35823         [C99-based standards] (INT_FAST16_MIN): Likewise.
35824         [C99-based standards] (INT_FAST16_MAX): Likewise.
35825         [C99-based standards] (INT_FAST32_MIN): Likewise.
35826         [C99-based standards] (INT_FAST32_MAX): Likewise.
35827         [C99-based standards] (INT_FAST64_MIN): Likewise.
35828         [C99-based standards] (INT_FAST64_MAX): Likewise.
35829         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35830         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35831         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35832         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35833         [C99-based standards] (INTPTR_MIN): Likewise.
35834         [C99-based standards] (INTPTR_MAX): Likewise.
35835         [C99-based standards] (UINTPTR_MAX): Likewise.
35836         [C99-based standards] (INTMAX_MIN): Likewise.
35837         [C99-based standards] (INTMAX_MAX): Likewise.
35838         [C99-based standards] (UINTMAX_MAX): Likewise.
35839         [C99-based standards] (PTRDIFF_MIN): Likewise.
35840         [C99-based standards] (PTRDIFF_MAX): Likewise.
35841         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35842         [C99-based standards] (SIZE_MAX): Likewise.
35843         [C99-based standards] (WCHAR_MAX): Likewise.
35844         [C99-based standards] (WINT_MAX): Likewise.
35845         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35846         constraint on value.
35847         [C99-based standards] (WCHAR_MIN): Likewise.
35848         [C99-based standards] (WINT_MIN): Likewise.
35849         [C99-based standards] (*_t): Allow.
35850         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35851         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35852         Include math.h-data and complex.h-data.  Remove all expectations
35853         of math.h and complex.h contents.
35854         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35855         at end of line.
35856         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35857         (struct tm): Expect tag.
35858         [C99-based-standards] (wcstof): Expect function.
35859         [C99-based-standards] (wcstold): Likewise.
35860         [C99-based-standards] (wcstoll): Likewise.
35861         [C99-based-standards] (wcstoull): Likewise.
35862         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35863         macro-int-constant.  Specify type.
35864         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35865         constraint on value.
35866         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35867         Specify type.
35868         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35869         Specify value.
35870         [ISO C standards]: Do not allow headers.
35871         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35872         wcs[abcdefghijklmnopqrstuvwxyz]*.
35873         [ISO C standards] (*_t): Do not allow.
35874         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35875         Expect function.
35876         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35877         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35878         Specify type.
35879         [ISO C standards]: Do not allow headers.
35880         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35881         is[abcdefghijklmnopqrstuvwxyz]*.
35882         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35883         to[abcdefghijklmnopqrstuvwxyz]*.
35884         [ISO C standards] (*_t): Do not allow.
35885         * conform/data/stdalign.h-data: New file.
35886         * conform/data/stdbool.h-data: Likewise.
35887         * conform/data/stdnoreturn.h-data: Likewise.
35889 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35891         [BZ #14815]
35892         * manual/filesys.texi (Directory Entries): Typo fix.
35893         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35895 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35897         * elf/elf.h (EM_AARCH64): New macro.
35898         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35899         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35900         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35901         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35902         (R_AARCH64_TLSDESC): Likewise.
35903         (NT_ARM_TLS): Likewise.
35904         (NT_ARM_HW_BREAK): Likewise.
35905         (NT_ARM_HW_WATCH): Likewise.
35907 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35909         [BZ #14811]
35910         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35911         (__ieee754_powl): Saturate nonzero exponents with absolute value
35912         below 0x1p-79 to +/- 0x1p-79.
35913         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35914         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35915         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35916         nonzero exponents with absolute value below 0x1p-32 to +/-
35917         0x1p-32.
35918         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35919         (__ieee754_powl): Saturate nonzero exponents with absolute value
35920         below 0x1p-79 to +/- 0x1p-79.
35921         * math/libm-test.inc (pow_test): Add more tests.
35923 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35925         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35926         _dl_s390_cap_flags with kernel. Increase string length.
35927         (_dl_s390_platforms): Add z196 and zEC12.
35929 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35931         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35932         Change XOPEN21K to XOPEN2K.
35934 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35936         * string/memmove.c: Use memcpy when possible.
35938 2012-11-06  Andreas Jaeger  <aj@suse.de>
35940         * po/eo.po: Update from translation team.
35942 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35944         [BZ #14793]
35945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35946         exponent and small x and y exponents, scale x or y up.  Increase
35947         by 2 the exponent used in scaling up.
35948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35950         * math/libm-test.inc (fma_test): Add more tests.
35951         (fma_test_towardzero): Likewise.
35952         (fma_test_downward): Likewise.
35953         (fma_test_upward): Likewise.
35955 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35957         [BZ #14805]
35958         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35959         fenv_t *.
35961         [BZ #14801]
35962         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35963         namespace for names of struct fields.
35964         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35965         fenv_t fields.
35966         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35967         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35969 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35971         [BZ #3665]
35972         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35974 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35976         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35977         PTR_DEMANGLE.
35979         [BZ #5246]
35980         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35981         PTR_DEMANGLE.
35983 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35985         [BZ #14797]
35986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35987         definitely overflow as x * y not x * y + z.
35988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35989         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35990         * math/libm-test.inc (fma_test): Add more tests.
35991         (fma_test_towardzero): Likewise.
35992         (fma_test_downward): Likewise.
35993         (fma_test_upward): Likewise.
35995 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35997         [BZ #157]
35999         * include/stub-tag.h: Remove file.
36000         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36001         '#include' of it.
36002         * manual/maint.texi (Porting): Don't reference it.
36003         * Makerules ($(objpfx)stubs): Likewise.
36004         * dirent/closedir.c: Don't include <stub-tag.h>.
36005         * dirent/dirfd.c: Likewise.
36006         * dirent/fdopendir.c: Likewise.
36007         * dirent/getdents.c: Likewise.
36008         * dirent/getdents64.c: Likewise.
36009         * dirent/opendir.c: Likewise.
36010         * dirent/readdir.c: Likewise.
36011         * dirent/readdir64.c: Likewise.
36012         * dirent/readdir64_r.c: Likewise.
36013         * dirent/readdir_r.c: Likewise.
36014         * dirent/rewinddir.c: Likewise.
36015         * dirent/seekdir.c: Likewise.
36016         * dirent/telldir.c: Likewise.
36017         * gmon/profil.c: Likewise.
36018         * grp/setgroups.c: Likewise.
36019         * inet/if_index.c: Likewise.
36020         * io/access.c: Likewise.
36021         * io/chdir.c: Likewise.
36022         * io/chmod.c: Likewise.
36023         * io/chown.c: Likewise.
36024         * io/close.c: Likewise.
36025         * io/dup.c: Likewise.
36026         * io/dup2.c: Likewise.
36027         * io/dup3.c: Likewise.
36028         * io/euidaccess.c: Likewise.
36029         * io/faccessat.c: Likewise.
36030         * io/fchdir.c: Likewise.
36031         * io/fchmod.c: Likewise.
36032         * io/fchmodat.c: Likewise.
36033         * io/fchown.c: Likewise.
36034         * io/fchownat.c: Likewise.
36035         * io/fcntl.c: Likewise.
36036         * io/flock.c: Likewise.
36037         * io/fstatfs.c: Likewise.
36038         * io/fstatfs64.c: Likewise.
36039         * io/fstatvfs.c: Likewise.
36040         * io/fstatvfs64.c: Likewise.
36041         * io/futimens.c: Likewise.
36042         * io/fxstat.c: Likewise.
36043         * io/fxstat64.c: Likewise.
36044         * io/fxstatat.c: Likewise.
36045         * io/fxstatat64.c: Likewise.
36046         * io/getcwd.c: Likewise.
36047         * io/isatty.c: Likewise.
36048         * io/lchmod.c: Likewise.
36049         * io/lchown.c: Likewise.
36050         * io/link.c: Likewise.
36051         * io/linkat.c: Likewise.
36052         * io/lseek.c: Likewise.
36053         * io/lseek64.c: Likewise.
36054         * io/lxstat64.c: Likewise.
36055         * io/mkdir.c: Likewise.
36056         * io/mkdirat.c: Likewise.
36057         * io/mkfifo.c: Likewise.
36058         * io/mkfifoat.c: Likewise.
36059         * io/open.c: Likewise.
36060         * io/open64.c: Likewise.
36061         * io/openat.c: Likewise.
36062         * io/openat64.c: Likewise.
36063         * io/pipe.c: Likewise.
36064         * io/pipe2.c: Likewise.
36065         * io/poll.c: Likewise.
36066         * io/posix_fadvise.c: Likewise.
36067         * io/posix_fadvise64.c: Likewise.
36068         * io/posix_fallocate.c: Likewise.
36069         * io/posix_fallocate64.c: Likewise.
36070         * io/read.c: Likewise.
36071         * io/readlink.c: Likewise.
36072         * io/readlinkat.c: Likewise.
36073         * io/rmdir.c: Likewise.
36074         * io/sendfile.c: Likewise.
36075         * io/sendfile64.c: Likewise.
36076         * io/statfs.c: Likewise.
36077         * io/statfs64.c: Likewise.
36078         * io/statvfs.c: Likewise.
36079         * io/statvfs64.c: Likewise.
36080         * io/symlink.c: Likewise.
36081         * io/symlinkat.c: Likewise.
36082         * io/ttyname.c: Likewise.
36083         * io/ttyname_r.c: Likewise.
36084         * io/umask.c: Likewise.
36085         * io/unlink.c: Likewise.
36086         * io/unlinkat.c: Likewise.
36087         * io/utime.c: Likewise.
36088         * io/utimensat.c: Likewise.
36089         * io/write.c: Likewise.
36090         * io/xmknod.c: Likewise.
36091         * io/xmknodat.c: Likewise.
36092         * io/xstat.c: Likewise.
36093         * io/xstat64.c: Likewise.
36094         * login/getpt.c: Likewise.
36095         * login/grantpt.c: Likewise.
36096         * login/unlockpt.c: Likewise.
36097         * math/e_acoshl.c: Likewise.
36098         * math/e_acosl.c: Likewise.
36099         * math/e_asinl.c: Likewise.
36100         * math/e_atan2l.c: Likewise.
36101         * math/e_atanhl.c: Likewise.
36102         * math/e_coshl.c: Likewise.
36103         * math/e_expl.c: Likewise.
36104         * math/e_fmodl.c: Likewise.
36105         * math/e_gammal_r.c: Likewise.
36106         * math/e_hypotl.c: Likewise.
36107         * math/e_j0l.c: Likewise.
36108         * math/e_j1l.c: Likewise.
36109         * math/e_jnl.c: Likewise.
36110         * math/e_lgammal_r.c: Likewise.
36111         * math/e_log10l.c: Likewise.
36112         * math/e_log2l.c: Likewise.
36113         * math/e_logl.c: Likewise.
36114         * math/e_powl.c: Likewise.
36115         * math/e_rem_pio2l.c: Likewise.
36116         * math/e_sinhl.c: Likewise.
36117         * math/e_sqrtl.c: Likewise.
36118         * math/fclrexcpt.c: Likewise.
36119         * math/fedisblxcpt.c: Likewise.
36120         * math/feenablxcpt.c: Likewise.
36121         * math/fegetenv.c: Likewise.
36122         * math/fegetexcept.c: Likewise.
36123         * math/fegetround.c: Likewise.
36124         * math/feholdexcpt.c: Likewise.
36125         * math/fesetenv.c: Likewise.
36126         * math/fesetround.c: Likewise.
36127         * math/feupdateenv.c: Likewise.
36128         * math/fgetexcptflg.c: Likewise.
36129         * math/fraiseexcpt.c: Likewise.
36130         * math/fsetexcptflg.c: Likewise.
36131         * math/ftestexcept.c: Likewise.
36132         * math/k_cosl.c: Likewise.
36133         * math/k_rem_pio2l.c: Likewise.
36134         * math/k_sinl.c: Likewise.
36135         * math/k_tanl.c: Likewise.
36136         * math/s_asinhl.c: Likewise.
36137         * math/s_atanl.c: Likewise.
36138         * math/s_cbrtl.c: Likewise.
36139         * math/s_erfl.c: Likewise.
36140         * math/s_expm1l.c: Likewise.
36141         * math/s_log1pl.c: Likewise.
36142         * math/s_tanhl.c: Likewise.
36143         * misc/acct.c: Likewise.
36144         * misc/brk.c: Likewise.
36145         * misc/chflags.c: Likewise.
36146         * misc/chroot.c: Likewise.
36147         * misc/fchflags.c: Likewise.
36148         * misc/fgetxattr.c: Likewise.
36149         * misc/flistxattr.c: Likewise.
36150         * misc/fremovexattr.c: Likewise.
36151         * misc/fsetxattr.c: Likewise.
36152         * misc/fsync.c: Likewise.
36153         * misc/ftruncate.c: Likewise.
36154         * misc/futimes.c: Likewise.
36155         * misc/futimesat.c: Likewise.
36156         * misc/getdomain.c: Likewise.
36157         * misc/getdtsz.c: Likewise.
36158         * misc/gethostid.c: Likewise.
36159         * misc/gethostname.c: Likewise.
36160         * misc/getloadavg.c: Likewise.
36161         * misc/getpagesize.c: Likewise.
36162         * misc/getsysstats.c: Likewise.
36163         * misc/getxattr.c: Likewise.
36164         * misc/gtty.c: Likewise.
36165         * misc/ioctl.c: Likewise.
36166         * misc/lgetxattr.c: Likewise.
36167         * misc/listxattr.c: Likewise.
36168         * misc/llistxattr.c: Likewise.
36169         * misc/lremovexattr.c: Likewise.
36170         * misc/lsetxattr.c: Likewise.
36171         * misc/lutimes.c: Likewise.
36172         * misc/madvise.c: Likewise.
36173         * misc/mincore.c: Likewise.
36174         * misc/mlock.c: Likewise.
36175         * misc/mlockall.c: Likewise.
36176         * misc/mmap.c: Likewise.
36177         * misc/mprotect.c: Likewise.
36178         * misc/msync.c: Likewise.
36179         * misc/munlock.c: Likewise.
36180         * misc/munlockall.c: Likewise.
36181         * misc/munmap.c: Likewise.
36182         * misc/preadv.c: Likewise.
36183         * misc/preadv64.c: Likewise.
36184         * misc/ptrace.c: Likewise.
36185         * misc/pwritev.c: Likewise.
36186         * misc/pwritev64.c: Likewise.
36187         * misc/readv.c: Likewise.
36188         * misc/reboot.c: Likewise.
36189         * misc/remap_file_pages.c: Likewise.
36190         * misc/removexattr.c: Likewise.
36191         * misc/revoke.c: Likewise.
36192         * misc/select.c: Likewise.
36193         * misc/setdomain.c: Likewise.
36194         * misc/setegid.c: Likewise.
36195         * misc/seteuid.c: Likewise.
36196         * misc/sethostid.c: Likewise.
36197         * misc/sethostname.c: Likewise.
36198         * misc/setregid.c: Likewise.
36199         * misc/setreuid.c: Likewise.
36200         * misc/setxattr.c: Likewise.
36201         * misc/sstk.c: Likewise.
36202         * misc/stty.c: Likewise.
36203         * misc/swapoff.c: Likewise.
36204         * misc/swapon.c: Likewise.
36205         * misc/sync.c: Likewise.
36206         * misc/syncfs.c: Likewise.
36207         * misc/syscall.c: Likewise.
36208         * misc/truncate.c: Likewise.
36209         * misc/ualarm.c: Likewise.
36210         * misc/usleep.c: Likewise.
36211         * misc/ustat.c: Likewise.
36212         * misc/utimes.c: Likewise.
36213         * misc/vhangup.c: Likewise.
36214         * misc/writev.c: Likewise.
36215         * posix/_exit.c: Likewise.
36216         * posix/alarm.c: Likewise.
36217         * posix/execve.c: Likewise.
36218         * posix/fexecve.c: Likewise.
36219         * posix/fork.c: Likewise.
36220         * posix/fpathconf.c: Likewise.
36221         * posix/getaddrinfo.c: Likewise.
36222         * posix/getegid.c: Likewise.
36223         * posix/geteuid.c: Likewise.
36224         * posix/getgid.c: Likewise.
36225         * posix/getgroups.c: Likewise.
36226         * posix/getlogin.c: Likewise.
36227         * posix/getlogin_r.c: Likewise.
36228         * posix/getpgid.c: Likewise.
36229         * posix/getpid.c: Likewise.
36230         * posix/getppid.c: Likewise.
36231         * posix/getresgid.c: Likewise.
36232         * posix/getresuid.c: Likewise.
36233         * posix/getsid.c: Likewise.
36234         * posix/getuid.c: Likewise.
36235         * posix/glob64.c: Likewise.
36236         * posix/nanosleep.c: Likewise.
36237         * posix/pathconf.c: Likewise.
36238         * posix/pause.c: Likewise.
36239         * posix/posix_madvise.c: Likewise.
36240         * posix/pread.c: Likewise.
36241         * posix/pread64.c: Likewise.
36242         * posix/pwrite.c: Likewise.
36243         * posix/pwrite64.c: Likewise.
36244         * posix/sched_getaffinity.c: Likewise.
36245         * posix/sched_getp.c: Likewise.
36246         * posix/sched_gets.c: Likewise.
36247         * posix/sched_primax.c: Likewise.
36248         * posix/sched_primin.c: Likewise.
36249         * posix/sched_rr_gi.c: Likewise.
36250         * posix/sched_setaffinity.c: Likewise.
36251         * posix/sched_setp.c: Likewise.
36252         * posix/sched_sets.c: Likewise.
36253         * posix/sched_yield.c: Likewise.
36254         * posix/setgid.c: Likewise.
36255         * posix/setlogin.c: Likewise.
36256         * posix/setpgid.c: Likewise.
36257         * posix/setresgid.c: Likewise.
36258         * posix/setresuid.c: Likewise.
36259         * posix/setsid.c: Likewise.
36260         * posix/setuid.c: Likewise.
36261         * posix/sleep.c: Likewise.
36262         * posix/spawni.c: Likewise.
36263         * posix/sysconf.c: Likewise.
36264         * posix/times.c: Likewise.
36265         * posix/wait.c: Likewise.
36266         * posix/wait3.c: Likewise.
36267         * posix/wait4.c: Likewise.
36268         * posix/waitpid.c: Likewise.
36269         * resolv/gai_sigqueue.c: Likewise.
36270         * resource/getpriority.c: Likewise.
36271         * resource/getrlimit.c: Likewise.
36272         * resource/getrusage.c: Likewise.
36273         * resource/nice.c: Likewise.
36274         * resource/setpriority.c: Likewise.
36275         * resource/setrlimit.c: Likewise.
36276         * resource/ulimit.c: Likewise.
36277         * rt/aio_cancel.c: Likewise.
36278         * rt/aio_fsync.c: Likewise.
36279         * rt/aio_read.c: Likewise.
36280         * rt/aio_sigqueue.c: Likewise.
36281         * rt/aio_suspend.c: Likewise.
36282         * rt/aio_write.c: Likewise.
36283         * rt/clock_getres.c: Likewise.
36284         * rt/clock_gettime.c: Likewise.
36285         * rt/clock_nanosleep.c: Likewise.
36286         * rt/clock_settime.c: Likewise.
36287         * rt/lio_listio.c: Likewise.
36288         * rt/mq_close.c: Likewise.
36289         * rt/mq_getattr.c: Likewise.
36290         * rt/mq_notify.c: Likewise.
36291         * rt/mq_open.c: Likewise.
36292         * rt/mq_receive.c: Likewise.
36293         * rt/mq_send.c: Likewise.
36294         * rt/mq_setattr.c: Likewise.
36295         * rt/mq_timedreceive.c: Likewise.
36296         * rt/mq_timedsend.c: Likewise.
36297         * rt/mq_unlink.c: Likewise.
36298         * rt/shm_open.c: Likewise.
36299         * rt/shm_unlink.c: Likewise.
36300         * rt/timer_create.c: Likewise.
36301         * rt/timer_delete.c: Likewise.
36302         * rt/timer_getoverr.c: Likewise.
36303         * rt/timer_gettime.c: Likewise.
36304         * rt/timer_settime.c: Likewise.
36305         * setjmp/__longjmp.c: Likewise.
36306         * setjmp/setjmp.c: Likewise.
36307         * signal/kill.c: Likewise.
36308         * signal/killpg.c: Likewise.
36309         * signal/raise.c: Likewise.
36310         * signal/sigaction.c: Likewise.
36311         * signal/sigaltstack.c: Likewise.
36312         * signal/sigblock.c: Likewise.
36313         * signal/sigignore.c: Likewise.
36314         * signal/sigintr.c: Likewise.
36315         * signal/signal.c: Likewise.
36316         * signal/sigpause.c: Likewise.
36317         * signal/sigpending.c: Likewise.
36318         * signal/sigqueue.c: Likewise.
36319         * signal/sigreturn.c: Likewise.
36320         * signal/sigset.c: Likewise.
36321         * signal/sigsetmask.c: Likewise.
36322         * signal/sigstack.c: Likewise.
36323         * signal/sigsuspend.c: Likewise.
36324         * signal/sigtimedwait.c: Likewise.
36325         * signal/sigvec.c: Likewise.
36326         * signal/sigwait.c: Likewise.
36327         * signal/sigwaitinfo.c: Likewise.
36328         * signal/sysv_signal.c: Likewise.
36329         * socket/accept.c: Likewise.
36330         * socket/accept4.c: Likewise.
36331         * socket/bind.c: Likewise.
36332         * socket/connect.c: Likewise.
36333         * socket/getpeername.c: Likewise.
36334         * socket/getsockname.c: Likewise.
36335         * socket/getsockopt.c: Likewise.
36336         * socket/isfdtype.c: Likewise.
36337         * socket/listen.c: Likewise.
36338         * socket/recv.c: Likewise.
36339         * socket/recvfrom.c: Likewise.
36340         * socket/recvmsg.c: Likewise.
36341         * socket/send.c: Likewise.
36342         * socket/sendmsg.c: Likewise.
36343         * socket/sendto.c: Likewise.
36344         * socket/setsockopt.c: Likewise.
36345         * socket/shutdown.c: Likewise.
36346         * socket/sockatmark.c: Likewise.
36347         * socket/socket.c: Likewise.
36348         * socket/socketpair.c: Likewise.
36349         * stdio-common/ctermid.c: Likewise.
36350         * stdio-common/cuserid.c: Likewise.
36351         * stdio-common/remove.c: Likewise.
36352         * stdio-common/rename.c: Likewise.
36353         * stdio-common/renameat.c: Likewise.
36354         * stdio-common/tempname.c: Likewise.
36355         * stdlib/getcontext.c: Likewise.
36356         * stdlib/makecontext.c: Likewise.
36357         * stdlib/setcontext.c: Likewise.
36358         * stdlib/swapcontext.c: Likewise.
36359         * stdlib/system.c: Likewise.
36360         * streams/fattach.c: Likewise.
36361         * streams/fdetach.c: Likewise.
36362         * streams/getmsg.c: Likewise.
36363         * streams/getpmsg.c: Likewise.
36364         * streams/putmsg.c: Likewise.
36365         * streams/putpmsg.c: Likewise.
36366         * sysdeps/unix/bsd/getpt.c: Likewise.
36367         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36368         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36369         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36371         Likewise.
36372         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36373         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36374         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36375         * sysvipc/msgctl.c: Likewise.
36376         * sysvipc/msgget.c: Likewise.
36377         * sysvipc/msgrcv.c: Likewise.
36378         * sysvipc/msgsnd.c: Likewise.
36379         * sysvipc/semctl.c: Likewise.
36380         * sysvipc/semget.c: Likewise.
36381         * sysvipc/semop.c: Likewise.
36382         * sysvipc/semtimedop.c: Likewise.
36383         * sysvipc/shmat.c: Likewise.
36384         * sysvipc/shmctl.c: Likewise.
36385         * sysvipc/shmdt.c: Likewise.
36386         * sysvipc/shmget.c: Likewise.
36387         * termios/tcdrain.c: Likewise.
36388         * termios/tcflow.c: Likewise.
36389         * termios/tcflush.c: Likewise.
36390         * termios/tcgetattr.c: Likewise.
36391         * termios/tcgetpgrp.c: Likewise.
36392         * termios/tcsendbrk.c: Likewise.
36393         * termios/tcsetattr.c: Likewise.
36394         * termios/tcsetpgrp.c: Likewise.
36395         * time/adjtime.c: Likewise.
36396         * time/clock.c: Likewise.
36397         * time/getitimer.c: Likewise.
36398         * time/gettimeofday.c: Likewise.
36399         * time/setitimer.c: Likewise.
36400         * time/settimeofday.c: Likewise.
36401         * time/stime.c: Likewise.
36402         * time/time.c: Likewise.
36404 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36406         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36407         /usr/old/bin.
36409         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36410         instead of spaces.
36411         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36413 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36415         [BZ #14796]
36416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36417         FE_TONEAREST before applying Dekker multiplication and Knuth
36418         addition.  Clear inexact exceptions and check for exact zero
36419         results afterwards.
36420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36423         * math/libm-test.inc (fma_test): Add more tests.
36424         (fma_test_towardzero): Likewise.
36425         (fma_test_downward): Likewise.
36426         (fma_test_upward): Likewise.
36427         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36428         function.
36429         (libc_fesetround): New macro.
36430         (libc_fesetroundf): Likewise.
36431         (libc_fesetroundl): Likewise.
36432         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36433         function.
36434         (libc_fesetround_387): Likewise.
36435         (libc_fesetroundf): New macro.
36436         (libc_fesetround): Likewise.
36437         (libc_fesetroundl): Likewise.
36438         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36439         function.
36440         (libc_fesetroundf): New macro.
36441         (libc_fesetround): Likewise.
36442         (libc_fesetroundl): Likewise.
36443         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36444         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36445         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36446         libm_hidden_ver.
36447         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36448         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36449         libm_hidden_def.
36450         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36451         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36452         libm_hidden_ver.
36453         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36454         libm_hidden_def.
36456         [BZ #3439]
36457         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36458         integer constant usable in #if and use that to give value to enum
36459         constant.
36460         (FE_DIVBYZERO): Likewise.
36461         (FE_UNDERFLOW): Likewise.
36462         (FE_OVERFLOW): Likewise.
36463         (FE_INVALID): Likewise.
36464         (FE_INVALID_SNAN): Likewise.
36465         (FE_INVALID_ISI): Likewise.
36466         (FE_INVALID_IDI): Likewise.
36467         (FE_INVALID_ZDZ): Likewise.
36468         (FE_INVALID_IMZ): Likewise.
36469         (FE_INVALID_COMPARE): Likewise.
36470         (FE_INVALID_SOFTWARE): Likewise.
36471         (FE_INVALID_SQRT): Likewise.
36472         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36473         (FE_TONEAREST): Likewise.
36474         (FE_TOWARDZERO): Likewise.
36475         (FE_UPWARD): Likewise.
36476         (FE_DOWNWARD): Likewise.
36477         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36478         (FE_DIVBYZERO): Likewise.
36479         (FE_OVERFLOW): Likewise.
36480         (FE_UNDERFLOW): Likewise.
36481         (FE_INEXACT): Likewise.
36482         (FE_TONEAREST): Likewise.
36483         (FE_DOWNWARD): Likewise.
36484         (FE_UPWARD): Likewise.
36485         (FE_TOWARDZERO): Likewise.
36486         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36487         (FE_UNDERFLOW): Likewise.
36488         (FE_OVERFLOW): Likewise.
36489         (FE_DIVBYZERO): Likewise.
36490         (FE_INVALID): Likewise.
36491         (FE_TONEAREST): Likewise.
36492         (FE_TOWARDZERO): Likewise.
36493         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36494         (FE_OVERFLOW): Likewise.
36495         (FE_UNDERFLOW): Likewise.
36496         (FE_DIVBYZERO): Likewise.
36497         (FE_INEXACT): Likewise.
36498         (FE_TONEAREST): Likewise.
36499         (FE_TOWARDZERO): Likewise.
36500         (FE_UPWARD): Likewise.
36501         (FE_DOWNWARD): Likewise.
36502         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36503         (FE_DIVBYZERO): Likewise.
36504         (FE_OVERFLOW): Likewise.
36505         (FE_UNDERFLOW): Likewise.
36506         (FE_INEXACT): Likewise.
36507         (FE_TONEAREST): Likewise.
36508         (FE_DOWNWARD): Likewise.
36509         (FE_UPWARD): Likewise.
36510         (FE_TOWARDZERO): Likewise.
36512 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36514         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36516 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36518         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36519         commands.  Quote $PWD.
36520         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36521         -x" by "export".
36522         (remove_newlines): Remove.
36524 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36526         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36527         * stdlib/stdlib.h (atof): Moved to ...
36528         * include/bits/stdlib-float.h: Here.  New file.
36529         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36530         * stdlib/bits/stdlib-float.h: New file.
36531         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36532         -mno-sse -mno-mmx.
36533         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36534         <xmmintrin.h>.
36536 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36538         * conform/conformtest.pl (@headers): Add fenv.h.
36539         * conform/data/fenv.h-data: New file.
36540         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36541         include of <math/fenv.h>.
36543         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36544         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36545         && !UNIX98].  Enables tests for XOPEN2K8.
36546         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36547         POSIX2008]: Likewise.
36549         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36550         (struct rusage): Do not expect type or its members.
36552         [BZ #3439]
36553         * math/math.h (FP_NAN): Define macro to integer constant usable in
36554         #if and use that to give value to enum constant.
36555         (FP_INFINITE): Likewise.
36556         (FP_ZERO): Likewise.
36557         (FP_SUBNORMAL): Likewise.
36558         (FP_NORMAL): Likewise.
36560 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36562         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36563         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36564         arguments.
36566 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36568         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36569         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36570         autoconf-time if not.
36571         * configure.in: Remove AC_PREREQ.
36573 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36575         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36576         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36577         of the internal implementation.
36579 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36581         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36582         except include of <misc/sys/syslog.h>.
36584 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36587         function returns with a NULL context exit with zero.
36589 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36591         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36593 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
36595         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36596         (run_program_cmd): This.
36597         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36598         (tst_langinfo): New variable.  Use it.
36600 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36602         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36603         floating point opcodes.
36605 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36607         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36608         variable.
36610         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36612         * sysdeps/mach/hurd/powerpc: Remove directory.
36613         * sysdeps/mach/powerpc: Likewise.
36615 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36617         * scripts/check-local-headers.sh: Ignore c++ headers.
36619 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36621         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36622         __libc_cleanup_region_start argument.
36624 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
36626         [BZ #14784]
36627         [BZ #14785]
36628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36629         x * y using scaling, not as x * y + z.
36630         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36632         * math/libm-test.inc (fma_test): Add more tests.
36633         (fma_test_towardzero): Likewise.
36634         (fma_test_downward): Likewise.
36635         (fma_test_upward): Likewise.
36637 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36639         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36641 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36643         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36644         New variable.
36646 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
36648         * rt/tst-shm.c (worker): Correct checking for mmap failure.
36650 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36653         Fix sort order.
36654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36655         Likewise.
36657 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36660         Fix the order of the list for glibc 2.17.
36661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36662         Likewise.
36664 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36668 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36670         [BZ #14610]
36671         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36672         for low part of x being zero before using __atanl (y).
36673         * math/libm-test.inc (atan2_test): Add another test.
36675         * manual/install.texi (Configuring and compiling): Document
36676         general use of test-wrapper and test-wrapper-env.
36677         * INSTALL: Regenerated.
36679         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36680         (__fma): Do not extract and scale down low bits on after-rounding
36681         systems when result rounded to normal precision would have normal
36682         exponent.
36683         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36684         (__fmal): Do not extract and scale down low bits on after-rounding
36685         systems when result rounded to normal precision would have normal
36686         exponent.
36687         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36688         (__fmal): Do not extract and scale down low bits on after-rounding
36689         systems when result rounded to normal precision would have normal
36690         exponent.
36691         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36692         macro.
36693         (fma_test): Add more tests.
36694         (fma_test_towardzero): Likewise.
36695         (fma_test_downward): Likewise.
36696         (fma_test_upward): Likewise.
36698 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
36700         * sysdeps/i386/tininess.h: Renamed to ...
36701         * sysdeps/x86/tininess.h: This.
36702         * sysdeps/x86_64/tininess.h: Removed.
36704 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36706         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36707         input.  Use $(build-program-cmd).
36708         ($(objpfx)tst-array1-static.out): Likewise.
36709         ($(objpfx)tst-array2.out): Likewise.
36710         ($(objpfx)tst-array3.out): Likewise.
36711         ($(objpfx)tst-array4.out): Likewise.
36712         ($(objpfx)tst-array5.out): Likewise.
36713         ($(objpfx)tst-array5-static.out): Likewise.
36715 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
36717         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36718         if defined.
36720         * nss/nsswitch.h (nss_interface_function): Provide new
36721         macro for use with NSS functions.
36722         * grp/initgroups.c: Use new macro.
36723         * nss/getXXbyYY.c: Likewise.
36724         * nss/getXXbyYY_r.c: Likewise.
36725         * nss/getXXent.c: Likewise.
36726         * nss/getXXent_r.c: Likewise.
36727         * sysdeps/posix/getaddrinfo.c: Likewise.
36729 2012-10-30  Andreas Jaeger  <aj@suse.de>
36731         * po/ru.po: Update Russion translation from translation project.
36733 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36735         [BZ #14152]
36736         [BZ #14783]
36737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36738         result and shift together with sticky bit instead of replicating
36739         round-to-nearest rounding.
36740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36742         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
36743         missing underflow exceptions.
36744         (fma_test_towardzero): Add more tests.
36745         (fma_test_downward): Likewise.
36746         (fma_test_upward): Likewise.
36748         [BZ #14047]
36749         * sysdeps/generic/tininess.h: New file.
36750         * sysdeps/i386/tininess.h: Likewise.
36751         * sysdeps/sh/tininess.h: Likewise.
36752         * sysdeps/x86_64/tininess.h: Likewise.
36753         * stdlib/tst-strtod-underflow.c: Likewise.
36754         * stdlib/tst-tininess.c: Likewise.
36755         * stdlib/strtod_l.c: Include <tininess.h>.
36756         (round_and_return): Do not set errno for exact underflow cases.
36757         Force an underflow exception when setting errno for underflow.
36758         Determine underflow based on rounding to normal precision if
36759         TININESS_AFTER_ROUNDING.
36760         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36761         ERANGE for exact underflow cases.
36762         * stdlib/Makefile (tests): Add tst-tininess and
36763         tst-strtod-underflow.
36764         ($(objpfx)tst-tininess): Use $(link-libm).
36765         ($(objpfx)tst-strtod-underflow): Likewise.
36767 2012-10-30  Andreas Jaeger  <aj@suse.de>
36769         [BZ#14767]
36770         * elf/Makefile (tests): Remove conditional for have-initfini-array
36771         since this is now always required and the variable does not exist
36772         anymore.
36773         (tests-static): Likewise.
36774         (modules-names): Likewise.
36776         * po/eo.po: Add Esperanto translation from translation project.
36778         * elf/tst-array1.c (fini_array): Make writeable so that it can be
36779         merged with constructor/destructor.
36780         (init_array): Likewise.
36781         * elf/tst-array2dep.c (fini_array): Likewise.
36782         (init_array): Likewise.
36784 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
36786         * manual/message.texi: Delete @cartouche tags.
36788 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
36790         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36791         EOPNOTSUPP.
36792         * sysdeps/mach/hurd/fsync.c: Likewise.
36794         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36795         [_POSIX_REALTIME_SIGNALS]: Change condition to
36796         [_POSIX_REALTIME_SIGNALS > 0].
36798 2012-10-27  Andreas Jaeger  <aj@suse.de>
36800         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36801         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36803         [__WORDSIZE != 64]: Likewise.
36805 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
36807         *  iconvdata/tst-table.sh: Remove ${SHELL}.
36808         *  iconvdata/tst-tables.sh: Likewise.
36810 2012-10-25  David S. Miller  <davem@davemloft.net>
36812         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36813         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36814         of strtoull.
36816         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36817         ifunc-impl-list.c
36818         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36819         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36820         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36821         file.
36823 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36825         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36826         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36827         __getdirentries.
36829 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36830             Jim Blandy  <jimb@codesourcery.com>
36832         * scripts/cross-test-ssh.sh: New file.
36833         * manual/install.texi (Configuring and compiling): Document use of
36834         cross-test-ssh.sh.
36835         * INSTALL: Regenerated.
36837 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36839         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36840         EOPNOTSUPP.
36842 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36844         * Makeconfig (run-program-prefix): Fix comment.
36846 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36847             Jim Blandy  <jimb@codesourcery.com>
36849         * Makeconfig (test-wrapper): New variable,
36850         (test-wrapper-env): Likewise.
36851         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36852         (run-built-tests): Define to yes.
36853         (run-program-prefix): Use $(test-wrapper).
36854         (built-program-cmd): Likewise.
36855         * Rules (make-test-out): Use $(test-wrapper-env) and
36856         $(host-built-program-cmd).
36857         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36858         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36859         tst-pathopt.sh.
36860         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36861         $(test-wrapper-env) to tst-rtld-load-self.sh.
36862         ($(objpfx)order2.out): Use $(test-wrapper).
36863         ($(objpfx)tst-initorder.out): Likewise.
36864         ($(objpfx)tst-initorder2.out): Likewise.
36865         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36866         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36867         (test_wrapper_env): New variable.  Use it to run ld.so.
36868         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36869         Use it to run ld.so.
36870         (test_wrapper_env): Likewise.
36871         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36872         $(test-wrapper) to run-iconv-test.sh.
36873         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36874         (ICONV): Use $test_wrapper.
36875         * posix/Makefile ($(objpfx)globtest.out): Pass
36876         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36877         globtest.sh, not $(run-program-prefix).
36878         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36879         (test_wrapper): Likewise.
36880         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36881         set together with run_via_rtld_prefix.
36882         (run_program_prefix): Define in terms of test_wrapper and
36883         run_via_rtld_prefix.
36885 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36887         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36888         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36889         Targets removed.
36891         [BZ #14743]
36892         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36893         Declare __clock_getres, __clock_gettime, __clock_settime,
36894         __clock_nanosleep, and __clock_getcpuclockid.
36895         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36896         Remove librt_hidden_def (clock_gettime).
36897         * sysdeps/unix/clock_gettime.c: Likewise.
36898         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36899         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36900         * rt/clock_getres.c: Define __clock_getres as an alias.
36901         * sysdeps/posix/clock_getres.c: Likewise.
36902         * rt/clock_settime.c: Define __clock_settime as an alias.
36903         * sysdeps/unix/clock_settime.c: Likewise.
36904         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36905         * sysdeps/unix/clock_nanosleep.c: Likewise.
36906         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36907         * rt/clock-compat.c: New file.
36908         * rt/Makefile (librt-routines): Add clock-compat and move
36909         $(clock-routines) to ...
36910         (routines): ... here, new variable.
36911         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36912         Don't add get_clockfreq here.
36913         * rt/Versions (libc: GLIBC_2.17): New version set.
36914         Add clock_* symbols here.
36915         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36916         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36917         (GLIBC_2.17): Add clock_* symbols.
36918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36920         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36922         Likewise.
36923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36924         Likewise.
36925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36929         * NEWS: Mention the move.
36931         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36932         Use __open, __read, __close rather than their public counterparts.
36933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36934         (__get_clockfreq_via_cpuinfo): Likewise.
36935         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36936         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36938         * config.h.in (HAVE_IFUNC): New #undef.
36939         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36940         was successful.
36941         * configure: Regenerated.
36943 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36945         * configure.in: Move READELF check to start of file.
36946         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36947         libc_cv_asm_gnu_indirect_function in the process.
36948         * configure: Regenerated.
36950 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36952         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36953         send the output to /dev/null.
36954         (libc_cv_cc_with_libunwind): Likewise.
36955         (libc_cv_as_noexecstack): Likewise.
36956         * configure: Regenerate.
36958 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36960         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36962         * posix/globtest.sh (TMPDIR): Do not set.
36963         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36964         (testout): Likewise.
36966 2012-10-24  Andreas Jaeger  <aj@suse.de>
36968         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36969         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36970         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36971         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36972         posix_fadvise64, posix_fallocate64.
36974         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36975         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36976         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36977         Likewise.
36978         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36979         Likewise.
36980         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36983         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36984         <bits/fcntl-linux.h>.
36985         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36987         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36988         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36989         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36990         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36991         [__WORDSIZE != 64]: Likewise.
36993 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36995         * Makeconfig (run-built-tests): New variable.
36996         * Rules [$(cross-compiling) = yes]: Change condition to
36997         [$(run-built-tests) = no].
36998         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36999         to [$(run-built-tests) = yes].
37000         * elf/Makefile [$(cross-compiling) = no]: Likewise
37001         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37002         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37003         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37004         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37005         * io/Makefile [$(cross-compiling) = no]: Likewise.
37006         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37007         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37008         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37009         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37010         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37011         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37012         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37013         * string/Makefile [$(cross-compiling) = no]: Likewise.
37015         * posix/Makefile ($(objpfx)globtest.out): Pass
37016         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37017         $(rtld-installed-name).
37018         * posix/globtest.sh (elf_objpfx): Remove variable.
37019         (rtld_installed_name): Likewise.
37020         (library_path): Likewise.
37021         (run_program_prefix): New variable.  Use for running globtest
37022         binary.
37024 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37025             Joseph Myers  <joseph@codesourcery.com>
37027         * Makeconfig (host-built-program-cmd): New variable.
37028         * elf/Makefile (tst-stackguard1-ARGS): Use
37029         $(host-built-program-cmd).
37030         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37031         (tst-spawn-ARGS): Likewise.
37032         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37034 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37035             Jim Blandy  <jimb@codesourcery.com>
37037         * Makeconfig (run-via-rtld-prefix): New variable.
37038         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37039         (built-program-cmd): Likewise.
37041 2012-10-22  Andreas Jaeger  <aj@suse.de>
37043         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37044         __O_RSYNC if it exists, otherwise to O_SYNC.
37046 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37047             Joseph Myers  <joseph@codesourcery.com>
37049         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37050         /dev/null.
37051         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37052         from /dev/null
37053         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37054         /dev/null.
37056 2012-10-22  Andreas Jaeger  <aj@suse.de>
37058         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37059         Define always.
37060         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37063         bits/fcntl-linux.h.
37065         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37066         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37068         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37069         to __O_LARGEFILE.
37070         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37071         to __O_LARGEFILE.
37073 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37074             Joseph Myers  <joseph@codesourcery.com>
37076         * config.make.in (NM): New variable.
37078 2012-10-21  Andreas Jaeger  <aj@suse.de>
37080         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37081         definitions and declarations that are provided by
37082         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37084 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37086         [BZ #14683]
37087         * elf/Makefile (tests-static): Add tst-leaks1-static.
37088         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37089         ($(objpfx)tst-leaks1-static): New rule.
37090         ($(objpfx)tst-leaks1-static-mem): Likewise.
37091         (tst-leaks1-static-ENV): New macro.
37092         * elf/dl-open.c (dl_open_worker): Check the main application
37093         only if SHARED is defined.
37094         * elf/tst-leaks1-static.c: New file.
37096 2012-10-20  Andreas Jaeger  <aj@suse.de>
37098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37099         generic values for Linux.
37100         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37101         and declarations that are provided by <bits/fcntl-linux.h> and
37102         include <bits/fcntl-linux.h>.
37103         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37106 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37108         * io/fcntl.h: Move include of <bits/types.h> to the top and
37109         include it unconditionally.
37111 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37113         * wcsmbs/Makefile (tests-ifunc): New variable.
37114         (tests): Add $(tests-ifunc).
37115         * wcsmbs/test-wcschr-ifunc.c: New file.
37116         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37117         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37118         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37119         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37120         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37122         * string/Makefile (tests-ifunc): New variable.
37123         (tests): Add $(tests-ifunc).
37124         * string/test-memccpy.c (TEST_NAME): New macro.
37125         * string/test-memchr.c (TEST_NAME): Likewise.
37126         * string/test-memcmp.c (TEST_NAME): Likewise.
37127         * string/test-memcpy.c (TEST_NAME): Likewise.
37128         * string/test-memmem.c (TEST_NAME): Likewise.
37129         * string/test-memmove.c (TEST_NAME): Likewise.
37130         * string/test-memset.c (TEST_NAME): Likewise.
37131         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37132         * string/test-stpcpy.c (TEST_NAME): Likewise.
37133         * string/test-stpncpy.c (TEST_NAME): Likewise.
37134         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37135         * string/test-strcasestr.c (TEST_NAME): Likewise.
37136         * string/test-strcat.c (TEST_NAME): Likewise.
37137         * string/test-strchr.c (TEST_NAME): Likewise.
37138         * string/test-strcmp.c(TEST_NAME): Likewise.
37139         * string/test-strcpy.c (TEST_NAME): Likewise.
37140         * string/test-strcspn.c (TEST_NAME): Likewise.
37141         * string/test-strlen.c (TEST_NAME): Likewise.
37142         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37143         * string/test-strncmp.c (TEST_NAME): Likewise.
37144         * string/test-strncpy.c (TEST_NAME): Likewise.
37145         * string/test-strnlen.c (TEST_NAME): Likewise.
37146         * string/test-strpbrk.c (TEST_NAME): Likewise.
37147         * string/test-strrchr.c (TEST_NAME): Likewise.
37148         * string/test-strspn.c (TEST_NAME): Likewise.
37149         * string/test-strstr.c (TEST_NAME): Likewise.
37150         * string/test-bcopy-ifunc.c: New file.
37151         * string/test-bzero-ifunc.c: Likewise.
37152         * string/test-memccpy-ifunc.c: Likewise.
37153         * string/test-memchr-ifunc.c: Likewise.
37154         * string/test-memcmp-ifunc.c: Likewise.
37155         * string/test-memcpy-ifunc.c: Likewise.
37156         * string/test-memmem-ifunc.c: Likewise.
37157         * string/test-memmove-ifunc.c: Likewise.
37158         * string/test-mempcpy-ifunc.c: Likewise.
37159         * string/test-memset-ifunc.c: Likewise.
37160         * string/test-rawmemchr-ifunc.c: Likewise.
37161         * string/test-stpcpy-ifunc.c: Likewise.
37162         * string/test-stpncpy-ifunc.c: Likewise.
37163         * string/test-strcasecmp-ifunc.c: Likewise.
37164         * string/test-strcasestr-ifunc.c: Likewise.
37165         * string/test-strcat-ifunc.c: Likewise.
37166         * string/test-strchr-ifunc.c: Likewise.
37167         * string/test-strchrnul-ifunc.c: Likewise.
37168         * string/test-strcmp-ifunc.c: Likewise.
37169         * string/test-strcpy-ifunc.c: Likewise.
37170         * string/test-strcspn-ifunc.c: Likewise.
37171         * string/test-strlen-ifunc.c: Likewise.
37172         * string/test-strncasecmp-ifunc.c: Likewise.
37173         * string/test-strncat-ifunc.c: Likewise.
37174         * string/test-strncmp-ifunc.c: Likewise.
37175         * string/test-strncpy-ifunc.c: Likewise.
37176         * string/test-strnlen-ifunc.c: Likewise.
37177         * string/test-strpbrk-ifunc.c: Likewise.
37178         * string/test-strrchr-ifunc.c: Likewise.
37179         * string/test-strspn-ifunc.c: Likewise.
37180         * string/test-strstr-ifunc.c: Likewise.
37182         * debug/Makefile (tests-ifunc): New variable.
37183         (tests): Add $(tests-ifunc).
37184         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37185         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37186         * debug/test-stpcpy_chk-ifunc.c: New file.
37187         * debug/test-strcpy_chk-ifunc.c: Likewise.
37189 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37191         [BZ #13601]
37192         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37193         header is not read in.
37195 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37197         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37198         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37199         directly.  Pass built executable to script as
37200         $(built-program-cmd).
37201         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37202         $testprogram without using LD_LIBRARY_PATH and $ldso.
37204         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37205         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37206         $(rtld-installed-name).
37207         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37208         (rtld_installed_name): Likewise.
37209         (library_path): Likewise.
37210         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37211         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37212         $(run-program-prefix) to tst-tables.sh.
37213         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37214         it to run tst-table-from and tst-table-to.
37215         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37216         Pass it to tst-table.sh.
37217         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37218         $(run-program-prefix) to tst-gettext.sh.
37219         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37220         tst-translit.sh.
37221         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37222         tst-gettext2.sh.
37223         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37224         to run tst-gettext.
37225         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37226         to run tst-gettext2.
37227         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37228         to run tst-translit.
37229         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37230         $(run-program-prefix) to tst-mtrace.sh.
37231         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37232         to run tst-mtrace.
37233         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37234         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37235         $(rtld-installed-name).
37236         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37237         (rtld_installed_name): Likewise.
37238         (run_program_prefix): New variable.  Use it to run wordexp-test.
37240         * Makeconfig (ARCH): Remove all definitions.
37241         (machine): Likewise.
37242         [ARCH]: Remove conditional code.
37243         [!objdir]: Give error.
37244         [!objdir] (objpfx): Remove.
37245         [!objdir] (common-objpfx): Likewise.
37246         [!objdir] (common-objdir): Likewise.
37247         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37248         AC_CONFIG_FILES call.
37249         * configure: Regenerated.
37251         [BZ #13888]
37252         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37253         or TMPDIR.
37254         (testout): Likewise.
37256         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37257         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37258         $(rtld-installed-name).
37259         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37260         (rtld_installed_name): Likwise.
37261         (runit): Remove function.
37262         (run_getconf): New variable,  Use it for running getconf binary.
37264 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37266         [BZ #14716]
37267         * string/test-memmem.c (check_result): New function.
37268         (do_one_test): Use it.
37269         (check1): New function.
37270         (test_main): Use it.
37272 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37274         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37276 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37278         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37279         (_G_LSEEK64): Likewise.
37280         (_G_MMAP64): Likewise.
37281         (_G_FSTAT64): Likewise.
37282         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37283         (_G_LSEEK64): Likewise.
37284         (_G_MMAP64): Likewise.
37285         (_G_FSTAT64): Likewise.
37286         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37287         unconditional.  Call __mmap64 directly.
37288         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37289         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37290         __lseek64 directly.
37291         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37292         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37293         __mmap64 directly.
37294         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37295         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37296         __lseek64 directly.
37297         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37298         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37299         __lseek64 directly.
37300         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37301         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37302         __lseek64 directly.
37303         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37304         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37305         __fxstat64 directly.
37306         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37307         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37308         unconditional.
37309         (freopen64) [!_G_OPEN64]: Remove conditional code.
37310         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37311         unconditional.
37312         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37313         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37314         unconditional.
37315         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37316         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37317         unconditional.
37318         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37319         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37320         unconditional.
37321         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37322         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37323         unconditional.
37324         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37325         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37326         unconditional.
37327         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37328         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37329         unconditional.
37330         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37332 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37334         [BZ #12140]
37335         * manual/memory.texi (Malloc Tunable Parameters): Add note
37336         about free list pointers overwriting some perturb bytes.
37337         Wording suggested by Roland McGrath.
37339 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37341         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37342         (lgamma_test): Likewise.
37343         (tgamma_test): Likewise.
37345 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37347         [BZ #14700]
37348         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37349         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37351 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37353         * NEWS: Mention BZ #14716.
37354         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37355         when removing AVAILABLE1_USES_J macro.
37357 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37359         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37360         (__bswap_64): __uint64_t for unsigned 64-bit int.
37362 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37364         * include/string.h (memmem): Declare libc hidden alias.
37365         * string/memmem.c (memmem): Define libc hidden alias.
37366         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37367         __read, __close instead of open, read, close.
37369 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37372         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37373         global and hidden.
37374         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37375         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37376         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37377         Likewise.
37378         (__rawmemchr_sse2): Likewise.
37379         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37380         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37381         (__strchr_sse2): Likewise.
37382         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37383         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37384         (__strcasecmp_sse2): Likewise.
37385         (__strncasecmp_sse2): Likewise.
37386         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37387         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37388         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37389         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37390         (__strrchr_sse2): Likewise.
37391         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37392         ifunc-impl-list.c.
37393         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37394         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37395         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37396         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37397         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37398         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37399         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37400         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37401         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37402         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37403         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37404         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37405         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37406         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37407         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37408         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37409         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37410         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37411         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37412         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37413         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37414         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37415         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37416         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37417         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37418         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37419         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37420         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37421         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37422         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37424         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37425         global and hidden.
37426         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37427         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37428         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37429         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37430         Likewise.
37431         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37432         Likewise.
37433         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37434         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37435         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37436         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37437         ifunc-impl-list.c.
37438         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37439         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37440         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37441         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37442         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37443         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37444         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37445         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37446         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37447         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37448         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37449         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37450         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37451         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37452         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37453         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37454         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37455         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37456         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37457         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37458         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37459         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37460         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37461         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37462         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37463         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37464         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37465         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37466         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37467         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37468         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37469         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37470         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37471         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37472         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37473         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37474         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37475         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37476         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37477         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37478         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37480         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37481         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37482         * include/ifunc-impl-list.h: New file.
37483         * misc/ifunc-impl-list.c: Likewise.
37484         * misc/Makefile (routines): Add ifunc-impl-list.
37485         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37486         * string/test-string.h: Include <ifunc-impl-list.h>.
37487         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37488         TEST_NAME]: New variables.
37489         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37490         are defined.
37491         (test_init): Call __libc_ifunc_impl_list to initialize
37492         func_list if TEST_IFUNC and TEST_NAME are defined.
37494         * string/Makefile (strop-tests): Add bcopy and bzero.
37495         * string/test-bcopy.c: New file.
37496         * string/test-bzero.c: Likewise.
37497         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37498         defined.
37499         * string/test-memset.c: Support bzero test if TEST_BZERO is
37500         defined.
37501         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37502         __libc_memmove.
37503         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37504         __libc_memset.
37505         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37506         of memset.
37508 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37510         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37511         * configure: Regenerated.
37513         * Makeconfig (+link-static-before-libc): Don't include
37514         $(link-static-libc).
37516         * libio/libio.h (_IO_pos_t): Remove.
37518 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37520         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37521         McGrath.
37523 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37525         * crypt/crypt-entry.c: Include fips-private.h.
37526         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37527         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37528         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37529         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37531 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37533         * crypt/crypt-private.h: Include stdbool.h.
37534         (_ufc_setup_salt_r): Return bool.
37535         * crypt/crypt-entry.c: Include errno.h.
37536         (__crypt_r): Return NULL with EINVAL for bad salt.
37537         * crypt/crypt_util.c (bad_for_salt): New.
37538         (_ufc_setup_salt_r): Check that salt is long enough and within
37539         the specified alphabet.
37540         * crypt/badsalttest.c: New file.
37541         * crypt/Makefile (tests): Add it.
37542         ($(objpfx)badsalttest): New.
37544 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37546         * NEWS: Add entry for BZ #14602.
37548 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37550         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37551         type-generic.
37552         * math/libm-test.inc: Update comment listing what functions and
37553         macros are tested.
37554         (isgreater_test): New function.
37555         (isgreaterequal_test): Likewise.
37556         (isless_test): Likewise.
37557         (islessequal_test): Likewise.
37558         (islessgreater_test): Likewise.
37559         (isunordered_test): Likewise.
37560         (main): Call the new functions.
37562 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37564         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37565         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37566         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37567         * sysdeps/i386/configure: Regenerated.
37568         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37569         * sysdeps/mach/configure: Regenerated.
37570         * sysdeps/mach/hurd/configure: Regenerated.
37571         * sysdeps/powerpc/configure: Regenerated.
37572         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37573         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37574         * sysdeps/s390/s390-32/configure: Regenerated.
37575         * sysdeps/s390/s390-64/configure: Regenerated.
37576         * sysdeps/sh/configure: Regenerated.
37577         * sysdeps/sparc/configure: Regenerated.
37578         * sysdeps/unix/sysv/linux/configure: Regenerated.
37579         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37580         * sysdeps/x86_64/configure: Regenerated.
37582         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37583         defined.  Don't check if MAP is NULL.
37585 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37587         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37588         (_G_stat64): Likewise.
37589         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37590         (_G_stat64): Likewise.
37591         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37592         instead of struct _G_stat64.
37593         * libio/fileops.c (mmap_remap_check): Likewise.
37594         (decide_maybe_mmap): Likewise.
37595         (_IO_new_file_seekoff): Likewise.
37596         (_IO_file_stat): Likewise.
37597         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37598         _G_off64_t.
37599         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37600         instead of struct _G_stat64.
37601         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37603 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37605         [BZ #14602]
37606         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37607         Replace with ...
37608         (CHECK_EOL): New macro.
37609         (two_way_short_needle): Check beginning of haystack for EOL.  Use
37610         CHECK_EOL.
37611         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37612         Replace with CHECK_EOL.
37613         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37614         Replace with CHECK_EOL.
37616 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
37618         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37619         type-generic.
37620         * math/libm-test.inc: Update comment listing what functions and
37621         macros are tested.
37622         (finite_test): New function.
37623         (isinf_test): Likewise.
37624         (isnan_test): Likewise.
37625         (fpclassify_test): Test subnormal input.
37626         (isfinite_test): Likewise.
37627         (isnormal_test): Likewise.
37628         (main): Call the new functions.
37630 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
37632         [BZ #14660]
37633         * Makerules (%.dynsym): Force C locale when running
37634         $(OBJDUMP) --dynamic-syms.
37636 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
37638         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37639         <stdint.h>.
37641 2012-10-06  David S. Miller  <davem@davemloft.net>
37643         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37644         upper 32-bits of the length value in %o2 since we use branch-on-register
37645         tests which consider the entire 64-bit register.
37647 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
37649         * string/test-strstr.c (check2): Add a test for page boundary.
37651 2012-10-05  David S. Miller  <davem@davemloft.net>
37653         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37654         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37655         file.
37656         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37657         sysdep_routines.
37658         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37659         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37660         and bzero when HWCAP_SPARC_CRYPTO is present.
37662 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
37664         [BZ #14602]
37665         * string/test-strstr.c (check2): New function.
37666         (test_main): Call check2.
37668         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37669         and bug-strchr1.
37670         * string/bug-strcasestr1.c (do_test): Moved to ...
37671         * string/test-strcasestr.c (check1): Here.  New function.
37672         (do_one_test): Break out result checking code into ...
37673         (check_result): This.  New function.
37674         (do_one_test): Call check_result.
37675         (test_main): Call check1.
37676         * string/bug-strchr1.c (do_test): Moved to ...
37677         * string/test-strchr.c (check1): Here.  New function.
37678         (do_one_test): Break out result checking code into ...
37679         (check_result): This.  New function.
37680         (do_one_test): Call check_result.
37681         (test_main): Call check1.
37682         * string/bug-strstr1.c (main): Moved to ...
37683         * string/test-strstr.c (check1): Here.  New function.
37684         (do_one_test): Break out result checking code into ...
37685         (check_result): This.  New function.
37686         (do_one_test): Call check_result.
37687         (test_main): Call check1.
37688         * string/bug-strcasestr1.c: Removed.
37689         * string/bug-strchr1.c: Likewise.
37690         * string/bug-strstr1.c: Likewise.
37692         * elf/Makefile (dl-routines): Add hwcaps.
37693         * elf/dl-support.c (_dl_important_hwcaps): Removed.
37694         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37695         (_dl_important_hwcaps): Moved to ...
37696         * elf/dl-hwcaps.c: Here.  New file.
37697         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37699         [BZ #14557]
37700         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37701         if IS_IN_rtld isn't defined.
37703         * elf/dl-support.c (_dl_sysinfo_map): New.
37704         Include "get-dynamic-info.h" and "setup-vdso.h".
37705         (_dl_non_dynamic_init): Call setup_vdso.
37706         * elf/dynamic-link.h: Don't include <assert.h>.
37707         (elf_get_dynamic_info): Moved to ...
37708         * elf/get-dynamic-info.h: Here.  New file.
37709         * elf/dynamic-link.h: Include "get-dynamic-info.h".
37710         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37711         * elf/setup-vdso.h: Here.  New file.
37712         * elf/rtld.c: Include "setup-vdso.h".
37713         (dl_main): Call setup_vdso.
37715 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
37717         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37718         creal in comment listing functions tested.  List finite, isinf,
37719         isnan, isless, islessequal, isgreater, isgreaterequal,
37720         islessgreater, isunordered, lgamma_r and pow10 as functions and
37721         macros not tested.  Mention which functions not tested are aliases
37722         for other functions.  Fix typo.  Note that signs of NaNs are not
37723         tested.
37725         * scripts/config.guess: Update from config.git.
37726         * scripts/config.sub: Likewise.
37728 2012-10-04  Roland McGrath  <roland@hack.frob.com>
37730         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37731         * misc/madvise.c (madvise): Renamed to __madvise.
37732         Make madvise a weak alias.
37733         * include/sys/mman.h: Declare __madvise.
37734         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37735         * sysdeps/unix/syscalls.list
37736         (madvise): Make __madvise the strong name, and madvise a weak alias.
37737         * sysdeps/unix/sysv/linux/syscalls.list
37738         (madvise, mmap): Remove redundant entries.
37739         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37740         * malloc/malloc.c (mtrim): Likewise.
37741         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37743 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37745         * sysdeps/mach/hurd/dl-cache.c: File removed.
37746         * config.h.in (USE_LDCONFIG): New #undef.
37747         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37748         * configure: Regenerated.
37749         * elf/Makefile (dl-routines): Add dl-cache only under
37750         [$(use-ldconfig) = yes].
37751         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37752         cache on [USE_LDCONFIG].
37753         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37754         [USE_LDCONFIG].
37755         * elf/rtld.c (dl_main): Likewise.
37757 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
37759         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37760         _SC_LEVEL4_CACHE_LINESIZE.
37762 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37764         * sysdeps/unix/bsd/confstr.h: File removed.
37766 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
37768         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37769         sys/sdt-config.h.
37771 2012-10-02  Roland McGrath  <roland@hack.frob.com>
37773         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37774         Make 'mapoff' field ElfW(Off) rather than off_t.
37776 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
37778         * nscd/Makefile: Remove nscd-cflags and all its users.
37779         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37780         (CFLAGS-nonlib): Add compiler flags for nscd modules.
37782         [BZ #10631]
37783         * malloc.c (malloc_printerr): Clarify error message.
37785 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
37787         [BZ #14648]
37788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37789         Set bit_FMA_Usable if FMA is supported.
37790         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37791         macro.
37792         (bit_FMA4_Usable): Updated.
37793         (index_FMA_Usable): New macro.
37794         (CPUID_FMA): Likewise
37795         (HAS_FMA): Defined with bit_FMA_Usable.
37797 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37799         * bits/types.h (__swblk_t): Type removed.
37800         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37801         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37802         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37803         (__SWBLK_T_TYPE): Likewise.
37804         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37805         (__SWBLK_T_TYPE): Likewise.
37806         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37807         (__SWBLK_T_TYPE): Likewise.
37808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37809         (__SWBLK_T_TYPE): Likewise.
37811 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37812             Honza Horak <hhorak@redhat.com>
37814         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37815         (xdr_mapname): Use YPMAXMAP as maxsize.
37816         (xdr_peername): Use YPMAXPEER as maxsize.
37817         (xdr_keydat): Use YPAXRECORD as maxsize.
37818         (xdr_valdat): Use YPMAXRECORD as maxsize.
37820 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37822         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37824         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37825         * csu/init-first.c: ... here.
37826         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37827         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37828         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37829         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37830         * sysdeps/i386/init-first.c: File removed.
37831         * sysdeps/sh/init-first.c: File removed.
37833 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37835         [BZ #14645]
37836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37837         if x * y might underflow to zero and z is zero.
37838         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37839         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37840         * math/libm-test.inc (min_subnorm_value): New variable.
37841         (fma_test): Add more tests.
37842         (fma_test_towardzero): Likewise.
37843         (fma_test_downward): Likewise
37844         (fma_test_upward): Likewise.
37845         (initialize): Set min_subnorm_value.
37847 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37849         [BZ #14638]
37850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37851         0 + 0.
37852         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37853         mode for addition resulting in exact zero.
37854         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37856         exact 0 + 0.
37857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37859         * math/libm-test.inc (fma_test): Add more tests.
37860         (fma_test_towardzero): New function.
37861         (fma_test_downward): Likewise.
37862         (fma_test_upward): Likewise.
37863         (main): Call the new functions.
37865 2012-09-28  David S. Miller  <davem@davemloft.net>
37867         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37869 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37871         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37872         instead of SIGALRM.
37874         * sysdeps/gnu/_G_config.h: Moved to ...
37875         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37876         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37877         * sysdeps/generic/_G_config.h: ... here.
37879         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37881         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37883         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37884         Conditionalize target on [libnss_test1.so-version].
37886         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37888         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37889         (elfobjdir): Move out of conditionals.
37891         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37892         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37893         (__nss_lookup_function): Conditionalize label remove_from_tree on
37894         [!DO_STATIC_NSS || SHARED], matching its only use.
37896 2012-09-28  David S. Miller  <davem@davemloft.net>
37898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37899         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37900         file.
37901         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37902         sysdep_routines.
37903         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37904         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37905         when HWCAP_SPARC_CRYPTO is present.
37907 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37909         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37911 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37913         [BZ #6530]
37914         * stdio-common/vfprintf.c (process_string_arg): Revert
37915         2000-07-22 change.
37917 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37919         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37920         for testcase.
37921         * stdio-common/tst-sprintf.c: Include <locale.h>
37922         (main): Test sprintf's handling of incomplete multibyte
37923         characters.
37925 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37927         * elf/dl-runtime.c (VERSYMIDX): Removed.
37928         * elf/dl-version.c (VERSYMIDX): Likewise.
37929         * elf/do-rel.h (VERSYMIDX): Likewise.
37930         (VALIDX): Likewise.
37931         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37932         * elf/rtld.c (VALIDX): Likewise.
37933         (ADDRIDX): Likewise.
37934         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37935         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37936         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37937         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37938         (VALIDX): Likewise.
37939         (ADDRIDX): Likewise.
37941 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37943         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37945 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37947         [BZ #11438]
37948         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37949         to global scope.
37950         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37951         addresses are in the same scope as 192.0.2/24.
37952         * posix/gai.conf: Document new scope table defaults.
37954 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37956         [BZ #5298]
37957         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37958         for ftell.  Compute offsets from write pointers instead.
37959         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37961 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37963         [BZ #14543]
37964         * libio/Makefile (tests): New test case tst-fseek.
37965         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37966         combination works in wide mode.
37967         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37968         state when the external buffer state changes.
37970 2012-09-27  David S. Miller  <davem@davemloft.net>
37972         [BZ #14376]
37973         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37974         pass reloc->r_addend in as the 'high' argument to
37975         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37979 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37981         * rt/tst-aio2.c: Include <pthread.h>.
37982         * rt/tst-aio3.c: Likewise.
37984 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37986         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37988 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37990         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37991         contents on [SHARED].
37993 2012-09-26  Marek Polacek  <polacek@redhat.com>
37995         [BZ #14530]
37996         [BZ #13741]
37997         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37998         for C++ and GCC <4.3 as well as for non GCC compilers.
38000 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38004 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38006         * Makefile.in (all, install): Declare with .PHONY.
38007         Reported by Michael Hope <michael.hope@linaro.org>.
38009 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38011         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38012         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38013         system header.
38014         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38015         Likewise.
38016         (sydep_routines): Add the new and the internal functions.
38017         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38018         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38020         (GLIBC_2.17): Add the new function.
38021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38022         (GLIBC_2.17): Likewise.
38023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38024         (GLIBC_2.17): Likewise.
38025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38026         (GLIBC_2.17): Likewise.
38027         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38029 2012-09-25  Alan Modra  <amodra@gmail.com>
38031         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38032         Add release barrier before setting once_control to say
38033         initialisation is done.  Add hints on lwarx.  Use macro in
38034         place of isync.
38035         (clear_once_control): Add release barrier.
38037 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38039         [BZ #13629]
38040         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38041         specially.
38042         * math/s_clog10.c (__clog10): Likewise.
38043         * math/s_clog10f.c (__clog10f): Likewise.
38044         * math/s_clog10l.c (__clog10l): Likewise.
38045         * math/s_clogf.c (__clogf): Likewise.
38046         * math/s_clogl.c (__clogl): Likewise.
38047         * math/Makefile (libm-calls): Add x2y2m1.
38048         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38049         (__x2y2m1): Likewise.
38050         (__x2y2m1l): Likewise.
38051         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38052         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38053         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38054         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38055         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38056         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38057         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38058         * sysdeps/i386/fpu/libm-test-ulps: Update.
38059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38061         [BZ #14621]
38062         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38063         int as type of variable DEPTH.
38064         (glob): Use size_t instead of int as type of variables NEWCOUNT
38065         and OLD_PATHC.
38067 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38069         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38070         Add s_sincosf-sse2.
38071         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38072         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38073         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38074         macros for using routine as __sincosf_ia32.
38075         Use macro for function declaration and weak_alias.
38076         * sysdeps/i386/fpu/libm-test-ulps: Update.
38078         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38081         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38082         subnormal argument.
38083         * math/s_cexpf.c (__cexpf): Likewise.
38084         * math/s_csinf.c (__csinf): Likewise.
38085         * math/s_csinhf.c (__csinhf): Likewise.
38086         * math/s_ctanf.c (__ctanf): Likewise.
38087         * math/s_ctanhf.c (__ctanhf): Likewise.
38088         * math/s_ccosh.c (__ccoshf): Likewise.
38089         * math/s_cexp.c (__cexpl): Likewise.
38090         * math/s_csin.c (__csin): Likewise.
38091         * math/s_csinh.c (__csinh): Likewise.
38092         * math/s_ctan.c (__ctan): Likewise.
38093         * math/s_ctanh.c (ctanh): Likewise.
38094         * math/s_ccoshl.c (__ccoshl): Likewise.
38095         * math/s_cexpl.c (__cexpl): Likewise.
38096         * math/s_csinl.c (__csinl): Likewise.
38097         * math/s_csinhl.c (__csinhl): Likewise.
38098         * math/s_ctanl.c (__ctanl): Likewise.
38099         * math/s_ctanhl.c (__ctanhl): Likewise.
38101 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38103         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38104         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38105         (_IO_off_t): Define to __off_t, not _G_off_t.
38106         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38107         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38108         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38109         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38110         type of __dummy and __dummy2 fields.
38111         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38112         (_G_ssize_t): Likewise.
38113         (_G_off_t): Likewise.
38114         (_G_pid_t): Likewise.
38115         (_G_uid_t): Likewise.
38116         (_G_wchar_t): Likewise.
38117         (_G_wint_t): Likewise.
38118         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38119         (_G_ssize_t): Likewise.
38120         (_G_off_t): Likewise.
38121         (_G_pid_t): Likewise.
38122         (_G_uid_t): Likewise.
38123         (_G_wchar_t): Likewise.
38124         (_G_wint_t): Likewise.
38125         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38126         (_G_ssize_t): Likewise.
38127         (_G_off_t): Likewise.
38128         (_G_pid_t): Likewise.
38129         (_G_uid_t): Likewise.
38130         (_G_wchar_t): Likewise.
38131         (_G_wint_t): Likewise.
38133 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38135         * malloc/arena.c: Include malloc-sysdep.h.
38136         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38137         is sufficient to shrink the heap or an unmap is needed.
38138         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38139         new function check_may_shrink_heap.
38140         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38141         new function check_may_shrink_heap.
38143 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38145         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38146         comments.
38148 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38150         * catgets/test-gencat.sh: Add "set -e".
38151         * elf/tst-pathopt.sh: Likewise.
38152         * grp/tst_fgetgrent.sh: Likewise.
38153         * iconvdata/run-iconv-test.sh: Likewise.
38154         * intl/tst-gettext.sh: Likewise.
38155         * intl/tst-gettext2.sh: Likewise.
38156         * intl/tst-gettext4.sh: Likewise.
38157         * intl/tst-gettext6.sh: Likewise.
38158         * intl/tst-translit.sh: Likewise.
38159         * io/ftwtest-sh: Likewise.
38160         * libio/test-freopen.sh: Likewise.
38161         * malloc/tst-mtrace.sh: Likewise.
38162         * posix/globtest.sh: Likewise.
38163         * posix/tst-getconf.sh: Likewise.
38164         * posix/wordexp-tst.sh: Likewise.
38165         * stdio-common/tst-printf.sh: Likewise.
38166         * stdio-common/tst-unbputc.sh: Likewise.
38167         * stdlib/tst-fmtmsg.sh: Likewise.
38168         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38169         * catgets/Makefile: Do not specify -e option when running
38170         testsuite shell scripts.
38171         * elf/Makefile: Likewise.
38172         * grp/Makefile: Likewise.
38173         * iconvdata/Makefile: Likewise.
38174         * intl/Makefile: Likewise.
38175         * io/Makefile: Likewise.
38176         * libio/Makefile: Likewise.
38177         * malloc/Makefile: Likewise.
38178         * posix/Makefile: Likewise.
38179         * stdio-common/Makefile: Likewise.
38180         * stdlib/Makefile: Likewise.
38181         * sysdeps/x86_64/Makefile: Likewise.
38183         * io/ftwtest-sh: Add copyright header.
38184         * posix/globtest.sh: Likewise.
38185         * posix/tst-getconf.sh: Likewise.
38186         * posix/wordexp-tst.sh: Likewise.
38187         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38189 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38191         [BZ #13679]
38192         * Makeconfig (+link): Defined as $(+link-static) if
38193         $(build-shared) isn't yes.
38194         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38195         isn't yes.
38196         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38198         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38200         [BZ #14562]
38201         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38202         new chunk size with MALLOC_ALIGN_MASK.
38204 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38206         [BZ #5044]
38207         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38208         <rounding-mode.h>.
38209         (__printf_fphex): Determine rounding using get_rounding_mode and
38210         round_away.
38211         * stdio-common/tst-printf-round.c (struct hex_test): New
38212         structure.
38213         (hex_tests): New variable.
38214         (test_hex_in_one_mode): New function.
38215         (do_test): Also run tests for hex float output.
38217 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38219         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38220         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38221         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38222         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38223         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38224         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38225         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38226         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38228 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38230         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38231         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38232         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38233         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38235 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38237         [BZ #14579]
38238         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38239         mode only.
38240         * elf/tst-rtld-load-self.sh: New test.
38241         * elf/Makefile: Run it.
38243 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38245         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38246         (tst-writev-ENV): Remove.
38247         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38249 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38251         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38253 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38255         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38256         unconditional.
38257         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38258         Likewise.
38259         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38260         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38261         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38262         Likewise.
38264 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38266         [BZ #14587]
38267         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38268         * config.make.in (have-cpp-asm-debuginfo): Removed.
38269         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38270         * configure: Regenerated.
38272 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38274         [BZ #5044]
38275         * stdio-common/printf_fp.c: Include <stdbool.h> and
38276         <rounding-mode.h>.
38277         (___printf_fp): Determine rounding using get_rounding_mode and
38278         round_away.
38279         * stdio-common/tst-printf-round.c: New file.
38280         * stdio-common/Makefile (tests): Add tst-printf-round.
38281         (link-libm): New variable.
38282         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38284 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38286         [BZ #14576]
38287         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38288         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38289         Likewise.
38290         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38291         Likewise.
38293 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38295         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38296         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38297         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38298         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38300 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38302         [BZ #14518]
38303         * include/rounding-mode.h: New file.
38304         * sysdeps/generic/get-rounding-mode.h: Likewise.
38305         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38306         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38307         (MAX_VALUE): New macro.
38308         (MIN_VALUE): Likewise.
38309         (overflow_value): New function.
38310         (underflow_value): Likewise.
38311         (round_and_return): Use overflow_value and underflow_value to
38312         determine return values in overflow and underflow cases.  Use
38313         round_away to determine rounding depending on rounding mode.
38314         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38315         determine return values in overflow and underflow cases.
38316         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38317         (struct test_results): New structure.
38318         (struct test): Use struct test_results to store expected results
38319         for all rounding modes.
38320         (TEST): Include expected results for all rounding modes.
38321         (test_in_one_mode): New function.
38322         (do_test): Use test_in_one_mode to compute and check results.
38323         Check results for all rounding modes.
38324         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38325         $(link-libm).
38327 2012-12-09  Allan McRae  <allan@archlinux.org>
38329         * sysdeps/i386/fpu/libm-test-ulps: Update
38331 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38333         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38334         (_G_int32_t): Likewise.
38335         (_G_uint16_t): Likewise.
38336         (_G_uint32_t): Likewise.
38337         (_G_HAVE_BOOL): Likewise.
38338         (_G_HAVE_ATEXIT): Likewise.
38339         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38340         (_G_HAVE_IO_FILE_OPEN): Likewise.
38341         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38342         (_G_int32_t): Likewise.
38343         (_G_uint16_t): Likewise.
38344         (_G_uint32_t): Likewise.
38345         (_G_HAVE_BOOL): Likewise.
38346         (_G_HAVE_ATEXIT): Likewise.
38347         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38348         (_G_HAVE_IO_FILE_OPEN): Likewise.
38349         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38350         (_G_int32_t): Likewise.
38351         (_G_uint16_t): Likewise.
38352         (_G_uint32_t): Likewise.
38353         (_G_HAVE_BOOL): Likewise.
38354         (_G_HAVE_ATEXIT): Likewise.
38355         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38356         (_G_HAVE_IO_FILE_OPEN): Likewise.
38358 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38360         * csu/libc-tls.c: Update copyright years.
38362 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38364         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38365         [!_G_USING_THUNKS]: Remove conditional code.
38366         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38367         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38369         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38370         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38371         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38372         (_G_VTABLE_LABEL_PREFIX): Likewise.
38373         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38374         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38375         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38376         (_G_VTABLE_LABEL_PREFIX): Likewise.
38377         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38378         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38379         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38380         (_G_VTABLE_LABEL_PREFIX): Likewise.
38381         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38383 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38385         * libio/Makefile: Include ../Makeconfig before tests.
38386         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38387         only if $(build-shared) is yes.
38389         * iconv/gconv_db.c: Update copyright years.
38391 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38393         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38394         unwind info if defined PIC. Fix special cases description.
38395         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38397         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38398         DP_HI_MASK entry.
38399         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38401 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38403         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38405         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38406         is NULL.
38408         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38409         (LDLIBS-tst-chk4): This.
38410         (LDFLAGS-tst-chk5): Renamed to ...
38411         (LDLIBS-tst-chk5): This.
38412         (LDFLAGS-tst-chk6): Renamed to ...
38413         (LDLIBS-tst-chk6): This.
38414         (LDFLAGS-tst-lfschk4): Renamed to ...
38415         (LDLIBS-tst-lfschk4): This.
38416         (LDFLAGS-tst-lfschk5): Renamed to ...
38417         (LDLIBS-tst-lfschk5): This.
38418         (LDFLAGS-tst-lfschk6): Renamed to ...
38419         (LDLIBS-tst-lfschk6): This.
38421         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38422         on $(common-objpfx)soversions.mk.
38424 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38426         [BZ #10014]
38427         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38428         example host name.
38430 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38432         * malloc/arena.c (arena_get_retry): New function that gets
38433         another arena for the caller to try its request on.
38434         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38435         current arena cannot fulfill the request.
38436         (__libc_memalign): Likewise.
38437         (__libc_memalign): Likewise.
38438         (__libc_pvalloc): Likewise.
38439         (__libc_calloc): Likewise.
38441 2012-09-05  John Tobey  <john.tobey@gmail.com>
38443         [BZ #13542]
38444         * manual/arith.texi (Operations on Complex): Fix description
38445         of carg branch cut.
38447 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38449         [BZ #10014]
38450         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38451         host name.
38453         [BZ #10038]
38454         * manual/memory.texi (Memory): Make order of menu items match
38455         order of sections.
38457 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38459         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38460         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38461         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38463 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38465         * csu/libc-tls.c (static_dtv): Renamed to ...
38466         (_dl_static_dtv): This.  Make it global.
38467         (_dl_initial_dtv): Removed.
38468         (__libc_setup_tls): Updated.
38469         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38470         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38471         DL_INITIAL_DTV.
38473 2012-09-06  Petr Machata  <pmachata@redhat.com>
38475         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38476         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38477         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38478         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38480 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38482         [BZ #14545]
38483         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38484         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38485         freeing dtv[-1].
38487 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38489         [BZ #14544]
38490         * Makeconfig (link-static-before-libc): Replace $(+prector)
38491         with $(+prectorT).
38492         (link-static-after-libc): Replace $(+postctor) with
38493         $(+postctorT).
38494         (link-bounded): Replace $(+prector)/$(+postctor) with
38495         $(+prectorT)/$(+postctorT).
38496         (+prectorT): New macro.
38497         (+postctorT): Likewise.
38499 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38501         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38502         (round_str): Handle values above the maximum for IBM long double
38503         as inexact.
38504         * stdlib/tst-strtod-round.c (tests): Regenerated.
38506 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38508         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38509         assembler flag.
38510         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38511         zarch_nohighgprs around the zarch optimized routines.
38512         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38513         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38514         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38515         for zarch.
38517 2012-09-05  David S. Miller  <davem@davemloft.net>
38519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38521         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38522         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38523         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38524         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38525         entries.
38527 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38529         * malloc/arena.c: Fold copyright years.
38530         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38532 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38534         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38536 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38538         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38540 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38542         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38543         change internal state upon failure.
38545 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38547         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38548         * malloc/memusage.c (mmap): Likewise.
38549         (mmap64, mremap): Likewise.  Adjust name in comment.
38551 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38553         * libio/fileops.c: Fix typos in comments.
38554         * libio/oldfileops.c: Likewise.
38555         * libio/wfileops.c: Likewise.
38557 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38559         [BZ #1349]
38560         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38561         (tst-malloc-usable-ENV): Set environment for test case.
38562         * malloc/hooks.c (malloc_check_get_size): New function to get
38563         requested size.
38564         * malloc/malloc.c (musable): Use malloc_check_get_size.
38565         * malloc/tst-malloc-usable.c: New test case.
38567 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38569         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38571 2012-09-05  Allan McRae  <allan@archlinux.org>
38573         [BZ #13966]
38574         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38575         determine header location.
38576         * configure: Regenerated.
38578 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38580         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38581         float format.
38582         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38583         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38584         format.
38585         (test): Regenerate.
38587 2012-09-04  David S. Miller  <davem@davemloft.net>
38589         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38590         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38591         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38593 2012-09-04  Florian Weimer  <fweimer@redhat.com>
38595         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38596         failures.
38598         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38600 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38602         [BZ #9914]
38603         * libio/iogetdelim.c: Include <limits.h>.
38604         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38605         + len + 1 would overflow.
38607 2012-09-03  Andreas Jaeger  <aj@suse.de>
38609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38610         * sysdeps/i386/fpu/libm-test-ulps: Update.
38612 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38614         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38615         Add s_sinf-sse2, s_conf-sse2.
38617         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38618         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38619         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38620         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38622         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38623         for using routine as __sinf_ia32.
38624         Use macro for function declaration and weak_alias.
38625         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38626         for using routine as __cosf_ia32.
38627         Use macro for function declaration and weak_alias.
38629         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38630         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38632         * sysdeps/x86_64/fpu/s_sinf.S: New file.
38633         * sysdeps/x86_64/fpu/s_cosf.S: New file.
38634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38636         * math/libm-test.inc (cos_test): Add more test cases.
38637         (sin_test): Likewise.
38638         (sincos_test): Likewise.
38640 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38642         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38643         (IFUNC_RESOLVE): Make pointers to the specialized implementations
38644         hidden.
38645         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38647 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
38649         [BZ #14538]
38650         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38651         first element of the GOT.
38652         (elf_machine_load_address): Return the difference between
38653         the runtime address of _DYNAMIC and elf_machine_dynamic ().
38655 2012-09-01  Allan McRae  <allan@archlinux.org>
38657         [BZ #13412]
38658         * configure.in (AWK): Require gawk version 3.0 or later.
38659         * configure: Regenerated.
38661 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
38663         * sysdeps/unix/sysv/linux/kernel-features.h
38664         (__ASSUME_POSIX_CPU_TIMERS): Remove.
38665         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38666         [__NR_clock_getres]: Make code unconditional.
38667         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38668         (clock_getcpuclockid): Remove code left unreachable by removal of
38669         conditionals.
38670         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38671         code unconditional.
38672         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38673         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38674         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38675         Make code unconditional.
38676         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38677         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38678         * sysdeps/unix/sysv/linux/clock_settime.c
38679         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38680         conditional code.
38681         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38682         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38684 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
38686         [BZ #14476]
38687         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38688         scripts/test-installation.pl.
38690         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38691         and $ld_so_version if it is set.
38693 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38695         [BZ #14516]
38696         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38697         failure if reading from procfs failed.
38698         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38700 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38702         * sysdeps/unix/sysv/linux/kernel-features.h
38703         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38704         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38705         Remove conditional code.
38706         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38707         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38708         Remove conditional code.
38709         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38710         * sysdeps/unix/sysv/linux/i386/fxstat.c
38711         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38712         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38713         * sysdeps/unix/sysv/linux/i386/fxstatat.c
38714         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38715         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38716         * sysdeps/unix/sysv/linux/i386/lxstat.c
38717         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38718         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38719         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38720         Remove conditional code.
38721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38722         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38723         Remove conditional code.
38724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38725         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38726         <kernel-features.h>.
38727         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38728         Remove.
38729         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38730         Remove conditional code.
38731         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38732         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38733         Remove conditional.
38735 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
38737         [BZ #5400]
38738         * NEWS: Add fixed bug number.
38740 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38742         [BZ #14519]
38743         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38744         underflowing exponent in case of negative sign.
38745         * stdlib/tst-strtod-round-data: Add more tests.
38746         * stdlib/tst-strtod-round.c (tests): Regenerated.
38748         [BZ #3479]
38749         * stdlib/strtod_l.c (NDIG): Remove.
38750         (HEXNDIG): Likewise.
38751         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38752         smallest representable value.
38753         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38754         lie within an exact representation of 1/2 ulp of the result.
38755         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38756         unconditionally.
38757         (TENS_P9_IDX): Define unconditionally.
38758         (TENS_P9_SIZE): Likewise.
38759         (TENS_P10_IDX): Likewise.
38760         (TENS_P10_SIZE): Likewise.
38761         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38762         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38763         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38764         entries for 10^2^13 and 10^2^14.
38765         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38766         (TENS_P13_IDX): Define.
38767         (TENS_P13_SIZE): Likewise.
38768         (TENS_P14_IDX): Likewise.
38769         (TENS_P14_SIZE): Likewise.
38770         (_fpioconst_pow10): Change array size to
38771         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
38772         unconditional.
38773         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38774         1024]: Add entries for 10^2^13 and 10^2^14.
38775         [LAST_POW10 > _LAST_POW10]: Remove #error.
38776         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38777         (_fpioconst_pow10): Change array size to
38778         FPIOCONST_POW10_ARRAY_SIZE.
38779         * stdlib/gen-fpioconst.c: New file.
38780         * stdlib/gen-tst-strtod-round.c: Likewise.
38781         * stdlib/tst-strtod-round-data: Likewise.
38782         * stdlib/tst-strtod-round.c: Likewise.
38783         * stdlib/Makefile (tests): Add tst-strtod-round.
38785         [BZ #14459]
38786         * stdlib/strtod_l.c: Include <stdint.h>.
38787         (NDEBUG): Do not define.
38788         (round_and_return): Change EXPONENT parameter to type intmax_t.
38789         Rearrange calculations to avoid internal overflow possibilities.
38790         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38791         Rearrange calculations to avoid internal overflow possibilities.
38792         Assert that number fits inside MPNSIZE limbs.
38793         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38794         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
38795         calculations and add assertions to avoid internal overflow
38796         possibilities.  Add casts to avoid signed/unsigned operations.
38797         * stdlib/tst-strtod-overflow.c: New file.
38798         * stdlib/Makefile (tests): Add tst-strtod-overflow.
38800 2012-08-25  Marek Polacek  <polacek@redhat.com>
38802         * time/time.h: Fix some typos in comments.
38804 2012-08-23  Roland McGrath  <roland@hack.frob.com>
38806         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38807         * posix/tst-rfc3484-2.c: Likewise.
38808         * posix/tst-rfc3484-3.c: Likewise.
38810 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38812         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38813         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38815 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38817         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38818         #include of fxstatat64.c.
38820 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38822         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38823         * shadow/getspent_r.c: Likewise.
38824         * shadow/getspnam.c: Likewise.
38825         * shadow/getspnam_r.c: Likewise.
38826         * gshadow/getsgent.c: Likewise.
38827         * gshadow/getsgent_r.c: Likewise.
38828         * gshadow/getsgnam.c: Likewise.
38829         * gshadow/getsgnam_r.c: Likewise.
38830         * inet/getnetbyad.c: Likewise.
38831         * inet/getnetbyad_r.c: Likewise.
38832         * inet/getnetbynm.c: Likewise.
38833         * inet/getnetbynm_r.c: Likewise.
38834         * inet/getnetent.c: Likewise.
38835         * inet/getnetent_r.c: Likewise.
38836         * inet/getproto.c: Likewise.
38837         * inet/getproto_r.c: Likewise.
38838         * inet/getprtent.c: Likewise.
38839         * inet/getprtent_r.c: Likewise.
38840         * inet/getprtname.c: Likewise.
38841         * inet/getprtname_r.c: Likewise.
38842         * inet/getrpcbyname.c: Likewise.
38843         * inet/getrpcbyname_r.c: Likewise.
38844         * inet/getrpcbynumber.c: Likewise.
38845         * inet/getrpcbynumber_r.c: Likewise.
38846         * inet/getrpcent.c: Likewise.
38847         * inet/getrpcent_r.c: Likewise.
38848         * inet/getaliasent.c: Likewise.
38849         * inet/getaliasent_r.c: Likewise.
38850         * inet/getaliasname.c: Likewise.
38851         * inet/getaliasname_r.c: Likewise.
38852         * nscd/getgrgid_r.c: Likewise.
38853         * nscd/getgrnam_r.c: Likewise.
38854         * nscd/gethstbyad_r.c: Likewise.
38855         * nscd/gethstbynm3_r.c: Likewise.
38856         * nscd/getpwnam_r.c: Likewise.
38857         * nscd/getpwuid_r.c: Likewise.
38858         * nscd/getsrvbynm_r.c: Likewise.
38859         * nscd/getsrvbypt_r.c: Likewise.
38860         * nscd/gai.c: Likewise.
38862         * configure.in (build_nscd): New substituted variable, set
38863         by --disable-build-nscd and defaults to $use_nscd.
38864         * configure: Regenerated.
38865         * config.make.in (build-nscd): New substituted variable.
38866         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38867         Change conditional to require [$(build-nscd) = yes] as well.
38868         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38870         [BZ# 13696]
38871         * configure.in (use_nscd): New substituted variable, set by
38872         --disable-nscd.  If enabled, define USE_NSCD.
38873         * configure: Regenerated.
38874         * config.h.in: Add USE_NSCD.
38875         * config.make.in (use-nscd): New substituted variable.
38876         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38877         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38878         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38879         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38880         (CFLAGS-getgrnam_r.c): Likewise.
38881         (CFLAGS-initgroups.c): Likewise.
38882         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38883         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38884         Variables removed.
38885         * inet/getnetgrent_r.c
38886         (nscd_setnetgrent): New function, broken out of ...
38887         (setnetgrent): ... here.  Call it.
38888         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38889         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38890         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38891         * nscd/Makefile (routines, aux): Move definitions after include of
38892         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38893         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38894         Conditionalize on [USE_NSCD].
38895         (is_nscd, nscd_init_cb): Likewise.
38896         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38897         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38898         * nss/nss_db/db-init.c: Likewise.
38899         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38900         [USE_NSCD].
38901         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38902         (make_request): Use it.
38903         (cache_valid_p): New function.
38904         (__check_pf): Use it.
38905         * NEWS: Add item for --disable-nscd.
38907 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38909         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38910         to support sed >= 4.2.1-20-ga9bf076.
38911         * configure: Regenerated.
38913 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38915         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38916         Conditionalize whole body on [IREL].
38918 2012-08-22  Jeff Law <law@redhat.com>
38920         [BZ #14505]
38921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38922         if the family is PF_UNSPEC.
38924 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38926         * Makerules (lib-version): Rename from V.
38927         (install-lib-nosubdir): Change V to lib-version.
38929 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38931         [BZ #14252]
38932         * powerpc32/power6/wcschr.c: New file.
38933         * powerpc32/power6/wcscpy.c: New file.
38934         * powerpc32/power6/wcsrchr.c: New file.
38935         * powerpc64/power6/wcschr.c: New file.
38936         * powerpc64/power6/wcscpy.c: New file.
38937         * powerpc64/power6/wcsrchr.c: New file.
38939 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38941         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38942         (two_way_short_needle): Use it.
38943         * string/strstr.c (AVAILABLE1_USES_J): Define.
38944         * string/strcasestr.c: Likewise.
38946         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38947         array references.
38948         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38950         [BZ #11607]
38951         * NEWS: Add an entry.
38952         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38953         define their defaults.
38954         (two_way_short_needle): Detect end-of-string on-the-fly.
38955         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38956         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38957         * string/bug-strcasestr1.c: New test.
38958         * string/Makefile: Run it.
38960 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38962         [BZ #11607]
38963         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38964         the first character.
38966 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38968         * csu/elf-init.c (__libc_csu_irel): Function removed.
38969         * csu/libc-start.c (apply_irel): New function.
38970         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38972 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38974         * sysdeps/unix/sysv/linux/kernel-features.h
38975         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38976         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38977         <kernel-features.h>.
38978         [__NR_fadvise64_64]: Make code unconditional.
38979         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38980         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38981         !__NR_fadvise64_64)]: Likewise.
38982         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38983         !__NR_fadvise64_64))]: Likewise.
38984         [__NR_fadvise64]: Make code unconditional.
38985         [!__NR_fadvise64]: Remove conditional code.
38986         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38987         <kernel-features.h>.
38988         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38989         unconditional.
38990         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38991         conditional code.
38992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38993         not include <kernel-features.h>.
38994         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38995         unconditional.
38996         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38997         conditional code.
38998         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38999         include <kernel-features.h>.
39000         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39001         unconditional.
39002         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39003         conditional code.
39005 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39007         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39008         slight instruction rearrangements per scrollpipe analysis.
39009         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39011 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39013         * manual/syslog.texi (syslog; vsyslog, closelog):
39014         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39015         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39017         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39018         DSOCAPS to match condition on defining it.
39020 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39022         * sysdeps/unix/sysv/linux/kernel-features.h
39023         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39025         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39026         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39028         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39029         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39031         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39032         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39034         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39035         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39037         * sysdeps/unix/sysv/linux/kernel-features.h
39038         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39039         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39040         unconditional.
39041         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39042         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39043         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39044         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39045         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39046         Make code unconditional.
39047         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39048         (__mmap64) [!__NR_mmap2]: Likewise.
39049         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39050         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39051         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39052         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39053         [__NR_mmap2]: Make code unconditional.
39054         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39055         (__mmap64) [!__NR_mmap2]: Likewise.
39057 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39059         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39061 2012-08-18  Andreas Jaeger  <aj@suse.de>
39063         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39065 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39067         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39068         * include/unistd.h (__have_sock_cloexec): Likewise.
39069         (__have_pipe2): Likewise.
39070         (__have_dup3): Likewise.
39072 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39074         [BZ #9685]
39075         * include/unistd.h (__have_pipe2): Change define into an extern int.
39076         (__have_dup3): Likewise.
39077         * socket/have_sock_cloexec.c: Include fcntl.h.
39078         (__have_pipe2): New variable.
39079         (__have_dup3): Likewise.
39081 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39083         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39085 2012-08-17  Marek Polacek  <polacek@redhat.com>
39087         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39088         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39090 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39092         * configure.in: Add AC_SUBST for sysheaders.
39093         * configure: Regenerated.
39094         * config.make.in (sysheaders): New substituted variable.
39096         * sysdeps/unix/mkfifo.c: Moved ...
39097         * sysdeps/posix/mkfifo.c: ... here.
39098         * sysdeps/unix/mkfifoat.c: Moved ...
39099         * sysdeps/posix/mkfifoat.c: ... here.
39101         * sysdeps/unix/utime.c: Moved ...
39102         * sysdeps/posix/utime.c: ... here.
39104         * sysdeps/unix/time.c: Moved ...
39105         * sysdeps/posix/time.c: ... here.
39106         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39107         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39109         * sysdeps/unix/nice.c: Moved ...
39110         * sysdeps/posix/nice.c: ... here.
39112         * sysdeps/unix/alarm.c: Moved ...
39113         * sysdeps/posix/alarm.c: ... here.
39115         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39117 2012-08-17  Jeff Law <law@redhat.com>
39119         * intl/Makefile (codeset_mo): New variable.
39120         ($(codeset_mo)): New target.
39121         (tst-codeset.out): Depend on that.  Remove explicit rule.
39122         (tst-gettext3.out, tst-gettext5.out): Likewise.
39123         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39124         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39125         * intl/tst-codeset.sh: Remove.
39126         * intl/tst-gettext3.sh: Likewise.
39127         * intl/tst-gettext5.sh: Likewise.
39129 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39131         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39132         * sysdeps/unix/syscalls.list: ... here.
39134         * sysdeps/posix/getaddrinfo.c
39135         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39136         (gaiconf_init, gaiconf_reload): Use them.
39137         [!_STATBUF_ST_NSEC]
39138         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39139         Define using time_t rather than struct timespec.
39141         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39142         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39143         Macros removed.
39144         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39145         [!NO_THREADS].
39146         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39147         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39148         Likewise.
39150         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39151         __libc_cleanup_push argument.
39153         * bits/param.h: New file.
39154         * misc/sys/param.h: New file.
39155         * include/sys/param.h: New file.
39156         * misc/Makefile (headers): Add bits/param.h.
39157         * sysdeps/generic/sys/param.h: File removed.
39158         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39159         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39160         * sysdeps/mach/hurd/bits/param.h: New file.
39161         * sysdeps/mach/hurd/sys/param.h: File removed.
39163         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39164         last change.
39166         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39167         [_IO_MTSAFE_IO].
39168         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39169         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39170         New macros.
39172         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39173         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39174         rather than -D_IO_MTSAFE_IO conditionally.
39175         * stdio-common/Makefile (CPPFLAGS): Likewise.
39176         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39177         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39178         Use $(libio-mtsafe).
39179         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39180         of -D_IO_MTSAFE_IO.
39181         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39182         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39183         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39184         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39185         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39186         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39187         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39188         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39189         (CFLAGS-fread_u_chk.c): Likewise.
39190         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39191         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39192         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39193         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39194         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39195         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39196         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39197         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39198         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39200         * libio/Makefile: Test [$(libc-reentrant) = yes]
39201         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39203         * Makeconfig
39204         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39205         * sysdeps/pthread/configure: File removed.
39206         * sysdeps/pthread/Makeconfig: New file.
39207         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39208         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39210 2012-08-16  Gary Benson  <gbenson@redhat.com>
39212         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39213         unmapping the first object in a namespace.
39215 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39217         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39218         (__internal_setnetgrent): ... this.  Add internal_function to
39219         definition.  Add libc_hidden_def.
39220         (setnetgrent): Update caller.
39221         (internal_endnetgrent): Renamed to ...
39222         (__internal_endnetgrent): ... this.  Add internal_function to
39223         definition.  Add libc_hidden_def.
39224         (endnetgrent): Update caller.
39225         (internal_getnetgrent_r): Renamed to ...
39226         (__internal_getnetgrent_r): ... this.  Add internal_function to
39227         definition.  Add libc_hidden_def.
39228         (__getnetgrent_r): Update caller.
39229         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39231 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39233         * stdlib/longlong.h: Update from GCC.
39235 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39237         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39238         on _QL, which is set by umul_ppmm but never used.
39239         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39240         variables, which are set by GMP macros but never used.
39241         * stdio-common/_itowa.c (_itowa): Likewise.
39242         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39243         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39245 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39247         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39248         struct La_sh_regs is not constant.
39249         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39250         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39251         and struct La_sparc64_regs are not constant.
39253 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39255         * sysdeps/unix/sysv/linux/kernel-features.h
39256         (__ASSUME_POSIX_TIMERS): Remove.
39257         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39258         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39259         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39260         Make code unconditional.
39261         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39262         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39263         Make code unconditional.
39264         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39265         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39266         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39267         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39268         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39269         Make code unconditional.
39270         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39271         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39272         (__libc_missing_posix_timers): Remove.
39274 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39276         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39277         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39279         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39281         * elf/dl-sym.c: Include <stdlib.h>.
39283         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39284         constants, which avoids warnings in 32-bit builds.
39286         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39287         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39289         * misc/lseek.c: File moved to ...
39290         * io/lseek.c: ... here.
39292         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39294         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39295         shifting LEN more than 31 bits at once.
39297 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39299         [BZ #14195]
39300         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39301         segmentation fault for a case of two empty input strings.
39302         * string/test-strncasecmp.c (check1): Renamed to...
39303         (bz12205): ...this.
39304         (bz14195): Add new testcase for two empty input strings and N > 0.
39305         (test_main): Call new testcase, adapt for renamed function.
39307 2012-08-15  Andreas Jaeger  <aj@suse.de>
39309         [BZ #14090]
39310         * crypt/md5test2.c: New test, based on test supplied by Serge
39311         Belyshev <belyshev@depni.sinp.msu.ru>.
39312         * crypt/Makefile (xtests): Add md5test-giant..
39313         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39315 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39317         [BZ #14090]
39318         * crypt/md5.c (md5_process_block): Don't assume the buffer
39319         length is less than 2**32.
39320         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39321         length is less than 2**64.
39323 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39325         * string/str-two-way.h: Include <sys/param.h>.
39326         (MAX): Macro removed.
39328         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39329         Move #define and #undef of memmove to just before and after
39330         including <string.h>.
39332         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39333         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39334         and after including <string.h>.  Move declarations of
39335         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39336         to before #include "string/memmove.c".
39338         * include/dirent.h: Declare __getdirentries.
39340         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39341         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39343 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39345         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39346         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39347         * sysdeps/i386/configure: Regenerated.
39348         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39349         STABS_CURRENT_FILE, and STABS_FUN.
39350         (END): Remove call to STABS_FUN_END.
39351         (STABS_CURRENT_FILE1): Delete.
39352         (STABS_CURRENT_FILE): Likewise.
39353         (STABS_FUN): Likewise.
39354         (STABS_FUN_END): Likewise.
39355         (STABS_FUN2): Likewise.
39356         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39357         * sysdeps/x86_64/configure: Regenerated.
39359 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39361         * elf/dl-open.c: Include <atomic.h>.
39362         * elf/dl-lookup.c: Likewise.
39364 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39366         * sysdeps/unix/sysv/linux/kernel-features.h
39367         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39368         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39369         unconditionally.
39370         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39371         unconditionally.
39372         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39373         condition on __ASSUME_CLONE_THREAD_FLAGS.
39375 2012-08-14  Andreas Jaeger  <aj@suse.de>
39377         * sysdeps/i386/fpu/libm-test-ulps: Update.
39379 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39381         * include/atomic.h (atomic_exchange_and_add): Split into ...
39382         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39383         New atomic macros.
39385 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39389 2012-08-13  Jeff Law <law@redhat.com>
39391         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39392         null byte in the output string.
39394 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39396         * sysdeps/unix/sysv/linux/kernel-features.h
39397         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39398         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39399         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39400         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39401         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39402         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39403         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39405 2012-08-09  Jeff Law <law@redhat.com>
39407         [BZ #13939]
39408         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39409         When avoid_arena is set, don't retry in the that arena.  Pick the
39410         next one, whatever it might be.
39411         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39412         (arena_lock): Pass in new parameter to arena_get2.
39413         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39414         arena_get2.
39415         (__libc_malloc): Unify retrying after main arena failure with
39416         __libc_memalign version.
39417         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39419 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39421         [BZ #14166]
39422         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39423         to __redirect_strstr.
39424         (__strstr_sse42): Use typeof __redirect_strstr.
39425         (__strstr_ia32): Likewise.
39426         (__libc_strstr): New prototype.
39427         (strstr): Renamed to ...
39428         (__libc_strstr): This.
39429         (strstr): New strong alias of __libc_strstr.
39430         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39431         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39432         __redirect_time.
39433         Include <time.h>.
39434         (__libc_time): New prototype.
39435         (time_ifunc): Replace time with __libc_time.
39436         (time): New strong alias and hidden definition of __libc_time.
39437         (__GI_time): Remove strong alias.
39438         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39439         Include <stddef.h>.
39440         (memmove): Redefined to __redirect_memmove.
39441         (__memmove_sse2): Use typeof __redirect_memmove.
39442         (__memmove_ssse3): Likewise.
39443         (__memmove_ssse3_back): Likewise.
39444         (__libc_memmove): New prototype.
39445         (memmove): Renamed to ...
39446         (__libc_memmove): This.
39447         (memmove): New strong alias of __libc_memmove.
39449 2012-08-08  Mark Salter  <msalter@redhat.com>
39451         * elf/elf.h
39452         (R_MN10300_TLS_GD): Define.
39453         (R_MN10300_TLS_LD): Likewise.
39454         (R_MN10300_TLS_LDO): Likewise.
39455         (R_MN10300_TLS_GOTIE): Likewise.
39456         (R_MN10300_TLS_IE): Likewise.
39457         (R_MN10300_TLS_LE): Likewise.
39458         (R_MN10300_TLS_DTPMOD): Likewise.
39459         (R_MN10300_TLS_DTPOFF): Likewise.
39460         (R_MN10300_TLS_TPOFF): Likewise.
39461         (R_MN10300_SYM_DIFF): Likewise.
39462         (R_MN10300_ALIGN): Likewise.
39463         (R_MN10300_NUM): Update.
39465 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39467         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39468         Remove.
39470 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39472         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39474         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39475         sysdeps/unix -> sysdeps/posix move.
39476         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39478 2012-08-07      Allan McRae     <allan@archlinux.org>
39480         [BZ #14303]
39481         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39482         (SUNOS_CPP): Likewise.
39483         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39484         not found.
39485         (open_input): Call CPP using execvp.
39487 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39489         * sysdeps/unix/sysv/linux/kernel-features.h
39490         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39491         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39492         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39493         (__ASSUME_WAITID_SYSCALL): Likewise.
39494         * sysdeps/unix/sysv/linux/dl-execstack.c
39495         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39496         code unconditional.
39497         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39498         conditional code.
39499         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39500         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39501         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39502         code.
39503         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39504         unconditional.
39505         [__ASSUME_WAITID_SYSCALL]: Likewise.
39506         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39508 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39510         * sysdeps/unix/closedir.c: Renamed to ...
39511         * sysdeps/posix/closedir.c: ... here.
39512         * sysdeps/unix/dirfd.c: Renamed to ...
39513         * sysdeps/posix/dirfd.c: ... here.
39514         * sysdeps/unix/dirstream.h: Renamed to ...
39515         * sysdeps/posix/dirstream.h: ... here.
39516         * sysdeps/unix/fdopendir.c: Renamed to ...
39517         * sysdeps/posix/fdopendir.c: ... here.
39518         * sysdeps/unix/opendir.c: Renamed to ...
39519         * sysdeps/posix/opendir.c: ... here.
39520         * sysdeps/unix/readdir.c: Renamed to ...
39521         * sysdeps/posix/readdir.c: ... here.
39522         * sysdeps/unix/readdir_r.c: Renamed to ...
39523         * sysdeps/posix/readdir_r.c: ... here.
39524         * sysdeps/unix/rewinddir.c: Renamed to ...
39525         * sysdeps/posix/rewinddir.c: ... here.
39526         * sysdeps/unix/seekdir.c: Renamed to ...
39527         * sysdeps/posix/seekdir.c: ... here.
39528         * sysdeps/unix/telldir.c: Renamed to ...
39529         * sysdeps/posix/telldir.c: ... here.
39530         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39531         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39532         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39533         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39535         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39536         * bits/fcntl.h: ... here.
39538         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39539         not 0.
39540         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39541         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39542         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39543         (struct flock): Move l_start, l_len to the beginning.
39544         Use __pid_t for l_pid.
39545         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39546         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39547         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39548         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39549         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39550         [__USE_LARGEFILE64] (struct flock64): New type.
39551         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39553         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39554         * bits/dirent.h: ... here.
39556         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39557         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39559 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39562         Change from 2.6.0 to 2.6.16.
39563         * sysdeps/unix/sysv/linux/configure: Regenerated.
39564         * sysdeps/unix/sysv/linux/kernel-features.h
39565         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39566         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39567         version.
39568         (__ASSUME_UTIMES): Likewise.
39569         (__ASSUME_CLONE_STOPPED): Remove.
39570         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39571         architectures, not kernel version.
39572         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39573         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39574         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39575         (__ASSUME_WAITID_SYSCALL): Likewise.
39576         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39577         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39578         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39579         refer to older versions.
39581 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39583         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39584         Define alphasort64 as an alias.
39585         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39586         Define versionsort64 as an alias.
39587         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39588         Define scandir64 as an alias.
39589         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39590         Define scandirat64 as an alias.
39591         * dirent/alphasort64.c (alphasort64):
39592         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39593         * dirent/versionsort64.c: Likewise.
39594         * dirent/scandir64.c: Likewise.
39595         * dirent/scandirat64.c: Likewise.
39596         * sysdeps/wordsize-64/alphasort.c: File removed.
39597         * sysdeps/wordsize-64/alphasort64.c: File removed.
39598         * sysdeps/wordsize-64/scandir.c: File removed.
39599         * sysdeps/wordsize-64/scandir64.c: File removed.
39600         * sysdeps/wordsize-64/scandirat.c: File removed.
39601         * sysdeps/wordsize-64/scandirat64.c: File removed.
39602         * sysdeps/wordsize-64/versionsort.c: File removed.
39603         * sysdeps/wordsize-64/versionsort64.c: File removed.
39604         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39605         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39606         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39607         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39608         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39609         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39610         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39611         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39613         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39614         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39615         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39617         [defined __arch64__ || defined __sparcv9]
39618         (__INO_T_MATCHES_INO64_T): New macro.
39619         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39620         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39621         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39622         * sysdeps/unix/sysv/linux/bits/dirent.h
39623         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39624         (_DIRENT_MATCHES_DIRENT64): New macro.
39626         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39627         Define lockf64 as an alias.
39628         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39629         Define fseeko64 as an alias.
39630         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39631         Define ftello64 as an alias.
39632         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39633         Define _IO_fgetpos64 and fgetpos64 as aliases.
39634         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39635         Define _IO_fsetpos64 and fsetpos64 as aliases.
39636         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39637         Conditionalize body on this.
39638         * libio/fseeko64.c: Likewise.
39639         * libio/ftello64.c: Likewise.
39640         * libio/iofgetpos64.c: Likewise.
39641         * libio/iofsetpos64.c: Likewise.
39642         * sysdeps/wordsize-64/lockf.c: File removed.
39643         * sysdeps/wordsize-64/lockf64.c: File removed.
39644         * sysdeps/wordsize-64/fseeko.c: File removed.
39645         * sysdeps/wordsize-64/fseeko64.c: File removed.
39646         * sysdeps/wordsize-64/ftello.c: File removed.
39647         * sysdeps/wordsize-64/ftello64.c: File removed.
39648         * sysdeps/wordsize-64/iofgetpos.c: File removed.
39649         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39650         * sysdeps/wordsize-64/iofsetpos.c: File removed.
39651         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39652         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39653         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39654         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39656         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39658         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39659         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39660         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39661         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39663         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39664         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39665         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39666         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39667         [defined __arch64__ || defined __sparcv9]
39668         (__OFF_T_MATCHES_OFF64_T): New macro.
39669         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39670         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39671         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39672         (__OFF_T_MATCHES_OFF64_T): New macro.
39674 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39676         * stdlib/secure-getenv.c (__secure_getenv): Replace
39677         GLIBC_2_16 with GLIBC_2_17.
39679 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39681         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39682         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39684 2012-08-03  David S. Miller  <davem@davemloft.net>
39686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39688 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39690         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39691         Remove.
39692         (__ASSUME_CORRECT_SI_PID): Likewise.
39693         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39694         (__ASSUME_TMPFS_NAME): Likewise.
39695         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39696         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39697         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39698         (HAVE_AUX_SECURE): Make definition unconditional.
39699         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39700         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39702 2012-08-03  Roland McGrath  <roland@hack.frob.com>
39704         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39705         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39706         * sysdeps/mach/hurd/eloop-threshold.h: New file.
39707         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39708         __eloop_threshold instead of SYMLOOP_MAX.
39710         * sysdeps/generic/eloop-threshold.h: New file.
39711         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39712         of MAXSYMLINKS.
39713         * elf/chroot_canon.c (chroot_canon): Likewise.
39715 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39717         [BZ #13717]
39718         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39719         Change to 2.6.0 everywhere.
39720         * sysdeps/unix/sysv/linux/configure: Regenerated.
39721         * sysdeps/unix/sysv/linux/kernel-features.h
39722         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39723         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39724         kernel versions.
39725         (__ASSUME_POSIX_TIMERS): Define unconditionally.
39726         (__ASSUME_FUTEX_REQUEUE): Remove.
39727         (__ASSUME_STATFS64): Define unconditionally.
39728         (__ASSUME_AT_SECURE): Likewise.
39729         (__ASSUME_CORRECT_SI_PID): Likewise.
39730         (__ASSUME_TGKILL): Define without depending on kernel version for
39731         i386.
39732         (__ASSUME_UTIMES): Likewise.
39733         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39734         kernel version.
39735         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39736         (__ASSUME_TMPFS_NAME): Likewise.
39737         * README: Update reference to Linux kernel versions.
39739 2012-08-02  Marek Polacek  <polacek@redhat.com>
39741         [BZ# 14150]
39742         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
39743         libc_cv_asm_type_prefix with %.
39744         * configure: Regenerated.
39745         * include/libc-symbols.h: Remove comment about
39746         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39747         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39748         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39749         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39750         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39751         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39752         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39753         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39754         * elf/tst-unique2mod1.c: Likewise.
39755         * elf/tst-unique1mod2.c: Likewise.
39756         * elf/tst-unique1mod1.c: Likewise.
39757         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39758         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39759         Replace ASM_TYPE_DIRECTIVE with .type.
39760         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39761         * sysdeps/i386/sysdep.h: Likewise.
39762         * sysdeps/x86_64/sysdep.h: Likewise.
39763         * sysdeps/sh/sysdep.h: Likewise.
39764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39765         Do not define ASM_TYPE_DIRECTIVE.
39766         * sysdeps/powerpc/sysdep.h: Likewise.
39767         * sysdeps/powerpc/powerpc32/sysdep.h:
39768         Replace ASM_TYPE_DIRECTIVE with .type.
39769         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39770         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39771         * sysdeps/i386/fpu/e_powf.S: Likewise.
39772         * sysdeps/i386/fpu/e_expl.S: Likewise.
39773         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39774         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39775         * sysdeps/i386/fpu/e_pow.S: Likewise.
39776         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39777         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39778         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39779         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39780         * sysdeps/i386/fpu/e_log2.S: Likewise.
39781         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39782         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39783         * sysdeps/i386/fpu/e_powl.S: Likewise.
39784         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39785         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39786         * sysdeps/i386/fpu/e_logl.S: Likewise.
39787         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39788         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39789         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39790         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39791         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39792         * sysdeps/i386/fpu/e_log.S: Likewise.
39793         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39794         * sysdeps/i386/fpu/e_logf.S: Likewise.
39795         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39796         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39797         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39798         * sysdeps/i386/fpu/e_log10.S: Likewise.
39799         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39800         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39801         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39802         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39803         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39804         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39805         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39806         * sysdeps/i386/i686/strtok.S: Likewise.
39807         * sysdeps/i386/i386-mcount.S: Likewise.
39808         * sysdeps/i386/strtok.S: Likewise.
39809         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39810         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39811         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39812         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39813         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39814         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39815         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39816         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39817         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39818         * sysdeps/x86_64/_mcount.S: Likewise.
39819         * sysdeps/x86_64/strtok.S: Likewise.
39820         * sysdeps/sh/_mcount.S: Likewise.
39822 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39824         * libio/iofopen.c: Include <fcntl.h>.
39825         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39826         (_IO_fopen64, fopen64): Define as aliases.
39827         * libio/iofopen64.c: Include <fcntl.h>.
39828         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39829         Conditionalize body on this.
39830         * sysdeps/wordsize-64/iofopen.c: File removed.
39831         * sysdeps/wordsize-64/iofopen64.c: File removed.
39833 2012-08-01  Marek Polacek  <polacek@redhat.com>
39835         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39836         Use dlfcn directly instead of a variable.
39837         (binfmt-subdir): Do not define.
39838         (dlfcn): Likewise.
39840 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39843         Remove all definitions.
39844         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39845         <kernel-features.h>.
39846         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39847         (miss_F_GETOWN_EX): Remove all definitions.
39848         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39849         macro definition.
39850         [!__ASSUME_FCNTL64]: Remove conditional code.
39851         [__ASSUME_FCNTL64]: Make code unconditional.
39852         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39853         <kernel-features.h>.
39854         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39855         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39856         (lockf64) [__NR_fcntl64]: Make code unconditional.
39857         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39859         * sysdeps/unix/sysv/linux/kernel-features.h
39860         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39861         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39862         Make code unconditional.
39863         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39864         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39866         [__NR_vfork]: Make code unconditional.
39867         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39868         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39870         [__NR_vfork]: Make code unconditional.
39871         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39872         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39874 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39876         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39877         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39879         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39880         Define mkstemp64 as an alias.
39881         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39882         Define mkstemps64 as an alias.
39883         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39884         Define mkostemp64 as an alias.
39885         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39886         Define mkostemps64 as an alias.
39887         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39888         Conditionalize body on this.
39889         * misc/mkostemp64.c: Likewise.
39890         * misc/mkostemps64.c: Likewise.
39891         * misc/mkstemps64.c: Likewise.
39892         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39893         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39894         * sysdeps/wordsize-64/mkostemp.c: File removed.
39895         * sysdeps/wordsize-64/mkstemp.c: File removed.
39896         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39897         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39898         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39899         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39901         [BZ #14138]
39902         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39903         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39904         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39905         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39907         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39908         compat_symbol macros from <shlib-compat.h> rather than the underlying
39909         default_symbol_version and symbol_version macros, so that DEFAULT
39910         lines in shlib-versions are respected.
39911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39913 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39915         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39916         Declare with warn_unused_result.
39917         (setgid, setregid, setegid, setresgid): Likewise.
39918         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39919         Likewise.
39920         * WUR-REPORT: Remove set*id functions.
39922 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39924         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39926 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39928         [BZ #10191]
39929         * include/sys/socket.h (__libc_accept, __libc_accept4):
39930         Add attribute_hidden.
39931         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39933         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39934         use of PTR_MANGLE.
39935         * inet/getnetgrent_r.c (setup): Likewise.
39937         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39939 2012-07-31  David S. Miller  <davem@davemloft.net>
39941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39943 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39945         [BZ #13629]
39946         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39947         value between 1.0 and 2.0 and smaller part has absolute value less
39948         than 1.0.
39949         * math/s_clog10.c (__clog10): Likewise.
39950         * math/s_clog10f.c (__clog10f): Likewise.
39951         * math/s_clog10l.c (__clog10l): Likewise.
39952         * math/s_clogf.c (__clogf): Likewise.
39953         * math/s_clogl.c (__clogl): Likewise.
39954         * math/libm-test.inc (clog_test): Add more tests.
39955         (clog10_test): Likewise.
39956         * sysdeps/i386/fpu/libm-test-ulps: Update.
39957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39959 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39961         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39962         Exit with zero in case no suitable GID is found, and write a
39963         message to standard error.
39965 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39967         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39968         rather than to 1.
39969         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39970         (MAXPATHLEN): Removed.
39971         (NOGROUP, NODEV): New macros.
39972         (setbit, clrbit, isset, isclr): New macros.
39973         (howmany, roundup, powerof2): New macros.
39974         (DEV_BSIZE): New macro.
39976         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39977         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39979         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39980         definition on [!__NO_LONG_DOUBLE_MATH].
39982         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39983         PTR_MANGLE and PTR_DEMANGLE.
39985         * socket/accept4.c (accept4): Rename to __libc_accept4.
39986         Define accept4 as a weak alias.
39988         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39989         on [_DIRENT_HAVE_D_TYPE].
39990         * io/ftw.c (ftw_dir): Likewise.
39992         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39994         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39996         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39997         Use the BSD numbers rather than the arbitrary ones we had.
39998         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39999         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40000         (SIGXCPU, SIGXFSZ): New macros.
40001         (_NSIG): Now 32.
40003         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40004         initializer on [_LIBC_REENTRANT].
40006         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40007         definitions inside [_POSIX_MAPPED_FILES].
40009         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40011         * dirent/opendir.c: Include <fcntl.h>.
40013         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40014         (__libc_getspecific): Likewise.
40015         (__libc_key_create): Likewise.
40017         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40018         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40019         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40020         (tmpfile64): Define as alias.
40021         * sysdeps/wordsize-64/tmpfile.c: File removed.
40022         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40023         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40024         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40026         * stdio-common/vfscanf.c: Include <stdbool.h>.
40027         * nss/makedb.c: Likewise.
40028         * stdio-common/_i18n_number.h: Likewise.
40029         * argp/argp-help.c: Likewise.
40030         * posix/wordexp.c: Likewise.
40031         * sysdeps/posix/spawni.c: Likewise.
40032         * nss/nss_files/files-initgroups.c: Likewise.
40033         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40034         * nss/nss_files/files-initgroups.c: Likewise.
40035         * nss/nss_db/db-netgrp.c: Likewise.
40036         * nss/nss_db/db-initgroups.c: Likewise.
40037         * io/fchmodat.c: Include <sys/stat.h>.
40039         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40040         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40042         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40043         [HAVE_MMAP].
40045         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40046         Add multiple inclusion protection.
40048 2012-07-27  David S. Miller  <davem@davemloft.net>
40050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40052 2012-07-27  Gary Benson  <gbenson@redhat.com>
40054         [BZ #14298]
40055         * elf/rtld.c: Include <stap-probe.h>.
40056         (dl_main): Added static probes "init_start" and "init_complete".
40057         * elf/dl-load.c: Include <stap-probe.h>.
40058         (lose): Take new parameter "nsid".
40059         Added static probe "map_failed".
40060         (_dl_map_object_from_fd): Pass namespace id to lose.
40061         Added static probe "map_start".
40062         (open_verify): Pass namespace id to lose.
40063         * elf/dl-open.c: Include <stap-probe.h>.
40064         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40065         and "reloc_complete".
40066         * elf/dl-close.c: Include <stap-probe.h>.
40067         (_dl_close_worker): Added static probes "unmap_start" and
40068         "unmap_complete".
40069         * elf/rtld-debugger-interface.txt: New file documenting the above.
40071 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40073         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40074         rather than a string variable.
40075         * sunrpc/rpc_main.c (h_output): Likewise.
40076         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40078 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40080         * inet/check_native.c: New file.
40082 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40084         [BZ #13629]
40085         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40086         if larger part has absolute value 1.0.
40087         * math/s_clog10.c (__clog10): Likewise.
40088         * math/s_clog10f.c (__clog10f): Likewise.
40089         * math/s_clog10l.c (__clog10l): Likewise.
40090         * math/s_clogf.c (__clogf): Likewise.
40091         * math/s_clogl.c (__clogl): Likewise.
40092         * math/libm-test.inc (clog_test): Add more tests.
40093         (clog10_test): Likewise.
40094         * sysdeps/i386/fpu/libm-test-ulps: Update.
40095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40097         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40098         (pltexit): Likewise.
40099         (La_regs): Likewise.
40100         (La_retval): Likewise.
40101         (int_retval): Likewise.
40102         Update #error for removed macros to refer only to definitions in
40103         tst-audit.h.
40104         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40105         macro.
40106         (pltexit): Likewise.
40107         (La_regs): Likewise.
40108         (La_retval): Likewise.
40109         (int_retval): Likewise.
40110         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40111         macro.
40112         (pltexit): Likewise.
40113         (La_regs): Likewise.
40114         (La_retval): Likewise.
40115         (int_retval): Likewise.
40116         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40117         macro.
40118         (pltexit): Likewise.
40119         (La_regs): Likewise.
40120         (La_retval): Likewise.
40121         (int_retval): Likewise.
40122         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40123         macro.
40124         (pltexit): Likewise.
40125         (La_regs): Likewise.
40126         (La_retval): Likewise.
40127         (int_retval): Likewise.
40128         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40129         macro.
40130         (pltexit): Likewise.
40131         (La_regs): Likewise.
40132         (La_retval): Likewise.
40133         (int_retval): Likewise.
40134         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40135         macro.
40136         (pltexit): Likewise.
40137         (La_regs): Likewise.
40138         (La_retval): Likewise.
40139         (int_retval): Likewise.
40140         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40141         macro definitions in tst-audit.h.
40142         * sysdeps/i386/tst-audit.h: New file.
40143         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40144         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40145         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40146         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40147         * sysdeps/sh/tst-audit.h: Likewise.
40148         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40149         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40150         * sysdeps/x86_64/tst-audit.h: Likewise.
40152 2012-07-26  Andreas Jaeger  <aj@suse.de>
40154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40155         ptrace.
40157         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40158         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40159         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40160         PTRACE_O_MASK.
40161         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40162         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40163         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40165         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40166         value.
40168         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40169         _sigsys.
40170         (si_call_addr, si_syscall, si_arch): Define new macro.
40171         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40172         _sigsys.
40173         (si_call_addr, si_syscall, si_arch): Define new marcro.
40174         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40175         _sigsys.
40176         (si_call_addr, si_syscall, si_arch): Define new macro.
40177         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40178         _sigsys.
40179         (si_call_addr, si_syscall, si_arch): Define new macro.
40181 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40183         [BZ #13717]
40184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40185         Change to 2.4.21 where previously 2.4.1.
40186         * sysdeps/unix/sysv/linux/configure: Regenerated.
40187         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40188         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40189         Linux kernel version.
40190         (__ASSUME_STD_AUXV): Remove.
40191         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40192         kernel version.
40193         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40194         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40195         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40196         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40197         (__ASSUME_NETLINK_SUPPORT): Likewise.
40198         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40199         (__no_netlink_support): Remove conditional definition.
40200         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40201         Remove.
40202         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40203         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40204         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40205         (if_nameindex_ioctl): Remove.
40206         (if_nameindex_netlink): Do not handle __no_netlink_support.
40207         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40208         code.
40209         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40210         Remove conditional code.
40211         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40212         code.
40213         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40214         unconditional.
40215         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40216         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40217         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40218         Remove.
40219         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40220         [!__ASSUME_STD_AUXV]: Remove conditional code.
40221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40222         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40223         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40225         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40226         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40227         code.
40228         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40230         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40231         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40232         conditional code.
40233         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40235         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40236         code.
40237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40238         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40239         conditional code.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40241         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40242         code unconditional.
40243         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40244         conditional code.
40245         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40246         unconditional.
40247         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40248         conditional code.
40249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40250         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40251         unconditional.
40252         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40253         conditional code.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40255         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40256         code unconditional.
40257         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40258         conditional code.
40259         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40260         unconditional.
40261         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40262         conditional code.
40263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40264         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40265         code unconditional.
40266         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40267         conditional code.
40268         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40269         unconditional.
40270         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40271         conditional code.
40273 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40275         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40276         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40277         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40278         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40279         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40280         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40281         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40282         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40283         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40284         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40285         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40286         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40287         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40288         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40289         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40290         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40291         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40292         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40293         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40295         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40296         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40297         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40299 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40301         * Versions.def: Add GLIBC_2.17.
40302         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40303         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40304         Introduce __libc_secure_getenv.
40305         * stdlib/Versions (2.17): Add secure_getenv
40306         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40307         * stdlib/secure-getenv.c: Rename __secure_getenv to
40308         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40309         symbol __secure_getenv for GLIBC_2.0.
40310         * stdlib/tst-secure-getenv.c: New.
40311         * stdlib/Makefile (tests): Add testcase.
40312         * manual/startup.texi (Environment Access): Document
40313         secure_getenv.
40314         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40315         __libc_secure_getenv.
40316         * inet/ruserpass.c (ruserpass): Likewise.
40317         * malloc/mtrace.c (mtrace): Likewise.
40318         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40319         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40320         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40321         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40322         HAVE_SECURE_GETENV.
40323         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40324         __secure_getenv to __libc_secure_getenv.
40325         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40327         Likewise.
40328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40329         Likewise.
40330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40332         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40338 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40340         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40341         (struct La_i86_retval): Likewise.
40342         (struct La_x86_64_regs): Likewise.
40343         (struct La_x86_64_retval): Likewise.
40344         (struct La_x32_regs): Likewise.
40345         (struct La_x32_retval): Likewise.
40346         (struct La_ppc32_regs): Likewise.
40347         (struct La_ppc32_retval): Likewise.
40348         (struct La_ppc64_regs): Likewise.
40349         (struct La_ppc64_retval): Likewise.
40350         (struct La_sh_regs): Likewise.
40351         (struct La_sh_retval): Likewise.
40352         (struct La_s390_32_regs): Likewise.
40353         (struct La_s390_32_retval): Likewise.
40354         (struct La_s390_64_regs): Likewise.
40355         (struct La_s390_64_retval): Likewise.
40356         (struct La_sparc32_regs): Likewise.
40357         (struct La_sparc32_retval): Likewise.
40358         (struct La_sparc64_regs): Likewise.
40359         (struct La_sparc64_retval): Likewise.
40360         (struct audit_ifaces): Remove architecture-specific pltenter and
40361         pltexit members.
40362         * sysdeps/i386/ldsodefs.h: New file.
40363         * sysdeps/powerpc/ldsodefs.h: Likewise.
40364         * sysdeps/s390/ldsodefs.h: Likewise.
40365         * sysdeps/sh/ldsodefs.h: Likewise.
40366         * sysdeps/sparc/ldsodefs.h: Likewise.
40367         * sysdeps/x86_64/ldsodefs.h: Likewise.
40369 2012-07-25  Marek Polacek  <polacek@redhat.com>
40371         [BZ #6808]
40372         * math/libm-test.inc (yn_test): Add another test.
40373         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40374         to ERANGE when the result is +-Inf.
40375         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40376         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40377         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40378         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40380 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40382         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40383         equal to 0.
40384         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40385         clock_t.
40386         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40388 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40390         * configure.in <sysdeps resolving>: Correct printing
40391         Implies_before.
40392         * configure: Regenerate.
40394 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40396         * math/w_ilogb.c: Include <limits.h>.
40397         * math/w_ilogbl.c: Likewise.
40399 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40401         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40402         va_copy.  Document allowing for unavailable va_copy only as
40403         pre-C99 compatibility.
40404         * manual/string.texi (Copying and Concatenation): Use va_copy
40405         instead of __va_copy in concat example.
40407 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40409         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40410         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40411         it if not null.
40413         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40414         with O_NOLINK passed to __file_name_lookup.
40416         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40417         with O_NOLINK passed to __file_name_lookup.
40419         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40420         negative N or less than NGIDS.
40422         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40423         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40424         enough.  Use memcpy instead of strncpy.
40426 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40428         * elf/Makefile (check-data): Remove.
40429         (localplt.data): New vpath directive.
40430         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40431         instead of $(check-data).
40432         * scripts/data/localplt-generic.data: Move to ...
40433         * sysdeps/generic/localplt.data: ... here.
40434         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40435         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40436         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40438         ... here.
40439         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40441         ... here.
40442         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40444         ... here.
40445         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40447         ... here.
40448         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40450         ... here.
40451         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40453         ... here.
40455 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40457         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40458         PPC32 and PPC64 files.
40459         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40460         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40462 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40464         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40465         __makecontext_ret to ...
40466         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40467         ... here and call exit if uc_link is NULL.  New file.
40468         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40469         __makecontext_ret.S.
40470         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40471         __makecontext_ret to ...
40472         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40473         ... here and call exit if uc_link is NULL.  New file.
40474         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40475         __makecontext_ret.S.
40477 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40479         * elf/elf.h (R_390_IRELATIVE): New definition.
40480         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40481         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40482         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40483         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40484         (elf_machine_lazy_rel): Likewise.
40485         * sysdeps/s390/dl-irel.h: New file.
40486         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40487         * sysdeps/s390/s390-64/memset.S: New asm code.
40488         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40489         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40490         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40491         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40492         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40493         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40495         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40496         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40497         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40498         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40499         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40500         * sysdeps/s390/s390-32/memset.S: New asm code.
40501         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40503 2012-07-17  Marek Polacek  <polacek@redhat.com>
40505         [BZ #14349]
40506         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40507         * sysdeps/s390/s390-64/configure.in: Likewise.
40508         * sysdeps/sparc/configure.in: Likewise.
40509         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40510         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40511         * sysdeps/i386/configure.in: Likewise.
40512         * sysdeps/x86_64/configure.in: Likewise.
40513         * sysdeps/sh/configure.in: Likewise.
40514         * sysdeps/s390/s390-32/configure: Regenerated.
40515         * sysdeps/s390/s390-64/configure: Likewise.
40516         * sysdeps/x86_64/configure: Likewise.
40517         * sysdeps/sh/configure: Likewise.
40518         * sysdeps/powerpc/powerpc64/configure: Likewise.
40519         * sysdeps/powerpc/powerpc32/configure: Likewise.
40520         * sysdeps/sparc/configure: Likwise.
40521         * sysdeps/i386/configure: Likewise.
40523         * elf/dl-open.c: Comment fixes.
40525 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40527         * Makefile [CXX] (check-data): Remove.
40528         [CXX] (c++-types.data): New vpath directive.
40529         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40530         vpath.  Do not allow for C++ type data being missing.
40531         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40532         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40533         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40534         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40535         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40536         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40537         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40539         ... here.
40540         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40542         ... here.
40543         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40545         ... here.
40546         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40548         ... here.
40549         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40551         ... here.
40552         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40554         ... here.
40555         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40557         ... here.
40558         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40561         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40562         definitions to architecture-specific files.
40563         (TLS_IE): Likewise.
40564         (TLS_LD): Likewise.
40565         (TLS_GD): Likewise.
40566         * sysdeps/i386/tls-macros.h: New file.
40567         * sysdeps/powerpc/tls-macros.h: Likewise.
40568         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40569         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40570         * sysdeps/sh/tls-macros.h: Likewise.
40571         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40572         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40573         * sysdeps/x86_64/tls-macros.h: Likewise.
40575 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40577         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40578         zero value for regular exit case.
40580         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40581         (__start_context): Preserve zero value for regular exit case.
40583 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40584             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40586         * manual/setjmp.texi (setcontext): Clarify normal process
40587         termination when uc_link is the null pointer.
40588         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40589         exit call.
40591 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
40593         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40594         preprocessor.  Test for each exception mask separately.
40596 2012-07-16  Andreas Jaeger  <aj@suse.de>
40598         * po/ru.po: Update from translation team.
40600 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40602         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40603         equal to 0.
40604         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40605         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40606         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40607         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40610 2012-07-13  Andreas Jaeger  <aj@suse.de>
40612         * po/fr.po: Update from translation team.
40614 2012-07-12  Marek Polacek  <polacek@redhat.com>
40616         [BZ #14173]
40617         * math/libm-test.inc (yn_test): Add test for BZ #14173.
40618         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40619         loop condition.
40621 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
40623         [BZ #13717]
40624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40625         Change to 2.4.1 where previously 2.4.0.
40626         * sysdeps/unix/sysv/linux/configure: Regenerated.
40627         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40628         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40629         version.
40630         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40631         (__ASSUME_AT_CLKTCK): Remove.
40632         (__ASSUME_AT_PAGESIZE): Likewise.
40633         (__ASSUME_AT_XID): Likewise.
40634         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40635         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40636         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40637         unconditionally.
40638         (HAVE_AUX_PAGESIZE): Likewise.
40639         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40640         [__ASSUME_AT_CLKTCK]: Make code unconditional.
40641         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40643 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
40645         [BZ #14307]
40646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40647         the temporary buffer used to invoke __gethostbyname2_r,
40648         __gethostbyaddr_r and gethostbyname4_r to make room for struct
40649         host_data / struct gaih_addrtuple.
40650         * resolv/nss_dns/dns-host.c (global scope): Move definition of
40651         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40652         header file nss/nsswitch.h.
40653         * nss/nsswitch.h (global scope): Add definition of implementation
40654         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40655         resolv/nss_dns/dns-host.c).
40657 2012-07-11  Andreas Jaeger  <aj@suse.de>
40659         * po/fr.po: Update from translation team.
40661         * po/sv.po: Update from translation team
40662         * po/fr.po: Another update from translation team.
40664 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40666         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40667         for subnormals or multiply small sinh result by itself.
40668         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40671 2012-07-11  David S. Miller  <davem@davemloft.net>
40673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40675 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
40677         [BZ #14347]
40678         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40679         (INTERNAL_MARK): Shift it here.
40681 2012-07-10  Marek Polacek  <polacek@redhat.com>
40683         [BZ #14151]
40684         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
40685         libc_cv_asm_global_directive with .globl.
40686         * configure: Regenerated.
40687         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40688         with .globl.
40689         * sysdeps/i386/configure: Regenerated.
40690         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40691         with .globl.
40692         * sysdeps/x86_64/configure: Regenerated.
40693         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40694         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40695         * elf/tst-unique2mod2.c: Likewise.
40696         * elf/tst-unique2mod1.c: Likewise.
40697         * elf/tst-unique1mod2.c: Likewise.
40698         * elf/tst-unique1mod1.c: Likewise.
40699         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40700         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40701         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40702         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40703         * sysdeps/mach/sysdep.h: Likewise.
40704         * sysdeps/i386/sysdep.h: Likewise.
40705         * sysdeps/i386/i386-mcount.S: Likewise.
40706         * sysdeps/x86_64/_mcount.S: Likewise.
40707         * sysdeps/x86_64/sysdep.h: Likewise.
40708         * sysdeps/sh/_mcount.S: Likewise.
40709         * sysdeps/sh/sysdep.h: Likewise.
40710         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40711         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40712         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40713         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40714         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40715         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40716         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40717         * locale/localeinfo.h: Likewise.
40718         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40719         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40721 2012-07-09  Roland McGrath  <roland@hack.frob.com>
40723         [BZ #14336]
40724         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40725         system".
40726         * manual/message.texi (The Uniforum approach): Likewise.
40727         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40728         (glibc iconv Implementation): Likewise.
40730 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
40732         [BZ #14337]
40733         * math/s_clog.c (__clog): Avoid scaling a value down where that
40734         could result in underflow.
40735         * math/s_clog10.c (__clog10): Likewise.
40736         * math/s_clog10f.c (__clog10f): Likewise.
40737         * math/s_clog10l.c (__clog10l): Likewise.
40738         * math/s_clogf.c (__clogf): Likewise.
40739         * math/s_clogl.c (__clogl): Likewise.
40740         * math/libm-test.inc (clog_test): Add more tests.
40741         (clog10_test): Likewise.
40742         * sysdeps/i386/fpu/libm-test-ulps: Update.
40743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40745 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
40747         [BZ #14283]
40748         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40749         by 7 not 8 to examine high bit of fractional part.
40751         [BZ #14042]
40752         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40753         for call to __mcount_internal.
40754         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40755         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40756         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40758 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
40760         [BZ #14154]
40761         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40762         approximation for values within 0x1p-13f of an odd multiple of
40763         pi/4.
40764         * math/libm-test.inc (tan_test): Do not allow spurious underflow
40765         exception.  Add more tests.
40766         * sysdeps/i386/fpu/libm-test-ulps: Update.
40768         [BZ #6778]
40769         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40770         inputs and return -1 for them.  Do not check for +Inf in case not
40771         reachable for +Inf.
40772         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40773         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40774         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40775         and return -1 for them.  Do not check for +Inf in case not
40776         reachable for +Inf.
40777         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40778         define.
40779         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40780         and return -1 for them.  Do not check for +Inf in case not
40781         reachable for +Inf.
40782         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
40783         spurious underflow.
40784         * sysdeps/i386/fpu/libm-test-ulps: Update.
40785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40787 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
40789         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40791 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
40793         [BZ #14157]
40794         [BZ #14331]
40795         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40796         could result in spurious underflow.  Scale down values above
40797         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40798         * math/s_csqrtf.c (__csqrtf): Likewise.
40799         * math/s_csqrtl.c (__csqrtl): Likewise.
40800         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
40801         spurious underflow.
40802         * sysdeps/i386/fpu/libm-test-ulps: Update.
40803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
40807         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40808         xopen-msg.sed.
40809         * catgets/xopen-msg.awk: New file.
40810         * catgets/xopen-msg.sed: Removed.
40812         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40813         po2text.sed.
40814         * intl/po2test.awk: New file.
40815         * intl/po2test.sed: Removed.
40817 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40819         [BZ #14328]
40820         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40821         or multiply small sinh result by itself.
40822         * math/s_ctanf.c (__ctanf): Likewise.
40823         * math/s_ctanh.c (__ctanh): Likewise.
40824         * math/s_ctanhf.c (__ctanhf): Likewise.
40825         * math/s_ctanhl.c (__ctanhl): Likewise.
40826         * math/s_ctanl.c (__ctanl): Likewise.
40827         * math/libm-test.inc (ctan_test_tonearest): New function.
40828         (ctan_test_towardzero): Likewise.
40829         (ctan_test_downward): Likewise.
40830         (ctan_test_upward): Likewise.
40831         (ctanh_test_tonearest): Likewise.
40832         (ctanh_test_towardzero): Likewise.
40833         (ctanh_test_downward): Likewise.
40834         (ctanh_test_upward): Likewise.
40835         (main): Call these new functions.
40836         * sysdeps/i386/fpu/libm-test-ulps: Update.
40837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40839 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40841         * .gitignore: Delete /ports entry.
40843 2012-07-03  Andreas Jaeger  <aj@suse.de>
40845         * po/bg.po: Update from translation team.
40846         * po/cs.po: Likewise.
40847         * po/de.po: Likewise.
40848         * po/hr.po: Likewise.
40849         * po/nl.pl: Likewise.
40850         * po/pl.po: Likewise.
40851         * po/vi.po: Likewise.
40853 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40855         * Makeconfig [!+link] (+link-before-libc): New variable.
40856         [!+link] (+link-after-libc): Likewise.
40857         [!+link] (+link-tests): Likewise.
40858         [!+link] (+link): Define in terms of $(+link-before-libc) and
40859         $(+link-after-libc).
40860         [!+link-static] (+link-static-before-libc): New variable.
40861         [!+link-static] (+link-static-after-libc): Likewise.
40862         [!+link-static] (+link-static-tests): Likewise.
40863         [!+link-static] (+link-static): Define in terms of
40864         $(+link-static-before-libc) and $(+link-static-after-libc).
40865         [build-shared] (link-libc-before-gnulib): New variable.
40866         [build-shared] (link-libc-tests): Likewise.
40867         [build-shared] (link-libc): Define in terms of
40868         $(link-libc-before-gnulib).
40869         [!build-shared] (link-libc-tests): New variable.
40870         (link-libc-static-tests): New variable.
40871         [!gnulib] (gnulib-arch): New variable.
40872         [!gnulib] (gnulib-tests): Likewise.
40873         [!gnulib] (static-gnulib-arch): Likewise.
40874         [!gnulib] (static-gnulib-tests): Likewise.
40875         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40876         Define with "=" instead of ":=".
40877         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40878         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40879         * Rules (binaries-all-notests): New variable.
40880         (binaries-all-tests): Likewise.
40881         (binaries-static-notests): Likewise.
40882         (binaries-static-tests): Likewise.
40883         (binaries-all): Define using $(binaries-all-notests) and
40884         $(binaries-all-tests).
40885         (binaries-static): Define using $(binaries-static-notests) and
40886         $(binaries-static-tests).
40887         (binaries-shared-tests): New variable.
40888         (binaries-shared-notests): Likewise.
40889         (binaries-shared): Remove variable.
40890         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40891         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40892         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40893         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40894         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40895         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40896         * elf/Makefile (sln-modules): New variable.
40897         (extra-objs): Add $(sln-modules:=.o).
40898         (ldconfig-modules): Add static-stubs.
40899         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40900         * elf/static-stubs.c: New file.
40902         [BZ #14283]
40903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40904         by 7 not 8 to examine high bit of fractional part.  Use volatile
40905         variables when splitting into final array of floats if
40906         __FLT_EVAL_METHOD__ != 0.
40907         * math/libm-test.inc (cos_test): Add another test.
40908         (sin_test): Likewise.
40909         * sysdeps/i386/fpu/libm-test-ulps: Update.
40911         [BZ #14273]
40912         * math/libm-test.inc (cosh_test): Add more tests.
40914         * version.h (RELEASE): Set to "development".
40915         (VERSION): Set to "2.16.90".
40917 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40919         * NEWS: Update copyright. Remove last-updated date.
40920         Mention math library bug fixes and timezone data changes.
40921         * README: Mention GNU/Hurd, x32, and HPPA support status.
40923 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40925         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40927 2012-06-27  Andreas Jaeger  <aj@suse.de>
40929         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40931 2012-06-25  Andreas Jaeger  <aj@suse.de>
40933         * sysdeps/s390/fpu/libm-test-ulps: Update.
40935 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40936             Thomas Schwinge  <thomas@codesourcery.com>
40938         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40939         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40941         fanotify_mark.
40943 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40945         * sysdeps/mach/start.c: Remove file.
40946         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40947         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40948         * sysdeps/sh/init-first.c: Likewise.
40950         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40951         registers for frame unwinding purposes, add CFI directives.
40952         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40953         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40954         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40955         Likewise.
40957         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40958         __fortify_fail returning.
40959         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40961         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40962         sysdeps/sh/____longjmp_chk.S.
40963         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40964         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40965         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40966         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40968         * sysdeps/sh/abort-instr.h: New file.
40969         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40970         process in case exit returns.
40972         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40973         initialize the GOT register before use.
40975         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40976         calculation of ARGC > 4.
40978         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40979         meaningful names to some local labels.
40981 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40982             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40984         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40985         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40986         (__arch_compare_and_exchange_val_16_acq): Likewise.
40987         (__arch_compare_and_exchange_val_32_acq): Likewise.
40988         (atomic_exchange_and_add): Fix gUSA sequence.
40989         (atomic_add): Likewise.
40990         (atomic_add_negative): Likewise.
40991         (atomic_add_zero): Likewise.
40992         (atomic_bit_test_set): Likewise.
40994 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40996         [BZ #13579]
40997         * include/link.h (struct link_map): Add l_free_initfini.
40998         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40999         l_initfini.
41000         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41001         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41002         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41003         set.
41005 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41007         * configure.in: Use AC_LANG_SOURCE.
41008         * configure: Regenerate.
41010 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41012         * configure.in (libc_cv_localstatedir): New substituted variable.
41013         * configure: Regenerated.
41014         * config.make.in (localstatedir): New variable, substituted from
41015         libc_cv_localstatedir.
41016         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41017         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41018         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41019         * sysdeps/gnu/configure: Regenerated.
41021 2012-06-21  Jeff Law  <law@redhat.com>
41023         [BZ #14277]
41024         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41025         free.  Simplify list management for _LIBC case.
41027 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41029         [BZ #14273]
41030         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41031         Clear sign bit of 64-bit integer value before comparing against
41032         overflow value.
41034         * sysdeps/mach/configure: Regenerated.
41036 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41038         [BZ #14278]
41039         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41041 2012-06-21  Jeff Law  <law@redhat.com>
41043         [BZ #13882]
41044         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41045         uint16_t for elements in the "seen" array to avoid char overflows.
41046         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41047         * elf/dl-open.c (dl_open_worker): Likewise.
41049 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41051         * scripts/list-sources.sh: Scan PORTS for translations.
41052         * po/libc.pot: Regenerated.
41054 2012-06-21  Andreas Jaeger  <aj@suse.de>
41056         [BZ #12194]
41057         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41058         warning.
41059         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41060         * bits/byteswap-16.h (__bswap_16): Likewise.
41061         * bits/byteswap.h (__bswap_constant_16): Likewise.
41063 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41065         [BZ #14117]
41066         * sysdeps/i386/fpu_control.h: Removed.
41067         * sysdeps/x86_64/fpu_control.h: Moved to ...
41068         * sysdeps/x86/fpu_control.h: Here.
41070         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41071         (_FPU_SETCW): Likewise.
41073 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41075         [BZ #14117]
41076         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41077         * sysdeps/x86/fpu/bits/mathinline.h: This.
41078         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41080         [BZ #14050]
41081         [BZ #14117]
41082         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41083         functions if __x86_64__ is defined.
41085 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41087         * string/endian.h: Add !__ASSEMBLER__ condition for including
41088         conversion interfaces.
41090 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41092         [BZ #14241]
41093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41094         of ABS(x) in calculating zero to negative powers other than odd
41095         integers.
41096         * math/libm-test.inc (pow_test): Add more tests.
41098 2012-06-15  Andreas Jaeger  <aj@suse.de>
41100         * manual/contrib.texi (Contributors): Update entry of Liubov
41101         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41102         Machado Filho.
41104 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41106         * string/string.h: Add __wur to GNU version of strerror_r.
41108 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41110         [BZ #14229]
41111         * string/Makefile (tests): Add tst-strtok_r.
41112         * string/tst-strtok_r.c: New file.
41113         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41114         RAX_LP/RDX_LP on SAVE_PTR.
41116 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41118         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41120 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41122         * libm_test.inc (csqrt_test): Allow more spurious underflow
41123         exceptions.
41124         (j0_test): Likewise.
41125         (j1_test): Likewise.
41126         (y0_test): Likewise.
41127         (y1_test): Likewise.
41129 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41131         * po/Makefile (libc.pot): Use UTF-8 charset.
41133 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41135         [BZ #14210]
41136         Suppress sign-conversion warning from FD_SET.
41137         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41138         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41139         not unsigned long int.
41140         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41142 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41144         [BZ #14050]
41145         [BZ #14117]
41146         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41147         __extern_always_inline instead of __extern_inline.
41148         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41149         (__signbit): Likewise.
41150         (__signbitl): Support C++ namespace.
41151         (lrintf): New inline function.
41152         (lrint): Likewise.
41153         (llrintf): Likewise.
41154         (llrint): Likewise.
41155         (fmaxf): Likewise.
41156         (fmax): Likewise.
41157         (fminf): Likewise.
41158         (fmin): Likewise.
41159         (rint): Likewise.
41160         (rintf): Likewise.
41161         (ceil): Likewise.
41162         (ceilf): Likewise.
41163         (floor): Likewise.
41164         (floorf): Likewise.
41165         (nearbyint): Likewise.
41166         (nearbyintf): Likewise.
41168 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41171         non-default versions.
41173 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41175         [BZ #14218]
41176         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41178 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41180         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41181         (FE_UPWARD, FE_DOWNWARD): Don't define.
41182         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41183         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41185         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41186         reading it.
41187         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41188         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41190 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41192         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41194         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41195         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41197 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41199         [BZ #14117]
41200         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41201         * sysdeps/i386/fpu/Implies: New file.
41202         * sysdeps/x86_64/fpu/Implies: Likewise.
41203         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41204         * sysdeps/x86/fpu/bits/fenv.h: This.
41206         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41207         __SSE_MATH__.
41209 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41211         [BZ #14134]
41212         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41213         character 0xffff that matches the last element of the
41214         conversion table.
41216 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41218         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41219         fmodl commit.
41221 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41224         values higher than 25.6283.
41226 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41228         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41229         subnormal exponent extraction and add some __builtin_expect.
41230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41231         Fix for subnormal mantissa calculation.
41233 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41235         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41236         cpu2 is -1 and errno is not ENOSYS.
41238 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41240         [BZ #14117]
41241         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41242         * sysdeps/x86/bits/string.h: This.
41243         * sysdeps/x86_64/bits/string.h: Removed.
41245         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41246         if not compiling for x86-64, but compiling for >= i486.
41248         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41249         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41251         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41252         New macro from Linux kernel 3.4.0.
41253         (FP_XSTATE_MAGIC2): Likewise.
41254         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41255         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41256         (struct _fpx_sw_bytes): New struct.
41257         (struct _xsave_hdr): Likewise.
41258         (struct _ymmh_state): Likewise.
41259         (struct _xstate): Likewise.
41261         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41262         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41263         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41264         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41265         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41266         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41268         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41269         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41270         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41271         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41272         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41273         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41275 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41277         [BZ #13743]
41278         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41279         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41280         (sysdep_headers): Include sys/platform/ppc.h.
41281         * sysdeps/powerpc/test-gettimebase.c: Test for
41282         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41283         * manual/Makefile (appendices): Include platform.texi.
41284         * manual/contrib.texi (Contributors): Update @node pointers.
41285         * manual/maint.texi (Maintenance): Likewise.
41286         (Platform): New node.
41287         * manual/platform.texi: New file.  Document the new features.
41289 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41290             Jakub Jelinek  <jakub@redhat.com>
41292         [BZ #14188]
41293         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41294         where __builtin_expect is unavailable.
41296 2012-06-03  David S. Miller  <davem@davemloft.net>
41298         * stdlib/longlong.h: Updated from GCC.
41300 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41302         [BZ #14042]
41303         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41304         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41305         __mcount_internal.
41306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41307         (GLIBC_2.16): Likewise.
41309 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41311         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41313 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41316         (default-abi): New variable.
41317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41318         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41319         variable.
41320         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41321         Likewise.
41322         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41323         Likewise.
41324         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41325         Likewise.
41327         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41328         definition.  Document in comment.
41330 2012-06-01  David S. Miller  <davem@davemloft.net>
41332         * stdlib/longlong.h: Updated from GCC.
41334 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41336         [BZ #14117]
41337         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41338         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41339         sys/debugreg.h sys/io.h here.
41340         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41341         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41342         sys/io.h.
41343         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41344         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41345         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41346         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41347         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41348         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41350         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41351         Define only if __x86_64__ is defined.
41353 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41355         [BZ #14048]
41356         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41357         Use int64_t for variable i.
41358         * math/libm-test.inc (fmod_test): Add more tests.
41360         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41361         z computation is not scheduled after fetestexcept.
41362         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41363         Use math_force_eval instead of asm to ensure calculation scheduled
41364         before exception test.
41365         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41366         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41368 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41371         computation is not scheduled after fetestexcept.
41373 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41375         [BZ #14117]
41376         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41377         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41379 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41381         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41382         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41384 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41386         [BZ #14117]
41387         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41388         <bits/wordsize.h>.
41389         (__WCHAR_MIN): Support __WORDSIZE == 64.
41390         (__WCHAR_MAX): Likewise.
41392         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41393         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41395         [BZ #14183]
41396         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41397         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41399         [BZ #14117]
41400         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41401         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41403         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41404         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41406         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41407         Defined to 1 if __x86_64__ isn't defined.
41408         (_STAT_VER_LINUX_OLD): New.
41409         (st_atime): Remove duplicate.
41410         (st_mtime): Likewise.
41411         (st_ctime): Likewise.
41413 2012-05-31  David S. Miller  <davem@davemloft.net>
41415         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41416         entries.
41418 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41420         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41421         gen-libm-test.pl.
41423         [BZ #14132]
41424         * elf/dl-reloc.c: Include <_itoa.h>.
41425         (_dl_reloc_bad_type): Remove use of INTUSE.
41426         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41427         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41428         * stdio-common/psiginfo.c (psiginfo): Likewise.
41429         * stdio-common/psignal.c (psignal): Likewise.
41430         * string/strsignal.c (strsignal): Likewise.
41431         * include/signal.h (_sys_siglist): Declare hidden proto.
41432         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41433         INTVARDEF with libc_hidden_data_def.
41434         * stdio-common/itoa-udigits.c: Likewise.
41435         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41436         (_itoa_lower_digits_internal): Remove declaration.
41437         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41438         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41439         (_sys_sigabbrev_internal): Remove aliases.
41440         (_sys_siglist): Define hidden alias.
41442 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41445         bits/sysctl.h.
41447 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41449         [BZ #14117]
41450         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41451         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41453         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41454         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41455         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41456         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41457         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41458         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41460         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41461         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41462         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41464         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41465         with __addr.
41466         (insw): Likewise.
41467         (insl): Likewise.
41468         (outsb): Likewise.
41469         (outsw): Likewise.
41470         (outsl): Likewise.
41472         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41473         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41474         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41476         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41477         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41478         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41479         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41480         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41481         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41483         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41484         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41486         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41487         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41489         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41490         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41491         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41493         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41494         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41495         to ...
41496         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41498         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41499         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41500         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41502         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41503         for x86-64.
41504         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41506 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41508         * math/math.h (M_El): Use two more decimal places.
41509         (M_LOG2El): Likewise.
41510         (M_LOG10El): Likewise.
41511         (M_LN2l): Likewise.
41512         (M_LN10l): Likewise.
41513         (M_PIl): Likewise.
41514         (M_PI_2l): Likewise.
41515         (M_PI_4l): Likewise.
41516         (M_1_PIl): Likewise.
41517         (M_2_PIl): Likewise.
41518         (M_2_SQRTPIl): Likewise.
41519         (M_SQRT2l): Likewise.
41520         (M_SQRT1_2l): Likewise.
41522 2012-05-31  David S. Miller  <davem@davemloft.net>
41524         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41525         values between float registers.
41526         * sysdeps/sparc/sparc64/memset.S: Likewise.
41527         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41529 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41531         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41532         -D_FORTIFY_SOURCE=1.
41533         (CPPFLAGS-tst-longjmp_chk.c): Define.
41534         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41535         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41536         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41537         CFLAGS-tst-wchar-h.c.
41539 2012-05-31  Marek Polacek  <polacek@redhat.com>
41541         [BZ #14132]
41542         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41543         __endmntent_internal): Remove declaration.
41544         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41545         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41546         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41548 2012-05-30  David S. Miller  <davem@davemloft.net>
41550         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41551         (___Q_simulate_exceptions): Use real FP ops rather than writing
41552         into the %fsr.
41553         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41554         Likewise.
41556 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41558         [BZ #14117]
41559         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41560         * sysdeps/x86/bits/xtitypes.h: This.
41562         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41563         * sysdeps/x86/bits/wordsize.h: This.
41565         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41566         * sysdeps/x86/bits/huge_vall.h: This.
41568         * sysdeps/i386/bits/select.h: Removed.
41569         * sysdeps/x86_64/bits/select.h: Renamed to ...
41570         * sysdeps/x86/bits/select.h: This.
41572         * sysdeps/i386/bits/setjmp.h: Removed.
41573         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41574         * sysdeps/x86/bits/setjmp.h: This.
41576         * sysdeps/i386/bits/mathdef.h: Removed.
41577         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41578         * sysdeps/x86/bits/mathdef.h: This.
41580 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41582         [BZ #14132]
41583         * include/sys/socket.h (__connect_internal)
41584         (__libc_sa_len_internal): Remove declaration.
41585         (__connect, __libc_sa_len): Declare hidden_proto.
41586         (SA_LEN): Remove use of INTUSE.
41587         * socket/connect.c: Add libc_hidden_def.
41588         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41589         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41590         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41591         alias.
41592         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41594         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41595         of adding _internal alias.
41597 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41599         [BZ #14117]
41600         * sysdeps/i386/bits/link.h: Removed.
41601         * sysdeps/i386/bits/linkmap.h: Likewise.
41602         * sysdeps/x86_64/bits/link.h: Renamed to ...
41603         * sysdeps/x86/bits/link.h: This.
41604         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41605         * sysdeps/x86/bits/linkmap.h: This.
41607         * sysdeps/i386/bits/endian.h: Removed.
41608         * sysdeps/x86_64/bits/endian.h: Renamed to ...
41609         * sysdeps/x86/bits/endian.h: This.
41611         * sysdeps/i386/bits/byteswap.h: Removed.
41612         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41613         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41614         * sysdeps/x86/bits/byteswap.h: This.
41615         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41616         * sysdeps/x86/bits/byteswap-16.h: This.
41617         * sysdeps/i386/Implies: Add x86.
41618         * sysdeps/x86_64/Implies: Likewise.
41620 2012-05-30  David S. Miller  <davem@davemloft.net>
41622         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41623         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41624         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41625         (FP_TRAPPING_EXCEPTIONS): Define.
41626         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41627         (FP_TRAPPING_EXCEPTIONS): Define.
41628         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41629         subnormals only when inexact has been signalled or underflow
41630         exceptions are enabled.
41631         (_FP_PACK_CANONICAL): Likewise.
41633 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41635         [BZ #14183]
41636         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41637         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41639 2012-05-30  Richard Henderson  <rth@twiddle.net>
41641         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41642         with #ifndef NOT_IN_libc.
41644         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
41645         marked to avoid plt entry.
41647 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41649         [BZ #14112]
41650         * Makeconfig (default-abi): New macro.
41651         (abi-includes): Likewise.
41652         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
41653         $(abi-$(default-abi)-lib-soname) for soname if defined.
41654         ($(common-objpfx)gnu/lib-names.stmp): Generate from
41655         abi-variants.
41656         * Makefile (installed-stubs): Likewise.
41657         * include/stubs-biarch.h: Removed.
41658         * scripts/lib-names.awk: Only handle one library at a time.
41659         * scripts/soversions.awk: Remove WORDSIZE support.
41660         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41661         entries.
41662         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41663         Removed.
41664         (syscall-list-default-condition): Likewise.
41665         (syscall-list-default-condition): Likewise.
41666         (syscall-list-includes): Likewise.
41667         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41668         syscall-list-* with abi-*.  Handle undefined abi-variants.
41669         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41670         * sysdeps/unix/sysv/linux/i386/Implies: New file.
41671         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41672         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41673         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41674         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41675         Removed.
41676         (syscall-list-32-options): Likewise.
41677         (syscall-list-32-condition): Likewise.
41678         (syscall-list-64-options): Likewise.
41679         (syscall-list-64-condition): Likewise.
41680         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41681         macro.
41682         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41683         Renamed to ...
41684         (abi-*): This.
41685         (abi-64-ld-soname): New macro.
41686         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41687         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41688         Renamed to ...
41689         (abi-*): This.
41690         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41691         * sysdeps/x86_64/x32/shlib-versions: Likewise.
41693 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
41695         * sysdeps/unix/sysv/linux/kernel-features.h
41696         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41697         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41698         include <kernel-features.h>.
41699         [!__NR_ftruncate64]: Remove conditional code.
41700         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41701         [__NR_ftruncate64]: Make code unconditional.
41702         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41703         * sysdeps/unix/sysv/linux/truncate64.c: Do not
41704         include <kernel-features.h>.
41705         [!__NR_ftruncate64]: Remove conditional code.
41706         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41707         [__NR_ftruncate64]: Make code unconditional.
41708         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41710         include <kernel-features.h>.
41711         [!__NR_ftruncate64]: Remove conditional code.
41712         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41713         [__NR_ftruncate64]: Make code unconditional.
41714         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41716         include <kernel-features.h>.
41717         [!__NR_ftruncate64]: Remove conditional code.
41718         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41719         [__NR_ftruncate64]: Make code unconditional.
41720         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41722         * configure.in (libc_cv_fpie): Weaken to a compile test using
41723         LIBC_TRY_CC_OPTION.
41724         * configure: Regenerated.
41726 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41732         Refreshed.
41733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41739         Refreshed.
41741 2012-05-27  David S. Miller  <davem@davemloft.net>
41743         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41744         (___Q_zero): New.
41745         (__Q_simulate_exceptions): Return void.  Change to simulate
41746         exceptions by writing into the %fsr.
41747         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41748         (__Qp_handle_exceptions): Likewise.
41749         (numbers): Delete.
41750         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41751         __Qp_handle_exceptions.
41752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41753         __Qp_handle_exceptions.
41754         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41755         as unused and give dummy FP_RND_NEAREST initializer.
41756         (FP_INHIBIT_RESULTS): Define.
41757         (___Q_simulate_exceptions): Update declaration.
41758         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41759         formatting.
41760         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41761         as unused and give dummy FP_RND_NEAREST initializer.
41762         (__Qp_handle_exceptions): Update declaration.
41763         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41764         formatting.
41766 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
41768         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41769         the temporary FPU control word.
41770         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41771         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41772         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41773         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41774         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41775         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41776         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41777         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41778         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41779         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41780         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41782 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41784         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41785         fields.
41787 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
41789         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41790         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41791         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41792         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41793         Likewise.
41794         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41795         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41796         Likewise.
41798 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
41800         * po/h.po: Update from translation team.
41802 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
41804         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41806         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41807         handling of denormals.
41808         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41809         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41810         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41811         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41812         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41815         Likewise.
41817 2012-05-26  Marek Polacek  <polacek@redhat.com>
41819         [BZ #14152]
41820         * math/libm-test.inc (fma_test): Don't always expect underflow
41821         exception.
41823 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41825         [BZ #12416]
41826         * elf/tst-execstack.c: Include stackinfo.h.
41827         (do_test): Adjust test case to ensure that pthread_getattr_np
41828         behaviour remains the same after marking stack executable.
41830 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41832         * sysdeps/unix/sysv/linux/kernel-features.h
41833         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41834         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41835         kernel-features.h.
41836         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41837         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41838         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41839         kernel-features.h.
41840         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41841         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41843 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41845         * configure.in: Define the default includes to being none.
41846         * configure: Regenerated.
41848 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41850         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41851         * sysdeps/x86_64/setjmp.S: Likewise.
41852         * sysdeps/i386/bsd-setjmp.S: Likewise.
41853         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41854         * sysdeps/i386/setjmp.S: Likewise.
41855         * sysdeps/i386/__longjmp.S: Likewise.
41856         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41857         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41859         * include/stap-probe.h: New file.
41860         * configure.in: Handle --enable-systemtap.
41861         * configure: Regenerated.
41862         * config.h.in (USE_STAP_PROBE): New #undef.
41863         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41864         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41865         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41867 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41869         [BZ #13717]
41870         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41871         to 2.4.0 where earlier.
41872         * sysdeps/unix/sysv/linux/configure: Regenerated.
41873         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41874         <kernel-features.h>.
41875         [__ASSUME_32BITUIDS]: Make code unconditional.
41876         [!__ASSUME_32BITUIDS]: Remove conditional code.
41877         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41878         <kernel-features.h>.
41879         [__ASSUME_32BITUIDS]: Make code unconditional.
41880         [!__ASSUME_32BITUIDS]: Remove conditional code.
41881         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41882         [__ASSUME_32BITUIDS]: Make code unconditional.
41883         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41884         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41885         <kernel-features.h>.
41886         [__ASSUME_32BITUIDS]: Make code unconditional.
41887         [!__ASSUME_32BITUIDS]: Remove conditional code.
41888         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41889         <kernel-features.h>.
41890         [__ASSUME_32BITUIDS]: Make code unconditional.
41891         [!__ASSUME_32BITUIDS]: Remove conditional code.
41892         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41893         <kernel-features.h>.
41894         [__ASSUME_32BITUIDS]: Make code unconditional.
41895         [!__ASSUME_32BITUIDS]: Remove conditional code.
41896         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41897         <kernel-features.h>.
41898         [__ASSUME_32BITUIDS]: Make code unconditional.
41899         [!__ASSUME_32BITUIDS]: Remove conditional code.
41900         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41901         <kernel-features.h>.
41902         [__ASSUME_32BITUIDS]: Make code unconditional.
41903         [!__ASSUME_32BITUIDS]: Remove conditional code.
41904         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41905         <kernel-features.h>.
41906         [__ASSUME_32BITUIDS]: Make code unconditional.
41907         [!__ASSUME_32BITUIDS]: Remove conditional code.
41908         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41909         <kernel-features.h>.
41910         [__ASSUME_32BITUIDS]: Make code unconditional.
41911         [!__ASSUME_32BITUIDS]: Remove conditional code.
41912         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41913         <kernel-features.h>.
41914         [__ASSUME_32BITUIDS]: Make code unconditional.
41915         [!__ASSUME_32BITUIDS]: Remove conditional code.
41916         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41917         <kernel-features.h>.
41918         [__ASSUME_32BITUIDS]: Make code unconditional.
41919         [!__ASSUME_32BITUIDS]: Remove conditional code.
41920         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41921         <kernel-features.h>.
41922         [__ASSUME_32BITUIDS]: Make code unconditional.
41923         [!__ASSUME_32BITUIDS]: Remove conditional code.
41924         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41925         <kernel-features.h>.
41926         [__NR_setresgid] (__setresgid): Do not declare.
41927         [__ASSUME_32BITUIDS]: Make code unconditional.
41928         [!__ASSUME_32BITUIDS]: Remove conditional code.
41929         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41930         <kernel-features.h>.
41931         [__NR_setresuid] (__setresuid): Do not declare.
41932         [__ASSUME_32BITUIDS]: Make code unconditional.
41933         [!__ASSUME_32BITUIDS]: Remove conditional code.
41934         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41935         <kernel-features.h>.
41936         [__ASSUME_32BITUIDS]: Make code unconditional.
41937         [!__ASSUME_32BITUIDS]: Remove conditional code.
41938         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41939         <kernel-features.h>.
41940         [__ASSUME_32BITUIDS]: Make code unconditional.
41941         [!__ASSUME_32BITUIDS]: Remove conditional code.
41942         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41943         <kernel-features.h>.
41944         [__ASSUME_32BITUIDS]: Make code unconditional.
41945         [!__ASSUME_32BITUIDS]: Remove conditional code.
41946         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41947         <kernel-features.h>.
41948         [__ASSUME_32BITUIDS]: Make code unconditional.
41949         [!__ASSUME_32BITUIDS]: Remove conditional code.
41950         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41951         <kernel-features.h>.
41952         [__ASSUME_32BITUIDS]: Make code unconditional.
41953         [!__ASSUME_32BITUIDS]: Remove conditional code.
41954         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41955         <kernel-features.h>.
41956         [__ASSUME_32BITUIDS]: Make code unconditional.
41957         [!__ASSUME_32BITUIDS]: Remove conditional code.
41958         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41959         <kernel-features.h>.
41960         [__ASSUME_32BITUIDS]: Make code unconditional.
41961         [!__ASSUME_32BITUIDS]: Remove conditional code.
41962         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41963         <kernel-features.h>.
41964         [__ASSUME_32BITUIDS]: Make code unconditional.
41965         [!__ASSUME_32BITUIDS]: Remove conditional code.
41966         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41967         <kernel-features.h>.
41968         [__ASSUME_32BITUIDS]: Make code unconditional.
41969         [!__ASSUME_32BITUIDS]: Remove conditional code.
41970         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41971         <kernel-features.h>.
41972         [__ASSUME_32BITUIDS]: Make code unconditional.
41973         [!__ASSUME_32BITUIDS]: Remove conditional code.
41974         * sysdeps/unix/sysv/linux/kernel-features.h
41975         (__ASSUME_SETRESUID_SYSCALL): Remove.
41976         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41977         (__ASSUME_32BITUIDS): Likewise.
41978         (__ASSUME_LDT_WORKS): Likewise.
41979         (__ASSUME_O_DIRECTORY): Likewise.
41980         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41981         architecture but not kernel version.
41982         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41983         (__ASSUME_MMAP2_SYSCALL): Likewise.
41984         (__ASSUME_STAT64_SYSCALL): Likewise.
41985         (__ASSUME_IPC64): Likewise.
41986         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41987         <kernel-features.h>.
41988         [__ASSUME_32BITUIDS]: Make code unconditional.
41989         [!__ASSUME_32BITUIDS]: Remove conditional code.
41990         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41991         <kernel-features.h>.
41992         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41993         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41994         132096]: Remove conditional code.
41995         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41996         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41997         <kernel-features.h>.
41998         [__ASSUME_32BITUIDS]: Make code unconditional.
41999         [!__ASSUME_32BITUIDS]: Remove conditional code.
42000         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42001         <kernel-features.h>.
42002         [__ASSUME_32BITUIDS]: Make code unconditional.
42003         [!__ASSUME_32BITUIDS]: Remove conditional code.
42004         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42005         <kernel-features.h>.
42006         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42007         unconditional.
42008         (__setresgid): Do not declare.
42009         [__ASSUME_32BITUIDS]: Make code unconditional.
42010         [!__ASSUME_32BITUIDS]: Remove conditional code.
42011         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42012         <kernel-features.h>.
42013         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42014         unconditional.
42015         (__setresuid): Do not declare.
42016         [__ASSUME_32BITUIDS]: Make code unconditional.
42017         [!__ASSUME_32BITUIDS]: Remove conditional code.
42018         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42019         <kernel-features.h>.
42020         [__ASSUME_32BITUIDS]: Make code unconditional.
42021         [!__ASSUME_32BITUIDS]: Remove conditional code.
42022         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42023         <kernel-features.h>.
42024         [__ASSUME_32BITUIDS]: Make code unconditional.
42025         [!__ASSUME_32BITUIDS]: Remove conditional code.
42027 2012-05-25  Richard Henderson  <rth@twiddle.net>
42029         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42030         dl_hwcap to ifunc resolver.
42031         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42032         elf_ifunc_invoke.
42033         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42034         dl_hwcap to ifunc resolver.
42035         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42037 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42039         [BZ #14153]
42040         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42041         for |x| <= 2**-26, not 2**-57.
42042         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42043         exception.
42045 2012-05-24  Jeff Law  <law@redhat.com>
42047         * stdio-common/Makefile (tests): Add bug25.
42048         * stdio-common/bug25.c: New test.
42050 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42052         [BZ #13576]
42053         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42054         multiple of MALLOC_ALIGNMENT in size.
42055         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42057 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42059         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42060         Require >= 256.
42061         (FILENAME_MAX): Use macro-int-constant.
42062         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42063         (_IOFBF): Use macro-int-constant.
42064         (_IOLBF): Likewise.
42065         (_IONBF): Likewise.
42066         (SEEK_CUR): Likewise.
42067         (SEEK_END): Likewise.
42068         (SEEK_SET): Likewise.
42069         (TMP_MAX): Likewise.
42070         (EOF): Use macro-int-constant.  Require < 0.
42071         (NULL): Use macro-constant.  Require == 0.
42072         (stdin): Require type to be FILE *.
42073         (stdout): Likewise.
42074         (stderr): Likewise.
42075         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42076         macro-int-constant.
42077         (EXIT_SUCCESS): Likewise.
42078         (NULL): Use macro-constant.  Require == 0.
42079         (RAND_MAX): Use macro-int-constant.
42080         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42081         [C99-based standards] (strtof): Require function.
42082         [C99-based standards] (strtold): Likewise.
42083         [C99-based standards] (strtoll): Likewise.
42084         [C99-based standards] (strtoull): Likewise.
42085         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42086         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42087         [ISO || ISO99 || ISO11] (math.h): Likewise.
42088         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42089         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42090         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42092 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42094         [BZ #14132]
42095         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42096         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42097         * intl/dgettext.c (DCGETTEXT): Likewise.
42098         * intl/gettext.c (DCGETTEXT): Likewise.
42099         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42100         * posix/regex_internal.h (gettext): Likewise.
42101         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42102         Remove declaration.
42103         * include/argz.h (__argz_count_internal)
42104         (__argz_stringify_internal): Remove declaration.
42105         (__argz_count, __argz_stringify): Declare hidden proto.
42106         * intl/dcgettext.c: Remove use of INTDEF.
42107         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42108         * string/argz-stringify.c: Likewise.
42109         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42110         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42111         Declare hidden proto.
42112         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42113         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42114         Declare hidden proto.
42115         * include/stdio.h (__asprintf_internal): Don't declare.
42116         (__asprintf): Don't define as macro.  Declare hidden proto.
42117         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42118         (__fsetlocking): Declare hidden proto.
42119         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42120         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42121         hidden proto.
42122         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42123         (_IO_setlinebuf): Remove use of INTUSE.
42124         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42125         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42126         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42127         Remove declaration.
42128         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42129         (_IO_do_flush): Remove use of INTUSE.
42130         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42131         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42132         (_IO_adjust_column, _IO_least_wmarker)
42133         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42134         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42135         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42136         (_IO_default_doallocate, _IO_wdefault_doallocate)
42137         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42138         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42139         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42140         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42141         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42142         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42143         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42144         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42145         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42146         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42147         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42148         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42149         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42150         proto.
42151         (_IO_flush_all_internal, _IO_adjust_column_internal)
42152         (_IO_default_uflow_internal, _IO_default_finish_internal)
42153         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42154         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42155         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42156         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42157         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42158         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42159         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42160         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42161         (_IO_file_close_internal, _IO_file_close_it_internal)
42162         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42163         (_IO_file_init_internal, _IO_file_attach_internal)
42164         (_IO_file_fopen_internal, _IO_file_read_internal)
42165         (_IO_file_sync_internal, _IO_file_seek_internal)
42166         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42167         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42168         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42169         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42170         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42171         (_IO_list_all_internal, _IO_link_in_internal)
42172         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42173         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42174         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42175         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42176         (_IO_do_write_internal, _IO_padn_internal)
42177         (_IO_getline_info_internal, _IO_getline_internal)
42178         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42179         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42180         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42181         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42182         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42183         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42184         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42185         with libc_hidden_ver, remove use of INTUSE.
42186         * libio/genops.c: Likewise.
42187         * libio/freopen.c: Likewise.
42188         * libio/freopen64.c: Likewise.
42189         * libio/iofclose.c: Likewise.
42190         * libio/iofdopen.c: Likewise.
42191         * libio/iofflush.c: Likewise.
42192         * libio/iofflush_u.c: Likewise.
42193         * libio/iofgets.c: Likewise.
42194         * libio/iofgets_u.c: Likewise.
42195         * libio/iofopen.c: Likewise.
42196         * libio/iofopncook.c: Likewise.
42197         * libio/iofread.c: Likewise.
42198         * libio/iofread_u.c: Likewise.
42199         * libio/ioftell.c: Likewise.
42200         * libio/iofwrite.c: Likewise.
42201         * libio/iogetline.c: Likewise.
42202         * libio/iogets.c: Likewise.
42203         * libio/iogetwline.c: Likewise.
42204         * libio/iopadn.c: Likewise.
42205         * libio/iopopen.c: Likewise.
42206         * libio/ioseekoff.c: Likewise.
42207         * libio/ioseekpos.c: Likewise.
42208         * libio/iosetbuffer.c: Likewise.
42209         * libio/iosetvbuf.c: Likewise.
42210         * libio/ioungetc.c: Likewise.
42211         * libio/ioungetwc.c: Likewise.
42212         * libio/iovdprintf.c: Likewise.
42213         * libio/iovsprintf.c: Likewise.
42214         * libio/iovsscanf.c: Likewise.
42215         * libio/memstream.c: Likewise.
42216         * libio/obprintf.c: Likewise.
42217         * libio/oldfileops.c: Likewise.
42218         * libio/oldiofclose.c: Likewise.
42219         * libio/oldiofdopen.c: Likewise.
42220         * libio/oldiofopen.c: Likewise.
42221         * libio/oldiopopen.c: Likewise.
42222         * libio/oldstdfiles.c: Likewise.
42223         * libio/putc.c: Likewise.
42224         * libio/setbuf.c: Likewise.
42225         * libio/setlinebuf.c: Likewise.
42226         * libio/stdfiles.c: Likewise.
42227         * libio/strops.c: Likewise.
42228         * libio/vasprintf.c: Likewise.
42229         * libio/vscanf.c: Likewise.
42230         * libio/vsnprintf.c: Likewise.
42231         * libio/vswprintf.c: Likewise.
42232         * libio/wfiledoalloc.c: Likewise.
42233         * libio/wfileops.c: Likewise.
42234         * libio/wgenops.c: Likewise.
42235         * libio/wmemstream.c: Likewise.
42236         * libio/wstrops.c: Likewise.
42237         * libio/__fpurge.c: Likewise.
42238         * libio/__fsetlocking.c: Likewise.
42239         * assert/assert.c: Likewise.
42240         * debug/fgets_chk.c: Likewise.
42241         * debug/fgets_u_chk.c: Likewise.
42242         * debug/fread_chk.c: Likewise.
42243         * debug/fread_u_chk.c: Likewise.
42244         * debug/gets_chk.c: Likewise.
42245         * debug/obprintf_chk.c: Likewise.
42246         * debug/vasprintf_chk.c: Likewise.
42247         * debug/vdprintf_chk.c: Likewise.
42248         * debug/vsnprintf_chk.c: Likewise.
42249         * debug/vsprintf_chk.c: Likewise.
42250         * malloc/mtrace.c: Likewise.
42251         * misc/error.c: Likewise.
42252         * misc/syslog.c: Likewise.
42253         * stdio-common/asprintf.c: Likewise.
42254         * stdio-common/fxprintf.c: Likewise.
42255         * stdio-common/getw.c: Likewise.
42256         * stdio-common/isoc99_fscanf.c: Likewise.
42257         * stdio-common/isoc99_scanf.c: Likewise.
42258         * stdio-common/isoc99_vfscanf.c: Likewise.
42259         * stdio-common/isoc99_vscanf.c: Likewise.
42260         * stdio-common/isoc99_vsscanf.c: Likewise.
42261         * stdio-common/printf-prs.c: Likewise.
42262         * stdio-common/printf_fp.c: Likewise.
42263         * stdio-common/printf_fphex.c: Likewise.
42264         * stdio-common/printf_size.c: Likewise.
42265         * stdio-common/putw.c: Likewise.
42266         * stdio-common/scanf.c: Likewise.
42267         * stdio-common/sprintf.c: Likewise.
42268         * stdio-common/tmpfile.c: Likewise.
42269         * stdio-common/vfprintf.c: Likewise.
42270         * stdio-common/vfscanf.c: Likewise.
42271         * stdlib/strfmon_l.c: Likewise.
42272         * sunrpc/openchild.c: Likewise.
42273         * sunrpc/xdr_stdio.c: Likewise.
42274         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42275         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42277 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42279         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42281         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42282         in the third column, to generate for the shared library an IFUNC
42283         that uses _dl_vdso_vsym.
42284         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42285         * Makeconfig (object-suffixes-noshared): New variable.
42287         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42288         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42289         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42290         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42292         [BZ #14132]
42293         * include/sys/time.h (__gettimeofday): Remove macro.
42294         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42295         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42296         Remove INTDEF.
42297         (__gettimeofday): Add libc_hidden_def.
42298         (gettimeofday): Add libc_hidden_weak.
42299         * sysdeps/mach/gettimeofday.c: Likewise.
42300         * sysdeps/posix/gettimeofday.c: Likewise.
42301         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42302         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42304         (__gettimeofday_internal): Remove strong_alias.
42305         (__gettimeofday): Add libc_hidden_def.
42306         (gettimeofday): Add libc_hidden_weak.
42307         * sysdeps/unix/syscalls.list (gettimeofday):
42308         Remove __gettimeofday_internal alias.
42310 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42311             H.J. Lu  <hongjiu.lu@intel.com>
42313         [BZ #12495]
42314         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42315         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42316         (largebin_index_32_big): New.
42317         (largebin_index): Use it for 16-byte alignment.
42318         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42319         correction with front_misalign.
42321 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42325         Likewise.
42326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42327         Likewise.
42328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42329         Likewise.
42330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42331         Likewise.
42332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42333         Likewise.
42334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42335         Likewise.
42336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42337         Likewise.
42338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42339         Likewise.
42340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42341         Likewise.
42342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42343         Likewise.
42344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42345         Likewise.
42346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42347         Likewise.
42349         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42350         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42352 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42354         [BZ #10846]
42355         [BZ #14036]
42356         * math/libm-test.inc (exp_test): Add test from bug 14036.
42357         (pow_test): Add test from bug 10846.
42359         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42360         and other flags.
42361         (special_function): Do not include flags in test name.
42362         (parse_args): Likewise.
42363         * sysdeps/i386/fpu/libm-test-ulps: Update.
42364         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42365         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42366         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42369         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42370         exceptions.
42371         * math/libm-test.inc ("Philosophy"): Update comment about
42372         exception testing.
42373         (UNDERFLOW_EXCEPTION): New macro.
42374         (UNDERFLOW_EXCEPTION_OK): Likewise.
42375         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42376         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42377         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42378         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42379         (INVALID_EXCEPTION_OK): Update value.
42380         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42381         (OVERFLOW_EXCEPTION_OK): Likewise.
42382         (IGNORE_ZERO_INF_SIGN): Likewise.
42383         (test_exceptions): Handle underflow exceptions.
42384         (acos_test): Update for underflow exception expectations.
42385         (cexp_test): Likewise.
42386         (clog_test): Likewise.
42387         (clog10_test): Likewise.
42388         (csqrt_test): Likewise.
42389         (ctan_test): Likewise.
42390         (ctanh_test): Likewise.
42391         (exp_test): Likewise.
42392         (exp10_test): Likewise.
42393         (exp2_test): Likewise.
42394         (expm1_test): Likewise.
42395         (fma_test): Likewise.
42396         (j0_test): Likewise.
42397         (jn_test): Likewise.
42398         (nexttoward_test): Likewise.
42399         (pow_test): Likewise.
42400         (scalbn_test): Likewise.
42401         (scalbln_test): Likewise.
42402         (tan_test): Likewise.
42403         (y1_test): Likewise.
42404         * sysdeps/i386/fpu/libm-test-ulps: Update.
42405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42407 2012-05-23  David S. Miller  <davem@davemloft.net>
42409         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42410         (__libc_sigaction): Remove unused local variables.
42412 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42414         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42416 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42418         mktime: avoid signed integer overflow
42419         * time/mktime.c (__mktime_internal): Do not mishandle the case
42420         where diff == INT_MIN.
42422         mktime: simplify computation of average
42423         * time/mktime.c (ranged_convert): Use new time_t_avg function
42424         instead of rolling our own (probably-slower) code.
42426         mktime: do not assume signed right shift propagates sign bit
42427         * time/mktime.c (isdst_differ): New static function.
42428         (__mktime_internal): No need to normalize tm_isdst now.
42429         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42430         tm_isdst values.
42432         mktime: merge another wrapv change from gnulib
42433         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42434         from some compilers.
42436         mktime: remove incorrect attempt at unusual arithmetics
42437         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42438         The code didn't really work on such machines anyway.
42439         (TYPE_MINIMUM): Assume two's complement.
42440         (twos_complement_arithmetic): Verify that long_int and time_t
42441         are two's complement (or unsigned, in the latter case).
42443         mktime: check signed shifts on long_int and time_t, too
42444         * time/mktime.c (SHR): Check that shifts work as desired
42445         on the types long_int and time_t too, as SHR is used on
42446         such types.
42448         mktime: do not assume 'long' is wide enough
42449         * time/mktime.c (verify): Move decl up.
42450         (long_int): New type.
42451         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42452         to remove assumption in the code that 'long' is wide enough to
42453         store year values.  This assumption is not true on x32 and on
42454         some non-glibc platforms.
42456         mktime: merge wrapv change from gnulib
42457         * time/mktime.c (WRAPV): New macro.
42458         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42459         (guess_time_tm, __mktime_internal): Do not assume that signed
42460         integer overflow wraps around; modern compilers generate code
42461         where this assumption is no longer valid.
42463 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42465         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42466         Replace "jmp L(pseudo_end)" with "ret".
42467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42468         Likewise.
42470 2012-05-23  Andreas Jaeger  <aj@suse.de>
42472         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42473         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42475 2012-05-23  Andreas Jaeger  <aj@suse.de>
42476             Maximilian Attems  <max@stro.at>
42478         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42479         New macros.
42481 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42484         code so that pseudo_end is just ret and the stack pointer is
42485         correct also for static library in error case.
42487 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42489         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42490         move to syscalls.list.
42491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42496         * manual/install.texi (Running make install): Do not mention Linux
42497         kernel version for which pt_chown is not needed.
42498         (Linux): Do not mention problems with nscd with 2.0 kernels.
42499         * INSTALL: Regenerated.
42501 2012-05-23  Andreas Jaeger  <aj@suse.de>
42503         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42504         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42505         macro.
42506         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42507         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42508         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42509         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42510         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42511         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42512         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42514         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42516         * sysdeps/unix/sysv/linux/bits/in.h
42517         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42519 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42521         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42522         (PREPARE_VERSION): Just use assert instead, it will be elided
42523         under [NDEBUG] anyway.
42525 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42527         * sysdeps/unix/sysv/linux/Makefile: Include
42528         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42529         (sysdep_routines): Remove sysctl.
42530         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42531         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42532         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42533         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42534         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42536 2012-05-22  Andreas Jaeger  <aj@suse.de>
42538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42539         that pseudo_end is just ret and the stack pointer is correct also
42540         for static library in error case.
42542 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42544         [BZ #14122]
42545         * nss/nsswitch.c (defconfig_entries): New variable.
42546         (__nss_database_lookup): Don't leak defconfig entries.
42547         (nss_parse_service_list): Don't leak on error paths.
42548         (free_database_entries): New function.
42549         (free_defconfig): New function.
42550         (free_mem): Move common code to free_database_entries.
42552 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42554         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42555         Add arch_prctl.
42556         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42558         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42559         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42561         New macro.
42562         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42563         (INTERNAL_SYSCALL_TYPES): Likewise.
42564         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42565         (LOAD_REGS_TYPES_[1-6]): Likewise.
42566         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42567         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42569 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42571         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42572         copysignl for GLIBC_2_0.
42573         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42574         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42575         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42576         logbl for GLIBC_2_0.
42577         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42578         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42580 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42582         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42583         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42585         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42586         Use "neg %eax".
42588         * time/mktime.c: Update copyright years.
42590 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
42592         mktime: merge comment-quoting-style change from gnulib
42593         * time/mktime.c: Quote 'like this' in comments.
42594         The GNU coding standards suggest that we no longer quote `like this',
42595         as "`" and "'" are typically rendered asymmetrically nowadays.
42596         The typical gnulib style is to quote 'like this' when quoting
42597         code, and "like this" when quoting English.
42599         * time/mktime.c (compile-command): Add "-I.".
42601         mktime: merge mktime-internal.h change from gnulib
42602         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42604         mktime: merge time_r change from gnulib
42605         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42607         mktime: merge DEBUG change from gnulib
42608         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42609         case system <time.h> has a #define.
42611         mktime: merge <sys/types.h> change from gnulib
42612         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42613         since <time.t> is now guaranteed to define time_t.
42615         mktime: merge HAVE_CONFIG_H change from gnulib
42616         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42618 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42621         Use "neg %eax".
42623         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42624         __rlim_t cast.
42625         (struct rusage): Use anonymous union to pad each field to
42626         __syscall_slong_t.
42628 2012-05-21  David S. Miller  <davem@davemloft.net>
42630         * Makefules (o-iterator): Remove .s cases.
42631         (compile-command.s): Delete.
42632         (COMPILE.s): Delete.
42633         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42635 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
42637         * configure.in (libc_cv_predef_stack_protector): Only consider
42638         "foobar" and "__stack_chk_fail" lines in libc_undefs.
42639         * configure: Regenerated.
42641 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42644         New macro.  Use R*LP on int and pointer.
42645         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42646         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42647         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42648         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42650         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42651         [__WORDSIZE_TIME64_COMPAT32] instead of
42652         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42653         (struct utmp): Likewise.
42654         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42655         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42656         Renamed to ...
42657         (__WORDSIZE_TIME64_COMPAT32): This.
42658         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42659         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42660         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42661         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42662         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42663         (__WORDSIZE_TIME64_COMPAT32): New macro.
42665 2012-05-21  Andreas Jaeger  <aj@suse.de>
42667         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42668         only if [SHARED]. Add prototype for __wcschr_ia32.
42670 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42672         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42673         of %rbp unmolested in the jmp_buf while mangling the low bits.
42674         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42675         unmolested high bits of %rbp while demangling the low bits.
42676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42678 2012-05-21  Andreas Jaeger  <aj@suse.de>
42680         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42681         * sunrpc/svc_simple.c: Use it for registerrpc.
42682         * sunrpc/xcrypt.c: Use it for passwd2des.
42684         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42686 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42688         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42689         Don't define if [__SYSCALL_WORDSIZE != 32].
42690         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42691         New macro.
42693 2012-05-21  Bruno Haible  <bruno@clisp.org>
42694             Andreas Jaeger  <aj@suse.de>
42696         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42697         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42698         inptr and inend for must_buffer_ch.
42699         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42700         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42701         * stdio-common/Makefile (tests): Remove bug15.
42702         (bug15-ENV): Remove macro.
42703         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42704         anymore.
42706 2012-05-19  Andreas Jaeger  <aj@suse.de>
42707             Roland McGrath  <roland@hack.frob.com>
42709         * manual/contrib.texi: Completely rewritten. It contains now an
42710         alphabetical list of contributors and their contributions.
42712 2012-05-21  Richard Henderson  <rth@twiddle.net>
42714         * misc/getauxval.c (__getauxval): Use unsigned long int.
42715         * misc/sys/auxv.h: Include <sys/cdefs.h>.
42716         (getauxval): Use unsigned long int.
42718 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42720         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42722 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42724         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42725         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42726         __alignof__ (long double).
42728 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42732 2012-05-20  Richard Henderson  <rth@twiddle.net>
42734         * misc/getauxval.c: New file.
42735         * misc/sys/auxv.h: New file.
42736         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42737         (routines): Add getauxval.
42738         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42739         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42740         * elf/dl-sysdep.c (_dl_auxv): Remove.
42741         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42742         * elf/dl-support.c (_dl_auxv): New variable.
42743         (_dl_aux_init): Initialize it.
42744         * manual/startup.texi (Auxiliary Vector): New node.
42745         * sysdeps/generic/bits/hwcap.h: New file.
42746         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42747         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
42748         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42749         * sysdeps/sparc/sysdep.h: ... here.  Include it.
42750         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42753         Update.
42754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42757         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42763 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42767 2012-05-19  David S. Miller  <davem@davemloft.net>
42769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42771 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42773         [BZ #14123]
42774         * math/s_ccosh.c: Include <float.h>
42775         (__ccosh): Avoid internal overflow calculating sinh and cosh
42776         values before multiplying by sin and cos values.
42777         * math/s_ccoshf.c: Likewise.
42778         * math/s_ccoshl.c: Likewise.
42779         * math/s_csin.c: Likewise.
42780         * math/s_csinf.c: Likewise.
42781         * math/s_csinl.c: Likewise.
42782         * math/s_csinh.c: Likewise.
42783         * math/s_csinhf.c: Likewise.
42784         * math/s_csinhl.c: Likewise.
42785         * math/libm-test.inc (ccos_test): Add more tests.
42786         (ccosh_test): Likewise.
42787         (csin_test): Likewise.
42788         (csinh_test): Likewise.
42789         * sysdeps/i386/fpu/libm-test-ulps: Update.
42790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42792 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
42794         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42795         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42797         * sysdeps/x86_64/x32/_itoa.h: Add comment.
42799 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42801         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42802         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42803         * sysdeps/powerpc/soft-fp/Versions: Likewise.
42804         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42805         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42806         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42807         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42808         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42809         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42810         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42811         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42812         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42813         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42814         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42815         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42816         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42817         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42818         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42819         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42820         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42821         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42822         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42823         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42824         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42825         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42826         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42827         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42828         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42829         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42830         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42831         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42833 2012-05-18  Andreas Jaeger  <aj@suse.de>
42835         * csu/.gitignore: Delete.
42837 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42839         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42840         (timex): Use __syscall_slong_t.
42842 2012-05-18  Andreas Jaeger  <aj@suse.de>
42843             Carlos O'Donell  <carlos_odonell@mentor.com>
42845         * manual/install.texi (Configuring and compiling): Update
42846         description about files modified in the source directory.
42847         * INSTALL: Regenerated.
42849 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42851         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42852         value.  Use "or" to set return value to -1.
42853         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42854         negate return value.
42856 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42858         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42859         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42860         failure if the compiler has Graphite support disabled.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42862         Likewise.
42863         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42864         (CFLAGS-memmove.c): Likewise.
42865         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42866         Likewise.
42868 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42870         * sysdeps/x86_64/x32/_itoa.h: New file.
42872         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42873         getdents system call only if kernel and user dirents have the
42874         same d_ino and d_off.
42876         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42877         LLONG_MAX != LONG_MAX.
42878         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42879         (_fitoa_word): Likewise.
42881         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42882         years.
42883         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42884         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42885         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42887         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42888         include <bits/wordsize.h>.  Check __x86_64__ instead of
42889         __WORDSIZE.
42890         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42891         if __x86_64__ is defined.  Use anonymous union on fpstate.
42893         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42894         anonymous union.
42896 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42898         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42899         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42900         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42901         Refer to _rtld_local_ro instead of _rtld_global_ro.
42902         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42903         Likewise.
42904         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42905         Likewise.
42906         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42907         Likewise.
42908         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42909         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42910         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42912         * sysdeps/powerpc/powerpc32/dl-machine.c
42913         (__elf_machine_runtime_setup) [PROF]: Don't reference
42914         _dl_prof_resolve.
42916 2012-05-18  Andreas Jaeger  <aj@suse.de>
42918         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42919         function only available for GCCs before 3.4 since GCC 3.4
42920         introduced a builtin.
42921         (lrint): Likewise.
42922         (llrintf): Likewise.
42923         (llrint): Likewise.
42924         (fmaxf): Likewise.
42925         (fmax): Likewise.
42926         (fminf): Likewise.
42927         (fmin): Likewise.
42928         (rint): Likewise.
42929         (rintf): Likewise.
42930         (nearbyint): Likewise.
42931         (nearbyintf): Likewise.
42932         (ceil): Likewise.
42933         (ceilf): Likewise.
42934         (floor): Likewise.
42935         (floorf): Likewise.
42937 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42939         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42940         on both fields and cast pointer to __syscall_ulong_t.
42942         * bits/types.h (__fsword_t): New type.
42943         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42944         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42946         (__FSWORD_T_TYPE): Likewise.
42947         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42948         (__FSWORD_T_TYPE): Likewise.
42949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42950         (__FSWORD_T_TYPE): Likewise.
42951         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42952         (__FSWORD_T_TYPE): Likewise.
42953         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42954         __SWORD_TYPE with __fsword_t.
42955         (statfs64): Likewise.
42957 2012-05-17  David S. Miller  <davem@davemloft.net>
42959         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42961 2012-05-17  Andreas Jaeger  <aj@suse.de>
42963         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42964         warning.
42966 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42968         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42970 2012-05-17  Andreas Jaeger  <aj@suse.de>
42972         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42973         when it is used.
42975 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42977         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42979 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42981         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42982         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42984 2012-05-17  Andreas Jaeger  <aj@suse.de>
42985             Carlos O'Donell  <carlos_odonell@mentor.com>
42987         [BZ #14059]
42988         * sysdeps/x86_64/multiarch/init-arch.h
42989         (bit_YMM_Usable): Rename to...
42990         (bit_AVX_Usable): ... this.
42991         (bit_FMA4_Usable): New macro.
42992         (bit_XMM_state): New macro.
42993         (bit_YMM_state): New macro.
42994         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42995         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42996         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42997         (CPUID_OSXSAVE): New macro.
42998         (CPUID_AVX): New macro.
42999         (CPUID_FMA4): New macro.
43000         (index_YMM_Usable): Rename to...
43001         (index_AVX_Usable): ... this.
43002         (HAS_AVX): Use HAS_ARCH_FEATURE.
43003         (HAS_FMA4): Likewise.
43004         (HAS_YMM_USABLE): Remove.
43005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43006         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43007         are present.
43008         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43009         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43010         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43011         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43012         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43014 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43016         * math/libm-test.c: Support platforms without multiple rounding modes.
43017         * math/bug-nextafter.c: Support platforms without FP exceptions.
43018         * math/bug-nexttoward.c: Likewise.
43019         * math/test-fenv.c: Likewise.
43020         * math/test-misc.c: Likewise.
43021         * stdlib/bug-getcontext.c: Likewise.
43023 2012-05-17  Andreas Jaeger  <aj@suse.de>
43025         * manual/examples/search.c (critter_cmp): Change signature to
43026         avoid warnings.
43027         * manual/string.texi (Collation Functions): Likewise.
43029 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43031         * bits/types.h: Fold copyright years.
43032         * bits/typesizes.h: Likewise.
43033         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43035         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43037         * time/time.h: Likewise.
43039 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43041         [BZ #208]
43042         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43043         in instead of returning them.  Return void.
43044         (__libc_mallinfo): Accumulate over all arenas.
43045         (__malloc_stats): Adjust for change in int_mallinfo interface.
43047 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43049         [BZ #10375]
43050         * configure.in (NM): Add AC_CHECK_TOOL for it.
43051         (libc_extra_cflags): New substituted variable.
43052         Check for -fstack-protector being used implicitly.
43053         * configure: Regenerated.
43054         * config.make.in (config-extra-cflags): New variable,
43055         gets @libc_extra_cflags@.
43056         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43058         [BZ #10375]
43059         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43060         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43061         * configure: Regenerated.
43062         * config.make.in (CPPUNDEFS): New substituted variable.
43063         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43064         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43065         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43067 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43069         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43070         (mq_attr): Use __syscall_slong_t.
43072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43074         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43075         Check __x86_64__ instead of __WORDSIZE.
43076         (_STAT_VER_LINUX): Likewise.
43077         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43078         __syscall_ulong_t and __syscall_slong_t.
43079         (stat64): Likewise.
43081 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43083         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43085 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43087         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43089 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43091         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43092         __syscall_ulong_t.
43094         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43095         include <bits/wordsize.h>.  Check __x86_64__ instead of
43096         __WORDSIZE.
43097         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43098         defined.
43099         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43101         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43102         include <bits/wordsize.h>.  Check __x86_64__ instead of
43103         __WORDSIZE.
43104         (user_regs_struct): Use "__extension__ unsigned long long"
43105         instead of "unsigned long" if __x86_64__ is defined.
43106         (user): Likewise.  Pad after pointer field if __ILP32__ is
43107         defined.
43109 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43111         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43112         versions 5 to 9.
43113         * configure: Regenerated.
43114         * manual/install.texi (texinfo): Increase version requirement to
43115         4.5 or later.
43116         * INSTALL: Regenerated.
43118         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43120 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43122         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43124         * sysdeps/x86_64/x32/ffs.c: New file.
43126         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43127         __syscall_ulong_t.
43128         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43129         defined.  Use __syscall_ulong_t.
43130         (shminfo): Use __syscall_ulong_t.
43131         (shm_info): Likewise.
43133         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43134         __syscall_ulong_t.
43136         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43137         <bits/wordsize.h>.
43138         (msgqnum_t): Use __syscall_ulong_t.
43139         (msglen_t): Likewise.
43140         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43141         __syscall_ulong_t.
43143         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43144         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43146         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43148         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43149         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43151         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43152         __syscall_slong_t.
43154         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43155         include <bits/wordsize.h>.  Check __x86_64__ instead of
43156         __WORDSIZE.
43158         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43159         "unsigned long long int" if __x86_64__ is defined.
43160         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43162         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43163         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43164         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43166         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43167         <stdint.h>.
43168         (GET_PC): Cast to uintptr_t first.
43169         (GET_FRAME): Likewise.
43170         (GET_STACK): Likewise.
43172         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43173         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43174         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43175         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43176         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43177         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43178         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43179         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43180         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43181         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43182         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43183         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43184         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43185         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43186         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43187         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43188         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43189         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43190         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43191         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43192         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43193         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43194         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43195         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43196         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43197         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43198         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43199         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43200         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43202 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43204         * Makerules (+depfiles): Also collect depfiles from .oS in
43205         $(extra-objs).
43206         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43207         .oS, $(libnldbl-routines)).
43209         * Makerules (native-compile-mkdep-flags): Define.
43210         * sunrpc/Makefile (extra-objs): Add $(addprefix
43211         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43212         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43213         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43214         calling $(make-target-directory).
43216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43218         * bits/types.h (__snseconds_t): Removed.
43219         * time/time.h (struct timespec): Replace __snseconds_t with
43220         __syscall_slong_t.
43221         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43222         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43223         Likewise.
43224         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43225         (__SNSECONDS_T_TYPE): Likewise.
43226         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43227         (__SNSECONDS_T_TYPE): Likewise.
43228         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43229         (__SNSECONDS_T_TYPE): Likewise.
43231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43233         * sysdeps/mach/hurd/bits/typesizes.h
43234         (__SYSCALL_SLONG_TYPE): New macro.
43235         (__SYSCALL_ULONG_TYPE): Likewise.
43237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43239         * bits/types.h (__syscall_slong_t): New type.
43240         (__syscall_ulong_t): Likewise.
43242         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43243         (__SYSCALL_ULONG_TYPE): Likewise.
43244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43245         (__SYSCALL_SLONG_TYPE): Likewise.
43246         (__SYSCALL_ULONG_TYPE): Likewise.
43247         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43248         (__SYSCALL_SLONG_TYPE): Likewise.
43249         (__SYSCALL_ULONG_TYPE): Likewise.
43250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43251         (__SYSCALL_SLONG_TYPE): Likewise.
43252         (__SYSCALL_ULONG_TYPE): Likewise.
43254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43256         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43257         Add sigaltstack-offsets.sym.
43258         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43259         <sigaltstack-offsets.h>.
43260         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43261         longjmp_msg pointer.
43262         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43263         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43264         signal stack.
43265         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43267 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43269         * elf/stackguard-macros.h: Remove file.
43270         * sysdeps/generic/stackguard-macros.h: New file.
43271         * sysdeps/i386/stackguard-macros.h: Likewise.
43272         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43273         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43274         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43275         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43276         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43277         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43278         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43279         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43280         <elf/stackguard-macros.h>.
43282         [BZ #14109]
43283         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43284         __aligned__ in attribute.
43285         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43286         (gregset_t): Likewise.
43288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43290         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43291         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43292         * sysdeps/x86_64/x32/Implies-after: New file.
43294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43296         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43297         and access return value for _dl_profile_fixup.  Use R10_LP to
43298         load frame size.
43300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43302         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43306         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43307         * sysdeps/x86_64/x32/sysdep.h: New file.
43309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43311         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43312         * sysdeps/x86_64/setjmp.S: Likewise.
43314 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43316         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43317         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43318         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43319         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43320         remove unused global constant.
43322 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43324         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43325         include of <not-cancel.h>.
43327 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43329         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43331 2012-05-15  Jeff Law  <law@redhat.com>
43332             Andreas Jaeger  <aj@suse.de>
43334         [BZ #13594]
43335         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43336         out from...
43337         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43338         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43339         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43340         code changing __hst_map_handle.map.
43342 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43344         * configure.in (sysnames): Look for Implies-before and Implies-after
43345         files.
43346         * configure: Regenerated.
43348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43350         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43351         8-byte data alignment with LP_SIZE alignment.
43353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43355         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43356         into R10_LP.
43358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43360         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43364         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43365         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43366         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43367         Likewise.
43368         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43372         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43373         (stackinfo_sub_sp): Likewise.
43375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43377         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43378         RAX_LP.
43380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43382         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43383         into R*_LP.
43385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43387         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43388         sizes into R*_LP.
43390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43392         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43396         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43397         into R11_LP and load __x86_64_shared_cache_size_half into
43398         R8_LP.
43400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43402         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43403         R8_LP.
43405 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43408         logb for POWER7.
43409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43410         logbf for POWER7.
43411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43412         logbl for POWER7.
43413         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43414         powerpc32/power7/fpu/s_logb.c via #include.
43415         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43416         powerpc32/power7/fpu/s_logbf.c via #include.
43417         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43418         powerpc32/power7/fpu/s_logbl.c via #include.
43420 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43422         * README.libm: Remove file.
43424 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43426         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43427         count for x32.  Use R*_LP and omit operand-size suffix.
43429 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43431         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43432         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43433         * sysdeps/x86_64/x32/shlib-versions: New file.
43435 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43437         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43438         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43439         Use _dl_fatal_printf instead.
43441 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43443         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43444         set if not set by the user.  Do not allow for being unset.
43445         * sysdeps/unix/sysv/linux/configure: Regenerated.
43447 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43449         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43450         the `q' suffix from lea and replace .quad with ASM_ADDR.
43452 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43455         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43456         instead of $17.
43457         (PTR_DEMANGLE): Likewise.
43459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43461         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43462         (LP_OP): Likewise.
43463         (ASM_ADDR): Likewise.
43464         (RAX_LP): Likewise.
43465         (RBP_LP): Likewise.
43466         (RBX_LP): Likewise.
43467         (RCX_LP): Likewise.
43468         (RDI_LP): Likewise.
43469         (RSI_LP): Likewise.
43470         (RSP_LP): Likewise.
43471         (R8_LP): Likewise.
43472         (R9_LP): Likewise.
43473         (R10_LP): Likewise.
43474         (R10_LP): Likewise.
43475         (R11_LP): Likewise.
43476         (R12_LP): Likewise.
43477         (R13_LP): Likewise.
43478         (R14_LP): Likewise.
43479         (R15_LP): Likewise.
43481 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43483         * sysdeps/x86_64/x32/dl-machine.h: New file.
43485 2012-05-14  Andreas Jaeger  <aj@suse.de>
43487         * manual/Makefile (subdir): Remove export of subdir.
43488         (all): Remove target.
43489         (.PHONY): Remove all from list.
43490         (mkinstalldirs): Remove.
43491         (.PHONY): Remove installdirs from list.
43492         ($(inst_infodir)/libc.info): Use make-target-directory.
43493         (installdirs): Remove.
43494         (subdir_%): Remove.
43495         (glibc-targets): Remove.
43496         (lib): Remove.
43497         (stubs): Remove.
43498         ($(objpfx)stubs ../po/manual.pot): Remove.
43499         ($(objpfx)stamp%): Remove.
43500         (make-target-directory): Remove.
43501         (subdir_install): Remove.
43502         (routines): Remove.
43503         (aux): Remove.
43504         (sources): Remove.
43505         (objects): Remove.
43506         (headers): Remove.
43508         [BZ #13750]
43509         * manual/.gitignore: Remove, it's not needed anymore.
43510         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43511         all files in it.
43512         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43513         directory.
43514         (texis): Renamed to $(objpfx)texis.
43515         (texis-path): New, contains path to generated files.
43516         (chapters.%): Use texis-path for complete path, add extra argument
43517         libc-texinfo.sh.
43518         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43519         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43520         (summary,texi, stamp-summary): Use complete path of
43521         files. Generate files in build dir.
43522         (dir-add.texi): Build in build dir.
43523         (libm-err.texi,stamp-libm-err): Likewise.
43524         (version.texi, stamp-version): Likewise.
43525         (.%c.texi): Likewise.
43526         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43527         (mostlyclean): Remove target.
43528         (realclean): Remove target.
43529         (generated): Add new variable with contents from mostlyclean and
43530         realclean, remove entries duplicated in common-mostlyclean, add
43531         stamp-libm-err and stamp-version.
43532         (generated-dirs): Add libc directory.
43533         ($(inst_infodir)/libc.info): Install files from build dir.
43535         * manual/install.texi (Configuring and compiling): Adjust since
43536         the info files are not part of the tar ball anymore.
43538 2012-05-14  Andreas Jaeger  <aj@suse.de>
43540         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43541         variable.
43543 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43545         [BZ #13717]
43546         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43547         to 2.2.0 where earlier.
43548         * sysdeps/unix/sysv/linux/configure: Regenerated.
43549         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43550         Remove conditional code.
43551         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43552         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43553         Remove conditional code.
43554         [!__NR_lchown]: Likewise.
43555         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43556         [__NR_lchown]: Likewise.
43557         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43558         comment referencing __ASSUME_LCHOWN_SYSCALL.
43559         * sysdeps/unix/sysv/linux/i386/sigaction.c
43560         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43561         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43562         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43563         Remove conditional code.
43564         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43565         (__protocol_available): Remove #if 0 code.
43566         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43567         conditional code.
43568         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43569         * sysdeps/unix/sysv/linux/kernel-features.h
43570         (__ASSUME_GETCWD_SYSCALL): Don't define.
43571         (__ASSUME_REALTIME_SIGNALS): Likewise.
43572         (__ASSUME_PREAD_SYSCALL): Likewise.
43573         (__ASSUME_PWRITE_SYSCALL): Likewise.
43574         (__ASSUME_POLL_SYSCALL): Likewise.
43575         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43576         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43577         non-SPARC.
43578         (__ASSUME_SIOCGIFNAME): Don't define.
43579         (__ASSUME_MSG_NOSIGNAL): Likewise.
43580         (__ASSUME_SENDFILE): Define unconditionally.
43581         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43582         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43583         conditional code.
43584         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43585         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43586         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43587         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43588         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43589         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43590         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43592         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43593         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43595         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43596         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43598         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43599         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43601         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43602         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43604         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43605         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43607         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43610         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43611         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43613         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43614         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43615         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43616         Remove conditional code.
43617         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43618         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43619         Remove conditional code.
43620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43621         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43622         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43623         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43624         Remove conditional code.
43625         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43626         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43627         Remove conditional code.
43628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43629         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43630         Remove conditional code.
43631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43632         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43633         Remove conditional code.
43634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43635         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43636         Remove conditional code.
43637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43638         * sysdeps/unix/sysv/linux/sh/pwrite64.c
43639         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43641         * sysdeps/unix/sysv/linux/sigaction.c
43642         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43643         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43644         * sysdeps/unix/sysv/linux/sigpending.c
43645         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43646         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43647         * sysdeps/unix/sysv/linux/sigprocmask.c
43648         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43649         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43650         * sysdeps/unix/sysv/linux/sigsuspend.c
43651         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43652         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43653         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43654         (__libc_missing_rt_sigs): Remove.
43655         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43656         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43657         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43658         Remove conditional code.
43659         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43660         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43661         return 1.
43662         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43663         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43664         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43665         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43667 2012-05-14  Andreas Jaeger  <aj@suse.de>
43669         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43670         it's not used in glibc.
43671         (__coshm1): Likewise.
43672         (__acosh1p): Likewise.
43673         (__sgn): Likewise.
43675         * manual/string.texi (Copying and Concatenation): Add missing
43676         variable in concat example.
43677         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43679 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43681         [BZ #14103]
43682         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43683         __builtin_clzl with __builtin_clzll.
43685 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43687         [BZ #14104]
43688         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43689         libc_freeres_ptr.
43691 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43693         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43694         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43695         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43696         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43698 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
43700         * NEWS: Update ia64 info.
43702 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
43704         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43705         used as bcopy.
43707 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
43709         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43710         * sysdeps/unix/syscalls.list (dup3): Likewise.
43711         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43712         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43714 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43716         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43717         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43719 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43721         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43722         thread pointer.
43723         (TLS_IE): Use mov/add instead of movq/addq to load thread
43724         pointer.
43725         (TLS_GD_PREFIX): New.
43726         (TLS_GD): Use it.
43728 2012-05-11  David S. Miller  <davem@davemloft.net>
43730         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43731         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43732         (_FPU_SETCW): Likewise.
43734 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43736         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43737         is 32-byte aligned.
43739 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
43741         [BZ #11837]
43742         * iconvdata/gb18030.c: Update tables.
43743         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
43744         characters specially.
43745         (BODY for TO_LOOP): Add encoding of missing ranges.
43747 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
43749         [BZ #13673]
43750         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43751         * sysdeps/mach/hurd/dup3.c: Likewise.
43752         * sysdeps/mach/hurd/readlinkat.c: Likewise.
43753         * sysdeps/powerpc/memmove.c:: Likewise.
43755 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43757         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43758         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43760 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43762         * elf/elf.h (R_X86_64_RELATIVE64): New.
43763         (R_X86_64_NUM): Updated.
43764         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43765         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
43766         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43767         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43768         tst-quad1pie tst-quad2pie
43769         (modules-names): Add tst-quadmod1 tst-quadmod2.
43770         ($(objpfx)tst-quad1): New dependency.
43771         ($(objpfx)tst-quad2): Likewise.
43772         ($(objpfx)tst-quad1pie): Likewise.
43773         ($(objpfx)tst-quad2pie): Likewise.
43774         * sysdeps/x86_64/tst-quad1.c: New file.
43775         * sysdeps/x86_64/tst-quad1pie.c: New file.
43776         * sysdeps/x86_64/tst-quad2.c: Likewise.
43777         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43778         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43779         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43780         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43781         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43785         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43786         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43787         * streams/stropts.h (t_scalar_t): Define type.
43789         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43790         (_PATH_PRESERVE): Set to "/var/lib".
43791         (_PATH_RWHODIR): Set to "/var/spool/rwho".
43793         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43794         instead of int.
43796         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43797         if __dir_mkfile succeeded.
43799         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43800         checking for _hurd_dtablesize.  Unlock it right after having
43801         finished _hurd_dtable allocation.
43803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43805         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43806         * sysdeps/mach/hurd/configure: Regenerated.
43807         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43808         special-casing to...
43809         * sysdeps/gnu/configure.in: ... this new file.
43810         * sysdeps/unix/sysv/linux/configure: Regenerated.
43811         * sysdeps/gnu/configure: New generated file.
43813         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43814         for Linux: use nsec instead of usec, as well as:
43815         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43816         members of type struct timespec.
43817         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43818         New macros.
43819         (struct stat64): Likewise.
43820         (_STATBUF_ST_NSEC): New macro.
43821         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43823         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43824         __strtoul_internal rather than strtoul.
43826 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43828         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43829         and reject them.
43831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43833         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43834         which preserves existing values.
43835         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43837 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43839         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43840         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43841         greater than FD_SETSIZE.
43843 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43845         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43846         allocated, call __vm_protect to finish enabling the existing space, and
43847         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43848         allocate the remainder.
43850 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43852         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43853         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43857         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43858         sysdeps/mach/hurd/readlink.c.
43860         * posix/tst-sysconf.c (posix_options): Only use
43861         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43862         _POSIX_SYNCHRONIZED_IO when they are defined
43863         * sysdeps/mach/hurd/bits/posix_opt.h:
43864         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43865         (_XOPEN_REALTIME): Undefine macro.
43866         (_XOPEN_REALTIME_THREADS): Undefine macro.
43867         (_XOPEN_SHM): Undefine macro.
43868         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43869         macro to -1.
43870         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43871         macro to -1.
43872         (_POSIX_ASYNC_IO): Undefine macro.
43873         (_POSIX_PRIORITIZED_IO): Undefine macro.
43874         (_POSIX_SPIN_LOCKS): Define macro to -1.
43876         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43877         SA_NODEFER, SA_RESETHAND.
43878         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43879         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43880         F_DUPFD_CLOEXEC.
43882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43884         * elf/Makefile (pldd-modules): Define unconditionally.
43886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43888         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43890 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43892         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43893         Return ENOENT when name is empty.
43894         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43896 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43898         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43900         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43902 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43904         Fix mlock in all cases except non-readable pages.
43905         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43906         instead of VM_PROT_ALL as parameter to __vm_wire function.
43908         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43909         (__mkdir): When path is `/', just fail with EEXIST.
43910         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43914         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43915         <sys/uio.h> (for writev).
43916         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43917         and <sys/param.h> (for MIN).
43919 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43921         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43922         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43923         if interrupted.
43925 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43927         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43928         Depend on against $(link-rpcuserlibs).
43930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43932         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43933         (__libc_stack_end): Do not use attribute_relro.
43934         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43935         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43936         to libthread-provided value.
43937         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43938         attribute_relro.
43940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43942         [BZ #3748]
43943         * bits/libc-lock.h (__libc_once_get): New macro.
43944         * sysdeps/mach/bits/libc-lock.h: Likewise.
43945         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43947         instead of using implementation details.
43949         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43950         * libio/freopen.c: Likewise.
43951         * libio/freopen64.c: Likewise.
43952         * misc/syslog.c: Likewise.
43953         * nscd/connections.c: Likewise.
43954         * nscd/netgroupcache.c: Likewise.
43955         * sysdeps/posix/getcwd.c: Likewise.
43957 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43959         * math/w_ilogbf.c: Add #include <limits.h>.
43961 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43963         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43964         path instead of returning without unlocking.
43966         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43967         immediate-write ioctls.
43968         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43972         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43973         __builtin_frame_address instead of making assumptions about the
43974         location of the return address relative to DATA.  Force early load of
43975         the return address.
43976         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43977         __builtin_frame_address.
43979         dup3 for GNU Hurd.
43980         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43981         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43982         implement dup3 and do some further code clean-ups.
43983         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43984         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43988         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43990         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43991         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43992         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43993         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43994         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43995         d->port.lock.
43997         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43998         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43999         when handler == SIG_ERR, not when handler != SIG_ERR.
44001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44003         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44004         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44005         definitions.
44007         accept4 for GNU Hurd.
44008         * include/sys/socket.h (__libc_accept4): New prototype.
44009         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44010         to implement __libc_accept4.
44011         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44012         __libc_accept4.
44013         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44015         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44016         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44017         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44018         signal-defines.sym.
44020 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44022         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44026         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44027         assertion on O_CLOEXEC flag.
44028         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44029         * hurd/intern-fd.c: Likewise.
44030         * hurd/port2fd.c: Likewise.
44032 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44034         [BZ #3906]
44035         * bits/in.h (IPV6_PKTINFO): Define new macro.
44036         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44038 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44040         [BZ #13954]
44041         [BZ #13955]
44042         [BZ #13956]
44043         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44044         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44045         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44046         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44048         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44049         * math/libm-test.inc (logb_test) : Additional logb tests.
44051 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44052             Andreas Jaeger  <aj@suse.de>
44054         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44055         * configure: Regenerated.
44056         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44057         * config.make.in (link-obsolete-rpc): New substituted variable.
44058         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44059         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44060         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44061         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44062         so that libc.a contains the symbols.
44063         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44064         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44065         * sunrpc/auth_none.c: Likewise.
44066         * sunrpc/auth_unix.c: Likewise.
44067         * sunrpc/authdes_prot.c: Likewise.
44068         * sunrpc/authuxprot.c: Likewise.
44069         * sunrpc/clnt_gen.c: Likewise.
44070         * sunrpc/clnt_perr.c: Likewise.
44071         * sunrpc/clnt_raw.c: Likewise.
44072         * sunrpc/clnt_simp.c: Likewise.
44073         * sunrpc/clnt_tcp.c: Likewise.
44074         * sunrpc/clnt_udp.c: Likewise.
44075         * sunrpc/clnt_unix.c: Likewise.
44076         * sunrpc/des_crypt.c: Likewise.
44077         * sunrpc/des_soft.c: Likewise.
44078         * sunrpc/get_myaddr.c: Likewise.
44079         * sunrpc/key_call.c: Likewise.
44080         * sunrpc/key_prot.c: Likewise.
44081         * sunrpc/netname.c: Likewise.
44082         * sunrpc/pm_getmaps.c: Likewise.
44083         * sunrpc/pm_getport.c: Likewise.
44084         * sunrpc/pmap_clnt.c: Likewise.
44085         * sunrpc/pmap_prot.c: Likewise.
44086         * sunrpc/pmap_prot2.c: Likewise.
44087         * sunrpc/pmap_rmt.c: Likewise.
44088         * sunrpc/publickey.c: Likewise.
44089         * sunrpc/rpc_cmsg.c: Likewise.
44090         * sunrpc/rpc_common.c: Likewise.
44091         * sunrpc/rpc_dtable.c: Likewise.
44092         * sunrpc/rpc_prot.c: Likewise.
44093         * sunrpc/rpc_thread.c: Likewise.
44094         * sunrpc/rtime.c: Likewise.
44095         * sunrpc/svc.c: Likewise.
44096         * sunrpc/svc_auth.c: Likewise.
44097         * sunrpc/svc_raw.c: Likewise.
44098         * sunrpc/svc_run.c: Likewise.
44099         * sunrpc/svc_tcp.c: Likewise.
44100         * sunrpc/svc_udp.c: Likewise.
44101         * sunrpc/svc_unix.c: Likewise.
44102         * sunrpc/svcauth_des.c: Likewise.
44103         * sunrpc/xcrypt.c: Likewise.
44104         * sunrpc/xdr.c: Likewise.
44105         * sunrpc/xdr_array.c: Likewise.
44106         * sunrpc/xdr_float.c: Likewise.
44107         * sunrpc/xdr_intXX_t.c: Likewise.
44108         * sunrpc/xdr_mem.c: Likewise.
44109         * sunrpc/xdr_rec.c: Likewise.
44110         * sunrpc/xdr_ref.c: Likewise.
44111         * sunrpc/xdr_sizeof.c: Likewise.
44112         * sunrpc/xdr_stdio.c: Likewise.
44114 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44116         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44117         change.  Update copyright years.
44119 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44121         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44123 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44124             Joseph Myers  <joseph@codesourcery.com>
44125             Paul Pluzhnikov  <ppluzhnikov@google.com>
44127         [BZ #14012]
44128         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44129         requiring rpcgen.
44130         [cross-compiling] (extra-libs): Likewise.
44131         [cross-compiling] (extra-libs-others): Likewise.
44132         [cross-compiling] (librpcsvc-routines): Likewise.
44133         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44134         [cross-compiling] (omit-deps): Likewise.
44135         (sunrpc-CPPFLAGS): New variable.
44136         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44137         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44138         (cross-rpcgen-objs): New variable.
44139         (extra-objs): Append $(cross-rpcgen-objs).
44140         ($(cross-rpcgen-objs)): New rule.
44141         ($(objpfx)cross-rpcgen): Likewise.
44142         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44143         comment.
44144         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44145         ($(objpfx)x%.stmp): Likewise.
44146         * sunrpc/proto.h [IS_IN_build] (_): Define.
44147         [IS_IN_build] (_libc_intl_domainname): Likewise.
44149 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44151         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44152         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44153         and R_X86_64_TPOFF64.
44155 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44157         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44158         sysdeps/unix/sysv/syscalls.list.
44159         (stime): Likewise.
44160         (utime): Likewise.
44161         * sysdeps/unix/sysv/syscalls.list: Remove file.
44163 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44165         [BZ #3440]
44166         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44167         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44168         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44169         (__LC_IDENTIFICATION): Make these macros useful in #if
44170         expressions, as required by C99.
44172 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44174         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44175         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44176         after this.
44178 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44180         * stdlib/longlong.h: Updated from GCC.
44182 2012-05-09  Andreas Jaeger  <aj@suse.de>
44184         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44185         default is first entry.
44186         (run_mode): Set type.
44187         (main): Remove informal message about syslog.
44188         (options): Fix typo.
44190         [BZ #14053]
44191         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44192         to asm.
44193         (lrint): Likewise.
44194         (llrintf): Likewise.
44195         (llrint): Likewise.
44196         (rint): Likewise.
44197         (rintf): Likewise.
44198         (nearbyint): Likewise.
44199         (nearbyintf): Likewise.
44201 2012-05-09  Andreas Jaeger  <aj@suse.de>
44202             Pedro Alves  <palves@redhat.com>
44204         * nscd/nscd.c (run_mode): Use enum.
44205         (main): Cleanup coding style issue.
44207 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44208             Andreas Jaeger  <aj@suse.de>
44210         * nscd/nscd.c (go_background): Replaced with...
44211         (run_mode): ... this.
44212         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44213         (options): Add -F --foreground.
44214         (main): Implement it.
44215         (parse_opt): Parse it.
44217 2012-05-09  Andreas Jaeger  <aj@suse.de>
44219         [BZ #14083]
44220         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44221         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44222         -Wconversion warning.
44223         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44224         Likewise.
44226 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44228         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44229         == 0.
44230         (LC_ALL): Use macro-int-constant.
44231         (LC_COLLATE): Likewise.
44232         (LC_CTYPE): Likewise.
44233         (LC_MESSAGES): Likewise.
44234         (LC_MONETARY): Likewise.
44235         (LC_NUMERIC): Likewise.
44236         (LC_TIME): Likewise.
44237         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44238         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44239         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44240         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44241         Specify type.
44242         [C99-based standards] (float_t): Expect type.
44243         [C99-based standards] (double_t): Expect type.
44244         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44245         type.
44246         [C99-based standards] (HUGE_VALL): Likewise.
44247         [C99-based standards] (INFINITY): Likewise.
44248         [C99-based standards] (NAN): Likewise.
44249         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44250         [C99-based standards] (FP_NAN): Likewise.
44251         [C99-based standards] (FP_NORMAL): Likewise.
44252         [C99-based standards] (FP_SUBNORMAL): Likewise.
44253         [C99-based standards] (FP_ZERO): Likewise.
44254         [C99-based standards] (FP_FAST_FMA): Use
44255         optional-macro-int-constant.  Specify type.  Require == 1.
44256         [C99-based standards] (FP_FAST_FMAF): Likewise.
44257         [C99-based standards] (FP_FAST_FMAL): Likewise.
44258         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44259         [C99-based standards] (FP_ILOGBNAN): Likewise.
44260         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44261         Specify type.
44262         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44263         [C99-based standards] (math_errhandling): Specify type.
44264         [ISO99 || ISO11] (signgam): Do not allow.
44265         [non-C99-based standards] (copysignf): Do not allow.
44266         [non-C99-based standards] (exp2f): Likewise.
44267         [non-C99-based standards] (log2f): Likewise.
44268         [non-C99-based standards] (modff): Allow.
44269         [non-C99-based standards] (erff): Do not allow.
44270         [non-C99-based standards] (erfcf): Likewise.
44271         [non-C99-based standards] (gammaf): Likewise.
44272         [non-C99-based standards] (hypotf): Likewise.
44273         [non-C99-based standards] (j0f): Likewise.
44274         [non-C99-based standards] (j1f): Likewise.
44275         [non-C99-based standards] (jnf): Likewise.
44276         [non-C99-based standards] (lgammaf): Likewise.
44277         [non-C99-based standards] (tgammaf): Likewise.
44278         [non-C99-based standards] (y0f): Likewise.
44279         [non-C99-based standards] (y1f): Likewise.
44280         [non-C99-based standards] (ynf): Likewise.
44281         [non-C99-based standards] (isnanf): Likewise.
44282         [non-C99-based standards] (acoshf): Likewise.
44283         [non-C99-based standards] (asinhf): Likewise.
44284         [non-C99-based standards] (atanhf): Likewise.
44285         [non-C99-based standards] (cbrtf): Likewise.
44286         [non-C99-based standards] (expm1f): Likewise.
44287         [non-C99-based standards] (ilogbf): Likewise.
44288         [non-C99-based standards] (log1pf): Likewise.
44289         [non-C99-based standards] (logbf): Likewise.
44290         [non-C99-based standards] (nextafterf): Likewise.
44291         [non-C99-based standards] (remainderf): Likewise.
44292         [non-C99-based standards] (rintf): Likewise.
44293         [non-C99-based standards] (scalbf): Likewise.
44294         [non-C99-based standards] (copysignl): Likewise.
44295         [non-C99-based standards] (exp2l): Likewise.
44296         [non-C99-based standards] (log2l): Likewise.
44297         [non-C99-based standards] (modfl): Allow.
44298         [non-C99-based standards] (erfl): Do not allow.
44299         [non-C99-based standards] (erfcl): Likewise.
44300         [non-C99-based standards] (gammal): Likewise.
44301         [non-C99-based standards] (hypotl): Likewise.
44302         [non-C99-based standards] (j0l): Likewise.
44303         [non-C99-based standards] (j1l): Likewise.
44304         [non-C99-based standards] (jnl): Likewise.
44305         [non-C99-based standards] (lgammal): Likewise.
44306         [non-C99-based standards] (tgammal): Likewise.
44307         [non-C99-based standards] (y0l): Likewise.
44308         [non-C99-based standards] (y1l): Likewise.
44309         [non-C99-based standards] (ynl): Likewise.
44310         [non-C99-based standards] (isnanl): Likewise.
44311         [non-C99-based standards] (acoshl): Likewise.
44312         [non-C99-based standards] (asinhl): Likewise.
44313         [non-C99-based standards] (atanhl): Likewise.
44314         [non-C99-based standards] (cbrtl): Likewise.
44315         [non-C99-based standards] (expm1l): Likewise.
44316         [non-C99-based standards] (ilogbl): Likewise.
44317         [non-C99-based standards] (log1pl): Likewise.
44318         [non-C99-based standards] (logbl): Likewise.
44319         [non-C99-based standards] (nextafterl): Likewise.
44320         [non-C99-based standards] (remainderl): Likewise.
44321         [non-C99-based standards] (rintl): Likewise.
44322         [non-C99-based standards] (scalbl): Likewise.
44323         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44324         [non-C99-based standards] (FP_*): Do not allow.
44325         [C99-based standards] (FP_*): Change to
44326         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44327         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44328         allow.
44329         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44330         (SIG_ERR): Likewise.
44331         [X/Open-based standards] (SIG_HOLD): Likewise.
44332         (SIG_IGN): Likewise.
44333         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44334         positive value.
44335         (SIGFPE): Likewise.
44336         (SIGILL): Likewise.
44337         (SIGINT): Likewise.
44338         (SIGSEGV): Likewise.
44339         (SIGTER): Likewise.
44340         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44341         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44342         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44343         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44344         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44345         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44346         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44347         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44348         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44349         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44350         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44351         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44352         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44353         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44354         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44355         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44356         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44357         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44358         [X/Open-based standards] (SIGTRAP): Likewise.
44359         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44360         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44361         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44362         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44363         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44364         allow.
44366 2012-05-08  Ian Wienand  <ianw@vmware.com>
44368         [BZ #14080]
44369         * time/tzset.c (__tzset_parse_tz): Update default rules for
44370         daylight time changes in the Energy Policy Act of 2005.
44372 2012-05-09  Andreas Jaeger  <aj@suse.de>
44374         [BZ #13983]
44375         * elf/ldconfig.c (parse_conf): Change string to make clear that
44376         ldconfig only issued a warning if ld.so.conf does not exist.
44378 2012-05-08  David S. Miller  <davem@davemloft.net>
44380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44381         movxtod instead of popping the value on the stack.
44383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44385 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44387         * config.h.in: Add HAVE_ARM_PCS_VFP.
44389 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44391         [BZ #13979]
44392         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44393         checking but the checks are disabled for any reason.
44395 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44397         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44398         and ELF64_R_TYPE with ELFW(R_TYPE).
44400 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44402         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44403         (ulimit): Likewise.
44405         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44406         (settimeofday): Likewise.
44408 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44410         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44411         a struct th_u2 inside the union, and move tu_block/tu_code into
44412         a new th_u3 union of tu_block/tu_code inside of that.  Move
44413         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44414         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44415         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44416         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44417         (th_stuff): Change to th_u1.tu_stuff.
44418         (th_data): Define.
44419         (th_msg): Change to th_u1.th_u2.tu_data.
44421 2012-05-07  David S. Miller  <davem@davemloft.net>
44423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44425         [BZ #14074]
44426         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44427         (SETUP_PIC_REG): Use it.
44428         (SETUP_PIC_REG_LEAF): Use it.
44430 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44432         [BZ #13885]
44433         [BZ #13923]
44434         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44435         USE_AS_EXPM1L.
44436         (EXPL_FINITE): Likewise.
44437         (FLDLOG): Likewise.
44438         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44439         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44440         e_expl.S.
44441         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44442         USE_AS_EXPM1L.
44443         (EXPL_FINITE): Likewise.
44444         (FLDLOG): Likewise.
44445         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44446         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44447         e_expl.S.
44448         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44449         test of -max_value argument for long double.
44450         * sysdeps/i386/fpu/libm-test-ulps: Update.
44451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44453 2012-05-06  David S. Miller  <davem@davemloft.net>
44455         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44456         quad soft-float symbols whose references which are compiler
44457         generated.
44458         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44460 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44462         [BZ #13884]
44463         [BZ #13914]
44464         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44465         USE_AS_EXP10L.
44466         (EXPL_FINITE): Likewise.
44467         (FLDLOG): Likewise.
44468         (c0): Likewise.
44469         (c1): Likewise.
44470         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44471         Adjust comments for base varying.
44472         (__expl_finite): Change alias to EXPL_FINITE.
44473         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44474         e_expl.S.
44475         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44476         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44477         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44478         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44480         USE_AS_EXP10L.
44481         (EXPL_FINITE): Likewise.
44482         (FLDLOG): Likewise.
44483         (c0): Likewise.
44484         (c1): Likewise.
44485         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44486         Adjust comments for base varying.
44487         (__expl_finite): Change alias to EXPL_FINITE.
44488         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44489         tests for bugs.
44490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44492         [BZ #14064]
44493         * math/libm-test.inc (check_float_internal): Correct ulp
44494         calculation for subnormal expected results.
44496 2012-05-06  Andreas Jaeger  <aj@suse.de>
44498         * Makeconfig (+math-flags): New, set to -frounding-math.
44499         (+cflags): Add +math-flags so that all of glibc gets compiled with
44500         it.
44502         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44504 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44506         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44507         Disable one test.
44509         [BZ #13787]
44510         [BZ #13922]
44511         [BZ #14036]
44512         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44513         (__ieee754_expl): Allow for and saturate large arguments.
44514         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44515         (u_threshold): Likewise.
44516         (__exp): Call __ieee754_exp before checking for overflow and
44517         underflow.
44518         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44519         (u_threshold): Likewise.
44520         (__expf): Call __ieee754_expf before checking for overflow and
44521         underflow.
44522         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44523         (u_threshold): Likewise.
44524         (__expl): Call __ieee754_expl before checking for overflow and
44525         underflow.
44526         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44527         (__ieee754_expl): Allow for and saturate large arguments.
44528         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44529         missing overflow exception on overflow.
44530         (expm1_test): Do not allow missing overflow exception on overflow.
44532         * sysdeps/i386/fpu/e_expl.c: Move to ...
44533         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44534         rather than using inline asm.
44535         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44536         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44537         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44539         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44540         (nice): Likewise.
44541         (poll): Likewise.
44542         (signal): Likewise.
44543         (time): Likewise.
44544         (times): Likewise.
44546 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44548         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44549         sysdeps/unix/common/syscalls.list.
44550         (fchmod): Likewise.
44551         (fchown): Likewise.
44552         (ftruncate): Likewise.
44553         (getrusage): Likewise.
44554         (gettimeofday): Likewise.
44555         (setpgid): Likewise.
44556         (setregid): Likewise.
44557         (setreuid): Likewise.
44558         (sigaction): Likewise.
44559         (truncate): Likewise.
44560         (vhangup): Likewise.
44561         * sysdeps/unix/common/syscalls.list: Remove file.
44562         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44563         * sysdeps/unix/sysv/linux/Implies: Likewise.
44565 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44567         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44569         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44570         Moved to ...
44571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44572         Here.
44573         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44574         to ...
44575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44576         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44577         to ...
44578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44579         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44580         to ...
44581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44582         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44583         to ...
44584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44585         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44586         to ...
44587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44588         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44589         to ...
44590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44591         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44592         to ...
44593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44594         Here.
44595         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44596         to ...
44597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44598         Here.
44599         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44600         to ...
44601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44602         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44603         Moved to ...
44604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44605         Here.
44606         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44607         to ...
44608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44610 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44612         * sysdeps/unix/common/bits/dirent.h: Remove file.
44613         * sysdeps/unix/common/bits/fcntl.h: Likewise.
44615         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44616         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44617         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44618         * sysdeps/unix/bsd/isatty.c: Likewise.
44619         * sysdeps/unix/bsd/tcdrain.c: Likewise.
44620         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44621         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44623 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44625         [BZ #13563]
44626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44627         long double comparison inaccuracies.
44628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44631 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
44633         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44634         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44636 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44638         [BZ #14049]
44639         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44640         nonzero digits before rounding a hex value.
44641         * stdlib/tst-strtod.c (tests): Add another test.
44643 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44645         * sysdeps/s390/fpu/libm-test-ulps: Update.
44647 2012-05-03  Andreas Jaeger  <aj@suse.de>
44649         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44650         does not get optimized out.
44651         (malloc_opt_barrier): New.
44653 2012-05-03  Andreas Jaeger  <aj@suse.de>
44654             Roland McGrath  <roland@hack.frob.com>
44656         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44657         intermediate file deletion.
44658         (generated): Add .symlist files.
44660 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
44662         [BZ #13775]
44663         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44664         Redirect under this condition.
44665         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44666         [__USE_GNU] (__dprintf_chk): Not under this condition.
44667         [__USE_GNU] (__vdprintf_chk): Likewise.
44668         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44669         under this condition.
44670         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44671         [__USE_XOPEN2K8] (dprintf): Define under this condition.
44672         [__USE_XOPEN2K8] (vdprintf): Likewise.
44673         [__USE_GNU] (__dprintf_chk): Not under this condition.
44674         [__USE_GNU] (__vdprintf_chk): Likewise.
44675         [__USE_GNU] (dprintf): Likewise.
44676         [__USE_GNU] (vdprintf): Likewise.
44678 2012-05-03  Roland McGrath  <roland@hack.frob.com>
44680         * elf/Makefile (common-generated): Set this instead of generated for
44681         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
44682         $(all-built-dso)-derived lists.
44684 2012-05-03  Andreas Jaeger  <aj@suse.de>
44686         * sysdeps/i386/fpu/libm-test-ulps: Update.
44688         * FAQ: Removed.
44689         * FAQ.in: Likewise.
44690         * scripts/gen-FAQ.pl: Likewise.
44691         * manual/install.texi (Installation): Point to online location of
44692         FAQ.
44693         * Makefile (files-for-dist): Remove FAQ.
44694         (FAQ): Remove.
44696 2012-05-02  Allan McRae  <allan@archlinux.org>
44698         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44699         (LDFLAGS-reldepmod5.so): Likewise.
44700         (LDFLAGS-reldep6mod1.so): Likewise.
44701         (LDFLAGS-reldep6mod4.so): Likewise.
44702         (LDFLAGS-reldep8mod3.so): Likewise.
44703         (LDFLAGS-unload4mod1.so): Likewise.
44704         (LDFLAGS-unload4mod2.so): Likewise.
44705         (LDFLAGS-tst-initorder): Likewise.
44706         (LDFLAGS-tst-initordera2.so): Likewise.
44707         (LDFLAGS-tst-initordera3.so): Likewise.
44708         (LDFLAGS-tst-initordera4.so): Likewise.
44709         (LDFLAGS-tst-initorderb2.so): Likewise.
44710         (LDFLAGS-noload): Likewise.
44711         (LDFLAGS-next): Likewise.
44712         (LDFLAGS-order2mod1.so): Likewise.
44713         (LDFLAGS-order2mod2.so): Likewise.
44714         (LDFLAGS-tst-initorder2): Likewise.
44715         (LDFLAGS-tst-initorder2a.so): Likewise.
44716         (LDFLAGS-tst-initorder2b.so): Likewise.
44717         (LDFLAGS-tst-initorder2c.so): Likewise.
44718         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44720 2012-05-02  David S. Miller  <davem@davemloft.net>
44722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44724 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
44726         [BZ #14055]
44727         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44729 2012-05-02  Andreas Jaeger  <aj@suse.de>
44731         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44732         since we manipulate rounding mode.
44733         (CPPFLAGS-test-idouble.c): Likewise.
44734         (CPPFLAGS-test-ifloat.c): Likewise.
44735         (CFLAGS-test-ldouble.c): Likewise.
44736         (CFLAGS-test-double.c): Likewise.
44737         (CFLAGS-test-float.c): Likewise.
44738         (CFLAGS-test-misc.c): Likewise.
44739         (CFLAGS-test-test-fenv.c): Likewise.
44741 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44743         [BZ #2550]
44744         [BZ #2570]
44745         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44746         comparisons to determine direction to adjust input.
44748 2012-05-01  Roland McGrath  <roland@hack.frob.com>
44750         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44751         output to the target.
44753         * scripts/localplt.awk: New file.
44754         * elf/Makefile ($(objpfx)check-localplt): Target removed.
44755         (check-localplt-CFLAGS): Variable removed.
44756         ($(all-built-dso:=.jmprel)): New static pattern rule.
44757         (generated): Add those targets.
44758         (localplt-built-dso): New variable.
44759         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44761         * elf/check-localplt.c: File removed.
44763         * scripts/check-execstack.awk: New file.
44764         * elf/Makefile ($(objpfx)check-execstack): Target removed.
44765         (check-execstack-CFLAGS): Variable removed.
44766         ($(objpfx)check-execstack.h): Target removed.
44767         ($(objpfx)execstack-default): New target.
44768         (generated): Add that instead of check-execstack.h.
44769         ($(all-built-dso:=.phdr)): New static pattern rule.
44770         (generated): Add those targets.
44771         * elf/check-execstack.c: File removed.
44773         * scripts/check-textrel.awk: New file.
44774         * elf/Makefile ($(objpfx)check-textrel): Target removed.
44775         (check-textrel-CFLAGS): Variable removed.
44776         (all-built-dso): Use := to define.o
44777         ($(all-built-dso:=.dyn)): New static pattern rule.
44778         (generated): Add those targets.
44779         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44780         * config.make.in (READELF): New substituted variable.
44781         * elf/check-textrel.c: File removed.
44783 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44785         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44786         allow.
44787         * conform/data/ctype.h-data [C99-based standards] (isblank):
44788         Expect function.
44789         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44790         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44791         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44792         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44793         Specify type.  Require positive value.
44794         (EILSEQ): Likewise.
44795         (ERANGE): Likewise.
44796         [ISO || POSIX] (EILSEQ): Do not expect.
44797         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44798         Specify type.  Require positive value.
44799         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44800         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44801         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44802         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44803         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44804         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44805         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44806         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44807         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44808         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44809         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44810         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44811         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44812         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44813         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44814         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44815         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44816         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44817         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44818         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44819         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44820         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44821         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44822         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44823         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44824         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44825         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44826         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44827         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44828         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44829         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44830         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44831         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44832         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44833         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44834         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44835         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44836         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44837         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44838         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44839         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44840         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44841         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44842         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44843         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44844         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44845         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44846         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44847         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44848         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44849         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44850         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44851         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44852         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44853         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44854         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44855         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44856         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44857         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44858         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44859         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44860         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44861         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44862         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44863         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44864         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44865         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44866         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44867         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44868         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44869         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44870         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44871         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44872         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44873         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44874         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44875         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44876         Require >= 2.
44877         (FLT_ROUNDS): Expect as macro, not constant.
44878         (FLT_MANT_DIG): Use macro-int-constant.
44879         (DBL_MANT_DIG): Likewise.
44880         (LDBL_MANT_DIG): Likewise.
44881         (FLT_DIG): Likewise.
44882         (DBL_DIG): Likewise.
44883         (LDBL_DIG): Likewise.
44884         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44885         (DBL_MIN_EXP): Likewise.
44886         (LDBL_MIN_EXP): Likewise.
44887         (FLT_MAX_EXP): Use macro-int-constant.
44888         (DBL_MAX_EXP): Likewise.
44889         (LDBL_MAX_EXP): Likewise.
44890         (FLT_MAX_10_EXP): Likewise.
44891         (DBL_MAX_10_EXP): Likewise.
44892         (LDBL_MAX_10_EXP): Likewise.
44893         (FLT_MAX): Use macro-constant.
44894         (DBL_MAX): Likewise.
44895         (LDBL_MAX): Likewise.
44896         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44897         (DBL_EPSILON): Likewise.
44898         (LDBL_EPSILON): Likewise.
44899         (FLT_MIN): Likewise.
44900         (DBL_MIN): Likewise.
44901         (LDBL_MIN): Likewise.
44902         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44903         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44904         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44905         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44906         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44907         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44908         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44909         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44910         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44911         [ISO11] (FLT_TRUE_MIN): Likewise.
44912         [ISO11] (LDBL_TRUE_MIN): Likewise.
44913         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44914         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44915         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44916         (SCHAR_MAX): Likewise.
44917         (UCHAR_MAX): Likewise.
44918         (CHAR_MIN): Likewise.
44919         (CHAR_MAX): Likewise.
44920         (MB_LEN_MAX): Use macro-int-constant.
44921         (SHRT_MIN): Use macro-int-constant.  Specify type.
44922         (SHRT_MAX): Likewise.
44923         (USHRT_MAX): Likewise.
44924         (INT_MAX): Likewise.
44925         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44926         bound negative.
44927         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44928         bound with "U".
44929         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44930         bound with "L".
44931         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44932         bound negative.  Suffix upper bound with "L".
44933         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44934         bound with "UL".
44935         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44936         Specify type.
44937         [C99-based standards] (LLONG_MAX): Likewise.
44938         [C99-based standards] (ULLONG_MAX): Likewise.
44939         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44940         == 0.
44941         [ISO11] (max_align_t): Require type.
44942         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44944         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44945         from $CFLAGS, without defining away __attribute__ calls.
44946         (checknamespace): Use $CFLAGS_namespace.
44948         * conform/conformtest.pl (@keywords): Only include C99 keywords
44949         for standards based on C99 or C11.
44951         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44952         Disable tests.
44953         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44954         UNIX98]: Likewise.
44956         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44957         usability of symbols in #if.
44959         * conform/conformtest.pl: If macro or constant types start
44960         "promoted:", expect the symbol to be of the following type
44961         promoted by the integer promotions.
44963         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44964         in one place.  Also handle "macro-constant".
44966         * conform/conformtest.pl: Only accept expected macro values with
44967         "==".  Parse all "macro" lines in one place.
44968         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44970         * conform/conformtest.pl: Handle braced types on "constant" lines
44971         instead of handling "typed-constant".
44972         * conform/data/signal.h-data: Use "constant" instead of
44973         "typed-constant".
44975         * conform/conformtest.pl: Handle "optional-" at start of lines in
44976         one place rather than duplicating several cases.  Handle each
44977         format of "macro" line with initial "optional-".
44979         * conform/conformtest.pl: Only accept expected constant or
44980         optional-constant values with "==".  Parse all "constant" lines in
44981         one place.  Parse all "optional-constant" lines in one place.
44982         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44983         * conform/data/fmtmsg.h-data: Likewise.
44984         * conform/data/netinet/in.h-data: Likewise.
44985         * conform/data/tar.h-data: Likewise.
44986         * conform/data/limits.h-data: Use "==" form on "constant" and
44987         "optional-constant" lines.
44989         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44990         Use -std=c99 for XOPEN2K.
44991         (@knownproblems): Remove.
44992         (newtoken): Don't check %isknown.
44994         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44995         Do not expect macro.
44996         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44997         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44998         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44999         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45000         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45001         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45002         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45003         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45004         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45005         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45006         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45007         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45008         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45009         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45010         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45011         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45012         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45013         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45014         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45015         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45016         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45017         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45018         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45019         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45020         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45021         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45022         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45023         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45024         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45025         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45026         [XPG3] (acosh): Likewise.
45027         [XPG3] (asinh): Likewise.
45028         [XPG3] (atanh): Likewise.
45029         [XPG3] (cbrt): Likewise.
45030         [XPG3] (expm1): Likewise.
45031         [XPG3] (ilogb): Likewise.
45032         [XPG3] (log1p): Likewise.
45033         [XPG3] (logb): Likewise.
45034         [XPG3] (nextafter): Likewise.
45035         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45036         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45037         [XPG3] (remainder): Likewise.
45038         [XPG3] (rint): Likewise.
45039         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45040         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45041         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45042         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45043         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45044         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45045         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45046         [UNIX98 || XOPEN2K] (scalb): Expect.
45047         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45048         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45049         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45050         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45051         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45052         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45053         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45054         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45055         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45056         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45057         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45058         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45059         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45060         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45061         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45062         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45063         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45064         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45065         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45066         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45067         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45068         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45069         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45070         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45071         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45072         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45073         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45074         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45075         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45076         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45077         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45078         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45079         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45080         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45081         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45082         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45083         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45084         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45085         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45086         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45087         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45088         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45089         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45090         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45091         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45092         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45093         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45094         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45095         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45096         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45097         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45098         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45099         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45100         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45101         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45102         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45103         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45104         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45105         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45106         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45107         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45108         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45109         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45110         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45111         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45112         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45113         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45114         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45115         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45116         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45117         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45118         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45119         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45120         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45121         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45122         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45123         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45124         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45125         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45126         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45127         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45128         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45129         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45130         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45131         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45132         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45133         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45134         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45135         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45136         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45137         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45138         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45139         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45140         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45141         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45142         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45143         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45144         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45145         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45146         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45147         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45148         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45149         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45150         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45151         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45152         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45153         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45154         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45155         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45156         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45157         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45158         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45159         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45160         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45161         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45162         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45163         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45164         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45165         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45166         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45167         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45168         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45169         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45170         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45171         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45172         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45173         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45174         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45175         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45176         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45177         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45178         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45179         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45180         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45181         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45182         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45183         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45185         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45186         _XOPEN_SOURCE_EXTENDED for XPG4.
45188         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45190         * Makeconfig (localtime): Remove variable.
45191         (inst_localtime-file): Likewise.
45193 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45196         Update.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45198         Update.
45199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45200         Update.
45201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45202         Update.
45203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45204         Update.
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45206         Update.
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45208         Update.
45209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45210         Update.
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45212         Update.
45214 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45216         [BZ #2550]
45217         [BZ #2570]
45218         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45219         comparisons to determine direction to adjust input.
45220         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45221         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45222         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45223         Likewise.
45224         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45225         Likewise.
45226         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45227         Likewise.
45228         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45229         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45230         Likewise.
45231         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45232         Likewise.
45233         * math/libm-test.inc (nexttoward_test): Add more tests.
45235 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45237         [BZ #14040]
45238         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45239         in version GLIBC_2.1, not GLIBC_2.0.
45240         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45241         Likewise.
45243 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45245         [BZ #13942]
45246         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45247         (1 - x) * (1 + x).
45248         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45249         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45250         * math/libm-test.inc (acos_test): Add more tests.
45251         (asin_test): Likewise.
45252         * sysdeps/i386/fpu/libm-test-ulps: Update.
45253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45255         [BZ #14034]
45256         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45257         of square root.
45258         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45259         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45260         * math/libm-test.inc (acos_test_tonearest): New function.
45261         (acos_test_towardzero): Likewise.
45262         (acos_test_downward): Likewise.
45263         (acos_test_upward): Likewise.
45264         (asin_test_tonearest): Likewise.
45265         (asin_test_towardzero): Likewise.
45266         (asin_test_downward): Likewise.
45267         (asin_test_upward): Likewise.
45268         (main): Call the new functions.
45269         * sysdeps/i386/fpu/libm-test-ulps: Update.
45270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45272         [BZ #13884]
45273         [BZ #13924]
45274         * math/e_exp10.c: Include <float.h>.
45275         (__ieee754_exp10): Handle underflow here rather than multiplying
45276         large negative argument by M_LN10.
45277         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45278         of __ieee754_expf.
45279         * math/e_exp10l.c: Include <float.h>.
45280         (__ieee754_exp10l): Handle underflow here rather than multiplying
45281         large negative argument by M_LN10l.
45282         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45283         spurious overflow exception on underflow.
45285 2012-04-29  Marek Polacek  <polacek@redhat.com>
45287         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45288         (__fortify_function): New macro.
45289         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45290         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45291         __extern_always_inline.
45292         * libio/bits/stdio2.h: Likewise.
45293         * libio/bits/stdio.h: Likewise.
45294         * string/string.h: Likewise.
45295         * string/bits/string3.h: Likewise.
45296         * include/stdio.h: Likewise.
45297         * stdlib/bits/stdlib.h: Likewise.
45298         * stdlib/stdlib.h: Likewise.
45299         * rt/bits/mqueue2.h: Likewise.
45300         * rt/mqueue.h: Likewise.
45301         * posix/bits/unistd.h: Likewise.
45302         * posix/unistd.h: Likewise.
45303         * io/bits/poll2.h: Likewise.
45304         * io/bits/fcntl2.h: Likewise.
45305         * io/fcntl.h: Likewise.
45306         * io/sys/poll.h: Likewise.
45307         * misc/bits/syslog.h: Likewise.
45308         * misc/bits/syslog-ldbl.h: Likewise.
45309         * misc/sys/syslog.h: Likewise.
45310         * socket/bits/socket2.h: Likewise.
45311         * socket/sys/socket.h: Likewise.
45312         * debug/tst-chk1.c: Likewise.
45313         * wcsmbs/bits/wchar2.h: Likewise.
45314         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45315         * wcsmbs/wchar.h: Likewise.
45317 2012-04-29  Andreas Jaeger  <aj@suse.de>
45319         * Makerules (tests): Remove enable-check-abi protection.
45320         (check-abi-warn): Remove.
45321         (check-abi-%): Remove check-abi-warn usage.
45323         * configure.in: Remove check-abi configure option.
45324         * configure: Regenerated.
45325         * config.make.in (enable-check-abi): Remove.
45327 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45329         [BZ #14033]
45330         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45331         double functions to double *_finite functions.
45333         [BZ #13941]
45334         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45335         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45336         LDBL_MIN_EXP.
45337         * stdio-common/Makefile (tests): Add tst-sprintf3.
45338         * stdio-common/tst-sprintf3.c: New file.
45340         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45341         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45343 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45345         * conform/conformtest.pl: Remove duplicate typed-constant
45346         handling.
45348 2012-04-28  David S. Miller  <davem@davemloft.net>
45350         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45351         (check-abi-%): Remove AWK script prerequisite and explicit
45352         abilist directory.
45353         (check-abi): Rewrite to just diff the symlist with the abilist.
45354         (config-tls, config-abi-config): Delete, no longer used.
45355         (update-abi-%): Remove AWK script and explicit abilist directory.
45356         (update-abi): Rewrite to simply compare and conditionally copy the
45357         symlist and the sysdep abilist file.  Remove update-abi-config
45358         checks.
45359         * abilist/ld.abilist: Remove.
45360         * abilist/libBrokenLocale.abilist: Remove.
45361         * abilist/libanl.abilist: Remove.
45362         * abilist/libcrypt.abilist: Remove.
45363         * abilist/libdl.abilist: Remove.
45364         * abilist/librt.abilist: Remove.
45365         * abilist/libthread_db.abilist: Remove.
45366         * abilist/libutil.abilist: Remove.
45367         * scripts/extract-abilist.awk: Remove.
45368         * scripts/merge-abilist.awk: Remove.
45369         * sysdeps/generic/libcidn.abilist: New file.
45370         * sysdeps/generic/libnss_compat.abilist: New file.
45371         * sysdeps/generic/libnss_db.abilist: New file.
45372         * sysdeps/generic/libnss_dns.abilist: New file.
45373         * sysdeps/generic/libnss_files.abilist: New file.
45374         * sysdeps/generic/libnss_hesiod.abilist: New file.
45375         * sysdeps/generic/libnss_nis.abilist: New file.
45376         * sysdeps/generic/libnss_nisplus.abilist: New file.
45377         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45378         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45379         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45380         file.
45381         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45382         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45383         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45384         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45385         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45386         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45387         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45388         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45389         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45390         file.
45391         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45392         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45393         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45394         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45395         file.
45396         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45397         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45398         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45399         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45400         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45401         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45402         file.
45403         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45404         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45405         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45406         file.
45407         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45408         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45409         New file.
45410         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45411         New file.
45412         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45413         New file.
45414         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45415         New file.
45416         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45417         New file.
45418         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45419         New file.
45420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45421         New file.
45422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45423         New file.
45424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45425         New file.
45426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45427         New file.
45428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45429         New file.
45430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45431         New file.
45432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45433         New file.
45434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45435         file.
45436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45437         New file.
45438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45439         New file.
45440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45441         file.
45442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45443         New file.
45444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45445         New file.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45447         file.
45448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45449         New file.
45450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45451         New file.
45452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45453         New file.
45454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45455         New file.
45456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45457         New file.
45458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45459         New file.
45460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45462         file.
45463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45464         New file.
45465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45466         file.
45467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45468         file.
45469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45470         file.
45471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45472         file.
45473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45474         file.
45475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45476         New file.
45477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45478         file.
45479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45480         file.
45481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45482         New file.
45483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45484         file.
45485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45487         file.
45488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45489         New file.
45490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45491         file.
45492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45493         file.
45494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45495         file.
45496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45497         file.
45498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45499         file.
45500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45501         New file.
45502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45503         file.
45504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45505         file.
45506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45507         New file.
45508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45509         file.
45510         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45511         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45512         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45513         file.
45514         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45515         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45516         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45517         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45518         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45519         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45520         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45521         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45522         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45523         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45526         file.
45527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45528         New file.
45529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45530         file.
45531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45532         file.
45533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45534         file.
45535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45536         file.
45537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45538         file.
45539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45540         New file.
45541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45542         New file.
45543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45544         file.
45545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45546         New file.
45547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45548         file.
45549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45551         file.
45552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45553         New file.
45554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45555         file.
45556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45557         file.
45558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45559         file.
45560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45561         file.
45562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45563         file.
45564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45565         New file.
45566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45567         New file.
45568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45569         file.
45570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45571         New file.
45572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45573         file.
45575 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45577         * conform/conformtest.pl: Fix typo in handling typed-constant from
45578         allow-header.
45580 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45582         * README: Cut down references to pre-2.6 Linux kernels and
45583         Linuxthreads.  Update lists of configurations in libc and ports
45584         and sort alphabetically.  Say "or newer" with Linux kernel version
45585         requirements.
45587         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45589 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45591         [BZ #887]
45592         * math/libm-test.inc (logb_test_downward): New test to expose
45593         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45594         rounding mode.
45596 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45598         [BZ #14027]
45599         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45600         to be done.
45601         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45602         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45604 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45606         * sysdeps/unix/i386/brk.S: Remove file.
45607         * sysdeps/unix/i386/dl-brk.S: Likewise.
45608         * sysdeps/unix/i386/pipe.S: Likewise.
45609         * sysdeps/unix/i386/sigreturn.S: Likewise.
45610         * sysdeps/unix/i386/syscall.S: Likewise.
45611         * sysdeps/unix/i386/vfork.S: Likewise.
45612         * sysdeps/unix/i386/wait.S: Likewise.
45614         * sysdeps/unix/common/tcsendbrk.c: Move to ...
45615         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45617         * configure.in (arm*-none*): Do not allow without
45618         --enable-hacker-mode.
45619         (netbsd*): Remove case setting base_os.
45620         (386bsd*): Likewise.
45621         (freebsd*): Likewise.
45622         (bsdi*): Likewise.
45623         (osf*): Likewise.
45624         (sunos*): Likewise.
45625         (ultrix*): Likewise.
45626         (newsos*): Likewise.
45627         (dynix*): Likewise.
45628         (*bsd*): Likewise.
45629         (sysv*): Likewise.
45630         (isc*): Likewise.
45631         (esix*): Likewise.
45632         (sco*): Likewise.
45633         (minix*): Likewise.
45634         (irix4*): Likewise.
45635         (irix6*): Likewise.
45636         (solaris[2-9]*): Likewise.
45637         (none): Likewise.
45638         * configure: Regenerated.
45640 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45642         [BZ #11521]
45643         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45644         overflow or cancellation in calculating denominator.
45645         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45647         down expression to avoid unexpected rounding in newer GCCs.
45648         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45650 2012-04-26  David S. Miller  <davem@davemloft.net>
45652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45653         long-double compat symbols.
45654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45668 2012-04-25  David S. Miller  <davem@davemloft.net>
45670         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45671         HWCAP_* values only after the memory barriers have been defined.
45672         (atomic_full_barrier): Define.
45673         (atomic_read_barrier): Define.
45674         (atomic_write_barrier): Define.
45676 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45678         * shlib-versions: Add libgcc_s version information.
45679         * sysdeps/generic/libgcc_s.h: Remove.
45680         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45681         libgcc_s.h.
45682         * sysdeps/gnu/unwind-resume.c: Likewise.
45683         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45685 2012-04-25  David S. Miller  <davem@davemloft.net>
45687         * sysdeps/unix/sparc/brk.S: Delete.
45688         * sysdeps/unix/sparc/dl-brk.S: Delete.
45689         * sysdeps/unix/sparc/pipe.S: Delete.
45690         * sysdeps/unix/sparc/sysdep.S: Delete.
45691         * sysdeps/unix/sparc/sysdep.h: Delete.
45692         * sysdeps/unix/sparc/vfork.S: Delete.
45693         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45694         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45695         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45696         (ret_ERRVAL, r0, r1, MOVE): Define.
45697         (JUMPTARGET): Remove.
45698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45699         sysdeps/unix/sparc/sysdep.h
45700         (ENTRY, END): Remove.
45701         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45703 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
45705         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45706         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45707         -DIS_IN_build.
45709         * timezone/README: Update upstream location and email address for
45710         tzcode and tzdata.
45711         * timezone/zdump.c: Update from tzcode 2012b.
45712         * timezone/zic.c: Likewise.
45714         * configure.in (libc_cv_as_needed): Remove test.
45715         * configure: Regenerated.
45716         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45717         conditional definition.
45718         [$(have-as-needed) != yes] (no-as-needed): Likewise.
45719         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45720         * config.make.in (have-as-needed): Remove variable.
45722 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45723             Paul Pluzhnikov  <ppluzhnikov@google.com>
45725         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45726         strings correctly.
45728 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
45730         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45731         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45732         * sysdeps/sh/strlen.S: Likewise.
45734 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45736         * sysdeps/unix/fork.S: Remove file.
45737         * sysdeps/unix/i386/fork.S: Likewise.
45738         * sysdeps/unix/sparc/fork.S: Likewise.
45740         * sysdeps/unix/system.c: Remove file.
45741         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45743         * sysdeps/unix/getegid.S: Remove file.
45744         * sysdeps/unix/geteuid.S: Likewise.
45746 2012-04-24  Roland McGrath  <roland@hack.frob.com>
45748         * scripts/check-localplt.awk: New file.
45749         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45750         of diff.
45751         * scripts/data/localplt-generic.data: Add a comment.
45753         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45754         NODE when __dir_mkfile failed.
45755         * sysdeps/mach/hurd/symlinkat.c: Likewise.
45756         Reported by Ludovic Courtès <ludo@gnu.org>.
45758 2012-04-24  Andreas Jaeger  <aj@suse.de>
45760         * Makerules (common-clean): Also remove gen-as-const-headers
45761         files.
45763 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45765         * Makerules (native-compile): Do not change working directory for
45766         build.  Use $(OUTPUT_OPTION) in command.
45767         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45769 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45771         [BZ #13886]
45772         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45773         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45774         * math/libm-test.inc (floor_test): Add more tests.
45775         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45777 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45779         * sysdeps/unix/getdents.c: Remove file.
45780         * sysdeps/unix/sysv/getdents.c: Likewise.
45781         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45783         * sysdeps/unix/syscalls.list (madvise): Add syscall from
45784         sysdeps/unix/mman/syscalls.list.
45785         (mmap): Likewise.
45786         (mprotect): Likewise.
45787         (msync): Likewise.
45788         (munmap): Likewise.
45789         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45790         * sysdeps/unix/mman/syscalls.list: Remove.
45791         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45793         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45794         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45795         * configure: Regenerated.
45796         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45797         $(libgcc_s_suffix).
45798         * config.make.in (libgcc_s_suffix): Remove variable.
45800 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
45802         * sysdeps/unix/sysv/gethostname.c: Move to ...
45803         * sysdeps/posix/gethostname.c: ... here.
45805         * sysdeps/unix/execve.S: Remove file.
45807         * sysdeps/unix/_exit.S: Remove file.
45809 2012-04-23  Andreas Jaeger  <aj@suse.de>
45811         [BZ #13739]
45812         * manual/Makefile: Remove make dist support, there's no
45813         need for a stand-alone documentation tar ball.
45814         (TEXI2DVI): Define always, it's not in Makeconfig.
45815         (dist): Removed.
45816         (tar-it): Removed.
45817         (edition): Removed.
45818         (glibc-doc-$(edition).tar): Removed
45819         (%.Z): Removed.
45820         (%.gz): Removed.
45821         (%.uu): Removed.
45822         (ETAGS): Remove, it's in Makeconfig.
45823         (move-if-change): Remove, it's in Makeconfig.
45825 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45827         [BZ #13970]
45828         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45829         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45830         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45831         (strtod_l, strtof_l, strtold_l): Remove __wur.
45832         It is not necessarily an error to ignore strtol's return value.
45833         One can reliably look at the stored endptr to decide whether
45834         the number had valid syntax.
45836 2012-04-21  Andreas Jaeger  <aj@suse.de>
45838         [BZ #13739]
45839         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45841 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45843         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45844         * sysdeps/unix/sysv/Versions: Remove file.
45846 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45848         [BZ #13927]
45849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45851 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45853         [BZ #7064]
45854         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45855         version from __vm86.
45857 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45859         * sysdeps/unix/common/lxstat.c: Remove file.
45860         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45862         * sysdeps/unix/sysv/Makefile: Remove file.
45864         * sysdeps/unix/sysv/direct.h: Remove file.
45866         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45867         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45868         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45869         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45870         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45871         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45872         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45874         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45876         * sysdeps/unix/xmknod.c: Remove file.
45877         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45879         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45881         * sysdeps/unix/sysv/i386/time.S: Remove file.
45883         * sysdeps/unix/fxstat.c: Remove file.
45884         * sysdeps/unix/xstat.c: Likewise.
45885         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45887         * sysdeps/unix/sysv/sigaction.c: Remove file.
45889         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45890         (sysdep_headers): Remove variable.
45891         [termio.h not in sysdep_headers] (generated): Likewise.
45892         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45893         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45894         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45895         * sysdeps/unix/sysv/tcflow.c: Likewise.
45896         * sysdeps/unix/sysv/tcflush.c: Likewise.
45897         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45898         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45899         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45900         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45901         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45903         * sysdeps/unix/siglist.c: Remove file.
45905         * sysdeps/unix/getppid.S: Remove file.
45907         * sysdeps/unix/mkdir.c: Remove file.
45908         * sysdeps/unix/rmdir.c: Likewise.
45910 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45912         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45913         ERR_MAX value.
45914         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45915         errlist-compat value.
45917 2012-04-18  David S. Miller  <davem@davemloft.net>
45919         * sysdeps/generic/memcopy.h (reg_char): Delete.
45920         * debug/strcat_chk.c: Use char, not reg_char.
45921         * debug/strcpy_chk.c: Likewise.
45922         * debug/strncat_chk.c: Likewise.
45923         * debug/strncpy_chk.c: Likewise.
45924         * string/memchr.c: Likewise.
45925         * string/memrchr.c: Likewise.
45926         * string/rawmemchr.c: Likewise.
45927         * string/strcat.c: Likewise.
45928         * string/strchr.c: Likewise.
45929         * string/strchrnul.c: Likewise.
45930         * string/strcmp.c: Likewise.
45931         * string/strcpy.c: Likewise.
45932         * string/strncat.c: Likewise.
45933         * string/strncmp.c: Likewise.
45934         * string/strncpy.c: Likewise.
45936 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45938         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45939         __builtin_memcopy is called when src and dest ranges are known to not
45940         overlap.
45942 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45945         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45946         fwd_align_merge macro call.
45947         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45948         bwd_align_merge macro call.
45949         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45951 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45953         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45954         bwd_align_merge macros.
45955         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45956         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45957         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45959 2012-04-18  David S. Miller  <davem@davemloft.net>
45961         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45963 2012-04-18  Andreas Jaeger  <aj@suse.de>
45965         [BZ# 6794]
45966         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45967         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45968         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45970         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45971         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45972         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45974         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45975         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45976         Adjust for changed ldbl-128 files.
45978         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45979         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45980         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45982 2012-04-17  David S. Miller  <davem@davemloft.net>
45984         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45986 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45988         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45989         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45990         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45991         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45992         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45993         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45995 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45997         [BZ #6794]
45998         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45999         * math/libm-test.inc: Add ilogb errno and exception tests.
46000         * math/w_ilogb.c: New file: ilogb wrapper.
46001         * math/w_ilogbf.c: New file: ilogbf wrapper.
46002         * math/w_ilogbl.c: New file: ilogbl wrapper.
46003         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46004         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46005         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46006         exception being thrown with 0.0 as argument.
46007         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46008         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46009         exception being thrown with 0.0 as argument.
46010         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46011         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46012         exception being thrown with 0.0 as argument.
46013         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46014         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46015         exception being thrown with 0.0 as argument.
46016         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46017         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46018         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46019         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46020         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46021         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46022         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46023         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46024         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46026 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46028         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46029         with altivec.
46031 2012-04-16  Marek Polacek  <polacek@redhat.com>
46033         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46035 2012-04-16  Marek Polacek  <polacek@redhat.com>
46037         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46038         operands of fdivp instruction.
46040 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46042         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46043         * elf/tst-auditmod3b.c: Likewise.
46044         * elf/tst-auditmod4b.c: Likewise.
46045         * elf/tst-auditmod5b.c: Likewise.
46046         * elf/tst-auditmod6b.c: Likewise.
46047         * elf/tst-auditmod6c.c: Likewise.
46048         * elf/tst-auditmod7b.c: Likewise.
46049         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46050         * sysdeps/x86_64/preconfigure.in: Likewise.
46051         * sysdeps/x86_64/preconfigure: Regenerated.
46053 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46055         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46056         __ILP32__.
46058 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46061         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46063 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46065         [BZ #13973]
46066         * locale/iso-639.def: Fix gl language name. Spotted by
46067         Yaron Shahrabani.
46069 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46071         [BZ #2074]
46072         * libio/libio.h (__io_write_fn): Update comment.
46074 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46076         [BZ #2074]
46077         * stdio.texi (Hook Functions): The user provided writer function
46078         is not allowed to return -1.
46080 2012-04-11  David S. Miller  <davem@davemloft.net>
46082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46084 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46086         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46087         Add a leading slash to rtkaio.
46089 2012-04-11  Jim Meyering  <meyering@redhat.com>
46091         [BZ #11959]
46092         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46093         It is not necessarily an error to ignore fwrite's return
46094         value.  One can reliably use ferror to test for errors after
46095         the fact.
46097 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46099         * bits/types.h (__snseconds_t): New type.
46100         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46102         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46103         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46104         (__SNSECONDS_T_TYPE): Likewise.
46105         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46106         (__SNSECONDS_T_TYPE): Likewise.
46107         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46108         (__SNSECONDS_T_TYPE): Likewise.
46110 2012-04-10  Andreas Jaeger  <aj@suse.de>
46112         [BZ #2636]
46113         * manual/time.texi (Processor Time): Return type of times is
46114         elapsed real time since an arbitrary point in the past.
46115         (CPU Time): Move CLK_TCK from here...
46116         (Processor Time): ...to here.  Correct description.
46117         * manual/conf.texi (Constants for Sysconf): Correct description of
46118         _SC_CLK_TCK.
46120 2012-04-10  David S. Miller  <davem@davemloft.net>
46122         [BZ #13967]
46123         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46124         where the is a gap between DT_REL(A) and DT_JMPREL.
46126 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46128         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46129         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46130         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46132 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46134         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46135         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46136         (dl_main): Handle --inhibit-cache.
46137         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46138         _dl_inhibit_cache.
46139         * elf/dl-load.c (_dl_map_object): Use it.
46140         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46142 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46144         [BZ #13872]
46145         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46146         (__ieee754_powl): Saturate large exponents rather than testing for
46147         overflow of y*log2(x).
46148         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46149         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46150         exceptions.
46152         [BZ #11521]
46153         * math/s_ctan.c: Include <float.h>.
46154         (__ctan): Avoid internal overflow or cancellation in calculating
46155         denominator.
46156         * math/s_ctanf.c: Likewise.
46157         * math/s_ctanl.c: Likewise.
46158         * math/s_ctanh.c: Likewise.
46159         * math/s_ctanhf.c: Likewise.
46160         * math/s_ctanhl.c: Likewise.
46161         * math/libm-test.inc (ctan_test): Add more tests.
46162         (ctanh_test): Likewise.
46163         * sysdeps/i386/fpu/libm-test-ulps: Update.
46164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46166 2012-04-09  Andreas Jaeger  <aj@suse.de>
46168         [BZ #6894]
46169         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46170         is an optional BSD extension.
46172         [BZ #10254]
46173         * manual/stdio.texi (Opening Streams): Document additional fopen
46174         parameters.
46176 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46178         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46179         %eax without telling the compiler.
46181 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46183         [BZ # 13963]
46184         * manual/install.texi: Use sourceware.org.
46186 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46188         [BZ #13873]
46189         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46190         (__ieee754_pow): Generate overflow and underflow using huge*huge
46191         and tiny*tiny rather than just returning constant infinity or zero
46192         for large exponents.
46193         * math/libm-test.inc (pow_test): Require overflow exceptions for
46194         applicable cases of large exponents.
46196         [BZ #706]
46197         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46198         (__ieee754_pow): Use iterative multiplication algorithm only for
46199         integer exponents with absolute value below 1024.  Check for odd
46200         integer exponents when using algorithm for real exponents.
46201         * math/libm-test.inc (pow_test): Add more tests.
46202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46204 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46206         [BZ #13705]
46207         * math/libm-test.inc (exp_test): Do not allow overflow exception
46208         on underflow test.
46210 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46212         [BZ #13705]
46213         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46214         instead of __kernel_standard_f.
46216 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46218         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46219         * sysdeps/x86_64/memset_chk.S: Likewise.
46221 2012-04-08  Andreas Jaeger  <aj@suse.de>
46223         [BZ #10153]
46224         * manual/startup.texi (Environment Access): Describe return value
46225         for putenv and setenv.
46227         [BZ #6895]
46228         * manual/filesys.texi (Directory Entries): Add description for
46229         DT_LNK.
46231         [BZ #6890]
46232         * manual/filesys.texi (Directory Entries): Clarify that it's file
46233         system not operating system in the description of DT_UNKNOWN.
46235         [BZ #6578]
46236         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46238 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46240         [BZ #6649]
46241         * manual/llio.texi (Opening and Closing Files): Add cross
46242         reference to explain mode argument.
46244 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46246         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46247         * sysdeps/x86_64/memset_chk.S: Likewise.
46249 2012-04-07  David S. Miller  <davem@davemloft.net>
46251         * elf/elf.h (R_SPARC_WDISP10): Define.
46252         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46253         R_SPARC_SIZE32.
46254         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46255         R_SPARC_SIZE64 and R_SPARC_H34.
46257 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46259         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46260         conditions and remove no longer applicable assertion.
46262 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46264         * bits/byteswap.h: Include <features.h>.
46265         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46266         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46268 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46270         * bits/byteswap.h (__bswap_16): Removed.
46271         Include <bits/byteswap-16.h> to get __bswap_16.
46272         * sysdeps/i386/bits/byteswap.h: Likewise.
46273         * sysdeps/s390/bits/byteswap.h: Likewise.
46274         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46275         * bits/byteswap-16.h: New file.
46276         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46277         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46278         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46279         * string/Makefile (headers): Add bits/byteswap-16.h.
46281 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46283         [BZ #13895]
46284         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46285         extra indirection.
46286         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46287         * nss/tst-nss-static.c: New.
46289 2012-04-06  Robert Millan  <rmh@gnu.org>
46291         [BZ #6486]
46292         * manual/llio.texi (File Position Primitive): lseek
46293         refers to WHENCE when it really means OFFSET.
46295 2012-04-06  Andreas Jaeger  <aj@suse.de>
46297         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46298         strncmp declarations.
46300         * abilist/libc.abilist: Add __poll and __ppoll.
46302 2012-04-05  David S. Miller  <davem@davemloft.net>
46304         * scripts/check-local-headers.sh: Accept a host triplet in the
46305         path matched by the exclude regexp.
46307         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46308         definition.
46309         * sysdeps/powerpc/powerpc32/dl-machine.h
46310         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46311         * sysdeps/s390/s390-32/dl-machine.h
46312         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46313         * sysdeps/sparc/sparc32/dl-machine.h
46314         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46315         * sysdeps/sparc/sparc64/dl-machine.h
46316         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46318         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46319         lazy binding.
46320         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46321         undefined symbol errors.
46323         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46324         DT_NEEDED entries.
46326 2012-04-05  Michael Matz  <matz@suse.de>
46328         [BZ #13592]
46329         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46331 2012-04-05  Andreas Jaeger  <aj@suse.de>
46333         [BZ #13908]
46334         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46335         comment.
46337 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46339         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46340         which ROUND is no valid rounding mode.
46342 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46344         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46345         read again.
46346         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46348 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46350         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46351         an exception using FPU order intentionally.
46353 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46355         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46356         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46357         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46358         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46360 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46362         [BZ #12340]
46363         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46364         EINVAL when BUFLEN is too smal.
46366 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46368         [BZ #13553]
46369         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46370         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46372 2012-04-03  Andreas Jaeger  <aj@suse.de>
46374         [BZ #13938]
46375         * manual/setjmp.texi (System V contexts): Fix sentence.
46377         [BZ #13926]
46378         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46379         New macro for this case.
46380         [!__GNUC__] (__bswap_64): New inline function for this case.
46381         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46382         * bits/byteswap.h: Likewise.
46383         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46384         ull, guard with __GLIBC_HAVE_LONG_LONG.
46386         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46387         __GLIBC_HAVE_LONG_LONG.
46389         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46390         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46392 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46394         [BZ #13691]
46395         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46396         inptr and inend, rather than using last_ch.
46398 2012-04-02  David S. Miller  <davem@davemloft.net>
46400         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46401         * stdio-common/printf-parse.h (read_int): Change return type to
46402         'int', return -1 on INT_MAX overflow.
46403         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46404         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46405         overflows INT_MAX.  Check for overflow of in-format-string precision
46406         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46407         SIZE_MAX not INT_MAX for integer overflow test.
46408         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46409         skip the construct in the format string but do not record anything.
46410         * stdio-common/bug22.c: Adjust to test both width/prevision
46411         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46412         explicitly for proper errno values.
46414 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46416         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46417         CHAR_MAX.
46418         * string/test-strcmp.c [! WIDE]: Likewise.
46419         * time/tst-mktime2.c: Likewise for INT_MAX.
46420         * string/test-string.h: #include <sys/param.h> for MIN.
46422         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46423         * sysdeps/i386/init-first.c (init): Likewise.
46424         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46425         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46426         * sysdeps/sh/init-first.c (init): Likewise.
46428 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46430         * po/ru.po: Update from translation team.
46431         * po/vi.po: Likewise.
46433 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46435         * resolv/nss_dns/dns-host.c: Merge copyright years.
46437 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46439         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46440         Optimize memcpy with prefetch if
46441         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46442         src, dst pointers have unequal 16 byte alignments.
46444 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46446         [BZ #13928]
46447         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46448         from a CNAME entry and return the minimum ttl for the query.
46449         (gaih_getanswer_slice): Likewise.
46451 2012-03-30  Jeff Law  <law@redhat.com>
46453         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46454         due to long keys.
46455         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46456         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46458         * resolv/nss_dns/dns-host.c: Update copyright year.
46460 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46462         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46463         requests to save a system call.  Fix check that all bytes are sent.
46465         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46466         comments for sendmmsg.
46468 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46470         [BZ #13691]
46471         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46472         with only 1 character between 0x0041 and 0x01b0.
46473         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46474         * wcsmbs/tst-mbsnrtowcs.c: New file.
46476 2012-03-29  David S. Miller  <davem@davemloft.net>
46478         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46479         small copies by hand.
46481 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46483         [BZ #13761]
46484         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46485         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46486         group memberships.
46488 2012-03-28  David S. Miller  <davem@davemloft.net>
46490         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46491         that branches into memcpy.
46492         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46493         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46494         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46495         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46496         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46497         bits.
46498         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46499         implementation too.
46500         * sysdeps/sparc/mempcpy.S: New file.
46502         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46503         the IFUNC routine in the libc case.
46504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46506         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46507         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46508         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46509         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46510         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46511         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46512         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46513         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46515         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46516         loop to 256 bytes instead of 64 bytes and fix test signedness.
46518         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46519         * sysdeps/sparc/sparc32/Makefile: rather than here...
46520         * sysdeps/sparc/sparc64/Makefile: and here.
46522 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46524         * malloc/mallocbug.c: Avoid warnings about unused variables.
46526 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46528         [BZ #13760]
46529         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46530         in the right place. Discard and retry query if response is
46531         larger than input buffer size.
46533 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46535         [BZ #369]
46536         [BZ #2678]
46537         [BZ #3866]
46538         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46539         x for large integer exponent.
46540         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46541         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46542         sign of result as needed afterwards.
46543         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46544         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46545         result for underflowing pow the same as for overflow.
46546         (__kernel_standard_l): Handle powl overflow and underflow here
46547         rather than calling __kernel_standard.
46548         * math/libm-test.inc (pow_test): Add more tests.
46550         [BZ #3868]
46551         [BZ #13879]
46552         [BZ #13910]
46553         [BZ #13911]
46554         [BZ #13912]
46555         [BZ #13913]
46556         [BZ #13915]
46557         [BZ #13916]
46558         [BZ #13917]
46559         [BZ #13918]
46560         [BZ #13919]
46561         [BZ #13920]
46562         [BZ #13921]
46563         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46564         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46565         (__kernel_standard_l): New function.
46566         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46567         __kernel_standard.
46568         * math/w_acosl.c (__acosl): Likewise.
46569         * math/w_asinl.c (__asinl): Likewise.
46570         * math/w_atan2l.c (__atan2l): Likewise.
46571         * math/w_atanhl.c (__atanhl): Likewise.
46572         * math/w_coshl.c (__coshl): Likewise.
46573         * math/w_exp10l.c (__exp10l): Likewise.
46574         * math/w_exp2l.c (__exp2l): Likewise.
46575         * math/w_fmodl.c (__fmodl): Likewise.
46576         * math/w_hypotl.c (__hypotl): Likewise.
46577         * math/w_j0l.c (__j0l, __y0l): Likewise.
46578         * math/w_j1l.c (__j1l, __y1l): Likewise.
46579         * math/w_jnl.c (__jnl, __ynl): Likewise.
46580         * math/w_lgammal.c (__lgammal): Likewise.
46581         * math/w_log10l.c (__log10l): Likewise.
46582         * math/w_log2l.c (__log2l): Likewise.
46583         * math/w_logl.c (__logl): Likewise.
46584         * math/w_powl.c (__powl): Likewise.
46585         * math/w_remainderl.c (__remainderl): Likewise.
46586         * math/w_scalbl.c (sysv_scalbl): Likewise.
46587         * math/w_sinhl.c (__sinhl): Likewise.
46588         * math/w_sqrtl.c (__sqrtl): Likewise.
46589         * math/w_tgammal.c (__tgammal): Likewise.
46590         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46591         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46592         * math/libm-test.inc (acos_test): Add more tests.
46593         (acosh_test): Likewise.
46594         (asin_test): Likewise.
46595         (atanh_test): Likewise.
46596         (exp_test): Likewise.
46597         (exp10_test): Likewise.
46598         (exp2_test): Likewise.
46599         (expm1_test): Likewise.
46600         (lgamma_test): Likewise.
46601         (log_test): Likewise.
46602         (log10_test): Likewise.
46603         (log1p_test): Likewise.
46604         (log2_test): Likewise.
46605         (pow_test): Do not allow some spurious overflow exceptions.
46606         (sqrt_test): Add more tests.
46607         (tgamma_test): Likewise.
46608         (y0_test): Likewise.
46609         (y1_test): Likewise.
46610         (yn_test): Likewise.
46612 2012-03-27  Anton Blanchard  <anton@samba.org>
46614         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46615         MAP_HUGETLB.
46616         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46617         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46618         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46620 2012-03-27  David S. Miller  <davem@davemloft.net>
46622         * conform/Makefile: Run run-conformtest.sh using $(BASH).
46624         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46625         have-as-vis3 check.
46627 2012-03-27  Andreas Jaeger  <aj@suse.de>
46629         * sysdeps/x86_64/elf/configure.in: Moved to ...
46630         * sysdeps/x86_64/configure.in: ... here.
46631         * sysdeps/x86_64/elf/start.S: Moved to ...
46632         * sysdeps/x86_64/start.S: ... here.
46633         * sysdeps/x86_64/elf/configure: Delete.
46635         * sysdeps/x86_64/configure.in: Merge contents from
46636         sysdeps/i386/configure.in (without i686 check).
46638         * sysdeps/i386/elf/Versions: Merge into ...
46639         * sysdeps/i386/Versions: ... this.
46640         * sysdeps/i386/elf/Versions: Delete file.
46641         * sysdeps/i386/elf/start.S: Moved to ...
46642         * sysdeps/i386/start.S: ...here.
46643         * sysdeps/i386/elf/configure.in: Merge into...
46644         * sysdeps/i386/configure.in: ...here.
46645         * sysdeps/i386/elf/configure.in: Delete file.
46646         * sysdeps/i386/elf/configure: Delete file.
46648         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46649         * debug/backtracesyms.c: ... here.
46650         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46651         * debug/backtracesymsfd.c: ... here.
46652         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46653         * sysdeps/generic/ifunc-sel.h: ... here.
46655         * sysdeps/unix/i386/start.c: Delete file.
46656         * sysdeps/unix/sparc/start.c: Delete file.
46657         * sysdeps/unix/start.c: Delete file.
46659         * sysdeps/sh/elf/configure.in: Moved to ...
46660         * sysdeps/sh/configure.in: ... here.
46661         * sysdeps/sh/elf/start.S: Moved to ...
46662         * sysdeps/sh/start.S: ... here.
46663         * sysdeps/sh/elf/configure: Delete file.
46665         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46666         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46667         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46668         * sysdeps/powerpc/powerpc64/entry.h: ... here.
46669         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46670         * sysdeps/powerpc/powerpc64/start.S: here.
46671         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46672         * sysdeps/powerpc/powerpc64/Makefile: ... this.
46673         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46674         * sysdeps/powerpc/powerpc64/configure.in: ... this.
46675         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46677         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46678         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46679         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46680         * sysdeps/powerpc/powerpc32/start.S: ... here.
46681         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46682         * sysdeps/powerpc/powerpc32/configure.in: ... this.
46683         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46685         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46686         * sysdeps/powerpc/ifunc-sel.h: ... here.
46687         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46688         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46690         * sysdeps/sparc/elf/configure.in: Moved to ...
46691         * sysdeps/sparc/configure.in: ... here.
46692         * sysdeps/sparc/elf/configure: Delete file.
46693         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46694         * sysdeps/sparc/sparc32/start.S: ... here.
46695         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46696         * sysdeps/sparc/sparc64/start.S: ... here.
46697         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46698         * sysdeps/sparc/sparc32/Makefile: ... this.
46699         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46700         * sysdeps/sparc/sparc64/Makefile: ... this.
46702         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46703         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46704         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46705         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46706         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46707         * sysdeps/s390/s390-32/setjmp.S: ... here.
46708         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46709         * sysdeps/s390/s390-32/configure.in: ... here.
46710         * sysdeps/s390/s390-32/elf/configure: Delete file.
46711         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46712         * sysdeps/s390/s390-32/start.S: ... here.
46714         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46715         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46716         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46717         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46718         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46719         * sysdeps/s390/s390-64/setjmp.S: ... here.
46720         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46721         * sysdeps/s390/s390-64/configure.in: ... here
46722         * sysdeps/s390/s390-64/elf/configure: Delete file.
46723         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46724         * sysdeps/s390/s390-64/start.S: ... here.
46725         * sysdeps/s390/s390-64/elf/configure: Delete.
46727         * configure.in: Remove support for elf directories in sysdeps.
46729         * configure: Regenerated.
46730         * sysdeps/i386/configure: Regenerated.
46731         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46732         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46733         * sysdeps/s390/s390-32/configure: Regenerated.
46734         * sysdeps/s390/s390-64/configure: Regenerated.
46735         * sysdeps/sh/configure: Regenerated.
46736         * sysdeps/sparc/configure: Regenerated.
46737         * sysdeps/x86_64/configure: Regenerated.
46739 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
46741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46743         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46744         denormal result into account.
46746 2012-03-25  Roland McGrath  <roland@hack.frob.com>
46748         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46749         Reported by Allan McRae <allan@archlinux.org>.
46751 2012-03-23  Jeff Law  <law@redhat.com>
46753         * nss/getnssent.c (__nss_getent): Fix typo.
46755 2012-03-23  David S. Miller  <davem@davemloft.net>
46757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46759 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
46761         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46762         to pad to uint64_t for each field.
46763         (dl_tls_index): Replace unsigned long with uint64_t.
46765 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
46766         Paul Pluzhnikov  <ppluzhnikov@google.com>
46768         [BZ #6528]
46769         * grp/Makefile (otherlibs): Don't set it.
46770         * inet/Makefile (otherlibs): Likewise.
46771         * login/Makefile (otherlibs): Likewise.
46772         * nscd/Makefile (otherlibs): Likewise.
46773         * posix/Makefile (otherlibs): Likewise.
46774         * pwd/Makefile (otherlibs): Likewise.
46775         * rt/Makefile (otherlibs): Likewise.
46776         * sunrpc/Makefile (otherlibs): Likewise.
46777         * nss/Makefile (otherlibs): Likewise.
46778         Add libnss_files to routines and static-only-routines.
46779         ($(objpfx)getent): Remove rule.
46780         * resolv/Makefile: Add libnss_dns and libresolv to routines and
46781         static-only-routines.
46783 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46785         [BZ #13892]
46786         * math/s_cexp.c: Include <float.h>.
46787         (__cexp): Handle exp result overflowing not necessarily
46788         overflowing both real and imaginary parts of result.
46789         * math/s_cexpf.c: Likewise.
46790         * math/s_cexpl.c: Likewise.
46791         * math/libm-test.inc (cexp_test): Add more tests.
46792         * sysdeps/i386/fpu/libm-test-ulps: Update.
46793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46795 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46797         * include/link.h (ELFW): New macro.
46798         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46799         Replace ELF64_R_TYPE with ELFW(R_TYPE).
46801 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46803         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46804         with uint64_t.
46806 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46808         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46809         declaration.
46810         (struct La_x32_retval): Likewise.
46812 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46814         * sysdeps/x86_64/preconfigure.in: New file.
46815         * sysdeps/x86_64/preconfigure: New generated file.
46817 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46819         [BZ #13824]
46820         * math/e_exp2l.c: Include <float.h>.
46821         (__ieee754_exp2l): Handle overflow and underflow cases
46822         separately.  Only pass fractional part of argument to
46823         __ieee754_expl.
46824         * math/libm-test.inc (exp2_test): Add more tests.
46826         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46827         negating x to take absolute value.
46828         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46829         Likewise.
46830         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46831         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46832         Likewise.
46833         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46834         computing low part if x was negated.
46835         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46837 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46839         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46840         la_x32_gnu_pltexit.
46841         (pltexit): Cast int_retval to ptrdiff_t.
46842         * elf/tst-auditmod3b.c: Likewise.
46843         * elf/tst-auditmod4b.c: Likewise.
46844         * elf/tst-auditmod5b.c: Likewise.
46845         * elf/tst-auditmod6b.c: Likewise.
46846         * elf/tst-auditmod6c.c: Likewise.
46847         * elf/tst-auditmod7b.c: Likewise.
46849         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46850         and x32_gnu_pltexit.
46852         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46853         __ELF_NATIVE_CLASS.
46854         (La_x32_regs): New macro.
46855         (La_x32_retval): Likewise.
46856         (la_x32_gnu_pltenter): New function prototype.
46857         (la_x32_gnu_pltexit): Likewise.
46859 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46861         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46862         exponent.
46864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46866         * configure.in (libc_cv_cc_nofma): Check for option to disable
46867         generation of FMA instructions.
46868         * configure: Regenerate.
46869         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46870         * sysdeps/ieee754/dbl-64/Makefile: New file.
46871         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46872         Remove brandred-fma4.
46873         (CFLAGS-brandred-fma4.c): Remove.
46874         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46875         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46876         define.
46877         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46878         define.
46880 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46882         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46883         LLONG_MAX != LONG_MAX.
46884         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46885         (_fitoa_word): Likewise.
46886         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46887         LLONG_MAX != LONG_MAX.
46888         * stdio-common/_itowa.h: Include <_itoa.h>.
46889         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46890         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46891         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46892         only if not defined.
46893         (_ITOA_WORD_TYPE): Likewise.
46894         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46895         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46897 2012-03-21  David S. Miller  <davem@davemloft.net>
46899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46901 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46903         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46904         of x86_64 when setting libc_cv_slibdir, libdir and
46905         libc_cv_localedir.
46906         * sysdeps/unix/sysv/linux/configure: Regenerated.
46908 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46910         * manual/lang.texi (Old Varargs): Remove section.
46911         (How Variadic): Update menu.
46912         (va_start): Do not mention varargs.h.
46914 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46915             Joseph Myers  <joseph@codesourcery.com>
46917         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46918         link test.
46919         * configure: Regenerated.
46921 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46923         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46924         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46925         conformtest.pl
46927 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46929         * NOTES: Remove.
46930         * Makefile (files-for-dist): Remove NOTES.
46931         (NOTES): Remove rule.
46932         * README: Don't refer to NOTES.
46933         * manual/creature.texi: Don't include macros.texi.
46934         * manual/intro.texi (creature.texi): Remove comment referring to
46935         NOTES.
46937         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46938         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46939         * configure: Regenerated.
46940         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46941         LIBC_TRY_CC_OPTION.
46942         (libc_cv_as_i686): Likewise.
46943         (libc_cv_cc_avx): Likewise.
46944         (libc_cv_cc_sse2avx): Likewise.
46945         (libc_cv_cc_fma4): Likewise.
46946         (libc_cv_cc_novzeroupper): Likewise.
46947         * sysdeps/i386/configure: Regenerated.
46949         [BZ #13883]
46950         * sysdeps/i386/fpu/s_cexp.S: Remove.
46951         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46952         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46953         * math/libm-test.inc (cexp_test): Add more tests.
46954         * sysdeps/i386/fpu/libm-test-ulps: Update.
46955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46957 2012-03-21  Allan McRae  <allan@archlinux.org>
46959         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46961 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46963         [BZ #13871]
46964         * math/w_exp2.c: Do not include <float.h>.
46965         (o_threshold, u_threshold): Remove.
46966         (__exp2): Calculate result before checking finiteness and calling
46967         __kernel_standard.
46968         * math/w_exp2f.c: Likewise.
46969         * math/w_exp2l.c: Likewise.
46970         * math/libm-test.inc (exp2_test): Require overflow exception for
46971         1e6 input.
46973         [BZ #3866]
46974         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46975         range of signed 64-bit integers before using fistpll.  Remove
46976         checks for whether integers fit in mantissa bits.
46977         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46978         the range of signed 32-bit integers before using fistpl.  Remove
46979         checks for whether integers fit in mantissa bits.
46980         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46981         (__ieee754_powl): Test for y outside the range of signed 64-bit
46982         integers before using fistpll.  Reduce 64-bit values to 63-bit
46983         ones as needed.
46984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46985         divide-by-zero is raised for zero to large negative powers.
46986         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46987         (__ieee754_powl): Test for y outside the range of signed 64-bit
46988         integers before using fistpll.  Reduce 64-bit values to 63-bit
46989         ones as needed.
46990         * math/libm-test.inc (pow_test): Add more tests.
46992 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46994         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46995         <stdio-common/_itoa.h>.
46996         * debug/segfault.c: Likewise.
46997         * elf/dl-cache.c: Likewise.
46998         * elf/dl-minimal.c: Likewise.
46999         * elf/dl-misc.c: Likewise.
47000         * elf/dl-sysdep.c: Likewise.
47001         * elf/dl-version.c: Likewise.
47002         * elf/rtld.c: Likewise.
47003         * hurd/hurdsock.c: Likewise.
47004         * hurd/lookup-retry.c: Likewise.
47005         * malloc/malloc.c: Likewise.
47006         * malloc/mtrace.c: Likewise.
47007         * nscd/nscd_getgr_r.c: Likewise.
47008         * nscd/nscd_getpw_r.c: Likewise.
47009         * nscd/nscd_getserv_r.c: Likewise.
47010         * posix/getopt_init.c: Likewise.
47011         * posix/wordexp.c: Likewise.
47012         * stdio-common/_itoa.c: Likewise.
47013         * stdio-common/printf_fphex.c: Likewise.
47014         * stdio-common/vfprintf.c: Likewise.
47015         * string/_strerror.c: Likewise.
47016         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47017         * sysdeps/i386/i686/hp-timing.h: Likewise.
47018         * sysdeps/mach/_strerror.c: Likewise.
47019         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47020         * sysdeps/mach/hurd/sethostid.c: Likewise.
47021         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47022         * sysdeps/mach/xpg-strerror.c: Likewise.
47023         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47024         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47025         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47026         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47027         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47028         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47029         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47030         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47031         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47032         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47033         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47034         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47035         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47036         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47037         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47038         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47039         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47040         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47041         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47042         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47043         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47045         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47047         * stdio-common/_itoa.h: Moved to ...
47048         * sysdeps/generic/_itoa.h: Here.
47050         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47052         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47053         instead of "_itoa.h" and "_itowa.h".
47054         * stdio-common/vfprintf.: Likewise.
47056 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47058         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47059         <bits/wordsize.h>.
47060         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47061         (__signbit): Likwise.
47062         (llrintf): Likwise.
47063         (llrint): Likwise.
47065 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47067         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47068         __WORDSIZE != 64.
47070 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47072         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47073         OVERFLOW_EXCEPTION_OK.
47074         * math/libm-test.inc ("Philosophy"): Update comment about
47075         exception testing.
47076         (OVERFLOW_EXCEPTION): Define.
47077         (OVERFLOW_EXCEPTION_OK): Likewise.
47078         (INVALID_EXCEPTION_OK): Renumber.
47079         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47080         (IGNORE_ZERO_INF_SIGN): Likewise.
47081         (test_exceptions): Handle FE_OVERFLOW.
47082         (exp10_test): Expect overflow exceptions.
47083         (exp2_test): Likewise.
47084         (expm1_test): Likewise.
47085         (nextafter_test): Likewise.
47086         (pow_test): Likewise.
47087         (scalbn_test): Likewise.
47088         (scalbln_test): Likewise.
47090 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47092         * sysdeps/x86_64/bits/atomic.h
47093         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47094         64bit integer.
47095         (atomic_exchange_acq): Likewise.
47096         (__arch_exchange_and_add_body): Likewise.
47097         (__arch_add_body): Likewise.
47098         (atomic_add_negative): Likewise.
47099         (atomic_add_zero): Likewise.
47101 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47103         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47104         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47106 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47108         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47109         Check __x86_64__ instead of __WORDSIZE.
47111 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47113         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47115 2012-03-19  David S. Miller  <davem@davemloft.net>
47117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47119         * sysdeps/sparc/fpu/fenv_private.h: New file.
47120         * sysdeps/sparc/fpu/math_private.h: Use it.
47121         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47122         Remove.
47123         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47124         (libc_feholdexcept_setroundl): Remove.
47125         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47126         Remove.
47127         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47128         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47130 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47132         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47133         int64_t instead of long int.
47134         (INSERT_WORDS64): Likwise.
47136 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47138         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47139         _Unwind_GetCFA return to _Unwind_Ptr first.
47141 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47143         [BZ #13629]
47144         * math/s_clog.c: Include <float.h>.
47145         (__clog): Scale large or subnormal inputs.
47146         * math/s_clogf.c: Likewise.
47147         * math/s_clogl.c: Likewise.
47148         * math/s_clog10.c: Include <float.h>.
47149         (M_LOG10_2): Define.
47150         (__clog10): Scale large or subnormal inputs.
47151         * math/s_clog10f.c: Likewise.
47152         * math/s_clog10l.c: Likewise.
47153         * math/libm-test.inc (clog_test): Add more tests.
47154         (clog10_test): Likewise.
47155         * sysdeps/i386/fpu/libm-test-ulps: Update.
47156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47158         [BZ #11451]
47159         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47160         x and y.
47161         * math/libm-test.inc (atan2_test): Add another test.
47163         * Makerules (common-objdir-compile): Remove.
47164         * sysdeps/unix/Makefile (config-generated): Do not add
47165         $(unix-generated) to variable.
47166         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47167         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47168         Remove rule.
47169         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47170         Likewise.
47171         [generic bits/local_lim.h] (before-compile): Do not append to
47172         variable.
47173         [generic bits/local_lim.h] (common-generated): Likewise.
47174         [generic sys/param.h] (before-compile): Do not append to variable.
47175         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47176         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47177         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47178         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47179         include.
47180         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47181         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47182         [generic sys/param.h] ($(addprefix
47183         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47184         [generic sys/param.h] (common-generated): Do not append to
47185         variable.
47186         [generic sys/param.h] (sysdep_headers): Likewise.
47187         [generic bits/errno.h] (before-compile): Do not append to
47188         variable.
47189         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47190         rule.
47191         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47192         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47193         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47194         [generic bits/errno.h] (common-generated): Do not append to
47195         variable.
47196         [generic bits/ioctls.h] (before-compile): Do not append to
47197         variable.
47198         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47199         rule.
47200         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47201         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47202         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47203         rule.
47204         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47205         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47206         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47207         [generic bits/ioctls.h] (common-generated): Do not append to
47208         variable.
47209         [generic sys/syscall.h] (syscall.h): Remove variable.
47210         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47211         rule.
47212         [generic sys/syscall.h] (before-compile): Do not append to
47213         variable.
47214         [generic sys/syscall.h] (common-generated): Likewise.
47215         * sysdeps/unix/errnos-tmpl.c: Remove file.
47216         * sysdeps/unix/errnos.awk: Likewise.
47217         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47218         * sysdeps/unix/ioctls.awk: Likewise.
47219         * sysdeps/unix/mk-local_lim.c: Likewise.
47220         * sysdeps/unix/snarf-ioctls: Likewise.
47222 2012-03-19  Richard Henderson  <rth@twiddle.net>
47224         * sysdeps/i386/fpu/fenv_private.h: New file.
47225         * sysdeps/i386/fpu/math_private.h: Use it.
47226         (math_opt_barrier, math_force_eval): Remove.
47227         (libc_feholdexcept_setround_53bit): Remove.
47228         (libc_feupdateenv_53bit): Remove.
47229         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47230         (math_opt_barrier, math_force_eval): Remove.
47231         (libc_feholdexcept): Remove.
47232         (libc_feholdexcept_setround): Remove.
47233         (libc_fetestexcept, libc_fesetenv): Remove.
47234         (libc_feupdateenv_test): Remove.
47235         (libc_feupdateenv, libc_feholdsetround): Remove.
47236         (libc_feresetround): Remove.
47238         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47239         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47241         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47242         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47243         (libc_feupdateenv_testl): New.
47244         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47245         (libc_feupdateenv_testf): New.
47246         (libc_feupdateenv): Use libc_feupdateenv_test.
47247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47248         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47250         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47251         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47252         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47253         (libc_feresetround_noex): New.
47254         (libc_feresetround_noexf): New.
47255         (libc_feresetround_noexl): New.
47256         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47257         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47258         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47259         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47260         SET_RESTORE_ROUND.
47261         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47263         (__cos): Likewise.
47264         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47265         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47266         SET_RESTORE_ROUND_NOEX.
47267         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47268         SET_RESTORE_ROUND_NOEXF.
47269         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47270         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47271         (libc_feholdsetroundf): New.
47272         (libc_feresetround, libc_feresetroundf): New.
47274         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47275         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47276         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47278         * sysdeps/generic/math_private.h: Include <fenv.h>.
47279         (default_libc_feholdexcept): New.
47280         (default_libc_feholdexcept_setround): New.
47281         (default_libc_fesetenv, default_libc_feupdateenv): New.
47282         (libc_feholdexcept): Only define if undefined.
47283         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47284         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47285         (libc_feholdexcept_setroundl): Likewise.
47286         (libc_feholdexcept_setround_53bit): Likewise.
47287         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47288         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47289         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47290         (libc_feupdateenv_53bit): Likewise.
47291         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47292         (libc_feholdexcept): Convert from macro to inline function.
47293         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47294         (libc_fesetenv, libc_feupdateenv): Likewise.
47296         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47297         not previously defined.
47298         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47299         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47300         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47301         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47302         * sysdeps/ieee754/flt-32/math_private.h: New file.
47303         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47304         math_private.h below SET_FLOAT_WORD.
47305         (__isnan, __isinf_ns, __finite): Remove.
47306         (__isnanf, __isinf_nsf, __finitef): Remove.
47308 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47312 2012-03-17  David S. Miller  <davem@davemloft.net>
47314         [BZ #6471]
47315         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47316         for 2.16.
47318 2012-03-16  David S. Miller  <davem@davemloft.net>
47320         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47321         warnings.
47323         [BZ #6471]
47324         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47325         properly.
47326         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47327         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47328         sysdep_routines when subdir is sysvipc.
47329         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47330         __getshmlba helper.
47332         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47334 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47336         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47337         [__LP64__].
47339 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47341         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47342         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47343         (__lround): Renamed to ...
47344         (__llround): This.  Replace long int with long long int.
47345         Define lround functions as aliases of llround functions.
47346         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47348 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47350         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47351         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47352         adresses to uintptr_t.  Replace "long int" and "unsigned long
47353         int" with "greg_t" on va_arg.
47355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47357         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47358         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47360         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47361         Move e_machine check before EI_CLASS check.  Handle x32
47362         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47363         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47364         SKIP_EM_IA_64 and include
47365         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47367         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47368         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47369         (add_system_dir): New macro.
47371         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47372         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47374 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47376         [BZ #2551]
47377         [BZ #2552]
47378         [BZ #2553]
47379         [BZ #2554]
47380         [BZ #2562]
47381         [BZ #2563]
47382         [BZ #2565]
47383         [BZ #2566]
47384         [BZ #2576]
47385         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47386         (y0): Likewise.
47387         * math/w_j0f.c (j0f): Likewise.
47388         (y0f): Likewise.
47389         * math/w_j0l.c (__j0l): Likewise.
47390         (__y0l): Likewise.
47391         * math/w_j1.c (j1): Likewise.
47392         (y1): Likewise.
47393         * math/w_j1f.c (j1f): Likewise.
47394         (y1f): Likewise.
47395         * math/w_j1l.c (__j1l): Likewise.
47396         (__y1l): Likewise.
47397         * math/w_jn.c (jn): Likewise.
47398         (yn): Likewise.
47399         * math/w_jnf.c (jnf): Likewise.
47400         (ynf): Likewise.
47401         * math/w_jnl.c (__jnl): Likewise.
47402         (__ynl): Likewise.
47403         * math/libm-test.inc (j0_test): Add more tests.
47404         (j1_test): Likewise.
47405         (jn_test): Likewise.  Add trailing semicolon to existing test.
47406         (y0_test): Likewise.
47407         (y1_test): Likewise.
47408         * sysdeps/i386/fpu/libm-test-ulps: Update.
47409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47411         [BZ #13851]
47412         [BZ #13854]
47413         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47414         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47415         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47416         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47417         (__tanl): Set errno for infinite argument.
47418         * sysdeps/i386/fpu/mptan.c: Remove.
47419         * sysdeps/i386/fpu/s_tan.S: Likewise.
47420         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47421         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47422         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47423         * math/libm-test.inc (tan_test): Add more tests and enable more
47424         tests for double and long double.
47425         * sysdeps/i386/fpu/libm-test-ulps: Update.
47426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47428 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47430         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47431         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47433 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47435         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47436         * configure.in: Use it for both main tree and add-ons.
47437         * configure: Regenerated.
47439 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47441         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47443 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47445         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47446         in comment.
47448         [BZ #13851]
47449         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47450         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47451         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47452         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47453         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47454         infinite argument.
47455         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47456         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47457         != 0 for prec == 2.
47458         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47459         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47460         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47461         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47462         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47463         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47464         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47465         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47466         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47467         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47468         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47469         * math/libm-test.inc (cos_test): Add more tests and enable more
47470         tests for long double.
47471         (sin_test): Likewise.
47472         (sincos_test): Likewise.
47473         * sysdeps/i386/fpu/libm-test-ulps: Update.
47474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47476 2012-03-16  David S. Miller  <davem@davemloft.net>
47478         * sysdeps/sparc/fpu/math_private.h: New file.
47480 2012-03-15  David S. Miller  <davem@davemloft.net>
47482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47483         file.
47484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47486         file.
47487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47493         sysdep routines.
47494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47496         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47497         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47499         * sysdeps/sparc/sparc-ifunc.h: New file.
47500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47501         sparc-ifunc.h
47502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47504         Likewise.
47505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47506         Likewise.
47507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47511         Likewise.
47512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47517         Likewise.
47518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47519         Likewise.
47520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47527         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47538         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47539         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47540         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47541         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47542         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47543         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47545 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47547         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47548         scaling.
47549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47551 2012-03-15  Andreas Jaeger  <aj@suse.de>
47553         [BZ #13852]
47554         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47555         ieee754/flt-32 implementation for sin, cos and sincos.
47556         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47557         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47558         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47559         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47560         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47561         ieee754/flt-32 implementation for tan.
47563         * math/libm-test.inc (cos_test): Enable some large input tests for
47564         float as well
47565         (sin_test): Likewise.
47566         (sincos_test): Likewise.
47567         (tan_test): Add tests for large input.
47569         * sysdeps/i386/fpu/libm-test-ulps: Update.
47571 2012-03-15  Andreas Jaeger  <aj@suse.de>
47573         [BZ #13658]
47574         * math/libm-test.inc (cos_test): Add more test cases.
47575         (sin_test): Likewise.
47576         (sincos_test): Likewise.
47578 2012-03-15  Andreas Jaeger  <aj@suse.de>
47580         [BZ #13837]
47581         * math/libm-test.inc (cos_test): Add a test case for large input
47582         value.
47583         (sin_test): Likewise.
47584         (sincos_test): Likewise.
47586 2012-03-15  Andreas Jaeger  <aj@suse.de>
47587             Joseph Myers  <joseph@codesourcery.com>
47589         [BZ #13658]
47590         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47591         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47592         * sysdeps/i386/fpu/branred.c: Likewise.
47593         * sysdeps/i386/fpu/dosincos.c: Likewise.
47594         * sysdeps/i386/fpu/mpa.c: Likewise.
47595         * sysdeps/i386/fpu/s_cos.S: Likewise.
47596         * sysdeps/i386/fpu/s_sin.S: Likewise.
47597         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47598         * sysdeps/i386/fpu/sincos32.c: Likewise.
47600         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47601         Define.
47602         (libc_feupdateenv_53bit): Define.
47603         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47604         Define.
47605         (libc_feupdateenv_53bit): Define.
47607         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47608         53 bit (without extend i386 double precision).
47610         * math/libm-test.inc (sincos_test): Add tests for large input.
47611         (sin): Likewise.
47612         (cos): Likewise.
47614         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47616 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47620 2012-03-15  David S. Miller  <davem@davemloft.net>
47622         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47623         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47624         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47625         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47638         file.
47639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47641         file.
47642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47644         file.
47645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47647         file.
47648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47649         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47650         fmin/fmax sysdep routines.
47651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47653 2012-03-14  David S. Miller  <davem@davemloft.net>
47655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47659         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47660         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47661         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47662         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47667         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47668         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47672         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47675         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47676         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47677         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47678         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47679         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47680         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47681         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47682         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47684         routines.
47685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47686         file.
47687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47689         file.
47690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47692         file.
47693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47695         file.
47696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47698         file.
47699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47701         file.
47702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47703         file.
47704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47705         file.
47706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47707         file.
47708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47709         New file.
47710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47711         file.
47712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47713         file.
47714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47716         file.
47717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47719         file.
47720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47722         file.
47723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47725         VIS3 routines.
47727         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47728         New file.
47730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47732         * sysdeps/sparc/configure.in: New file.
47733         * sysdeps/sparc/configure: Generate.
47734         * configure.in (libc_cv_sparc_as_vis3): Substitute.
47735         * configure: Regenerate.
47736         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47737         * config.make.in (have-as-vis3): New.
47738         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47739         available use -Av9d instead of -Av9a.
47740         * sysdeps/sparc/sparc64/Makefile: Likewise.
47741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47743         New file.
47744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47745         file.
47746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47747         New file.
47748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47749         file.
47750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47751         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47752         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47753         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47754         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47756         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47757         fzeros/fnegs to load 0x80000000 into a float register instead of
47758         using the stack.
47759         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47761 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47764         bits/syscall.h.
47765         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47766         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47767         ($(inst_includedir)/bits/syscall.h): Remove rule.
47768         ($(objpfx)bits/syscall.d): Include instead of
47769         $(objpfx)syscall-list.d.
47770         (generated): Change syscall-list.h and syscall-list.d to
47771         bits/syscall.h and bits/syscall.d.
47773 2012-03-14  Roland McGrath  <roland@hack.frob.com>
47775         [BZ #13846]
47776         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47778 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47780         [BZ #13841]
47781         * math/s_csqrt.c: Include <float.h>.
47782         (__csqrt): Scale large or subnormal inputs.
47783         * math/s_csqrtf.c: Likewise.
47784         * math/s_csqrtl.c: Likewise.
47785         * math/libm-test.inc (csqrt_test): Add more tests.
47786         * sysdeps/i386/fpu/libm-test-ulps: Update.
47787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47789         [BZ #13840]
47790         * math/libm-test.inc (hypot_test): Add more tests.
47792 2012-03-13  David S. Miller  <davem@davemloft.net>
47794         [BZ #13840]
47795         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47796         double-precision for the calculation instead of scaling.
47798 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
47800         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47801         manipulate bits before adding and subtracting TWO52[sx].
47802         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47803         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47804         Likewise.
47805         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47807 2012-03-13  David S. Miller  <davem@davemloft.net>
47809         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47810         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47811         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47812         rtld-global-offsets.h
47813         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47815         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47816         large parameters.
47818         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47820         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47821         'err' in the ifdef scope in which it is actually used.
47823         * nss/nss_db/db-init.c: Include string.h
47825 2012-03-12  David S. Miller  <davem@davemloft.net>
47827         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47828         masking out of the most significant byte of random value used.
47829         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47830         Fix coding style in previous change.
47832         * sysdeps/unix/sysv/linux/kernel-features.h
47833         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47834         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47835         expression.
47836         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47837         later.
47839 2012-03-11  David S. Miller  <davem@davemloft.net>
47841         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47842         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47843         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47844         for 'resultvar' otherwise things get truncated on 64-bit.
47846         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47847         Fix masking out of the most significant byte of random value used.
47849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47851 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47855 2012-03-09  David S. Miller  <davem@davemloft.net>
47857         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47858         variables with appropriate CPP guards.
47859         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47860         from the frame pointer, not the stack pointer.  Correct layout
47861         comments.  Fix test on resulting framesize and the management of
47862         the outregs buffer for pltexit.  Preserve floating point return
47863         values across _dl_call_pltexit call.
47864         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47865         framesize and the management of the outregs buffer for pltexit.
47866         Preserve floating point return values across _dl_call_pltexit
47867         call.
47868         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47869         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47870         (la_sparc64_gnu_pltexit): New functions.
47871         (print_exit): Fix format string for return register value.
47873 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47875         * sunrpc/Makefile (others): Add rpcgen.
47876         ($(objpfx)rpcgen): Remove special build rule and dependency on
47877         libc.
47878         * sunrpc/rpcgen.c: New file.
47880 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47882         [BZ #13673]
47883         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47884         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47885         * sysdeps/i386/crti.S: Likewise.
47886         * sysdeps/i386/crtn.S: Likewise.
47887         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47888         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47889         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47890         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47891         * sysdeps/sh/crti.S: Likewise.
47892         * sysdeps/sh/crtn.S: Likewise.
47893         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47895         [BZ #13673]
47896         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47897         with URL.
47898         * locale/programs/locfile-kw.gperf: Likewise.
47899         * locale/programs/charmap-kw.h: Regenerated.
47900         * locale/programs/locfile-kw.h: Likewise.
47902         [BZ #13673]
47903         * intl/plural.y: Replace FSF snail mail address with URL.
47904         * intl/plural.c: Regenerated.
47906 2012-03-09  Richard Henderson  <rth@twiddle.net>
47908         * include/math_private.h: Remove file.
47909         * math/math_private.h: Move file ...
47910         * sysdeps/generic/math_private.h: ... here.
47912         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47913         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47914         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47916         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47917         and <math_private.h>.
47918         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47919         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47920         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47921         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47922         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47923         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47924         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47926         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47927         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47929         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47930         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47931         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47932         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47933         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47934         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47935         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47936         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47937         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47938         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47939         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47940         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47942         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47943         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47944         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47946         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47947         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47948         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47949         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47950         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47951         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47952         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47953         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47954         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47955         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47956         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47957         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47958         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47959         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47960         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47961         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47962         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47963         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47964         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47965         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47966         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47967         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47968         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47969         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47970         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47971         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47972         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47973         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47974         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47975         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47976         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47977         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47978         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47979         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47981         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47982         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47983         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47984         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47985         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47986         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47987         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47988         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47989         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47990         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47991         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47992         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47993         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47995         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47996         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47997         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47998         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47999         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48000         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48001         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48002         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48004         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48005         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48006         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48007         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48008         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48009         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48010         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48011         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48012         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48013         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48014         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48015         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48016         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48018         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48019         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48020         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48021         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48022         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48023         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48024         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48025         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48026         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48027         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48028         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48029         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48030         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48031         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48032         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48033         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48034         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48035         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48036         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48037         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48038         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48039         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48040         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48041         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48042         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48043         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48044         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48045         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48046         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48047         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48048         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48049         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48050         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48051         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48052         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48053         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48054         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48055         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48056         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48057         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48058         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48059         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48060         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48061         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48062         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48063         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48064         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48065         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48066         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48067         * sysdeps/ieee754/k_standard.c: Likewise.
48068         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48069         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48070         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48071         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48072         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48073         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48074         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48075         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48076         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48077         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48078         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48079         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48080         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48081         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48082         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48083         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48084         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48085         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48086         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48087         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48088         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48089         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48090         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48091         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48092         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48093         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48094         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48095         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48096         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48097         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48098         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48099         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48100         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48101         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48102         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48103         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48104         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48105         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48106         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48107         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48108         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48109         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48110         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48111         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48112         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48113         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48114         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48115         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48116         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48117         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48118         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48119         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48120         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48121         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48122         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48123         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48124         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48125         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48126         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48127         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48128         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48129         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48130         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48131         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48132         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48133         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48134         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48135         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48136         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48138         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48139         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48140         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48141         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48142         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48143         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48144         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48145         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48146         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48147         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48148         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48149         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48150         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48151         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48152         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48153         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48154         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48155         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48156         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48157         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48158         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48159         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48160         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48161         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48162         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48163         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48164         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48165         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48166         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48167         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48168         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48169         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48170         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48171         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48172         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48173         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48174         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48175         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48176         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48177         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48178         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48179         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48180         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48181         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48182         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48183         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48184         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48185         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48186         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48187         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48188         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48189         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48190         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48191         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48192         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48193         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48194         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48195         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48196         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48197         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48198         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48199         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48200         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48201         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48202         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48203         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48204         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48205         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48206         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48207         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48208         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48209         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48210         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48211         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48212         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48213         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48214         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48215         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48216         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48217         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48218         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48219         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48220         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48221         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48222         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48223         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48224         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48225         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48226         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48227         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48228         * sysdeps/ieee754/s_lib_version.c: Likewise.
48229         * sysdeps/ieee754/s_matherr.c: Likewise.
48230         * sysdeps/ieee754/s_signgam.c: Likewise.
48231         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48232         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48233         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48234         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48235         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48236         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48237         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48238         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48239         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48240         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48241         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48242         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48243         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48244         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48245         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48246         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48247         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48248         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48249         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48253 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48255         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48256         * sunrpc/rpc_main.c: Likewise.
48257         * sunrpc/rpc_svcout.c: Likewise.
48259 2012-03-09  David S. Miller  <davem@davemloft.net>
48261         * include/math_private.h: New file.
48263 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48265         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48266         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48267         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48268         from <bits/socket_type.h>.
48269         (enum __socket_type): Don't define here.
48270         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48272         bits/socket_type.h.
48274         [BZ #13566]
48275         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48276         checking __USE_GNU.
48278         * Makerules ($(inst_includedir)/%.h): New rule.
48279         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48280         (install-others): Remove variable setting.
48281         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48283 2012-03-08  Richard Henderson  <rth@twiddle.net>
48285         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48286         from macro to inline function; merge with the
48287         !__LIBC_INTERNAL_MATH_INLINES version.
48288         (__ieee754_sqrtf): Likewise.
48290         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48291         to inline function.
48292         (__rintf, __floor, __floorf): Likewise.
48294         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48295         macro to inline function.
48296         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48298         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48299         not <math/math_private.h>.
48301 2012-03-08  David S. Miller  <davem@davemloft.net>
48303         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48304         copyright year.
48305         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48307 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48309         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48310         normalization.
48311         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48312         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48314 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48316         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48317         be defined individually, they must be defined as a block.  Define
48318         S for printing a string instead of hidint the different by using a
48319         macro for adding the 'l'.
48320         * stdio-common/tst-fphex-wide.c: Adjust.
48322 2012-03-07  Marek Polacek  <polacek@redhat.com>
48324         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48326 2012-03-08  Marek Polacek  <polacek@redhat.com>
48328         [BZ #13806]
48329         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48330         * stdio-common/tst-fphex.c: Define a few macros to make the
48331         test reusable.  Use them.
48332         * stdio-common/tst-fphex-wide.c: New file.
48334 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48336         [BZ #6911]
48337         * manual/macros.texi (gnusystems): New macro.
48338         (nongnusystems): Likewise.
48339         (gnulinuxhurdsystems): Likewise.
48340         (gnuhurdsystems): Likewise..
48341         (gnulinuxsystems): Likewise.
48342         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48343         variants of the GNU system, not "GNU system".
48344         * manual/conf.texi: Likewise.
48345         * manual/errno.texi: Likewise.  Update example of errno macro
48346         expansion.
48347         * manual/filesys.texi: Likewise.
48348         (getumask): Document as specific to GNU/Hurd.
48349         * manual/install.texi: Likewise.  Reword some references to
48350         GNU/Linux.
48351         * manual/intro.texi: Likewise.
48352         * manual/io.texi: Likewise.
48353         (File Name Portability): Detail which constraints are inapplicable
48354         to all GNU systems and which are only inapplicable to GNU/Hurd.
48355         * manual/job.texi: Likewise.
48356         * manual/llio.texi: Likewise.
48357         (O_NOCTTY): Document as present on GNU/Linux.
48358         * manual/maint.texi: Likewise.
48359         * manual/memory.texi: Likewise.
48360         * manual/pattern.texi: Likewise.
48361         * manual/pipe.texi: Likewise.
48362         * manual/process.texi: Likewise.
48363         * manual/resource.texi: Likewise.
48364         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48365         child on GNU/Hurd.
48366         * manual/setjmp.texi: Likewise.
48367         * manual/signal.texi: Likewise.
48368         * manual/startup.texi: Likewise.
48369         * manual/stdio.texi: Likewise.
48370         * manual/terminal.texi: Likewise.
48371         (ONLCR): Document as POSIX.
48372         (OXTABS): Document availability on GNU/Linux as XTABS.
48373         (ONOEOT): Document availability separately from other bits.
48374         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48375         * manual/time.texi: Likewise.
48376         * manual/users.texi: Likewise.
48377         * INSTALL: Regenerated.
48378         * sysdeps/gnu/errlist.c: Regenerated.
48380         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48381         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48382         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48383         puts.
48384         * configure: Regenerated.
48386 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48388         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48389         default includes instead of AC_HEADER_CHECK.
48390         * sysdeps/i386/configure: Regenerated.
48392         [BZ #10716]
48393         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48394         * math/s_cacoshf.c (__cacoshf): Likewise.
48395         * math/s_cacoshl.c (__cacoshl): Likewise.
48396         * math/s_casinh.c (__casinh): Set signs of result from argument.
48397         * math/s_casinhf.c (__casinhf): Likewise.
48398         * math/s_casinhl.c (__casinhl): Likewise.
48399         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48400         (casinh_test): Add more tests.
48401         * sysdeps/i386/fpu/libm-test-ulps: Update.
48402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48404 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48406         * po/zh_TW.po: Update from translation team.
48408         * login/Makefile (distribute): Remove variable.
48409         * catgets/Makefile: Likewise.
48410         * mach/Makefile: Likewise.
48411         * malloc/Makefile: Likewise.
48412         * misc/Makefile: Likewise.
48413         * iconv/Makefile: Likewise.
48414         * nscd/Makefile: Likewise.
48415         * hurd/Makefile: Likewise.
48416         * manual/Makefile: Likewise.
48417         * locale/Makefile: Likewise.
48418         * intl/Makefile: Likewise.
48419         * conform/Makefile: Likewise.
48420         * nss/Makefile: Likewise.
48421         * time/Makefile: Likewise.
48422         * soft-fp/Makefile: Likewise.
48423         * dirent/Makefile: Likewise.
48424         * gmon/Makefile: Likewise.
48425         * po/Makefile: Likewise.
48426         * rt/Makefile: Likewise.
48427         * socket/Makefile: Likewise.
48428         * math/Makefile: Likewise.
48429         * signal/Makefile: Likewise.
48430         * debug/Makefile: Likewise.
48431         * elf/Makefile: Likewise.
48432         * timezone/Makefile: Likewise.
48433         * stdlib/Makefile: Likewise.
48434         * iconvdata/Makefile: Likewise.
48435         * sunrpc/Makefile: Likewise.
48436         * io/Makefile: Likewise.
48437         * argp/Makefile: Likewise.
48438         * inet/Makefile: Likewise.
48439         * hesiod/Makefile: Likewise.
48440         * grp/Makefile: Likewise.
48441         * csu/Makefile: Likewise.
48442         * wctype/Makefile: Likewise.
48443         * crypt/Makefile: Likewise.
48444         * libio/Makefile: Likewise.
48445         * string/Makefile: Likewise.
48446         * nis/Makefile: Likewise.
48447         * resolv/Makefile: Likewise.
48448         * stdio-common/Makefile: Likewise.
48449         * wcsmbs/Makefile: Likewise.
48450         * dlfcn/Makefile: Likewise.
48451         * posix/Makefile: Likewise.
48453         [BZ #6959]
48454         * timezone/Makefile: Don't install timezone files, just the programs
48455         and scripts.
48457 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48459         * nss/databases.def: Add missing gshadow entry.
48461         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48463 2012-03-06  Marek Polacek  <polacek@redhat.com>
48465         [BZ #13726]
48466         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48467         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48468         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48469         * stdio-common/tst-long-dbl-fphex.c: New file.
48471 2012-03-06  David S. Miller  <davem@davemloft.net>
48473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48474         (set_obp_int): New function.
48475         (get_obp_int): New function.
48476         (__get_clockfreq_via_dev_openprom): Likewise.
48477         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48478         Avoid unused variable warnings on 'val' and use builtin_expect.
48479         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48480         __builtin_expect.
48481         (INLINE_CLONE_SYSCALL): Likewise.
48483 2012-03-05  David S. Miller  <davem@davemloft.net>
48485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48487 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48491         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48492         only for |x| >= 40.
48493         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48495 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48497         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48498         Replace gettimeofday with __vdso_gettimeofday.
48500         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48501         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48502         __vdso_clock_gettime and __vdso_getcpu.
48504         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48505         time with __vdso_time.
48507 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48509         * manual/lang.texi (size_t): Note types to which size_t may be
48510         equivalent with the GNU C Library, but do not describe when
48511         differences between them are significant.
48513 2012-03-05  Andreas Jaeger  <aj@suse.de>
48515         * sysdeps/i386/fpu/libm-test-ulps: Update.
48517 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48519         [BZ #3976]
48520         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48521         (__ieee754_pow): Save and restore rounding mode and use
48522         round-to-nearest for main computations.
48523         * math/libm-test.inc (pow_test_tonearest): New function.
48524         (pow_test_towardzero): Likewise.
48525         (pow_test_downward): Likewise.
48526         (pow_test_upward): Likewise.
48527         (main): Call the new functions.
48528         * sysdeps/i386/fpu/libm-test-ulps: Update.
48529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48531         [BZ #3976]
48532         * math/libm-test.inc (cosh_test_tonearest): New function.
48533         (cosh_test_towardzero): Likewise.
48534         (cosh_test_downward): Likewise.
48535         (cosh_test_upward): Likewise.
48536         (sinh_test_tonearest): Likewise.
48537         (sinh_test_towardzero): Likewise.
48538         (sinh_test_downward): Likewise.
48539         (sinh_test_upward): Likewise.
48540         (main): Call the new functions.
48541         * sysdeps/i386/fpu/libm-test-ulps: Update.
48542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48544 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48546         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48547         default stack guard is set in last bytes.
48548         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48550 2012-03-05  Kees Cook  <keescook@chromium.org>
48552         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48554         [BZ #13656]
48555         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48556         possibly allocate from heap instead of stack.
48557         * stdio-common/bug-vfprintf-nargs.c: New file.
48558         * stdio-common/Makefile (tests): Add nargs overflow test.
48560 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48564 2012-03-03  Marek Polacek  <polacek@redhat.com>
48566         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48567         * math/math_private.h: Likewise.
48568         * stdlib/tst-strtod.c: Likewise.
48569         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48570         * sysdeps/x86_64/bits/atomic.h: Likewise.
48572 2012-03-02  David S. Miller  <davem@davemloft.net>
48574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48578         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48579         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48580         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48581         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48583 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48585         [BZ #13792]
48586         * manual/examples/README: New file, says the example source files
48587         can be used under GPL>=2.
48588         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48589         line containing just "*/".
48590         * manual/examples/add.c: Add copyright header (GPL>=2).
48591         * manual/examples/argp-ex1.c: Likewise.
48592         * manual/examples/argp-ex2.c: Likewise.
48593         * manual/examples/argp-ex3.c: Likewise.
48594         * manual/examples/argp-ex4.c: Likewise.
48595         * manual/examples/atexit.c: Likewise.
48596         * manual/examples/db.c: Likewise.
48597         * manual/examples/dir.c: Likewise.
48598         * manual/examples/dir2.c: Likewise.
48599         * manual/examples/execinfo.c: Likewise.
48600         * manual/examples/filecli.c: Likewise.
48601         * manual/examples/filesrv.c: Likewise.
48602         * manual/examples/fmtmsgexpl.c: Likewise.
48603         * manual/examples/genpass.c: Likewise.
48604         * manual/examples/inetcli.c: Likewise.
48605         * manual/examples/inetsrv.c: Likewise.
48606         * manual/examples/isockad.c: Likewise.
48607         * manual/examples/longopt.c: Likewise.
48608         * manual/examples/memopen.c: Likewise.
48609         * manual/examples/memstrm.c: Likewise.
48610         * manual/examples/mkfsock.c: Likewise.
48611         * manual/examples/mkisock.c: Likewise.
48612         * manual/examples/mygetpass.c: Likewise.
48613         * manual/examples/pipe.c: Likewise.
48614         * manual/examples/popen.c: Likewise.
48615         * manual/examples/rprintf.c: Likewise.
48616         * manual/examples/search.c: Likewise.
48617         * manual/examples/select.c: Likewise.
48618         * manual/examples/setjmp.c: Likewise.
48619         * manual/examples/sigh1.c: Likewise.
48620         * manual/examples/sigusr.c: Likewise.
48621         * manual/examples/stpcpy.c: Likewise.
48622         * manual/examples/strdupa.c: Likewise.
48623         * manual/examples/strftim.c: Likewise.
48624         * manual/examples/strncat.c: Likewise.
48625         * manual/examples/subopt.c: Likewise.
48626         * manual/examples/swapcontext.c: Likewise.
48627         * manual/examples/termios.c: Likewise.
48628         * manual/examples/testopt.c: Likewise.
48629         * manual/examples/testpass.c: Likewise.
48630         * manual/examples/timeval_subtract.c: Likewise.
48632         [BZ #13792]
48633         * manual/time.texi (Elapsed Time): Move timeval_subtract example
48634         function to ...
48635         * manual/timeval_subtract.c.texi: ... here, new file.
48637 2012-03-02  David S. Miller  <davem@davemloft.net>
48639         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48641 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
48643         [BZ #3976]
48644         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48645         (__sin): Save and restore rounding mode and use round-to-nearest
48646         for all computations.
48647         (__cos): Save and restore rounding mode and use round-to-nearest
48648         for all computations.
48649         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48650         <fenv.h>.
48651         (tan): Save and restore rounding mode and use round-to-nearest for
48652         all computations.
48653         * math/libm-test.inc (cos_test_tonearest): New function.
48654         (cos_test_towardzero): Likewise.
48655         (cos_test_downward): Likewise.
48656         (cos_test_upward): Likewise.
48657         (sin_test_tonearest): Likewise.
48658         (sin_test_towardzero): Likewise.
48659         (sin_test_downward): Likewise.
48660         (sin_test_upward): Likewise.
48661         (tan_test_tonearest): Likewise.
48662         (tan_test_towardzero): Likewise.
48663         (tan_test_downward): Likewise.
48664         (tan_test_upward): Likewise.
48665         (main): Call the new functions.
48666         * sysdeps/i386/fpu/libm-test-ulps: Update.
48667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48669         [BZ #10135]
48670         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48671         small n, then large n, before computing and testing k+n.
48672         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48673         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48674         Likewise.
48675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48676         Likewise.
48677         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48678         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48679         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48680         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48681         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48682         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48683         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48684         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48685         * math/libm-test.inc (scalbn_test): Add more tests.
48686         (scalbln_test): Likewise.
48688         * manual/filesys.texi (mode_t): Describe constraints on size and
48689         signedness, not exact equivalence to a particular type.
48690         (ino_t): Likewise.
48691         (ino64_t): Likewise.
48692         (dev_t): Likewise.
48693         (nlink_t): Likewise.
48694         (blkcnt_t): Likewise.
48695         (blkcnt64_t): Likewise.
48696         * manual/llio.texi (off_t): Likewise.
48698         [BZ #3976]
48699         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48700         (__ieee754_exp): Save and restore rounding mode and use
48701         round-to-nearest for all computations.
48702         * math/libm-test.inc (exp_test_tonearest): New function.
48703         (exp_test_towardzero): Likewise.
48704         (exp_test_downward): Likewise.
48705         (exp_test_upward): Likewise.
48706         (main): Call the new functions.
48707         * sysdeps/i386/fpu/libm-test-ulps: Update.
48708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48710 2012-03-01  Chris Demetriou  <cgd@google.com>
48712         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48713         have predictable order.
48715 2012-03-01  David S. Miller  <davem@davemloft.net>
48717         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48719         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48720         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48721         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48722         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48724         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48725         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48726         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48728         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48729         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48730         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48731         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48732         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48736         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48737         * sysdeps/sparc/fpu/libm-test-ulps: to here.
48738         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48740         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48741         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48742         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48743         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48744         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48745         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48746         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48747         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48748         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48749         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48750         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48751         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48752         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48753         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48754         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48756         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48757         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48758         * sysdeps/sparc/elf/configure: Regenerated.
48760 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
48762         * configure.in (AS, LD): Require binutils 2.20 or later.
48763         * configure: Regenerated.
48764         * manual/install.texi (Tools for Compilation): Give binutils 2.20
48765         as required minimum version.
48766         * INSTALL: Regenerated.
48768         [BZ #2541]
48769         [BZ #4108]
48770         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48771         before squaring exponent.
48772         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48773         bottom long double and 27 bits of top long double before squaring
48774         exponent.
48775         * math/libm-test.inc (erfc_test): Add more tests.
48776         * sysdeps/i386/fpu/libm-test-ulps: Update.
48777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48780 2012-03-01  Kai Tietz  <ktietz@redhat.com>
48782         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48783         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48784         containing bit-fields.
48785         * soft-fp/extended.h (_FP_UNION_E): Likewise.
48786         * soft-fp/single.h (_FP_UNION_S): Likewise.
48787         * soft-fp/double.h (_FP_UNION_D): Likewise.
48789 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48791         [BZ #13786]
48792         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48793         not include ../strcmp.S.
48794         [USE_AS_STRNCASECMP_L]: Likewise.
48795         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48796         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48797         * sysdeps/i386/i686/multiarch/strncase_l-c.c
48798         (__strncasecmp_l_ia32): Define as alias to
48799         __strncasecmp_l_nonascii.
48801         [BZ #5794]
48802         * math/libm-test.inc (expm1_test): Add test for bug 5794.
48803         * sysdeps/i386/fpu/libm-test-ulps: Update.
48804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48806         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48809 2012-02-29  Jeff Law  <law@redhat.com>
48811         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48812         out of bounds read.
48814 2012-02-29  Marek Polacek  <polacek@redhat.com>
48816         [BZ #13706]
48817         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48818         * elf/Makefile: Add rules to run tst-unused-dep.out.
48820 2012-02-28  David S. Miller  <davem@davemloft.net>
48822         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48823         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48824         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48825         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48826         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48827         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48829 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48831         * math/libm-test.inc (llround_test): Move one test from
48832         lround_test.  Use TEST_f_L in moved test.
48833         (lround_test): Move misplaced test to llround_test.  Add testcase
48834         from bug 2561.
48836 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48838         * sysdeps/x86_64/fpu/e_expf.S: New file.
48839         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48841 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48843         [BZ #13637]
48844         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48845         of remain_len that may cause incomplete multi-byte character and
48846         false match.
48847         * posix/bug-regex33.c: New file.
48848         * posix/Makefile (tests): Add bug-regex33.
48850 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48852         * manual/macros.texi: New file.
48853         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48854         * manual/libc.texinfo: Include macros.texi.
48855         * manual/creatute.texi: Likewise.
48856         * manual/install.texi: Likewise.
48857         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48858         @glibcadj{} in references to the GNU C Library.
48859         * manual/charset.texi: Likewise.
48860         * manual/conf.texi: Likewise.
48861         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48862         when not using those macros.
48863         * manual/creature.texi: Likewise.
48864         * manual/crypt.texi: Likewise.
48865         * manual/errno.texi: Likewise.
48866         * manual/filesys.texi: Likewise.
48867         * manual/header.texi: Likewise.
48868         * manual/install.texi: Likewise.
48869         * manual/intro.texi: Likewise.
48870         * manual/io.texi: Likewise.
48871         * manual/job.texi: Likewise.
48872         * manual/lang.texi: Likewise.
48873         * manual/libc.texiinfo: Likewise.
48874         * manual/llio.texi: Likewise.
48875         * manual/locale.texi: Likewise.
48876         * manual/maint.texi: Likewise.
48877         * manual/math.texi: Likewise.
48878         * manual/memory.texi: Likewise.
48879         * manual/message.texi: Likewise.
48880         * manual/nss.texi: Likewise.
48881         * manual/pattern.texi: Likewise.
48882         * manual/process.texi: Likewise.
48883         * manual/resource.texi: Likewise.
48884         * manual/search.texi: Likewise.
48885         * manual/setjmp.texi: Likewise.
48886         * manual/signal.texi: Likewise.
48887         * manual/socket.texi: Likewise.
48888         * manual/startup.texi: Likewise.
48889         * manual/stdio.texi: Likewise.
48890         * manual/string.texi: Likewise.
48891         * manual/sysinfo.texi: Likewise.
48892         * manual/syslog.texi: Likewise.
48893         * manual/terminal.texi: Likewise.
48894         * manual/time.texi: Likewise.
48895         * manual/users.texi: Likewise.
48896         * INSTALL: Regenerated.
48897         * NOTES: Regenerated.
48898         * sysdeps/gnu/errlist.c: Regenerated.
48900 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48902         * include/dirent.h: Include <dirstream.h> before
48903         <dirent/dirent.h>.
48905 2012-02-28  David S. Miller  <davem@davemloft.net>
48907         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48908         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48909         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48910         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48912 2012-02-27  David S. Miller  <davem@davemloft.net>
48914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48916         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48917         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48920         frame pointer instead of stack pointer relative arg slot.
48921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48922         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48923         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48925 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48927         [BZ #3992]
48928         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48930 2012-02-27  David S. Miller  <davem@davemloft.net>
48932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48936         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48937         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48938         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48939         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48941 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48943         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48944         later.  Allow versions 5-9.
48945         * configure: Regenerated.
48946         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48947         required minimum version and 4.6 as recommended version.  Do not
48948         mention bugs in GCC 2.7 and 2.8.
48949         * INSTALL: Regenerated.
48951 2012-02-27  David S. Miller  <davem@davemloft.net>
48953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48957         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48958         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48959         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48960         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48963         manipulate bits before adding and subtracting TWO112[sx].
48964         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48966 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48968         [BZ #13775]
48969         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48970         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48971         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48972         being in POSIX, because they are in 1003.1-2008.
48974         * rt/tst-aio.c: Include <fcntl.h>.
48975         * rt/tst-aio7.c: Likewise.
48976         * rt/tst-aio64.c: Likewise.
48978         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48980 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48982         * manual/install.texi (--with-headers): Describe headers as
48983         interface headers, not private headers.
48984         (Specific advice for GNU/Linux systems): Describe use of headers
48985         from "make headers_install", not private headers from older
48986         kernels.
48987         * INSTALL: Regenerated.
48988         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48989         Change to 2.6.19.
48990         * sysdeps/unix/sysv/linux/configure: Regenerated.
48992         * manual/llio.texi (fclean): Remove documentation.
48994         * manual/Makefile (libc-texi-generated): New variable.  Include
48995         version.texi.
48996         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48997         $(libc-texi-generated), not duplicated list of files.
48998         (version.texi, stamp-version): New rules.
48999         (realclean): Remove $(libc-texi-generated), not individual files
49000         from that list.  Do not remove dir-add.texinfo.
49001         * manual/libc.texinfo: Comment out uses of edition numbers and
49002         references to printed manual.  Remove last-updated dates.
49003         (EDITION): Comment out.
49004         (ISBN): Likewise.
49005         (VERSION, UPDATED): Remove.
49006         (version.texi): Include.
49008 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49010         * sysdeps/posix/spawni.c: Include <signal.h>.
49011         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49012         * sysdeps/pthread/aio_fsync.c: Likewise.
49014 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49016         * conform/Makefile (tests): Run only when not cross-compiling and
49017         when fast-check is not defined.
49019         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49020         * conform/data/limits.h-data: Fixes for POSIX2008.
49021         * conform/run-conformtest.sh: Run all tests.
49022         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49023         headers.
49024         * include/bits/dlfcn.h: Likewise.
49025         * include/langinfo.h: Likewise.
49026         * include/monetary.h: Likewise.
49027         * include/sys/poll.h: Likewise.
49029         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49030         for __USE_GNU.
49031         * posix/spawn.h: Define __need_sigset_t.
49032         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49033         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49034         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49035         to get sigevent_t only.
49036         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49037         only for __USE_GNU.
49038         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49039         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49040         process_vm_writev only for __USE_GNU.
49041         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49043         * conform/Makefile: For now ignore errors from run-conformtest.
49044         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49045         POSIX to avoid namespace pollution.  Don't prepend headers.
49046         * conform/data/aio.h-data: Fixes for POSIX testing.
49047         * conform/data/fcntl.h-data: Likewise.
49048         * conform/data/glob.h-data: Likewise.
49049         * conform/data/grp.h-data: Likewise.
49050         * conform/data/pthread.h-data: Likewise.
49051         * conform/data/pwd.h-data: Likewise.
49052         * conform/data/signal.h-data: Likewise.
49053         * conform/data/spawn.h-data: Likewise.
49054         * conform/data/stdio.h-data: Likewise.
49055         * conform/data/stdlib.h-data: Likewise.
49056         * conform/data/stropts.h-data: Likewise.
49057         * conform/data/sys/mman.h-data: Likewise.
49058         * conform/data/sys/stat.h-data: Likewise.
49059         * conform/data/sys/types.h-data: Likewise.
49060         * conform/data/sys/wait.h-data: Likewise.
49061         * conform/data/time.h-data: Likewise.
49062         * conform/data/unistd.h-data: Likewise.
49063         * conform/data/utime.h-data: Likewise.
49065         * io/sys/stat.h: fchmod was always in POSIX.
49066         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49067         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49068         * rt/aio.h: Define __need_timespec before including <time.h>.
49069         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49070         struct.  Add forward declaration of pthread_attr_t and use it in
49071         sigevent.
49072         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49073         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49074         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49075         always remove CLK_TCK definition.
49077 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49079         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49081 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49083         * conform/run-conformtest.sh: New file.
49084         * conform/Makefile: Run run-conformtest for tests.
49085         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49086         support.
49088         * conform/data/uchar.h-data: New file.
49089         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49090         * conform/data/arpa/inet.h-data: Likewise.
49091         * conform/data/assert.h-data: Likewise.
49092         * conform/data/complex.h-data: Likewise.
49093         * conform/data/cpio.h-data: Likewise.
49094         * conform/data/ctype.h-data: Likewise.
49095         * conform/data/dirent.h-data: Likewise.
49096         * conform/data/dlfcn.h-data: Likewise.
49097         * conform/data/errno.h-data: Likewise.
49098         * conform/data/fcntl.h-data: Likewise.
49099         * conform/data/float.h-data: Likewise.
49100         * conform/data/fmtmsg.h-data: Likewise.
49101         * conform/data/fnmatch.h-data: Likewise.
49102         * conform/data/ftw.h-data: Likewise.
49103         * conform/data/glob.h-data: Likewise.
49104         * conform/data/grp.h-data: Likewise.
49105         * conform/data/iconv.h-data: Likewise.
49106         * conform/data/inttypes.h-data: Likewise.
49107         * conform/data/langinfo.h-data: Likewise.
49108         * conform/data/libgen.h-data: Likewise.
49109         * conform/data/limits.h-data: Likewise.
49110         * conform/data/locale.h-data: Likewise.
49111         * conform/data/math.h-data: Likewise.
49112         * conform/data/monetary.h-data: Likewise.
49113         * conform/data/mqueue.h-data: Likewise.
49114         * conform/data/ndbm.h-data: Likewise.
49115         * conform/data/net/if.h-data: Likewise.
49116         * conform/data/netdb.h-data: Likewise.
49117         * conform/data/netinet/in.h-data: Likewise.
49118         * conform/data/nl_types.h-data: Likewise.
49119         * conform/data/poll.h-data: Likewise.
49120         * conform/data/pthread.h-data: Likewise.
49121         * conform/data/pwd.h-data: Likewise.
49122         * conform/data/regex.h-data: Likewise.
49123         * conform/data/sched.h-data: Likewise.
49124         * conform/data/search.h-data: Likewise.
49125         * conform/data/semaphore.h-data: Likewise.
49126         * conform/data/setjmp.h-data: Likewise.
49127         * conform/data/signal.h-data: Likewise.
49128         * conform/data/spawn.h-data: Likewise.
49129         * conform/data/stdarg.h-data: Likewise.
49130         * conform/data/stdio.h-data: Likewise.
49131         * conform/data/stdlib.h-data: Likewise.
49132         * conform/data/string.h-data: Likewise.
49133         * conform/data/strings.h-data: Likewise.
49134         * conform/data/stropts.h-data: Likewise.
49135         * conform/data/sys/ipc.h-data: Likewise.
49136         * conform/data/sys/mman.h-data: Likewise.
49137         * conform/data/sys/msg.h-data: Likewise.
49138         * conform/data/sys/resource.h-data: Likewise.
49139         * conform/data/sys/select.h-data: Likewise.
49140         * conform/data/sys/sem.h-data: Likewise.
49141         * conform/data/sys/shm.h-data: Likewise.
49142         * conform/data/sys/socket.h-data: Likewise.
49143         * conform/data/sys/stat.h-data: Likewise.
49144         * conform/data/sys/statvfs.h-data: Likewise.
49145         * conform/data/sys/time.h-data: Likewise.
49146         * conform/data/sys/timeb.h-data: Likewise.
49147         * conform/data/sys/times.h-data: Likewise.
49148         * conform/data/sys/types.h-data: Likewise.
49149         * conform/data/sys/uio.h-data: Likewise.
49150         * conform/data/sys/un.h-data: Likewise.
49151         * conform/data/sys/utsname.h-data: Likewise.
49152         * conform/data/sys/wait.h-data: Likewise.
49153         * conform/data/syslog.h-data: Likewise.
49154         * conform/data/tar.h-data: Likewise.
49155         * conform/data/termios.h-data: Likewise.
49156         * conform/data/utime.h-data: Likewise.
49157         * conform/data/utmpx.h-data: Likewise.
49158         * conform/data/varargs.h-data: Likewise.
49159         * conform/data/wchar.h-data: Likewise.
49160         * conform/data/wctype.h-data: Likewise.
49161         * conform/data/wordexp.h-data: Likewise.
49163         * include/stropts.h: New file.
49164         * include/uchar.h: New file.
49165         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49166         * include/assert.h: Likewise.
49167         * include/ctype.h: Likewise.
49168         * include/dirent.h: Likewise.
49169         * include/dlfcn.h: Likewise.
49170         * include/fcntl.h: Likewise.
49171         * include/fnmatch.h: Likewise.
49172         * include/glob.h: Likewise.
49173         * include/grp.h: Likewise.
49174         * include/libio.h: Likewise.
49175         * include/locale.h: Likewise.
49176         * include/math.h: Likewise.
49177         * include/net/if.h: Likewise.
49178         * include/netdb.h: Likewise.
49179         * include/netinet/in.h: Likewise.
49180         * include/pthread.h: Likewise.
49181         * include/pwd.h: Likewise.
49182         * include/regex.h: Likewise.
49183         * include/sched.h: Likewise.
49184         * include/search.h: Likewise.
49185         * include/setjmp.h: Likewise.
49186         * include/signal.h: Likewise.
49187         * include/stdio.h: Likewise.
49188         * include/stdlib.h: Likewise.
49189         * include/string.h: Likewise.
49190         * include/sys/cdefs.h: Likewise.
49191         * include/sys/mman.h: Likewise.
49192         * include/sys/msg.h: Likewise.
49193         * include/sys/resource.h: Likewise.
49194         * include/sys/select.h: Likewise.
49195         * include/sys/socket.h: Likewise.
49196         * include/sys/stat.h: Likewise.
49197         * include/sys/statvfs.h: Likewise.
49198         * include/sys/time.h: Likewise.
49199         * include/sys/times.h: Likewise.
49200         * include/sys/uio.h: Likewise.
49201         * include/sys/utsname.h: Likewise.
49202         * include/sys/wait.h: Likewise.
49203         * include/termios.h: Likewise.
49204         * include/time.h: Likewise.
49205         * include/ulimit.h: Likewise.
49206         * include/unistd.h: Likewise.
49207         * include/utime.h: Likewise.
49208         * include/wchar.h: Likewise.
49209         * include/wctype.h: Likewise.
49210         * include/wordexp.h: Likewise.
49212         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49214         * time/time.h: TIME_UTC must be a macro.
49215         Make timespec_get available for ISO C11 only as well.
49217 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49219         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49220         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49222 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49224         * configure.in: Use -o not -a in test for unsupported multi-arch.
49226 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49228         * manual/texinfo.tex: Update to version 2012-01-19.16.
49230 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49232         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49234 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49236         [BZ #13738]
49237         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49238         * manual/fdl-1.3.texi: New file.
49239         * manual/fdl-1.1.texi: File removed.
49241         [BZ #13738]
49242         * manual/libc.texinfo (FDL_VERSION): New @set.
49243         Use it for mention of FDL in cover text.
49244         (Documentation License): Use it in @include file name.
49246 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49247             Roland McGrath  <roland@hack.frob.com>
49249         [BZ #5461]
49250         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49251         (not LONG_LONG_MAX and LONG_LONG_MIN.
49252         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49253         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49254         name.
49255         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49257 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49259         [BZ #2547]
49260         [BZ #11365]
49261         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49262         manipulate bits before adding and subtracting TWO23[sx].
49263         * math/libm-test.inc (nearbyint_test): Add more tests.
49265 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49267         [BZ #2548]
49268         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49269         bits before adding and subtracting TWO23[sx].
49270         * math/libm-test.inc (rint_test): Add more tests.
49271         (rint_test_tonearest): Likewise.
49272         (rint_test_towardzero): Likewise.
49273         (rint_test_downward): Likewise.
49274         (rint_test_upward: Likewise.
49276 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49278         [BZ #10110]
49279         * include/stdc-predef.h: New file.  Extracted from features.h.
49280         * include/features.h: Include stdc-predef.h.
49281         * Makefile (headers): Add stdc-predef.h.
49282         * CONFORMANCE (Compiler limitations): Update.
49284 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49286         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49288 2012-02-21  David S. Miller  <davem@davemloft.net>
49290         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49291         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49293 2012-02-20  David S. Miller  <davem@davemloft.net>
49295         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49296         using a normal save/restore sequence, rather than allocating a
49297         dummy stack frame just to store a frame pointer and restore.
49298         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49300 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49302         * manual/install.texi: Fix stray word in line-wrapped comment.
49304 2012-02-20  David S. Miller  <davem@davemloft.net>
49306         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49307         both binutils and gcc support GOTDATA.
49309         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49310         "rd %pc" in the PIC register setup sequences.
49312         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49313         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49314         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49315         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49316         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49318         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49319         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49321         (SYSCALL_ERROR_HANDLER): Likewise.
49322         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49323         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49325         (SYSCALL_ERROR_HANDLER): Likewise.
49327         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49328         (HAVE_GCC_GOTDATA): New.
49329         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49330         relocation support in both binutils and gcc.
49331         * sysdeps/sparc/elf/configure: Regenerate.
49333         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49334         * sysdeps/sparc/sparc32/elf/configure: Delete.
49335         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49336         * sysdeps/sparc/sparc64/elf/configure: Delete.
49337         * sysdeps/sparc/elf/configure.in: New file.
49338         * sysdeps/sparc/elf/configure: Generate.
49340         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49341         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49342         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49343         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49344         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49346 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49348         * manual/install.texi: Do not mention specific glibc version
49349         numbers.
49350         * manual/libc.texinfo (VERSION, UPDATED): Update.
49351         (@copying): Use @copyright{} and range of years.
49353 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49355         [BZ #13695]
49356         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49357         [crti.S not in sysdirs] (generated): Do not append.
49358         [crti.S not in sysdirs] (omit-deps): Likewise.
49359         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49360         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49361         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49362         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49363         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49364         Likewise.
49365         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49366         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49367         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49368         * csu/defs.awk: Remove file.
49369         * sysdeps/generic/initfini.c: Likewise.
49370         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49371         variable.
49372         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49373         Likewise.
49375 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49377         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49378         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49379         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49380         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49381         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49382         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49383         <bits/epoll.h>.
49384         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49385         (__EPOLL_PACKED): Define to empty if not defined by
49386         <bits/epoll.h>.
49387         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49389         bits/epoll.h.
49391 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49393         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49394         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49395         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49396         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49397         <bits/timerfd.h>.
49398         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49400         bits/timerfd.h.
49402 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49404         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49405         in C locale.
49406         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49407         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49408         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49411 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49413         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49414         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49416 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49418         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49419         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49420         defined.
49421         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49422         Likewise.
49423         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49424         entry for 2.16.
49426 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49428         * math/w_acos.c: Use non-signaling floating-point comparisons.
49429         * math/w_acosf.c: Likewise.
49430         * math/w_acosh.c: Likewise.
49431         * math/w_acoshf.c: Likewise.
49432         * math/w_acoshl.c: Likewise.
49433         * math/w_acosl.c: Likewise.
49434         * math/w_asin.c: Likewise.
49435         * math/w_asinf.c: Likewise.
49436         * math/w_asinl.c: Likewise.
49437         * math/w_atanh.c: Likewise.
49438         * math/w_atanhf.c: Likewise.
49439         * math/w_atanhl.c: Likewise.
49440         * math/w_exp2.c: Likewise.
49441         * math/w_exp2f.c: Likewise.
49442         * math/w_exp2l.c: Likewise.
49443         * math/w_j0.c: Likewise.
49444         * math/w_j0f.c: Likewise.
49445         * math/w_j0l.c: Likewise.
49446         * math/w_j1.c: Likewise.
49447         * math/w_j1f.c: Likewise.
49448         * math/w_j1l.c: Likewise.
49449         * math/w_jn.c: Likewise.
49450         * math/w_jnf.c: Likewise.
49451         * math/w_log.c: Likewise.
49452         * math/w_log10.c: Likewise.
49453         * math/w_log10f.c: Likewise.
49454         * math/w_log10l.c: Likewise.
49455         * math/w_log2.c: Likewise.
49456         * math/w_log2f.c: Likewise.
49457         * math/w_log2l.c: Likewise.
49458         * math/w_logf.c: Likewise.
49459         * math/w_logl.c: Likewise.
49460         * math/w_sqrt.c: Likewise.
49461         * math/w_sqrtf.c: Likewise.
49462         * math/w_sqrtl.c: Likewise.
49463         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49464         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49465         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49466         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49467         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49469 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49471         [BZ #9739]
49472         * manual/string.texi (strnlen): Use correct parameter name in
49473         equivalent expression.
49475 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49477         [BZ #11174]
49478         * manual/users.texi (seteuid): Consistently use neweuid for
49479         argument name.
49481 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49483         [BZ #13704]
49484         * manual/nss.texi (Services in the NSS configuration): Correct
49485         list of services in example configuration file.
49487 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49489         [BZ #11322]
49490         * manual/arith.texi: Remove statements about negative zero
49491         behaving identically to zero.
49493 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49495         [BZ #5993]
49496         * manual/install.texi: Do not document upgrading from libc5.
49498 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49500         [BZ #4596]
49501         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49503 2012-02-18  David S. Miller  <davem@davemloft.net>
49505         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49506         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49507         %o7 across the call.
49508         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49509         instead.
49510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49511         SETUP_PIC_REG_LEAF.
49512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49513         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49514         * sysdeps/sparc/crtn.S: Likewise.
49516 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49518         * aout/Makefile: Remove.
49520 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49522         [BZ #13058]
49523         * manual/examples/argp-ex1.c (main): Format definition in GNU
49524         style.
49525         * manual/examples/argp-ex2.c (main): Likewise.
49526         * manual/examples/argp-ex3.c (main): Likewise.
49527         * manual/examples/argp-ex4.c (main): Likewise.
49528         * manual/examples/longopt.c (main): Use new-style prototype
49529         definition.
49530         * manual/examples/strncat.c (main): Specify return type and use
49531         (void) for arguments.
49532         * manual/examples/subopt.c (main): Use char **argv argument.
49534 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49536         [BZ #5077]
49537         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49538         rounding modes.
49540 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49542         [BZ #6907]
49543         * manual/string.texi (strchr): Change when strchrnul is
49544         recommended.
49546 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49548         [BZ #174]
49549         * manual/locale.texi (setlocale): Document LOCPATH.
49551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49553         [BZ #10210]
49554         * manual/process.texi (execle): Move @dots{} before last argument.
49556 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49558         [BZ #12047]
49559         * manual/charset.texi (Generic Charset Conversion): Fix typo
49560         (LC_TYPE -> LC_CTYPE).
49562 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49564         [BZ #5805]
49565         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49566         (scalbnf): Likewise.
49567         (scalbnl): Likewise.
49568         (scalbln): Likewise.
49569         (scalblnf): Likewise.
49570         (scalblnl): Likewise.
49571         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49572         (vwarnx): Likewise.
49573         (verr): Likewise.
49574         (verrx): Likewise.
49575         * manual/filesys.texi (telldir): Use braces around return type.
49576         * manual/llio.texi (mmap): Add space after comma.
49577         (mmap64): Likewise.
49578         * manual/math.texi (jn): Use @var{} on parameter names.
49579         (jnf): Likewise.
49580         (jnl): Likewise.
49581         (yn): Likewise.
49582         (ynf): Likewise.
49583         (ynl): Likewise.
49584         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49585         line.
49586         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49587         "...".
49588         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49589         (sched_get_priority_max): Likewise.
49590         * manual/signal.texi (sigvec): Add space after comma.
49591         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49592         names.
49593         (if_indextoname): Likewise.
49594         (if_freenameindex): Likewise.
49595         (sendto): Use ',' instead of '.' in prototype.
49596         * manual/startup.texi (syscall): Use @dots{} instead of literal
49597         "...".
49598         * manual/stdio.texi (__fpending): Separate initial words of
49599         paragraph from @deftypefun line.
49600         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49601         "...".
49602         (vsyslog): Use @var{} on parameter names.
49603         * manual/terminal.texi (stty): Use @var{} on parameter names.
49604         * manual/users.texi (getutmp): Use @var{} on parameter names.
49605         (getutmpx): Likewise.
49607 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49609         [BZ #6884]
49610         * manual/stdio.texi (fopen): Fix typos in description of
49611         ",ccs=STRING".
49613 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
49615         [BZ #4026]
49616         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49617         get clock_id definition.
49619 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
49621         [BZ #4822]
49622         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49623         (madvise): Cast every argument to void on its own.
49625 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49627         [BZ #9902]
49628         * manual/startup.texi (Exit Status): Fix typo.
49630 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49632         [BZ #10140]
49633         * manual/examples/argp-ex1.c: Include <stdlib.h>.
49634         * manual/examples/argp-ex2.c: Likewise.
49635         * manual/examples/argp-ex3.c: Likewise.
49637 2012-02-16  Richard Henderson  <rth@redhat.com>
49639         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49640         * sysdeps/s390/s390-32/initfini.c: Remove.
49641         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49642         * sysdeps/s390/s390-64/initfini.c: Remove.
49644 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49646         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49647         compiler output for sysdeps/generic/initfini.c.
49648         * sysdeps/sh/elf/initfini.c: Remove file.
49650 2012-02-16  David S. Miller  <davem@davemloft.net>
49652         [BZ #11494]
49653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49655         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49656         * sysdeps/sparc/crti.S: New file.
49657         * sysdeps/sparc/crtn.S: New file.
49658         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49659         * sysdeps/sparc/sparc64/Makefile: Likewise.
49661 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
49663         [BZ #3335]
49664         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49666 2012-02-15  Roland McGrath  <roland@hack.frob.com>
49668         [BZ #4822]
49669         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49671         * mach/devstream.c (cookie_io_functions_t): Macro removed.
49672         (write, read, close): Likewise.
49673         Patch by Aurelien Jarno <aurelien@aurel32.net>.
49675 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
49677         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49678         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49679         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49680         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49681         <bits/signalfd.h>.
49682         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49684         bits/signalfd.h.
49686 2012-02-14  Marek Polacek  <polacek@redhat.com>
49688         * sysdeps/x86_64/crti.S: New file.
49689         * sysdeps/x86_64/crtn.S: New file.
49690         * sysdeps/x86_64/elf/initfini.c: Remove file.
49692 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49694         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49695         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49696         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49697         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49698         <bits/inotify.h>.
49699         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49701         bits/inotify.h.
49703 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49705         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49706         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49707         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49708         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49709         <bits/eventfd.h>.
49710         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49712         bits/eventfd.h.
49714 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
49716         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49717         __feraiseexcept instead of feraiseexcept.
49719         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49720         nanosleep invocations.
49721         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49722         strings, and add error checking for a nanosleep invocations.
49724 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
49726         Replace FSF snail mail address with URLs, as per GNU coding standards.
49727         Most of the snail mail addresses were wrong anyway, and omitting
49728         them makes the source code easier to maintain.  Almost all of the
49729         changes are to license notices and to locale LC_IDENTIFICATION
49730         addresses, except for this one:
49731         * manual/libc.texinfo: In "Published by", give the FSF's URL,
49732         not its snail mail address.
49734 2012-02-09  Richard Henderson  <rth@twiddle.net>
49736         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49737         of kernel-features.h.
49739         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49741 2012-02-08  Marek Polacek  <polacek@redhat.com>
49743         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49744         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49745         * sysdeps/gnu/_G_config.h: Likewise.
49746         * sysdeps/generic/_G_config.h: Likewise.
49748 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
49750         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49751         tests.
49752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49754         * sysdeps/powerpc/powerpc32/crti.S: New file.
49755         * sysdeps/powerpc/powerpc32/crtn.S: New file.
49756         * sysdeps/powerpc/powerpc64/crti.S: New file.
49757         * sysdeps/powerpc/powerpc64/crtn.S: New file.
49759         * Makeconfig (have-initfini): Don't set.
49760         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49761         * configure.in (nopic_initfini): Don't substitute.
49762         * config.h.in (HAVE_INITFINI): Don't #undef.
49763         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49764         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49766 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
49768         Support crti.S and crtn.S provided directly by architectures.
49769         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49770         [crti.S in sysdirs] (omit-deps): Likewise.
49771         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49772         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49773         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49774         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49775         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49776         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49777         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49778         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49779         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49780         compiler output for sysdeps/generic/initfini.c.
49781         * sysdeps/i386/elf/Makefile: Remove file.
49782         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49784 2012-02-07  Marek Polacek  <polacek@redhat.com>
49786         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49787         * sysdeps/gnu/_G_config.h: Likewise.
49788         * sysdeps/mach/hurd/_G_config.h: Likewise.
49790 2012-02-07  Marek Polacek  <polacek@redhat.com>
49792         * math/Makefile (tests): Add tst-CMPLX2.
49793         * math/tst-CMPLX2.c: New file.
49795 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
49797         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49799         * math/libm-test.inc (jn_test): Add missing L suffix.
49801 2012-02-06  Marek Polacek  <polacek@redhat.com>
49803         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49804         * sysdeps/i386/fpu/e_powf.S: Likewise.
49805         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49806         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49807         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49808         * sysdeps/i386/fpu/e_pow.S: Likewise.
49809         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49810         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49811         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49812         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49813         * sysdeps/i386/fpu/e_log2.S: Likewise.
49814         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49815         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49816         * sysdeps/i386/fpu/e_powl.S: Likewise.
49817         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49818         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49819         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49820         * sysdeps/i386/fpu/e_logl.S: Likewise.
49821         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49822         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49823         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49824         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49825         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49826         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49827         * sysdeps/i386/fpu/e_log.S: Likewise.
49828         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49829         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49830         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49831         * sysdeps/i386/fpu/e_logf.S: Likewise.
49832         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49833         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49834         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49835         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49836         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49837         * sysdeps/i386/fpu/e_log10.S: Likewise.
49838         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49839         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49840         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49841         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49842         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49843         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49844         * sysdeps/i386/asm-syntax.h: Likewise.
49845         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49846         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49847         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49848         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49849         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49850         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49851         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49852         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49853         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49854         * sysdeps/powerpc/sysdep.h: Likewise.
49855         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49856         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49858 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49860         [BZ #411]
49861         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49863 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49865         * sysdeps/i386/sysdep.h: Include <features.h>.
49866         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49867         version.
49869 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49871         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49872         Define.
49873         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49874         LOAD_PIC_REG_STR.
49876 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49878         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49879         (SETUP_PIC_REG): Use GET_PC_THUNK.
49880         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49881         macro.
49883 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49885         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49886         for non-PIC compilation.
49887         (SETUP_PIC_REG): Add .p2align directive.
49888         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49889         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49890         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49891         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49892         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49893         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49894         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49895         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49902         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49903         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49904         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49905         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49906         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49907         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49908         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49909         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49910         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49911         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49912         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49914         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49915         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49916         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49917         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49918         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49919         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49920         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49921         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49922         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49923         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49924         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49925         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49926         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49927         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49928         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49930 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49932         * math/tst-CMPLX.c: Include <stdio.h>.
49934 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49936         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49937         float.
49938         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49939         * sysdeps/sparc/bits/mathdef.h: Likewise.
49941 2012-01-31  Marek Polacek  <polacek@redhat.com>
49943         * libio/libio.h: Don't define _PARAMS.
49944         * locale/programs/config.h: Don't define PARAMS.
49945         * stdlib/strtol_l.c: Likewise.
49946         (__strtol_l): Remove PARAMS from the prototype.
49948 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49950         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49951         names.  Just use the correct names.  Remove unnecessary wrapper
49952         functions.
49953         * malloc/arena.c: Likewise.
49954         * malloc/hooks.c: Likewise.
49956         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49957         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49958         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49960 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49962         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49963         into tail calls.
49964         (update_get_addr): New function.
49965         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49966         GET_ADDR_MODULE parameter.
49968 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49970         * crypt/cert.c: Remove __STDC__ conditionals.
49971         * crypt/crypt-entry.c: Likewise.
49972         * crypt/crypt_util.c: Likewise.
49973         * libio/filedoalloc.c: Likewise.
49974         * libio/fileops.c: Likewise.
49975         * libio/genops.c: Likewise.
49976         * libio/iofclose.c: Likewise.
49977         * libio/iofdopen.c: Likewise.
49978         * libio/iofopen.c: Likewise.
49979         * libio/iofopen64.c: Likewise.
49980         * libio/iogetdelim.c: Likewise.
49981         * libio/iopopen.c: Likewise.
49982         * libio/obprintf.c: Likewise.
49983         * libio/oldfileops.c: Likewise.
49984         * libio/oldiofclose.c: Likewise.
49985         * libio/oldiofdopen.c: Likewise.
49986         * libio/oldiofopen.c: Likewise.
49987         * libio/oldiopopen.c: Likewise.
49988         * libio/wfiledoalloc.c: Likewise.
49989         * libio/wgenops.c: Likewise.
49990         * locale/programs/xmalloc.c: Likewise.
49991         * misc/syslog.c: Likewise.
49992         * stdio-common/xbug.c: Likewise.
49993         * string/memchr.c: Likewise.
49994         * string/memcmp.c: Likewise.
49995         * string/memrchr.c: Likewise.
49996         * string/rawmemchr.c: Likewise.
49997         * sysdeps/posix/getcwd.c: Likewise.
49998         * time/strftime_l.c: Likewise.
50000 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50002         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50003         * config.make.in (config-cflags-sse2avx): Define.
50004         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50005         Fix typo.
50007 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50009         * scripts/config.guess: Update from upstream config git repository.
50010         * scripts/config.sub: Likewise.
50012 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50014         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50015         (EM_NUM): Update.
50016         (R_TILEPRO_*, R_TILEGX_*): New macros.
50018         * scripts/firstversions.awk: Fix bug in version range handling.
50020         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50022         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50024         * include/sys/epoll.h: New file.
50025         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50026         libc_hidden_def.
50028 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50030         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50031         Avoid unnecessary __WORDSIZE == 64 test.
50032         (fmaxf): Use VEX format if possible.
50033         (fmax): Likewise.
50034         (fminf): Likewise.
50035         (fmin): Likewise.
50037         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50038         * math/math_private.h: Remove libc_fegetround* and
50039         libc_fesetround*.
50040         * sysdeps/i386/configure.in: Check for -msse2avx.
50041         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50042         also if SSE2AVX is defined.
50043         Remove libc_fegetround* and libc_fesetround*.
50044         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50045         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50046         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50047         of HAS_YMM_USABLE.
50048         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50049         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50050         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50051         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50052         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50054         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50056 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50058         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50059         size is not set.
50060         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50062 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50064         [BZ #13618]
50065         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50066         relocation.
50067         * Makeconfig (libm): Define.
50068         * elf/Makefile: Add rules to build and run tst-relsort1.
50069         * elf/tst-relsort1.c: New file.
50070         * elf/tst-relsort1mod1.c: New file.
50071         * elf/tst-relsort1mod2.c: New file.
50073 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50075         * math/s_ldexp.c: Remove __STDC__ conditionals.
50076         * math/s_ldexpf.c: Likewise.
50077         * math/s_ldexpl.c: Likewise.
50078         * math/s_nextafter.c: Likewise.
50079         * math/s_nexttowardf.c: Likewise.
50080         * math/s_significand.c: Likewise.
50081         * math/s_significandf.c: Likewise.
50082         * math/s_significandl.c: Likewise.
50083         * math/w_jnl.c: Likewise.
50084         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50085         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50086         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50087         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50088         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50089         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50090         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50091         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50092         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50093         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50094         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50095         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50096         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50097         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50098         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50099         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50100         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50101         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50103         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50104         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50105         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50106         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50107         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50108         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50109         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50110         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50111         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50112         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50113         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50114         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50115         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50116         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50117         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50118         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50119         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50120         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50121         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50122         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50123         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50124         * sysdeps/ieee754/k_standard.c: Likewise.
50125         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50126         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50127         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50128         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50129         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50130         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50131         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50132         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50133         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50134         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50135         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50136         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50137         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50138         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50139         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50140         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50141         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50142         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50143         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50144         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50145         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50146         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50147         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50148         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50149         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50150         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50151         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50152         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50154         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50155         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50156         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50157         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50158         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50160         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50161         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50162         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50163         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50164         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50165         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50166         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50167         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50168         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50169         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50171         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50172         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50173         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50174         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50175         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50176         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50181         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50182         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50183         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50184         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50185         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50186         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50187         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50188         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50189         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50190         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50191         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50192         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50193         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50194         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50195         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50196         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50197         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50198         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50199         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50200         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50201         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50202         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50203         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50204         * sysdeps/ieee754/s_matherr.c: Likewise.
50205         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50206         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50207         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50208         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50210 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50212         * crypt/md5.h: Remove __STDC__ conditionals.
50213         * libio/libioP.h: Likewise.
50214         * locale/programs/config.h: Likewise.
50215         * sysdeps/generic/sysdep.h: Likewise.
50216         * sysdeps/i386/asm-syntax.h: Likewise.
50217         * sysdeps/s390/asm-syntax.h: Likewise.
50218         * sysdeps/unix/sysdep.h: Likewise.
50219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50222 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50224         * libio/libio.h: Remove __STDC__ conditionals.
50225         * malloc/obstack.h: Likewise.
50226         * math/complex.h: Likewise.
50227         * math/math.h: Likewise.
50228         * sysdeps/generic/_G_config.h: Likewise.
50229         * sysdeps/gnu/_G_config.h: Likewise.
50230         * sysdeps/mach/hurd/_G_config.h: Likewise.
50231         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50232         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50233         * sysdeps/sparc/bits/mathdef.h: Likewise.
50235 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50237         [BZ #13583]
50238         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50239         Clean up HAS_* macros.
50240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50241         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50242         possible.
50243         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50244         HAS_AVX.
50245         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50246         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50247         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50248         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50249         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50251 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50253         * elf/tst-unique3.cc (gets): Remove declaration.
50254         * elf/tst-unique3lib.cc (gets): Likewise.
50255         * elf/tst-unique3lib2.cc (gets): Likewise.
50256         * elf/tst-unique4.cc (gets): Likewise.
50258 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50260         * include/stdio.h: Add C++ protection.  Add gets declarations and
50261         definitions.
50262         * debug/tst-chk1.c: Don't declare gets here.
50263         * stdio-common/tst-gets.c: Likewise.
50265 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50267         * posix/glob: Remove directory.
50269 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50271         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50273 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50275         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50276         of the non-standard EPFNOSUPPORT.
50278 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50280         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50281         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50282         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50284 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50286         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50288 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50290         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50291         transient errors.
50292         * nscd/grpcache.c (cache_addgr): Likewise.
50293         * nscd/hstcache.c (cache_addhst): Likewise.
50294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50295         * nscd/pwdcache.c (cache_addpw): Likewise.
50296         * nscd/servicescache.c (cache_addserv): Likewise.
50298 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50300         * malloc/malloc.c: Various cleanups.
50301         * malloc/hooks.c: Likewise.
50303         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50304         * stdlib/bug-fmtmsg1.c: New file.
50306         * stdlib/fmtmsg.c (init): Add missing unlock.
50307         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50309 2012-01-12  Marek Polacek  <polacek@redhat.com>
50311         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50312         and _GNU_SOURCE.
50314 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50316         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50317         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50318         macro to ensure uniqueness of label name.
50319         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50320         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50322 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50324         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50326         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50327         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50328         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50329         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50331 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50333         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50335         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50336         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50337         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50339         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50341         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50342         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50343         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50346         * math/bits/math-finite.h: Add ldexp support.
50348 2012-01-10  Marek Polacek  <polacek@redhat.com>
50350         * locale/programs/localedef.h (show_archive_content): Add noreturn
50351         attribute.
50353 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50355         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50357 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50359         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50361         * io/Makefile (headers): Add bits/poll2.h.
50363 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50366         typo #include statement.
50368 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50370         * include/sys/cdefs.h: Define __attribute_alloc_size.
50371         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50372         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50373         * elf/pldd.c: Likewise.
50374         * iconv/iconv_charmap.c: Likewise.
50375         * iconv/iconvconfig.c: Likewise.
50376         * iconv/strtab.c: Likewise.
50377         * locale/programs/locale.c: Likewise.
50378         * locale/programs/localedef.h: Likewise.
50379         * locale/programs/simple-hash.c: Likewise.
50380         * nscd/nscd.h: Likewise.
50381         * nss/makedb.c: Likewise.
50382         * sysdeps/generic/ldconfig.h: Likewise.
50383         * locale/programs/localedef.c: Remove xmalloc prototype.
50384         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50386 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50388         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50389         appropriate.
50391 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50393         * math/Makefile (tests): Add tst-CMPLX.
50394         * math/tst-CMPLX.c: New file.
50396         * math/complex.h (CMPLXL): Fix typo.
50398         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50399         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50400         GLIBC_2.16.
50401         * debug/tst-chk1.c: Add poll and ppoll tests.
50402         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50403         * include/sys/poll.h: Add hidden proto for ppoll.
50404         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50405         * sysdeps/mach/hurd/ppoll.c: Likewise.
50406         * io/ppoll.c: Likewise.
50407         * debug/poll_chk.c: New file.
50408         * debug/ppoll_chk.c: New file.
50409         * include/bits/poll2.h: New file.
50410         * io/bits/poll2.h: New file.
50412         [BZ #1350]
50413         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50415         * configure.in: static is always set to yes.  Remove.
50416         * config.make.in: Don't set build-static.
50417         * Makeconfig: Remove use of build-static.
50418         * dlfcn/Makefile: Likewise.
50419         * elf/Makefile: Likewise.
50420         * math/Makefile: Likewise.
50421         * misc/Makefile: Likewise.
50422         * nptl/Makefile: Likewise.
50423         * sysdeps/mach/hurd/Makefile: Likewise.
50425         * configure.in: PWD_P is not used anymore.
50426         * config.make.in: Remove PWD_P entry.
50428         * configure.in: Remove last remnants of RANLIB.
50429         No need to check for signed size_t anymore.
50430         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50431         and IA-64.
50432         Remove __builtin_expect test because we require at least gcc 3.4.
50433         * aclocal.m4: Likewise.
50435         * wcsmbs/mbrtoc16.c: Implement using towc function.
50436         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50437         * wcsmbs/wcsmbsload.c: Likewise.
50438         * iconv/gconv_simple.c: Likewise.
50439         * iconv/gconv_int.h: Likewise.
50440         * iconv/gconv_builtin.h: Likewise.
50441         * iconv/iconv_prog.c: Remove CHAR16 handling.
50443         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50445         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50447         * configure.in: Remove --with-elf and --enable-bounded options.
50448         Dont set base_machine for ia64.  More non-ELF conditions removed.
50449         Remove testing and setting of leading underscore information.
50450         * config.make.in (build-bounded): Set to no.
50451         * config.h.in: Remove NO_UNDERSCORES entry.
50452         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50453         them.
50454         * csu/start.c: Remove !NO_UNDERSCORE code.
50455         * locale/localeinfo.h: Likewise.
50456         * sysdeps/generic/machine-gmon.h: Likewise.
50457         * sysdeps/generic/sysdep.h: Likewise.
50458         * sysdeps/i386/sysdep.h: Likewise.
50459         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50460         * sysdeps/mach/sysdep.h: Likewise.
50461         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50462         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50463         * sysdeps/sh/sysdep.h: Likewise.
50464         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50465         * sysdeps/unix/i386/sysdep.S: Likewise.
50466         * sysdeps/unix/sparc/start.c: Likewise.
50467         * sysdeps/unix/sparc/sysdep.S: Likewise.
50468         * sysdeps/unix/sparc/sysdep.h: Likewise.
50469         * sysdeps/unix/start.c: Likewise.
50470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50471         * sysdeps/x86_64/sysdep.h: Likewise.
50473 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50475         [BZ #13553]
50476         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50477         for non-gcc.
50478         * argp/argp-fmtstream.h: Use const instead __const.
50479         * argp/argp.h: Likewise.
50480         * assert/assert.h: Likewise.
50481         * bits/fenv.h: Likewise.
50482         * bits/sched.h: Likewise.
50483         * bits/sigset.h: Likewise.
50484         * bits/sigthread.h: Likewise.
50485         * catgets/nl_types.h: Likewise.
50486         * conform/data/pthread.h-data: Likewise.
50487         * crypt/crypt-private.h: Likewise.
50488         * crypt/crypt.h: Likewise.
50489         * crypt/crypt_util.c: Likewise.
50490         * ctype/ctype.h: Likewise.
50491         * debug/execinfo.h: Likewise.
50492         * debug/mbsnrtowcs_chk.c: Likewise.
50493         * debug/mbsrtowcs_chk.c: Likewise.
50494         * debug/wcsnrtombs_chk.c: Likewise.
50495         * debug/wcsrtombs_chk.c: Likewise.
50496         * debug/wcstombs_chk.c: Likewise.
50497         * dirent/dirent.h: Likewise.
50498         * dlfcn/dlfcn.h: Likewise.
50499         * elf/neededtest4.c: Likewise.
50500         * grp/grp.h: Likewise.
50501         * gshadow/gshadow.h: Likewise.
50502         * iconv/gconv.h: Likewise.
50503         * iconv/gconv_int.h: Likewise.
50504         * iconv/gconv_simple.c: Likewise.
50505         * iconv/iconv.h: Likewise.
50506         * iconv/loop.c: Likewise.
50507         * iconv/skeleton.c: Likewise.
50508         * include/aio.h: Likewise.
50509         * include/aliases.h: Likewise.
50510         * include/argz.h: Likewise.
50511         * include/arpa/inet.h: Likewise.
50512         * include/assert.h: Likewise.
50513         * include/dirent.h: Likewise.
50514         * include/dlfcn.h: Likewise.
50515         * include/execinfo.h: Likewise.
50516         * include/fcntl.h: Likewise.
50517         * include/fenv.h: Likewise.
50518         * include/glob.h: Likewise.
50519         * include/grp.h: Likewise.
50520         * include/libintl.h: Likewise.
50521         * include/mntent.h: Likewise.
50522         * include/netdb.h: Likewise.
50523         * include/pwd.h: Likewise.
50524         * include/rpc/netdb.h: Likewise.
50525         * include/sched.h: Likewise.
50526         * include/search.h: Likewise.
50527         * include/shadow.h: Likewise.
50528         * include/signal.h: Likewise.
50529         * include/stdio.h: Likewise.
50530         * include/stdlib.h: Likewise.
50531         * include/string.h: Likewise.
50532         * include/sys/socket.h: Likewise.
50533         * include/sys/stat.h: Likewise.
50534         * include/sys/statfs.h: Likewise.
50535         * include/sys/statvfs.h: Likewise.
50536         * include/sys/syslog.h: Likewise.
50537         * include/sys/time.h: Likewise.
50538         * include/sys/uio.h: Likewise.
50539         * include/time.h: Likewise.
50540         * include/unistd.h: Likewise.
50541         * include/utmp.h: Likewise.
50542         * include/wchar.h: Likewise.
50543         * include/wctype.h: Likewise.
50544         * inet/aliases.h: Likewise.
50545         * inet/arpa/inet.h: Likewise.
50546         * inet/netinet/ether.h: Likewise.
50547         * inet/netinet/in.h: Likewise.
50548         * intl/libintl.h: Likewise.
50549         * io/bits/fcntl2.h: Likewise.
50550         * io/fcntl.h: Likewise.
50551         * io/ftw.h: Likewise.
50552         * io/sys/poll.h: Likewise.
50553         * io/sys/stat.h: Likewise.
50554         * io/sys/statfs.h: Likewise.
50555         * io/sys/statvfs.h: Likewise.
50556         * io/utime.h: Likewise.
50557         * libio/bits/stdio.h: Likewise.
50558         * libio/bits/stdio2.h: Likewise.
50559         * libio/libio.h: Likewise.
50560         * libio/libioP.h: Likewise.
50561         * libio/stdio.h: Likewise.
50562         * locale/lc-ctype.c: Likewise.
50563         * locale/locale.h: Likewise.
50564         * login/utmp.h: Likewise.
50565         * malloc/arena.c: Likewise.
50566         * malloc/malloc.c: Likewise.
50567         * malloc/malloc.h: Likewise.
50568         * malloc/mcheck.c: Likewise.
50569         * malloc/mtrace.c: Likewise.
50570         * math/bits/mathcalls.h: Likewise.
50571         * math/fenv.h: Likewise.
50572         * math/math_private.h: Likewise.
50573         * misc/bits/error.h: Likewise.
50574         * misc/bits/syslog.h: Likewise.
50575         * misc/err.h: Likewise.
50576         * misc/error.h: Likewise.
50577         * misc/fstab.h: Likewise.
50578         * misc/mntent.h: Likewise.
50579         * misc/regexp.h: Likewise.
50580         * misc/search.h: Likewise.
50581         * misc/sgtty.h: Likewise.
50582         * misc/sys/mman.h: Likewise.
50583         * misc/sys/syslog.h: Likewise.
50584         * misc/sys/uio.h: Likewise.
50585         * misc/sys/xattr.h: Likewise.
50586         * misc/ttyent.h: Likewise.
50587         * nis/rpcsvc/ypclnt.h: Likewise.
50588         * nss/nss.h: Likewise.
50589         * posix/bits/unistd.h: Likewise.
50590         * posix/fnmatch.h: Likewise.
50591         * posix/glob.h: Likewise.
50592         * posix/sched.h: Likewise.
50593         * posix/spawn.h: Likewise.
50594         * posix/sys/wait.h: Likewise.
50595         * posix/unistd.h: Likewise.
50596         * posix/wordexp.h: Likewise.
50597         * pwd/pwd.h: Likewise.
50598         * resolv/netdb.h: Likewise.
50599         * resource/sys/resource.h: Likewise.
50600         * rt/aio.h: Likewise.
50601         * rt/bits/mqueue2.h: Likewise.
50602         * rt/mqueue.h: Likewise.
50603         * shadow/shadow.h: Likewise.
50604         * signal/signal.h: Likewise.
50605         * socket/send.c: Likewise.
50606         * socket/sendto.c: Likewise.
50607         * socket/sys/socket.h: Likewise.
50608         * stdio-common/printf.h: Likewise.
50609         * stdlib/bits/stdlib.h: Likewise.
50610         * stdlib/fmtmsg.h: Likewise.
50611         * stdlib/monetary.h: Likewise.
50612         * stdlib/stdlib.h: Likewise.
50613         * stdlib/ucontext.h: Likewise.
50614         * streams/stropts.h: Likewise.
50615         * string/argz.h: Likewise.
50616         * string/bits/string2.h: Likewise.
50617         * string/string.h: Likewise.
50618         * string/strings.h: Likewise.
50619         * sunrpc/rpc/auth.h: Likewise.
50620         * sunrpc/rpc/auth_des.h: Likewise.
50621         * sunrpc/rpc/clnt.h: Likewise.
50622         * sunrpc/rpc/netdb.h: Likewise.
50623         * sunrpc/rpc/pmap_clnt.h: Likewise.
50624         * sunrpc/rpc/xdr.h: Likewise.
50625         * sysdeps/generic/inttypes.h: Likewise.
50626         * sysdeps/generic/net/if.h: Likewise.
50627         * sysdeps/generic/sys/swap.h: Likewise.
50628         * sysdeps/gnu/net/if.h: Likewise.
50629         * sysdeps/gnu/utmpx.h: Likewise.
50630         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50631         * sysdeps/i386/i486/bits/string.h: Likewise.
50632         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50633         * sysdeps/s390/bits/string.h: Likewise.
50634         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50635         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50636         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50637         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50638         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50639         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50640         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50641         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50642         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50643         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50644         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50645         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50646         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50647         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50648         * sysdeps/unix/sysv/linux/readv.c: Likewise.
50649         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50650         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50652         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50653         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50654         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50655         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50656         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50657         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50658         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50659         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50660         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50661         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50662         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50663         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50664         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50665         * sysvipc/sys/ipc.h: Likewise.
50666         * sysvipc/sys/msg.h: Likewise.
50667         * sysvipc/sys/sem.h: Likewise.
50668         * sysvipc/sys/shm.h: Likewise.
50669         * termios/termios.h: Likewise.
50670         * time/sys/time.h: Likewise.
50671         * time/time.h: Likewise.
50672         * wcsmbs/bits/wchar2.h: Likewise.
50673         * wcsmbs/uchar.h: Likewise.
50674         * wcsmbs/wchar.h: Likewise.
50675         * wctype/wctype.h: Likewise.
50677         [BZ #13551]
50678         * Makeconfig: Remove all but ELF support including AIX support.
50679         * Makerules: Likewise.
50680         * config.h.in: Likewise.
50681         * config.make.in: Likewise.
50682         * configure: Likewise.
50683         * configure.in: Likewise.
50684         * csu/Makefile: Likewise.
50685         * csu/version.c: Likewise.
50686         * debug/Makefile: Likewise.
50687         * dlfcn/Makefile: Likewise.
50688         * elf/Makefile: Likewise.
50689         * extra-lib.mk: Likewise.
50690         * iconv/Makefile: Likewise.
50691         * include/libc-symbols.h: Likewise.
50692         * include/shlib-compat.h: Likewise.
50693         * resolv/Makefile: Likewise.
50694         * resolv/res_libc.c: Likewise.
50695         * rt/Makefile: Likewise.
50696         * sysdeps/i386/asm-syntax.h: Likewise.
50697         * sysdeps/i386/sysdep.h: Likewise.
50698         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50699         * sysdeps/mach/sysdep.h: Likewise.
50700         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50701         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50702         * sysdeps/s390/asm-syntax.h: Likewise.
50703         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50704         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50705         * sysdeps/sh/sysdep.h: Likewise.
50706         * sysdeps/unix/sparc/sysdep.h: Likewise.
50707         * sysdeps/wordsize-32/divdi3.c: Likewise.
50708         * sysdeps/x86_64/sysdep.h: Likewise.
50710         * argp/Versions: Remove _argp_unlock_xxx.
50712         [BZ #13559]
50713         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
50714         * abilist/libBrokenLocale.abilist: Likewise.
50715         * abilist/libanl.abilist: Likewise.
50716         * abilist/libc.abilist: Likewise.
50717         * abilist/libcrypt.abilist: Likewise.
50718         * abilist/libdl.abilist: Likewise.
50719         * abilist/libm.abilist: Likewise.
50720         * abilist/libnsl.abilist: Likewise.
50721         * abilist/libpthread.abilist: Likewise.
50722         * abilist/libresolv.abilist: Likewise.
50723         * abilist/librt.abilist: Likewise.
50724         * abilist/libthread_db.abilist: Likewise.
50725         * abilist/libutil.abilist: Likewise.
50726         * abilist/libnss_db.abilist: New file.
50728         * scripts/abilist.awk: Add support for indirect functions.
50730         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50732         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50734         * shlib-versions: Remove entries for ports architectures.
50736         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
50737         files in ports.
50738         * elf/stackguard-macros.h: Remove support for IA-64.
50739         * elf/tst-auditmod1.c: Likewise.
50740         * sysdeps/generic/ldsodefs.h: Likewise.
50742         * sysdeps/unix/sysv/linux/configure.in: Ports should define
50743         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50744         configure files.
50746         [BZ #13552]
50747         * configure.in: Remove --enable-omitfp support.
50748         * FAQ.in: Adjust.
50749         * config.make.in: Likewise.
50750         * Makeconfig: Likewise.
50751         * manual/install.texi: Likewise.
50753         In case anyone cares, the IA-64 architecture could move to ports.
50754         * sysdeps/ia64/*: Removed.
50755         * sysdeps/unix/sysv/linux/ia64/*: Removed.
50756         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50758         [BZ #13555]
50759         * configure.in: Remove entries for unsupported architectures.
50761         [BZ #13533]
50762         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50763         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
50764         routines.
50765         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50766         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50767         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
50768         fall back to using wcrtomb.
50769         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50770         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
50771         renaming.
50772         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50773         * wcsmbs/tst-c16c32-1.c: New file.
50775         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50776         local variable.
50778         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50780         * elf/tst-unique3.cc: Add explicit declaration of gets.
50781         * elf/tst-unique3lib.cc: Likewise.
50782         * elf/tst-unique3lib2.cc: Likewise.
50783         * elf/tst-unique4.cc: Likewise.
50785         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50787 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
50789         [BZ #13566]
50790         * assert/assert.h (static_assert): Don't define for C++.
50791         * libio/stdio.h (gets): Do declare for C++ <= C++11.
50792         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50794 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
50796         * iconv/loop.c (single loop): Fix assertion in storing of
50797         remaining bytes.
50799         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50801 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
50803         * posix/getconf.c: Update copyright year.
50804         * nss/getent.c: Likewise.
50805         * nss/makedb.c: Likewise.
50806         * iconv/iconvconfig.c: Likewise.
50807         * iconv/iconv_prog.c: Likewise.
50808         * elf/ldconfig.c: Likewise.
50809         * elf/pldd.c: Likewise.
50810         * elf/sotruss.ksh: Likewise.
50811         * catgets/gencat.c: Likewise.
50812         * csu/version.c: Likewise.
50813         * elf/ldd.bash.in: Likewise.
50814         * elf/sprof.c (print_version): Likewise.
50815         * locale/programs/locale.c: Likewise.
50816         * locale/programs/localedef.c: Likewise.
50817         * login/programs/pt_chown.c: Likewise.
50818         * nscd/nscd.c (print_version): Likewise.
50819         * debug/xtrace.sh: Likewise.
50820         * malloc/memusage.sh: Likewise.
50821         * malloc/mtrace.pl: Likewise.
50822         * debug/catchsegv.sh: Likewise.
50824 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50826         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50827         pure attribute.
50829 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50831         [BZ #13533]
50832         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50833         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50834         transformations.
50835         * iconv/gconv_int.h: Likewise.
50836         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50837         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50838         from libc for GLIBC_2.16.
50839         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50840         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50841         * wcsmbs/uchar.h: Really define mbstate_t.
50842         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50843         * wcsmbs/c16rtomb.c: New file.
50844         * wcsmbs/mbrtoc16.c: New file.
50845         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50846         for C/POSIX locale.
50847         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50848         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50850         * wcsmbs/wchar.h: Add missing __restrict.
50852 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50854         [BZ #13532]
50855         * time/Makefile (routines): Add timespec_get.
50856         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50857         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50858         timespec for ISO C11.
50859         * time/timespec_get.c: New file.
50860         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50861         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50863         [BZ #13531]
50864         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50865         * stdlib/stdlib.h: Declare aligned_alloc.
50866         * Versions.def: Add GLIBC_2.16 for libc.
50867         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50869         [BZ 13527]
50870         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50871         ISO C11.
50873         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50874         code.
50876         [BZ #13528]
50877         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50879         [BZ #13529]
50880         * assert/assert.h (static_assert): Define.
50882         * version.h: Update for 2.16 development version.
50884         [BZ #13526]
50885         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50886         _ISOC11_SOURCE.
50888         * version.h (RELEASE): Bump for 2.15 release.
50889         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50891         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50892         Patch by Marek Polacek <mpolacek@redhat.com>.
50894         * bits/byteswap.h: Protect long long constants with __extension__.
50895         * sysdeps/i386/bits/byteswap.h: Likewise.
50896         * sysdeps/ia64/bits/byteswap.h: Likewise.
50897         * sysdeps/s390/bits/byteswap.h: Likewise.
50898         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50900 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50902         [BZ #13540]
50903         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50904         destination buffer.
50905         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50907 2011-12-23  Marek Polacek  <polacek@redhat.com>
50909         * elf/dl-addr.c (determine_info): Add inline keyword.
50910         * elf/tst-auditmod4b.c (check_avx): Likewise.
50911         * elf/tst-auditmod6b.c (check_avx): Likewise.
50912         * elf/tst-auditmod6c.c (check_avx): Likewise.
50913         * elf/tst-auditmod7b.c (check_avx): Likewise.
50915 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50917         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50918         !__SSE_MATH__.
50920 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50922         [BZ #13540]
50923         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50924         processing for last bytes.
50926 2011-08-06  Bruno Haible  <bruno@clisp.org>
50928         [BZ #13061]
50929         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50930         U+0385, not to U+1FEE.
50932         [BZ #13062]
50933         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50934         entry for U+00A5 U+0301.
50936 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50938         [BZ #13166]
50939         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50940         buffer for the output is too small.
50942         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50943         optimization.
50945         [BZ #13185]
50946         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50947         SSE flags if possible.
50949 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50951         [BZ #13540]
50952         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50953         processing for last bytes.
50955 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50957         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50958         (syscall-list-default-options, syscall-list-default-condition)
50959         (syscall-list-includes): Define.
50960         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50961         list of ABIs and options and #if conditions for each ABI.  Do not
50962         handle common syscalls between ABIs specially.
50963         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50964         Remove.
50965         (syscall-list-variants, syscall-list-32bit-options)
50966         (syscall-list-32bit-condition, syscall-list-64bit-options)
50967         (syscall-list-64bit-condition): Define.
50968         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50969         (syscall-list-variants, syscall-list-32bit-options)
50970         (syscall-list-32bit-condition, syscall-list-64bit-options)
50971         (syscall-list-64bit-condition): Define.
50972         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50973         Remove.
50974         (syscall-list-variants, syscall-list-32bit-options)
50975         (syscall-list-32bit-condition, syscall-list-64bit-options)
50976         (syscall-list-64bit-condition): Define.
50977         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50978         Remove.
50979         (syscall-list-variants, syscall-list-32bit-options)
50980         (syscall-list-32bit-condition, syscall-list-64bit-options)
50981         (syscall-list-64bit-condition): Define.
50983 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50985         * locale/iso-639.def: Add brx entry.
50987         [BZ #13328]
50988         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50989         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50991         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50992         __feraiseexcept_renamed.
50994 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50996         [BZ #13538]
50997         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50998         EPOLLET with unsigned values.
50999         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51000         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51002         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51003         to large cancellation.
51004         * math/s_cacoshf.c: Likewise.
51005         * math/s_cacoshl.c: Likewise.
51007 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51009         [BZ #13305]
51010         [BZ #12786]
51011         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51012         * math/s_cacoshf.c: Likewise.
51013         * math/s_cacoshl.c: Likewise.
51015 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51017         [BZ #13439]
51018         * iconv/gconv.h: Define __GCONV_SWAP.
51019         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51020         * iconvdata/utf-16.c: Likewise.
51021         * iconvdata/utf-32.c: Likewise.
51023 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51025         [BZ #13524]
51026         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51027         numerator after shifting it by one limb.
51029 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51031         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51032         under [__USE_EXTERN_INLINES].
51034 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51036         [BZ #13446]
51037         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51039 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51041         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51042         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51043         optimized code.
51044         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51045         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51046         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51047         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51048         for strncasecmp/strncasecmp_l compilation.
51049         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51050         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51052 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51054         [BZ #13484]
51055         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51056         of __asm__.
51058 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51060         [BZ #13506]
51061         * time/tzfile.c (__tzfile_read): Check values from file header.
51063 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51065         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51066         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51067         * powerpc/powerpc32/dl-start.S: Likewise.
51068         * powerpc/powerpc32/elf/start.S: Likewise.
51069         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51070         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51071         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51072         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51073         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51074         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51075         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51076         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51077         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51078         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51079         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51080         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51081         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51082         * powerpc/powerpc32/memset.S: Likewise.
51083         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51084         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51085         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51086         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51087         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51088         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51089         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51090         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51091         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51092         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51093         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51094         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51095         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51097 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51099         * math/libm-test.inc: Added more nearbyint tests.
51100         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51101         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51102         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51103         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51105 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51107         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51108         FD_CLOEXEC.
51110 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51112         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51113         Add wcscpy-ssse3 wcscpy-c.
51114         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51115         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51116         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51117         * sysdeps/x86_64/wcschr.S: New file.
51118         * sysdeps/x86_64/wcsrchr.S: New file.
51119         * string/test-strcmp.c: Remove checking of wcscmp function for
51120         wrong alignments.
51121         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51122         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51123         wcsrchr-sse2 wcsrchr-c.
51124         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51125         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51126         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51127         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51128         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51129         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51130         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51131         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51132         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51133         * wcsmbc/wcschr.c (WCSCHR): New macro.
51135 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51137         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51138         * wcsmbs/test-wcsrchr.c: New file.
51139         * string/test-strrchr.c: Add wcsrchr support.
51140         (WIDE): New macro.
51141         * wcsmbs/test-wcscpy.c: New file.
51142         * string/test-strcpy.c: Add wcscpy support.
51143         (WIDE): New macro.
51145 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51147         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51148         the inner loop.
51150 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51152         [BZ #13472]
51153         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51155 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51157         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51158         Minor optimizations.
51160         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51161         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51162         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51164 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51166         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51167         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51168         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51169         for gcc to avoid warnings.
51170         * inet/Makefile (tests): Add tst-checks.
51171         * inet/tst-checks.c: New file.
51173         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51174         warning.
51176         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51177         __wmemcmp_sse2.
51179         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51180         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51182         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51184 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51186         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51187         problem.
51189         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51191 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51193         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51194         conditional on GCC version.
51195         (__arch_compare_and_exchange_val_8_acq)
51196         (__arch_compare_and_exchange_val_16_acq)
51197         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51198         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51199         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51201 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51203         * sysdeps/sh/backtrace.c: New file.
51205 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51207         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51208         parenthesis.
51210 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51212         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51213         falling back to utime.
51215 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51217         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51218         expectations for float.
51220 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51222         * locale/weight.h (findidx): Add parameter len.
51223         * locale/weightwc.h (findidx): Likewise.
51224         * posix/fnmatch_loop.c (FCT): Adjust caller.
51225         * posix/regcomp.c (build_equiv_class): Likewise.
51226         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51227         * posix/regexec.c (check_node_accept_bytes): Likewise.
51228         * string/strcoll_l.c (STRCOLL): Likewise.
51229         * string/strxfrm_l.c (STRXFRM): Likewise.
51231 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51233         * Makefile.in: Remove CVSOPT handling.
51234         * configure.in: Remove use of AC_REVISION.
51235         * iconvdata/Makefile (distribute): No need to filter out CVS.
51236         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51237         handling.
51239 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51242         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51243         [USE_AS_STRNCASECMP_L]: Likewise.
51244         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51245         NO_TLS_DIRECT_SEG_REFS.
51246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51247         Fix argument offsets for non-PIC.
51248         [USE_AS_STRNCASECMP_L]: Likewise.
51249         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51250         NO_TLS_DIRECT_SEG_REFS.
51252 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51254         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51255         O_CLOEXEC.
51256         * locale/loadlocale.c (_nl_load_locale): Likewise.
51258 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51260         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51261         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51262         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51263         (SYSCALL_GETTIME): Set errno on error.
51265         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51266         count references to noai6ai_cached.
51268 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51270         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51272         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51273         FD_CLOEXEC for /proc/self/maps.
51275         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51276         FD_CLOEXEC for /proc/meminfo.
51278         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51279         gai.conf.
51281         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51282         FD_CLOEXEC for given file.
51284         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51286         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51287         FD_CLOEXEC for /etc/hosts.
51288         (_gethtent): Likewise.
51290         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51292         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51293         cancellation and set FD_CLOEXEC for /etc/netgroup.
51295         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51296         reading /etc/publickey.
51298         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51299         allow cancellation when reading /etc/group.
51301         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51302         cancellation.
51303         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51305         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51306         when using data file.
51308         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51310         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51311         (write_nis_obj): Use "c" and "e" in fopen.
51313         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51315         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51317         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51319         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51321         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51322         locale.alias.
51324         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51326         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51328         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51330         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51331         file parsing and set FD_CLOEXEC.
51333 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51335         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51337 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51339         * malloc/arena.c (arena_get2): Don't call reused_arena when
51340         _int_new_arena failed.
51342 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51344         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51345         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51346         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51347         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51348         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51349         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51350         to compile strcasecmp and strncasecmp.
51351         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51352         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51356 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51358         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51359         locale-defines.sym to gen-as-const-headers.
51360         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51361         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51362         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51363         to compile strcasecmp and strncasecmp.
51364         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51365         strcasecmp_l and strncasecmp_l.
51366         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51367         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51368         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51369         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51370         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51371         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51372         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51373         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51374         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51375         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51376         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51378 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51380         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51381         result of SYSDEP_GETTIME_CPU to retval.
51382         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51383         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51385         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51386         variable.
51388         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51389         mantissa words.
51390         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51392         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51393         from unused variable.
51395         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51396         DWARF definitions.
51397         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51398         for assembling.
51400         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51401         over namespaces.
51403         * sunrpc/rpc_prot.c (rejected): Fix case value.
51405         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51406         unsigned long long int to avoid warnings in shift.
51408         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51409         of use of trans.
51410         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51411         variable tmp.
51413         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51414         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51415         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51417         * nis/nis_table.c (nis_list): Use variable of correct type for
51418         result of __follow_path call.
51420 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51422         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51423         of math functions ceil, trunc, floor, round, and sqrt, when
51424         avaliable on the platform.
51425         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51426         name clash.
51427         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51428         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51429         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51431 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51433         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51434         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51436 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51438         * include/unistd.h: Fix __readlink return type.
51439         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51441 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51443         * stdlib/ucontext.h: Undo last change for makecontext.
51445 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51447         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51449         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51450         * setjmp/setjmp.h: Mark functions as non-leaf.
51451         * setjmp/bits/setjmp2.h: Likewise.
51452         * stdlib/ucontext.h: Likewise.
51454 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51456         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51457         (reused_arena): Don't check arena limit.
51458         (arena_get2): Atomically check arena limit.
51460 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51462         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51463         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51465         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51466         instructions.
51468 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51470         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51471         handler when locking.
51473         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51474         Fix size of allocated buffer.
51476 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51478         [BZ #10103]
51479         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51480         declarations for long double functions.
51481         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51483         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51485 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51487         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51488         installed.
51490         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51491         is disabled.
51493 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51495         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51497 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51499         * include/alloca.h (stackinfo_alloca_round): Define.
51500         (extend_alloca): Use it.
51501         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51502         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51503         here.
51505         * scripts/check-local-headers.sh: Ignore libaudit.h.
51507         * nscd/Makefile (extra-objs): Make recursively expanded.
51509 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51511         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51514         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51515         * posix/tst-rfc3484-2.c: Likewise.
51516         * posix/tst-rfc3484-3.c: Likewise.
51518         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51519         process_vm_writev.
51520         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51521         process_vm_writev.
51522         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51523         process_vm_writev from libc using GLIBC_2.15 version.
51525         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51527 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51529         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51530         stack usage.
51532 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51534         [BZ #13367]
51535         * nss/getent.c (initgroups_keys): Show error message in case no group
51536         names are given.
51538         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51539         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51540         __bump_nl_timestamp.
51541         * nscd/connections (nscd_init): When host database is served open
51542         netlink socket and request notification about configuration changes.
51543         (main_loop_poll): Track netlink file descriptor and bump timestamp
51544         in case data becomes available.
51545         (main_loop_epoll): Likewise.
51546         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51547         (database_pers_head): Add extra_data fileds.
51548         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51549         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51550         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51551         Adjust caller.
51552         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51553         in6ai data, call __free_in6ai.
51554         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51555         Add -DHAVE_NETLINK.
51556         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51557         interface information.  Reuse previous data if netlink timestamp
51558         is not changed.
51559         (__bump_nl_timestamp): New function.
51560         (__free_in6ai): New function.
51562 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51564         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51565         close_not_cancel_no_status here.
51566         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51568 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51570         [BZ #13276]
51571         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51572         return value.
51574         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51575         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51576         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51578 2011-07-03  Andreas Jaeger  <aj@suse.de>
51580         [BZ #10709]
51581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51582         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51583         * math/libm-test.inc (sin_test): Add test case.
51585 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51587         [BZ #13337]
51588         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51589         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51591         * elf/chroot_canon.c (chroot_canon): Cleanups.
51593         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51595         [BZ #13335]
51596         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51597         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51599         * string/test-strchr.c: Make usable for strchrnul testing.
51600         * string/test-strchrnul.c: New file.
51601         * string/Makefile (strop-tests): Add strchrnul.
51603         * po/it.po: Update from translation team.
51604         * po/es.po: Likewise.
51606 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51608         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51609         the three constants needed as parameters.  Drop the others.
51610         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51611         __m128i_strloadu_tolower.
51612         Create and initialize variable zero and use it in all the places
51613         where _mm_setzero_si128 was used.
51615         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51616         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51617         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51618         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51619         anymore.
51620         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51621         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51622         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51623         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51624         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51625         __mpranred, __mptan.
51626         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51627         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51628         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51629         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51630         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51631         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51632         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51633         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51634         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51636 2011-10-28  Andreas Schwab  <schwab@redhat.com>
51638         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51639         redefine if SHARED.
51640         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51643         wide char related routines to wcsmbs subdir.
51645 2011-10-27  Andreas Schwab  <schwab@redhat.com>
51647         [BZ #13344]
51648         * misc/sys/cdefs.h (__THROWNL): Define.
51649         * posix/unistd.h: Use __THREADNL instead of __THREAD
51650         for memory synchronization functions.
51652 2011-10-26  Roland McGrath  <roland@hack.frob.com>
51654         [BZ #13349]
51655         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51656         doesn't exist.
51657         * manual/stdio.texi (Obstack Streams): Node removed.
51659 2011-10-26  Andreas Schwab  <schwab@redhat.com>
51661         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51662         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51663         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51665         * math/math_private.h (math_force_eval): Allow non-addressable
51666         arguments.
51667         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51669 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51671         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51672         file is not needed.
51674         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51675         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51676         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51677         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51678         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51679         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51680         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51681         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51682         Add AVX variants.
51683         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51684         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51685         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51686         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51687         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51688         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51689         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51690         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51691         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51692         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51693         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51694         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51696         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51697         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51698         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51699         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51700         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51701         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51703         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51704         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
51706         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51707         place.  Use VEX encoding when compiling for AVX.
51709 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51711         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51712         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51714         * string/test-strchr.c (do_test): Don't generate NUL bytes.
51716 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51718         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51719         useless if() expression.
51720         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51721         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51722         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51723         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51724         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51726         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51727         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51728         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51729         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51730         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51731         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51732         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51733         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51734         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51735         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51736         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51737         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51738         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51740         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51742 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51744         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51745         condition.
51746         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51748 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51750         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51751         .text section.  Avoid duplicate constants.
51752         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51754         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51760         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51761         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51762         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51763         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51764         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51765         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51766         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51767         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51768         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51769         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51770         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51772         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51773         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51774         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51775         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51776         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51777         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51778         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51779         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51780         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51781         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51782         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51783         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51784         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51785         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51786         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51787         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51788         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51789         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51790         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51791         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51792         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51793         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51794         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51795         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51796         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51798 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
51800         * sysdeps/x86_64/dla.h: Move to ...
51801         * sysdeps/x86_64/fpu/dla.h: ...here.
51802         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51803         situations.  Use __builtin_fma only for gcc 4.6 and up.
51805         * config.make.in: Add have-mfma4 entry.
51806         * configure.in: Substitute libc_cv_cc_fma4.
51807         * math/Makefile (dbl-only-routines): Add sincostab.
51808         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51809         Use __sincostab not sincos.
51810         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51811         name is a macro.
51812         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51813         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51815         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51816         using __copysign.
51817         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51818         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51819         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51820         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51821         and __inv.
51822         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51823         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51824         __copysign.
51825         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51826         define aliases when function name is a macro.
51827         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51828         sysdeps/ieee754/dbl-64/sincos.tbl.
51829         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51830         fma4-enabled routines.
51831         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51832         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51833         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51834         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51835         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51836         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51837         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51838         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51839         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51840         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51841         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51842         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51843         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51844         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51845         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51846         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51847         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51848         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51849         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51850         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51851         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51852         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51853         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51854         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51855         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51856         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51857         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51858         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51859         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51860         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51862         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51863         rename.
51864         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51866         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51870         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51871         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51873 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51875         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51877 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51879         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51881         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51882         prediction.
51883         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51885         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51886         Remove unused variable magic_bits.
51887         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51889         * string/strnlen.c: Define and use STRNLEN macro.
51890         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51891         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51892         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51893         * wcsmbs/wcslen.c: Define and use WCSLEN.
51894         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51895         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51896         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51897         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51898         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51899         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51900         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51902 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51905         strnlen-sse2-no-bsf.
51906         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51907         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51908         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51909         Add strnlen support.
51910         (USE_AS_STRNLEN): New macro.
51911         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51912         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51913         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51914         * sysdeps/x86_64/wcslen.S: New file.
51916 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51918         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51919         XMM-moves are used for copying on small sizes.
51921 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51923         * wcsmbs/Makefile (strop-tests): Add wcschr.
51924         * wcsmbs/test-wcschr.c: New file.
51925         * string/test-strchr.c: Update.
51926         Add wcschr support.
51927         (WIDE): New macro.
51929 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51931         * wcsmbs/Makefile (strop-tests): Add wcslen.
51932         * wcsmbs/test-wcslen.c: New file.
51933         * string/test-strlen.c: Update.
51934         Add wcslen support.
51935         (WIDE): New macro.
51937 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51939         * po/it.po: Update from translation team.
51941 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51943         * sysdeps/x86_64/wcscmp.S: Update.
51944         Fix wrong comparison semantics.
51945         wcscmp shall use signed comparison not unsigned.
51946         Don't use substraction to avoid overflow bug.
51947         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51948         * wcsmbc/wcscmp.c: Likewise.
51949         * string/test-strcmp.c: Likewise.
51950         Add new tests to check cases with negative values.
51952 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51954         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51955         * sysdeps/x86_64/dla.h: ...here.  New file.
51956         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51957         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51961         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51962         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51963         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51964         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51966 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51969         __ynl_finite aliases.
51971 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51975         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51976         define DLA_FMA.
51977         [DLA_FMA] (EMULV): Use DLA_FMA.
51978         [DLA_FMA] (MUL12): Use EMULV.
51979         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51980         that are not needed.
51981         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51985         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51989 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51991         * math/s_nan.c: Undef __nan.
51992         * math/s_nanf.c: Undef __nanf.
51993         * math/s_nanl.c: Undef __nanl.
51994         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51995         "math_private.h".
51997 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51999         * math/s_catan.c: Add branch predictions.
52000         * math/s_catanf.c: Likewise.
52001         * math/s_catanh.c: Likewise.
52002         * math/s_catanhf.c: Likewise.
52003         * math/s_catanhl.c: Likewise.
52004         * math/s_catanl.c: Likewise.
52005         * math/s_cexp.c: Likewise.
52006         * math/s_cexpf.c: Likewise.
52007         * math/s_cexpl.c: Likewise.
52008         * math/s_clog.c: Likewise.
52009         * math/s_clog10.c: Likewise.
52010         * math/s_clog10f.c: Likewise.
52011         * math/s_clog10l.c: Likewise.
52012         * math/s_clogf.c: Likewise.
52013         * math/s_clogl.c: Likewise.
52014         * math/s_csqrt.c: Likewise.
52015         * math/s_csqrtf.c: Likewise.
52016         * math/s_csqrtl.c: Likewise.
52017         * math/s_ctanf.c: Likewise.
52018         * math/s_ctanh.c: Likewise.
52019         * math/s_ctanhf.c: Likewise.
52020         * math/s_ctanhl.c: Likewise.
52021         * math/s_ctanl.c: Likewise.
52023         * math/math_private.h: Define __nan, __nanf, __nanl.
52024         * math/s_cacosh.c: Include <math_private.h>.
52025         * math/s_cacoshl.c: Likewise.
52026         * math/s_casinh.c: Likewise.
52027         * math/s_casinhf.c: Likewise.
52028         * math/s_casinhl.c: Likewise.
52029         * math/s_ccos.c: Rely entire on ccosh.
52030         * math/s_ccosf.c: Rely entire on ccoshf.
52031         * math/s_ccosl.c: Rely entirely on ccoshl.
52032         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52033         Remove tests for FE_INVALID.
52034         * math/s_ccoshf.c: Likewise.
52035         * math/s_ccoshl.c: Likewise.
52036         * math/s_csin.c: Likewise.
52037         * math/s_csinf.c: Likewise.
52038         * math/s_csinh.c Likewise.
52039         * math/s_csinhf.c: Likewise.
52040         * math/s_csinhl.c: Likewise.
52041         * math/s_csinl.c: Likewise.
52042         * math/s_ctan.c: Likewise.
52043         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52044         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52045         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52047 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52050         compilation problems.
52052         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52053         __builtin_expect.
52055 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52057         * sysdeps/i386/configure.in: Test for -mfma4 option.
52058         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52059         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52060         COMMON_CPUID_INDEX_80000001.
52061         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52062         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52063         use it if FMA3 is not supported.
52064         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52066         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52067         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52069 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52071         [BZ #12892]
52072         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52073         it would create a cycle with a link time dependency.
52075 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52077         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52078         instruction.
52079         * string/Makefile (strop-tests): Add rawmemchr.
52080         * string/test-rawmemchr.c: New file.
52082         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52083         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52084         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52085         when compiling str{,n}casecmp and when AVX is available.  Hook up
52086         new optimized code in initializers.
52088 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52090         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52091         __feraiseexcept instead of feraiseexcept.
52093 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52095         * math/math_private.h: Define defaults for libc_fetestexcept and
52096         libc_feupdateenv.
52097         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52098         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52099         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52100         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52101         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52102         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52103         libc_fetestexcept and libc_feupdateenv.
52105         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52106         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52107         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52108         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52109         libc_feholdexcept_setround.
52111         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52112         Add s_nearbyint-c and s_nearbyintf-c.
52113         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52114         nearbyintf inlines.
52115         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52116         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52117         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52118         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52120         * math/math_private.h: Define defaults for libc_fegetround,
52121         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52122         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52123         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52124         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52125         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52126         standard functions.
52127         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52128         Remove comments and hacks for old compiler versions.
52129         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52130         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52131         libc_feholdexceptl.
52133 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52135         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52136         (__feraiseexcept_renamed): Add __NTH.
52137         (feraiseexcept): Add __NTH.  Rename local variables to fix
52138         namespace violations.
52140 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52142         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52144         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52146         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52147         recently added interfaces.
52148         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52150         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52151         about macro parameter expansion.
52153         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52154         __NO_MATH_INLINES is defined.  Cleanups.
52156         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52157         and __floorf is target has SSE4.1.
52158         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52159         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52160         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52161         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52163         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52164         name.
52165         (floorf): Likewise.
52167         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52169 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52171         * misc/sys/cdefs.h: Fix last change.
52173         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52174         database lookup.
52176 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52178         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52180         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52181         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52182         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52183         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52185         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52186         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52187         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52188         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52189         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52190         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52191         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52192         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52193         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52194         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52195         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52196         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52197         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52198         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52199         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52200         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52201         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52203         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52204         ceil, ceilf, floor, floorf.
52206         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52207         Perform IRELATIVE relocations last.
52209         * elf/do-rel.h: Add another parameter nrelative, replacing the
52210         local variable with the same name.  Change name of the function
52211         to end in Rel or Rela (uppercase).
52212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52213         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52214         elf_dynamic_do_##reloc function.
52216 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52218         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52219         is sufficient, at least on modern CPUs.
52221         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52223         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52224         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52226         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52227         __expl_finite.
52228         * math/bits/math-finite.h: Add entries for exp.
52229         * math/e_expl.c: Add __*_finite alias.
52230         * sysdeps/i386/fpu/e_exp.S: Likewise.
52231         * sysdeps/i386/fpu/e_expf.S: Likewise.
52232         * sysdeps/i386/fpu/e_expl.c: Likewise.
52233         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52234         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52235         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52237         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52238         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52239         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52241         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52242         is sufficient, at least on modern CPUs.
52244         * ctype/ctype-info.c (__ctype_init): Define.
52245         * include/ctype.h (__ctype_init): Declare.
52246         (__ctype_b_loc): The variable is always initialized.
52247         (__ctype_toupper_loc): Likewise.
52248         (__ctype_tolower_loc): Likewise.
52249         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52250         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52252 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52254         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52256         * configure.in: Also look in $cxxmachine/include for C++ system
52257         headers.
52259 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52261         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52262         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52263         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52264         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52265         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52266         (USE_AS_WMEMCMP): New macro.
52267         Fixing indents.
52268         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52269         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52270         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52271         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52272         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52273         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52274         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52275         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52276         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52277         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52278         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52279         (USE_AS_WMEMCMP): New macro.
52280         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52281         * sysdeps/string/test-memcmp.c: Update.
52282         Fix simple_wmemcmp.
52283         Add new tests.
52284         * wcsmbs/wmemcmp.c: Update.
52285         (WMEMCMP): New macro.
52286         Fix overflow bug.
52288 2011-10-12  Andreas Jaeger  <aj@suse.de>
52290         [BZ #13268]
52291         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52293 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52295         * libio/iofwide.c (do_length): Avoid warning.
52297         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52299 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52301         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52303         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52304         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52305         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52306         * sysdeps/i386/i686/fpu/e_log.S: New file.
52307         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52308         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52310         * ctype/ctype.h: Add support for inlined isXXX functions when
52311         compiling C++ code.
52313 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52315         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52317         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52319 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52321         [BZ #13291]
52322         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52324 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52326         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52327         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52328         feraiseexcept.
52330         * sysdeps/x86_64/memrchr.S: Check for zero size.
52332         * string/stratcliff.c: Add memrchr tests.
52334 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52337         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52338         rawmemchr-sse2 rawmemchr-sse2-bsf.
52339         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52340         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52341         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52342         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52343         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52344         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52345         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52346         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52347         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52348         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52349         * string/memrchr.c (MEMRCHR): New macro.
52351 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52353         Add integration with gcc's -ffinite-math-only and optimize wrapper
52354         functions in libm.
52355         * Versions.def: Define GLIBC_2.15 version for libm.
52356         * math/Makefile (headers): Add bits/math-finite.h.
52357         * math/bits/math-finite.h: New file.
52358         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52359         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52360         * math/e_acoshl.c: Add __*_finite alias.
52361         * math/e_acosl.c: Likewise.
52362         * math/e_asinl.c: Likewise.
52363         * math/e_atan2l.c: Likewise.
52364         * math/e_atanhl.c: Likewise.
52365         * math/e_coshl.c: Likewise.
52366         * math/e_exp10.c: Likewise.
52367         * math/e_exp10f.c: Likewise.
52368         * math/e_exp10l.c: Likewise.
52369         * math/e_exp2l.c: Likewise.
52370         * math/e_fmodl.c: Likewise.
52371         * math/e_gammal_r.c: Likewise.
52372         * math/e_hypotl.c: Likewise.
52373         * math/e_j0l.c: Likewise.
52374         * math/e_j1l.c: Likewise.
52375         * math/e_jnl.c: Likewise.
52376         * math/e_lgammal_r.c: Likewise.
52377         * math/e_log10l.c: Likewise.
52378         * math/e_log2l.c: Likewise.
52379         * math/e_logl.c: Likewise.
52380         * math/e_powl.c: Likewise.
52381         * math/e_sinhl.c: Likewise.
52382         * math/e_sqrtl.c: Likewise.
52383         * math/e_scalb.c: Completely rewritten and optimized.
52384         * math/e_scalbf.c: Likewise.
52385         * math/e_scalbl.c: Likewise.
52386         * math/w_acos.c: Likewise.
52387         * math/w_acosf.c: Likewise.
52388         * math/w_acosl.c: Likewise.
52389         * math/w_acosh.c: Likewise.
52390         * math/w_acoshf.c: Likewise.
52391         * math/w_acoshl.c: Likewise.
52392         * math/w_asin.c: Likewise.
52393         * math/w_asinf.c: Likewise.
52394         * math/w_asinl.c: Likewise.
52395         * math/w_atan2.c: Likewise.
52396         * math/w_atan2f.c: Likewise.
52397         * math/w_atan2l.c: Likewise.
52398         * math/w_atanh.c: Likewise.
52399         * math/w_atanhf.c: Likewise.
52400         * math/w_atanhl.c: Likewise.
52401         * math/w_exp10.c: Likewise.
52402         * math/w_exp10f.c: Likewise.
52403         * math/w_exp10l.c: Likewise.
52404         * math/w_fmod.c: Likewise.
52405         * math/w_fmodf.c: Likewise.
52406         * math/w_fmodl.c: Likewise.
52407         * math/w_j0.c: Likewise.
52408         * math/w_j0f.c: Likewise.
52409         * math/w_j0l.c: Likewise.
52410         * math/w_j1.c: Likewise.
52411         * math/w_j1f.c: Likewise.
52412         * math/w_j1l.c: Likewise.
52413         * math/w_jn.c: Likewise.
52414         * math/w_jnf.c: Likewise.
52415         * math/w_log.c: Likewise.
52416         * math/w_logf.c: Likewise.
52417         * math/w_logl.c: Likewise.
52418         * math/w_log10.c: Likewise.
52419         * math/w_log10f.c: Likewise.
52420         * math/w_log10l.c: Likewise.
52421         * math/w_log2.c: Likewise.
52422         * math/w_log2f.c: Likewise.
52423         * math/w_log2l.c: Likewise.
52424         * math/w_pow.c: Likewise.
52425         * math/w_powf.c: Likewise.
52426         * math/w_powl.c: Likewise.
52427         * math/w_remainder.c: Likewise.
52428         * math/w_remainderf.c: Likewise.
52429         * math/w_remainderl.c: Likewise.
52430         * math/w_scalb.c: Likewise.
52431         * math/w_scalbf.c: Likewise.
52432         * math/w_scalbl.c: Likewise.
52433         * math/w_sqrt.c: Likewise.
52434         * math/w_sqrtf.c: Likewise.
52435         * math/w_sqrtl.c: Likewise.
52436         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52437         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52438         used.
52439         * math/math_private.h: Declare __kernel_standard_f.
52440         * math/w_cosh.c: Remove cruft and optimize a bit.
52441         * math/w_coshf.c: Likewise.
52442         * math/w_coshl.c: Likewise.
52443         * math/w_exp2.c: Likewise.
52444         * math/w_exp2f.c: Likewise.
52445         * math/w_exp2l.c: Likewise.
52446         * math/w_hypot.c: Likewise.
52447         * math/w_hypotf.c: Likewise.
52448         * math/w_hypotl.c: Likewise.
52449         * math/w_lgamma.c: Likewise.
52450         * math/w_lgamma_r.c: Likewise.
52451         * math/w_lgammaf.c: Likewise.
52452         * math/w_lgammaf_r.c: Likewise.
52453         * math/w_lgammal.c: Likewise.
52454         * math/w_lgammal_r.c: Likewise.
52455         * math/w_sinh.c: Likewise.
52456         * math/w_sinhf.c: Likewise.
52457         * math/w_sinhl.c: Likewise.
52458         * math/w_tgamma.c: Likewise.
52459         * math/w_tgammaf.c: Likewise.
52460         * math/w_tgammal.c: Likewise.
52461         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52462         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52463         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52464         Minor optimizations.  Pretty printing.  Remove cruft.
52465         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52467         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52468         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52469         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52470         * sysdeps/i386/fpu/e_asin.S: Likewise.
52471         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52472         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52473         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52474         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52475         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52476         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52477         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52478         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52479         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52480         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52481         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52482         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52483         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52484         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52485         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52486         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52487         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52488         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52489         * sysdeps/i386/fpu/e_log.S: Likewise.
52490         * sysdeps/i386/fpu/e_log10.S: Likewise.
52491         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52492         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52493         * sysdeps/i386/fpu/e_log2.S: Likewise.
52494         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52495         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52496         * sysdeps/i386/fpu/e_logf.S: Likewise.
52497         * sysdeps/i386/fpu/e_logl.S: Likewise.
52498         * sysdeps/i386/fpu/e_pow.S: Likewise.
52499         * sysdeps/i386/fpu/e_powf.S: Likewise.
52500         * sysdeps/i386/fpu/e_powl.S: Likewise.
52501         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52502         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52503         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52504         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52505         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52506         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52507         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52508         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52509         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52510         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52511         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52512         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52513         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52514         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52515         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52516         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52517         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52518         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52519         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52520         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52521         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52522         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52523         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52524         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52526         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52527         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52530         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52531         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52532         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52533         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52534         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52535         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52536         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52537         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52538         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52539         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52540         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52541         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52542         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52543         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52544         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52545         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52546         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52547         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52548         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52549         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52550         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52551         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52552         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52553         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52554         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52555         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52556         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52557         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52558         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52559         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52560         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52561         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52562         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52563         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52564         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52565         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52566         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52567         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52568         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52570         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52572         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52573         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52574         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52575         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52576         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52577         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52578         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52579         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52580         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52581         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52582         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52583         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52584         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52585         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52586         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52589         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52590         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52591         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52592         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52593         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52594         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52595         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52596         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52597         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52598         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52599         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52600         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52601         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52602         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52603         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52604         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52605         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52606         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52607         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52608         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52609         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52610         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52611         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52612         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52613         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52614         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52615         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52616         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52617         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52618         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52619         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52620         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
52621         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52622         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52623         (__isnanf): Likewise.
52624         (__isinf_ns): Likewise.
52625         (__isinf_nsf): Likewise.
52626         (__finite): Likewise.
52627         (__finitef): Likewise.
52628         (__ieee754_sqrt): Define as macro.
52629         (__ieee754_sqrtf): Define as macro.
52630         (__ieee754_sqrtl): Define as macro.
52631         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52632         inlined copy.
52633         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52634         __FINITE_MATH_ONLY__ consistent.
52635         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52637 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
52639         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52640         of rawmemchr.
52642         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52644 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
52646         * po/ja.po: Update from translation team.
52648 2011-10-08  Roland McGrath  <roland@hack.frob.com>
52650         * locale/programs/locarchive.c (prepare_address_space): New function.
52651         (create_archive, enlarge_archive, open_archive): Use it.
52653         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52654         inside [SHARED], where it is used.
52656         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52658         * nss/getent.c (netgroup_keys): Remove unused variable.
52659         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52661 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
52663         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52664         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52665         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52666         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52667         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52668         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52669         * math/Makefile (libm-calls): Add s_isinf_ns.
52670         * math/divtc3.c: Use __isinf_nsl instead of isinf.
52671         * math/multc3.c: Likewise.
52672         * math/s_casin.c: Likewise.
52673         * math/s_casinf.c: Likewise.
52674         * math/s_casinl.c: Likewise.
52675         * math/s_ccos.c: Likewise.
52676         * math/s_ccosf.c: Likewise.
52677         * math/s_ccosl.c: Likewise.
52678         * math/s_ctan.c: Likewise.
52679         * math/s_ctanf.c: Likewise.
52680         * math/s_ctanh.c: Likewise.
52681         * math/s_ctanhf.c: Likewise.
52682         * math/s_ctanhl.c: Likewise.
52683         * math/s_ctanl.c: Likewise.
52684         * math/w_fmod.c: Likewise.
52685         * math/w_fmodf.c: Likewise.
52686         * math/w_fmodl.c: Likewise.
52687         * math/w_remainder.c: Likewise.
52688         * math/w_remainderf.c: Likewise.
52689         * math/w_remainderl.c: Likewise.
52690         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52691         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52692         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52694         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52695         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52696         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52697         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52699         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52700         of the number.
52701         * stdio-common/printf_fphex.c: Likewise.
52702         * stdio-common/printf_size.c: Likewise.
52704         * math/e_exp10.c: Include math_private.h using <...> not "...".
52705         * math/e_exp10f.c: Likewise.
52706         * math/e_exp10l.c: Likewise.
52707         * math/e_exp2l.c: Likewise.
52708         * math/e_j0l.c: Likewise.
52709         * math/e_j1l.c: Likewise.
52710         * math/e_jnl.c: Likewise.
52711         * math/e_lgammal_r.c: Likewise.
52712         * math/e_rem_pio2l.c: Likewise.
52713         * math/e_scalb.c: Likewise.
52714         * math/e_scalbf.c: Likewise.
52715         * math/e_scalbl.c: Likewise.
52716         * math/k_cosl.c: Likewise.
52717         * math/k_sinl.c: Likewise.
52718         * math/k_tanl.c: Likewise.
52719         * math/s_cacoshf.c: Likewise.
52720         * math/s_catan.c: Likewise.
52721         * math/s_catanf.c: Likewise.
52722         * math/s_catanh.c: Likewise.
52723         * math/s_catanhf.c: Likewise.
52724         * math/s_catanhl.c: Likewise.
52725         * math/s_catanl.c: Likewise.
52726         * math/s_ccosh.c: Likewise.
52727         * math/s_ccoshf.c: Likewise.
52728         * math/s_ccoshl.c: Likewise.
52729         * math/s_cexp.c: Likewise.
52730         * math/s_cexpf.c: Likewise.
52731         * math/s_cexpl.c: Likewise.
52732         * math/s_clog.c: Likewise.
52733         * math/s_clog10.c: Likewise.
52734         * math/s_clog10f.c: Likewise.
52735         * math/s_clog10l.c: Likewise.
52736         * math/s_clogf.c: Likewise.
52737         * math/s_clogl.c: Likewise.
52738         * math/s_csin.c: Likewise.
52739         * math/s_csinf.c: Likewise.
52740         * math/s_csinh.c: Likewise.
52741         * math/s_csinhf.c: Likewise.
52742         * math/s_csinhl.c: Likewise.
52743         * math/s_csinl.c: Likewise.
52744         * math/s_csqrt.c: Likewise.
52745         * math/s_csqrtf.c: Likewise.
52746         * math/s_csqrtl.c: Likewise.
52747         * math/s_ctan.c: Likewise.
52748         * math/s_ctanf.c: Likewise.
52749         * math/s_ctanh.c: Likewise.
52750         * math/s_ctanhf.c: Likewise.
52751         * math/s_ctanhl.c: Likewise.
52752         * math/s_ctanl.c: Likewise.
52753         * math/s_ldexp.c: Likewise.
52754         * math/s_ldexpf.c: Likewise.
52755         * math/s_ldexpl.c: Likewise.
52756         * math/s_significand.c: Likewise.
52757         * math/s_significandf.c: Likewise.
52758         * math/s_significandl.c: Likewise.
52759         * math/w_acos.c: Likewise.
52760         * math/w_acosf.c: Likewise.
52761         * math/w_acosh.c: Likewise.
52762         * math/w_acoshf.c: Likewise.
52763         * math/w_acoshl.c: Likewise.
52764         * math/w_acosl.c: Likewise.
52765         * math/w_asin.c: Likewise.
52766         * math/w_asinf.c: Likewise.
52767         * math/w_asinl.c: Likewise.
52768         * math/w_atan2.c: Likewise.
52769         * math/w_atan2f.c: Likewise.
52770         * math/w_atan2l.c: Likewise.
52771         * math/w_atanh.c: Likewise.
52772         * math/w_atanhf.c: Likewise.
52773         * math/w_atanhl.c: Likewise.
52774         * math/w_cosh.c: Likewise.
52775         * math/w_coshf.c: Likewise.
52776         * math/w_coshl.c: Likewise.
52777         * math/w_dremf.c: Likewise.
52778         * math/w_exp10.c: Likewise.
52779         * math/w_exp10f.c: Likewise.
52780         * math/w_exp10l.c: Likewise.
52781         * math/w_exp2.c: Likewise.
52782         * math/w_exp2f.c: Likewise.
52783         * math/w_fmod.c: Likewise.
52784         * math/w_fmodf.c: Likewise.
52785         * math/w_fmodl.c: Likewise.
52786         * math/w_hypot.c: Likewise.
52787         * math/w_hypotf.c: Likewise.
52788         * math/w_hypotl.c: Likewise.
52789         * math/w_j0.c: Likewise.
52790         * math/w_j0f.c: Likewise.
52791         * math/w_j0l.c: Likewise.
52792         * math/w_j1.c: Likewise.
52793         * math/w_j1f.c: Likewise.
52794         * math/w_j1l.c: Likewise.
52795         * math/w_jn.c: Likewise.
52796         * math/w_jnf.c: Likewise.
52797         * math/w_jnl.c: Likewise.
52798         * math/w_lgamma.c: Likewise.
52799         * math/w_lgamma_r.c: Likewise.
52800         * math/w_lgammaf.c: Likewise.
52801         * math/w_lgammaf_r.c: Likewise.
52802         * math/w_lgammal.c: Likewise.
52803         * math/w_lgammal_r.c: Likewise.
52804         * math/w_log.c: Likewise.
52805         * math/w_log10.c: Likewise.
52806         * math/w_log10f.c: Likewise.
52807         * math/w_log10l.c: Likewise.
52808         * math/w_log2.c: Likewise.
52809         * math/w_log2f.c: Likewise.
52810         * math/w_log2l.c: Likewise.
52811         * math/w_logf.c: Likewise.
52812         * math/w_logl.c: Likewise.
52813         * math/w_pow.c: Likewise.
52814         * math/w_powf.c: Likewise.
52815         * math/w_powl.c: Likewise.
52816         * math/w_remainder.c: Likewise.
52817         * math/w_remainderf.c: Likewise.
52818         * math/w_remainderl.c: Likewise.
52819         * math/w_scalb.c: Likewise.
52820         * math/w_scalbf.c: Likewise.
52821         * math/w_scalbl.c: Likewise.
52822         * math/w_sinh.c: Likewise.
52823         * math/w_sinhf.c: Likewise.
52824         * math/w_sinhl.c: Likewise.
52825         * math/w_sqrt.c: Likewise.
52826         * math/w_sqrtf.c: Likewise.
52827         * math/w_sqrtl.c: Likewise.
52828         * math/w_tgamma.c: Likewise.
52829         * math/w_tgammaf.c: Likewise.
52830         * math/w_tgammal.c: Likewise.
52832         * po/ja.po: Update from translation team.
52834 2011-09-29  Andreas Jaeger  <aj@suse.de>
52836         [BZ #13179]
52837         * sunrpc/netname.c (netname2host): Fix logic.
52839         [BZ #6779]
52840         [BZ #6783]
52841         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52842         correctly.
52843         * math/w_remainder.c (__remainder): Likewise.
52844         * math/w_remainderf.c (__remainderf): Likewise.
52845         * math/libm-test.inc (remainder_test): Add test cases.
52847 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52849         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52850         sdiv_qrnnd.
52852 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52854         * string/test-memcmp.c: Avoid unncessary #defines.
52855         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52857 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52859         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52860         Use new sse2 version for core i3 - i7 as it's faster
52861         than sse42 version.
52862         (bit_Prefer_PMINUB_for_stringop): New.
52863         * sysdeps/x86_64/rawmemchr.S: Update.
52864         Replace with faster SSE2 version.
52865         * sysdeps/x86_64/memrchr.S: New file.
52866         * sysdeps/x86_64/memchr.S: Update.
52867         Replace with faster SSE2 version.
52869 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52871         * elf/dl-load.c (lose): Add cast to avoid warning.
52873 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52875         * po/ca.po: Update from translation team.
52877         * inet/getnetgrent_r.c: Hook up nscd.
52878         * nscd/Makefile (routines): Add nscd_netgroup.
52879         (nscd-modules): Add netgroupcache.
52880         (CFLAGS-netgroupcache.c): Define.
52881         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52882         (cache_search): Add const to second parameter.
52883         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52884         INNETGR.
52885         (dbs): Add netgrdb entry.
52886         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52887         (verify_persistent_db): Handle netgrdb.
52888         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52889         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52890         GETFDNETGR.
52891         (netgroup_response_header): Define.
52892         (innetgroup_response_header): Define.
52893         (datahead): Add netgroup_response_header and innetgroup_response_header
52894         elements.
52895         * nscd/nscd.conf: Add entries for netgroup cache.
52896         * nscd/nscd.h (dbtype): Add netgrdb.
52897         (_PATH_NSCD_NETGROUP_DB): Define.
52898         (netgroup_iov_disabled): Declare.
52899         (xmalloc, xcalloc, xrealloc): Move declarations here.
52900         (cache_search): Adjust prototype.
52901         Add netgroup-related prototypes.
52902         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52903         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52904         (__nscd_innetgr): Declare.
52905         * nscd/selinux.c (perms): Use access_vector_t as element type and
52906         add netgroup-related initializers.
52907         * nscd/netgroupcache.c: New file.
52908         * nscd/nscd_netgroup.c: New file.
52909         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52910         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52911         For four parameters use innetgr.
52912         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52913         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52914         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52915         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52917         * nscd/connections.c (register_traced_file): Don't register file
52918         for disabled databases.
52920 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52922         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52924         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52925         from tree and freeing node.
52927 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52929         * nss/nsswitch.c (__nss_database_lookup): Handle
52930         nss_parse_service_list out of memory case.
52932 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52934         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52935         out of memory case.
52937 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52939         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52940         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52941         pass it down.
52942         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52943         elf_machine_rela, elf_machine_lazy_rel.
52944         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52945         (ELF_DYNAMIC_DO_REL): Likewise.
52946         (ELF_DYNAMIC_DO_RELA): Likewise.
52947         (ELF_DYNAMIC_RELOCATE): Likewise.
52948         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52949         to ELF_DYNAMIC_DO_REL.
52950         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52951         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52952         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52953         elf_machine_rela.
52954         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52955         skip_ifunc, don't call ifunc function if non-zero.
52956         (elf_machine_rela): Likewise.
52957         (elf_machine_lazy_rel): Likewise.
52958         (elf_machine_lazy_rela): Likewise.
52959         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52960         (elf_machine_lazy_rel): Likewise.
52961         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52962         Likewise.
52963         (elf_machine_lazy_rel): Likewise.
52964         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52965         Likewise.
52966         (elf_machine_lazy_rel): Likewise.
52967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52968         (elf_machine_lazy_rel): Likewise.
52969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52970         (elf_machine_lazy_rel): Likewise.
52971         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52972         (elf_machine_lazy_rel): Likewise.
52973         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52974         (elf_machine_lazy_rel): Likewise.
52975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52976         (elf_machine_lazy_rel): Likewise.
52977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52978         (elf_machine_lazy_rel): Likewise.
52980 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52982         * nss/nss_files/files-init.c (_nss_files_init): Use static
52983         initialization for all the *_traced_file variables.
52985 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52987         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52989 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52991         [BZ #13226]
52992         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52994 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52996         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52997         Reread the line before reparsing it.
52999 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53001         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53003 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53004             Maxim Kuvyrkov  <maxim@codesourcery.com>
53005             Joseph Myers  <joseph@codesourcery.com>
53007         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53008         if needed for __stack_chk_guard.
53010 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53012         * sysdeps/posix/spawni.c (script_execute): Always define it.
53013         It will be optimized away if unused.
53014         (maybe_script_execute): New function.
53015         (__spawni): Call it.
53017         * Makerules: Don't include tls.make.
53018         (config-tls): Always set to thread.
53019         * tls.make.c: File removed.
53021 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53023         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53024         * config.make.in (CPPFLAGS-config): New substituted variable.
53026 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53028         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53030         [BZ #13192]
53031         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53032         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53034 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53036         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53037         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53039         (CALL_FAIL): Likewise.
53040         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53041         (CALL_FAIL): Macro removed.
53042         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53044 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53046         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53047         for __FINITE_MATH_ONLY__ == 1.
53049 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53051         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53052         __ieee754_sqrt instead of sqrt.
53053         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53054         __ieee754_sqrtf instead of sqrtf.
53055         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53056         __floorf instead of floorf.
53057         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53058         __floorf, __truncf instead of floorf, truncf.
53060 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53062         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53064         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53065         __extern_always_inline.
53066         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53067         32-bit.
53069 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53071         * elf/rtld.c (dl_main): Also relocate in dependency order when
53072         doing symbol dependency testing.
53074 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53076         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53077         Always define `refsym'.
53079 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53081         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53082         (__FD_ELT): Renamed from __FDELT.
53083         * misc/bits/select2.h (__FD_ELT): Likewise.
53084         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53085         __FD_MASK instead of __FDELT, __FDMASK.
53086         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53087         Likewise.
53088         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53089         Likewise.
53091         * elf/Makefile (gen-ldd): Fix pattern.
53093         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53094         (init_tls): Likewise.
53096 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53100 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53102         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53103         `struct cmsghdr *' instead of `void *'.
53104         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53105         Likewise.
53107 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53109         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53110         if non-absolute.
53111         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53112         ldd_rewrite_script.
53114 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53116         * configure.in: Remove --with-tls option.
53117         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53118         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53119         out in case it is missing.
53120         * sysdeps/ia64/elf/configure.in: Likewise.
53121         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53122         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53123         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53124         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53125         * sysdeps/sh/elf/configure.in: Likewise.
53126         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53127         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53128         * sysdeps/x86_64/elf/configure.in: Likewise.
53129         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53130         * sysdeps/mach/hurd/tls.h: Likewise.
53132         [BZ #13067]
53133         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53135         [BZ #13090]
53136         * configure.in: Fix use of AC_INIT.
53138         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53140 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53142         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53143         __set_errno.
53144         * malloc/hooks.c: Likewise.
53146         [BZ #11929]
53147         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53148         variables statically.
53149         (narenas): Initialize.
53150         (list_lock): Initialize.
53151         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53152         initializtion of main_arena and list_lock.  Small cleanups.
53153         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53154         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53155         Add initializers to main_arena and mp_.
53156         (malloc_state): Remove pagesize member.  Change all users to use
53157         GLRO(dl_pagesize).
53159         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53160         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53161         is always initialized.
53163         * malloc/malloc.c: Removed unused configurations and dead code.
53164         * malloc/arena.c: Likewise.
53165         * malloc/hooks.c: Likewise.
53166         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53168         * include/tls.h: Removed.  USE___THREAD must always be defined.
53169         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53170         * elf/dl-libc.c: Likewise.
53171         * elf/dl-tsd.c: Likewise.
53172         * include/errno.h: Likewise.
53173         * include/netdb.h: Likewise.
53174         * include/resolv.h: Likewise.
53175         * inet/herrno-loc.c: Likewise.
53176         * inet/herrno.c: Likewise.
53177         * malloc/arena.c: Likewise.
53178         * malloc/hooks.c: Likewise.
53179         * malloc/malloc.c: Likewise.
53180         * resolv/res-state.c: Likewise.
53181         * resolv/res_libc.c: Likewise.
53182         * sysdeps/i386/dl-machine.h: Likewise.
53183         * sysdeps/ia64/dl-machine.h: Likewise.
53184         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53185         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53186         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53187         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53188         * sysdeps/sh/dl-machine.h: Likewise.
53189         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53190         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53191         * sysdeps/unix/i386/sysdep.S: Likewise.
53192         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53193         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53195         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53197         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53198         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53199         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53202         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53203         * sysdeps/x86_64/dl-machine.h: Likewise.
53204         * tls.make.c: Likewise.
53206         * configure.in: Remove --with-__thread option.  Make tests for
53207         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53208         tls_model attribute fail if no support is available.  Remove
53209         USE_IN_LIBIO.
53210         * Makeconfig: Adjust for dropped configure option.  All features are
53211         now mandatory.
53212         * Makerules: Likewise.
53213         * Versions.def: Likewise.
53214         * argp/argp-fmtstream.c: Likewise.
53215         * argp/argp-fmtstream.h: Likewise.
53216         * argp/argp-help.c: Likewise.
53217         * assert/assert.c: Likewise.
53218         * config.h.in: Likewise.
53219         * config.make.in: Likewise.
53220         * configure: Likewise.
53221         * configure.in: Likewise.
53222         * csu/Versions: Likewise.
53223         * csu/init.c: Likewise.
53224         * elf/tst-audit2.c: Likewise.
53225         * elf/tst-tls10.c: Likewise.
53226         * elf/tst-tls10.h: Likewise.
53227         * elf/tst-tls11.c: Likewise.
53228         * elf/tst-tls12.c: Likewise.
53229         * elf/tst-tls14.c: Likewise.
53230         * elf/tst-tlsmod11.c: Likewise.
53231         * elf/tst-tlsmod12.c: Likewise.
53232         * elf/tst-tlsmod13.c: Likewise.
53233         * elf/tst-tlsmod13a.c: Likewise.
53234         * elf/tst-tlsmod14a.c: Likewise.
53235         * elf/tst-tlsmod15b.c: Likewise.
53236         * elf/tst-tlsmod16a.c: Likewise.
53237         * elf/tst-tlsmod16b.c: Likewise.
53238         * elf/tst-tlsmod7.c: Likewise.
53239         * elf/tst-tlsmod8.c: Likewise.
53240         * elf/tst-tlsmod9.c: Likewise.
53241         * gmon/gmon.c: Likewise.
53242         * grp/fgetgrent_r.c: Likewise.
53243         * grp/putgrent.c: Likewise.
53244         * hurd/fopenport.c: Likewise.
53245         * include/libc-symbols.h: Likewise.
53246         * include/tls.h: Likewise.
53247         * intl/gettextP.h: Likewise.
53248         * intl/loadinfo.h: Likewise.
53249         * locale/global-locale.c: Likewise.
53250         * locale/localeinfo.h: Likewise.
53251         * mach/devstream.c: Likewise.
53252         * malloc/arena.c: Likewise.
53253         * malloc/set-freeres.c: Likewise.
53254         * misc/err.c: Likewise.
53255         * misc/getttyent.c: Likewise.
53256         * misc/mntent_r.c: Likewise.
53257         * posix/getopt.c: Likewise.
53258         * posix/wordexp.c: Likewise.
53259         * pwd/fgetpwent_r.c: Likewise.
53260         * resolv/Versions: Likewise.
53261         * resolv/res_hconf.c: Likewise.
53262         * shadow/fgetspent_r.c: Likewise.
53263         * shadow/putspent.c: Likewise.
53264         * stdio-common/printf_fphex.c: Likewise.
53265         * stdio-common/tmpfile.c: Likewise.
53266         * stdlib/abort.c: Likewise.
53267         * stdlib/fmtmsg.c: Likewise.
53268         * sunrpc/auth_unix.c: Likewise.
53269         * sunrpc/clnt_perr.c: Likewise.
53270         * sunrpc/clnt_tcp.c: Likewise.
53271         * sunrpc/clnt_udp.c: Likewise.
53272         * sunrpc/clnt_unix.c: Likewise.
53273         * sunrpc/openchild.c: Likewise.
53274         * sunrpc/svc_simple.c: Likewise.
53275         * sunrpc/svc_tcp.c: Likewise.
53276         * sunrpc/svc_udp.c: Likewise.
53277         * sunrpc/svc_unix.c: Likewise.
53278         * sunrpc/xdr.c: Likewise.
53279         * sunrpc/xdr_array.c: Likewise.
53280         * sunrpc/xdr_rec.c: Likewise.
53281         * sunrpc/xdr_ref.c: Likewise.
53282         * sunrpc/xdr_stdio.c: Likewise.
53284 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53286         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53288 2011-07-03  Andreas Jaeger  <aj@suse.de>
53290         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53291         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53292         regenerate with gen-libm-tests.pl.
53294 2010-05-12  Petr Baudis  <pasky@suse.cz>
53296         [BZ #11589]
53297         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53298         around j0() zero points by switching to j1().
53299         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53300         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53304 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53306         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53307         instead of 0.
53308         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53309         instead of 0.
53310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53311         Patch in part by Pavel Roskin <proski@gnu.org>.
53313         [BZ #13138]
53314         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53315         realloc.
53316         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53317         Free memory block if necessary.
53319         [BZ #12847]
53320         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53321         be NULL.  Don't lock in this case.
53323 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53325         * elf/elf.h (ELFOSABI_GNU): New macro.
53326         (ELFOSABI_LINUX): Define to that.
53328 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53330         * string/strncat.c (strncat): Undef the symbol in case it has been
53331         defined in bits/string.h.
53333 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53335         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53337         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53338         link map.
53340 2011-08-17  Andreas Jaeger  <aj@suse.de>
53342         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53344 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53345             Ian Lance Taylor  <iant@google.com>
53347         * math/libm-test.inc (lround_test): New testcase.
53348         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53350 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53352         * Makefile: Remove support for automatic cvs check-ins.
53353         * Makerules: Likewise.
53354         * config.make.in: Likewise.
53355         * configure.in: Likewise.
53356         * intl/Makefile: Likewise.
53357         * locale/Makefile: Likewise.
53358         * po/Makefile: Likewise.
53359         * posix/Makefile: Likewise.
53360         * sysdeps/gnu/Makefile: Likewise.
53361         * sysdeps/mach/hurd/Makefile: Likewise.
53362         * sysdeps/sparc/sparc32/Makefile: Likewise.
53364         [BZ #13118]
53365         * posix/Makefile (bug-regex32-ENV): Define.
53366         Patch by John Stanley <jpsinthemix@verizon.net>.
53368         * misc/Makefile (headers): Add bits/select2.h.
53369         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53370         * misc/bits/select2.h: New file.
53371         * include/bits/select2.h: New file.
53372         * debug/Makefile (routines): Add fdelt_chk.
53373         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53374         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53375         FD_ISSET.
53376         * debug/fdelt_chk.c: New file.
53378         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53379         * wcsmbs/test-wmemcmp.c: Likewise.
53380         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53381         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53383 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53385         * string/Makefile (strop-tests): Add memcmp.
53386         * string/test-wmemcmp.c: New file.
53387         * string/test-memcmp.c: Add wmemcmp support.
53389 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53391         [BZ #13153]
53392         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53393         2011-07-19 change.
53395         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53396         garbage value in a __mach_port_mod_refs call in the cases of the
53397         task-self and thread-self ports.
53399 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53401         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53403 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53405         * elf/dl-load.c (lose): Check for non-null L.
53407 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53409         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53411         * elf/dl-libc.c (dlerror_run): Pass back error code from
53412         dl_catch_error.
53414         [BZ #13123]
53415         * elf/dl-load.c (lose): Free l_origin if it is valid.
53417         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53418         names.
53419         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53420         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53421         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53422         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53423         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53424         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53426 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53428         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53429         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53430         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53431         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53432         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53433         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53434         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53435         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53436         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53437         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53439 2011-08-15  Alan Modra  <amodra@gmail.com>
53441         [BZ #13092]
53442         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53443         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53444         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53445         ppc_mcount to static-only-routines.
53446         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53447         __mcount_internal.
53448         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53449         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53451 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53453         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53454         for finite and infinity parameters.
53456 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53458         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53459         and add nop instructions for throughput optimization.
53460         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53462 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53464         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53465         aligned copy for power7 with vector-scalar instructions.
53466         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53468 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53471         AVX check.
53473 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53475         [BZ #13144]
53476         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53477         last change.
53479 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53481         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53482         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53483         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53485         clock_gettime.
53487 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53489         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53490         Forgot to demangle the pointer.
53492         * sysdeps/i386/sysdep.h: Define atom_text_section.
53493         * sysdeps/x86_64/sysdep.h: Likewise.
53494         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53495         section with atom_text_section.
53496         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53497         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53498         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53499         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53500         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53502         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53503         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53504         already be defined.  Change to take two parameters and don't assign
53505         result to variable.  Adjust all users.
53506         Define INTERNAL_GETTIME if not already defined.
53507         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53508         call.
53509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53510         HAVE_CLOCK_GETTIME_VSYSCALL.
53511         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53514         gettimeofday vsyscall, just use time.
53516 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53518         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53519         <errno.h>.
53521 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53523         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53524         syscall on x86-64.
53525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53526         syscall.
53527         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53528         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53529         syscall if possible.
53531 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53533         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53534         e_ident.  Don't pass to find_mapsXX.
53535         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53537 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53540         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53541         * sysdeps/x86_64/multiarch/strchr.S: Update.
53542         Check bit_slow_BSF bit.
53543         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53544         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53545         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53547 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53549         [BZ #13134]
53550         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53551         before glibc 2.15.
53552         (tryshell): Define.
53553         (__spawni): Change last parameter to be flag.  Test
53554         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53555         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53556         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53557         * posix/spawni.c: Likewise.
53558         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53559         * posix/spawnp.c: Likewise.  Change normal version to use
53560         SPAWN_XFLAGS_USE_PATH.
53561         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53562         SPAWN_XFLAGS_TRY_SHELL.
53564         [BZ #13150]
53565         * posix/glob.h: Remove gcc 1.x support.
53567         [BZ #13068]
53568         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53570 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53572         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53573         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53574         strrchr-sse2-bsf
53575         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53576         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53577         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53578         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53579         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53580         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53582 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53584         * sysdeps/x86_64/wcscmp.S: New file.
53586         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53587         wcscmp-c wcscmp-sse2
53588         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53589         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53590         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53591         * wcsmbs/wcscmp.c: Allow renaming.
53593 2011-09-05  David S. Miller  <davem@davemloft.net>
53595         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53596         stack slot, rather than the struct return pointer slot.
53597         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53598         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53600         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53602 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53604         * po/ja.po: Update from translation team.
53606         [BZ #13144]
53607         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53608         kernel in 64-bit binaries.
53610 2011-09-01  David S. Miller  <davem@davemloft.net>
53612         * elf/elf.h (HWCAP_SPARC_*): Move to..
53613         * sysdeps/sparc/sysdep.h: this new file and add new values.
53614         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53615         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53616         _DL_HWCAP_COUNT to 24.
53617         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53618         entries.
53619         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53620         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53621         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53623         instead of magic constants.
53624         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53626 2011-08-31  David S. Miller  <davem@davemloft.net>
53628         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53630         Reimplement to do errno handling inline.
53631         (SYSCALL_ERROR_HANDLER): New macro.
53632         (__SYSCALL_STRING): Do not do errno handling in asm.
53633         (__CLONE_SYSCALL_STRING): Delete.
53634         (__INTERNAL_SYSCALL_STRING): Delete.
53635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53636         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53637         (PSEUDO): Reimplement to do errno handling inline.
53638         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53639         (SYSCALL_ERROR_HANDLER): New macro.
53640         (__SYSCALL_STRING): Do not do errno handling in asm.
53641         (__CLONE_SYSCALL_STRING): Delete.
53642         (__INTERNAL_SYSCALL_STRING): Delete.
53643         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53644         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53645         i386.
53646         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53647         (inline_syscall*): Add 'err' argument.
53648         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53649         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53650         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53651         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53653         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53654         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53656 2011-08-30  Andreas Schwab  <schwab@redhat.com>
53658         * elf/rtld.c (dl_main): Relocate objects in dependency order.
53660 2011-08-29  Jiri Olsa <jolsa@redhat.com>
53662         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53663         directive.
53665 2011-08-24  David S. Miller  <davem@davemloft.net>
53667         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53669 2011-08-24  Andreas Schwab  <schwab@redhat.com>
53671         * elf/Makefile: Add rules to build and run unload8 test.
53672         * elf/unload8.c: New file.
53673         * elf/unload8mod1.c: New file.
53674         * elf/unload8mod1x.c: New file.
53675         * elf/unload8mod2.c: New file.
53676         * elf/unload8mod3.c: New file.
53678         * elf/dl-close.c (_dl_close_worker): Reset private search list if
53679         it wasn't used.
53681 2011-08-23  David S. Miller  <davem@davemloft.net>
53683         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53684         subtract stack bias.
53685         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53686         %sp not %fp in calculations.
53687         (_JMPBUF_UNWINDS_ADJ): Likewise.
53689         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53690         (aio_suspend): Call it to force an exception region around the
53691         AIO_MISC_WAIT() invocation.
53693 2011-08-23  Andreas Schwab  <schwab@redhat.com>
53695         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53696         backslash.
53698 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
53700         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53701         protection macro.
53702         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53703         and <dl-machine.h>.
53704         (Elf64_FuncDesc): Remove.
53706 2011-08-22  David S. Miller  <davem@davemloft.net>
53708         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53709         sigaltstack check, add missing cfi directives.
53710         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53711         missing cfi directives, and sigaltstack handling.
53713 2011-08-16  Andreas Schwab  <schwab@redhat.com>
53715         [BZ #11724]
53716         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53717         object is seen twice.
53718         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53720         * elf/Makefile (distribute): Add tst-initorder2.c.
53721         (tests): Add tst-initorder2.
53722         (modules-names): Add tst-initorder2a tst-initorder2b
53723         tst-initorder2c tst-initorder2d.  Add rules to build them.
53724         ($(objpfx)tst-initorder2.out): New rule.
53725         * elf/tst-initorder2.c: New file.
53726         * elf/tst-initorder2.exp: New file.
53728 2011-08-22  Andreas Schwab  <schwab@redhat.com>
53730         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53732         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53733         dependencies back to end of function.
53735         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53736         $(elfobjdir)/ld.so.
53738 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
53740         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53741         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53743         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53744         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53745         of __vdso_gettimeofday.
53746         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53747         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
53748         attribute_hidden.
53749         (_libc_vdso_platform_setup): Remove initialization of
53750         __vdso_gettimeofday and __vdso_time.
53752 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53754         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53755         and fgetc_unlocked.
53756         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53757         getc_unlocked.
53759         * elf/dl-open.c (add_to_global): Report additions to the global scope
53760         for LD_DEBUG=scopes.
53761         (dl_open_worker): Also print scope of newly loaded dependencies.
53762         (_dl_show_scope): Indicate if there is no scope.
53764         [BZ #13114]
53765         * stdio-common/Makefile (tests): Add bug24.
53766         * stdio-common/bug24.c: New file.
53768 2011-08-19  Andreas Jaeger  <aj@suse.de>
53770         [BZ #13114]
53771         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53772         non-existant file when using close-on-exec mode.
53774 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53777         the very first instruction.
53779         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53780         the CFI state in the end.
53781         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53782         inclusion of dl-trampoline.h.
53783         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53785 2011-08-19  Andreas Schwab  <schwab@redhat.com>
53787         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53788         expectations for long double.
53790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53791         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53793 2011-08-14  David S. Miller  <davem@davemloft.net>
53795         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53796         artificual limit depends upon the system page size.
53798 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53800         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53801         * resolv/Makefile: Define CFLAGS-libresolv.
53803 2011-08-17  Andreas Schwab  <schwab@redhat.com>
53805         * nss/makedb.c (compute_tables): Make variables used in nested
53806         function static.
53808 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53810         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53811         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53812         if buffer was too small.
53814         * elf/pldd.c (main): Attach to all threads in the process.
53815         Rewrite /proc handling to use *at functions.
53817 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53819         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53820         specifies first scope to show.
53821         (dl_open_worker): Update callers.  Move printing scope of new
53822         object to before the relocation.
53823         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53824         * sysdeps/generic/ldsodefs.h: Update declaration.
53826         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53827         string for the scope number.
53829 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53831         * nscd/servicescache.c (cache_addserv): Make sure written is always
53832         initialized.
53834 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53836         * sysdeps/i386/i486/bits/atomic.h
53837         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53838         statement expression, so as to suppress "set but not used" warning.
53839         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53841         * string/strncat.c (STRNCAT): Use prototype definition.
53843         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53844         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53845         -Iprograms here.
53846         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53847         (localedef-modules): Add localedef.
53848         (locale-modules): Add locale.
53850         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53851         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53852         to avoid a warning.
53854 2011-08-14  David S. Miller  <davem@davemloft.net>
53856         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53857         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53859 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53861         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53862         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53863         * elf/rtld.c (dl_main): Set l_name of vDSO.
53864         Call _dl_show_scope when DL_DEBUG_SCOPES.
53865         (process_dl_debug): Recognize scopes flag and also set it for all.
53866         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53867         Declare _dl_show_scope.
53869         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53870         (do_dlopen): Pass caller_dlopen to dl_open.
53871         (__libc_dlopen_mode): Initialize caller_dlopen.
53873         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53874         of libc.  Make tolower call locale-independent.  Optimize a bit by
53875         using isdigit instead of isalnum.
53876         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53878 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53880         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53881         was a dependency or dynamically loaded.
53883 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53885         * intl/l10nflist.c: Allow architecture-specific pop function.
53886         * sysdeps/x86_64/l10nflist.c: New file.
53888         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53889         classification.
53891 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53893         * include/dirent.h: Add libc_hidden_proto for scandirat and
53894         scandirat64.  Don't declare __scandirat64.
53895         * dirent/scandirat.c: Add libc_hidden_def.
53896         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53897         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53899 2011-08-10  David S. Miller  <davem@davemloft.net>
53901         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53902         enum.
53903         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53905         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53907 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53909         * Versions.def [libc]: Add GLIBC_2.15.
53910         * dirent/Makefile (routines): Add scandirat and scandirat64.
53911         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53912         GLIBC_2.15.
53913         * dirent/dirent.h: Declare scandirat and scandirat64.
53914         * dirent/scandirat.c: New file.
53915         * dirent/scandirat64.c: New file.
53916         * sysdeps/wordsize-64/scandirat.c: New file.
53917         * sysdeps/wordsize-64/scandirat64.c: New file.
53918         * dirent/opendir.c: Define opendirat.
53919         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53920         using scandirat.
53921         * dirent/scandir64.c: Adjust for scandir.c change.
53922         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53923         __scandirat64, and __scandir_cancel_handler.
53924         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53925         additional parameter and use openat instead of open (outside of ld.so).
53926         Add new __opendir as wrapper around __opendirat.
53927         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53928         here without requiring old scandirat implementation.
53930 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53932         * dirent/scandir.c (cancel_handler): Renamed to
53933         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53934         defined.  Adjust users.
53935         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53936         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53938 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53940         * string/test-string.h (IMPL): Use __STRING to expand name and then
53941         stringify it.
53943         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53944         of cleanups.
53946 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53948         * string/Makefile: Update.
53949         (strop-tests): Append strncat.
53950         * string/test-wcscmp.c: New file.
53951         New comprehensive test for wcscmp.
53952         * string/test-strcmp.c: Update.
53953         (WIDE): New define.
53955 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53957         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53958         line.
53960 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53963         encoding to ACE if AI_IDN.
53965 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53967         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53968         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53970 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53973         Fix overflow bug in strncat.
53974         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53976         * string/test-strncat.c: Update.
53977         Add new tests for checking overflow bugs.
53979 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53982         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53983         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53984         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53985         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53986         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53987         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53988         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53989         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53991         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53992         (USE_AS_STRCAT): Define.
53993         Add strcat and strncat support.
53994         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53996 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53998         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53999         __n bigger than INT_MAX+1.
54000         (__strncmp_g): Likewise.
54002 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54004         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54005         * libio/stido.h: Likewise.
54007         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54008         (AF_NFC): Define.
54009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54010         (AF_NFC): Define.
54012         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54013         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54014         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54015         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54016         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54018         [BZ #13021]
54019         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54020         installed.
54022         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54023         typo.
54024         (_dl_x86_64_save_sse): Likewise.
54026 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54029         OSXSAVE.
54030         (_dl_x86_64_save_sse): Likewise.
54032         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54034         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54036 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54039         change.
54040         (_dl_x86_64_save_sse): Use correct AVX check.
54042 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54044         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54045         bug in strncpy/strncat.
54046         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54048 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54050         * string/tester.c (test_strcat): Add tests for different alignments
54051         of source and destination.
54052         (test_strncat): Likewise.
54054 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54056         [BZ #12852]
54057         * posix/glob.c (glob): Check passed in values before using them in
54058         expressions to avoid some overflows.
54059         (glob_in_dir): Likewise.
54061         [BZ #13007]
54062         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54063         check for AVX enablement so that we don't crash with old kernels and
54064         new hardware.
54065         * elf/tst-audit4.c: Add same checks here.
54066         * elf/tst-audit6.c: Likewise.
54068         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54070 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54072         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54074 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54076         * po/cs.po: Update from translation team.
54077         * po/bg.po: Likewise.
54079 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54081         * misc/sys/cdefs.h: Add support for const attribute.
54082         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54083         to gnu_dev_{major,minor,makedev} functions.
54085 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54087         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54089 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54091         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54092         strlen results.
54094 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54097         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54098         register in order to avoid conflicts with the soft frame pointer
54099         being held in r11 when necessary.
54100         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54101         (INTERNAL_VSYSCALL_NCS): Likewise.
54103 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54105         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54106         * elf/dl-fini.c (_dl_fini): Adjust caller.
54107         * elf/dl-close.c (_dl_close_worker): Likewise.
54108         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54110 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54112         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54113         "aux_cache->nlibs < 0".
54115         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54116         in the reload-count case.
54118 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54121         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54122         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54123         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54124         * sysdeps/x86_64/multiarch/strcat.S: New file.
54125         * sysdeps/x86_64/multiarch/strncat.S: New file.
54126         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54127         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54128         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54129         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54130         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54131         (USE_AS_STRCAT): Define.
54132         Add strcat and strncat support.
54133         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54134         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54135         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54136         * string/strncat.c: Update.
54137         (USE_AS_STRNCAT): Define.
54138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54139         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54140         and i7.
54141         * sysdeps/x86_64/multiarch/init-arch.h
54142         (bit_Prefer_PMINUB_for_stringop): New.
54143         (index_Prefer_PMINUB_for_stringop): Likewise.
54144         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54145         bit_Prefer_PMINUB_for_stringop.
54147 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54149         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54150         buffer64.
54151         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54152         of casting of buffer.
54153         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54154         buffer32 and buffer64.
54155         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54156         writes instead of casting of buffer.
54157         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54158         buffer32.
54159         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54160         casting of buffer.
54162 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54164         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54166 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54168         * nscd/nscd.c (termination_handler): Don't do anything for a database
54169         if it has not yet been initialized.
54171 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54173         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54175 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54177         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54179 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54181         * po/nl.po: Update from translation team.
54182         * po/sv.po: Likewise.
54184 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54186         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54187         now disallowed by GCC.
54189         * configure.in (use-default-link): Default to yes if a test -shared
54190         link meets our qualifications.
54191         * configure: Regenerated.
54193         * config.make.in (output-format): New variable.
54194         * configure.in: Check for ld --print-output-format support.
54195         * configure: Regenerated.
54196         * Makerules ($(common-objpfx)format.lds)
54197         [$(output-format) != unknown]: Just use $(output-format),
54198         instead of the linker-script munging.
54200 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54202         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54203         of $(common-objpfx)shlib.lds.
54204         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54206         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54207         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54209         * configure.in (-z relro check): Adjust test code to add a large
54210         writable data section after it.
54211         * configure: Regenerated.
54213 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54215         * configure.in (-z relro check): Fix test code to make the variable
54216         truly const.
54217         * configure: Regenerated.
54219 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54221         * nscd/nscd.h (struct traced_file): Define.
54222         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54223         elements.  Add traced_files.
54224         (inotify_fd): Declare.
54225         (register_traced_file): Declare.
54226         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54227         (inotify_fd): Export.
54228         (resolv_conf_descr): Remove.
54229         (nscd_init): Move inotify descriptor creation to main.
54230         Don't register files for notification here.
54231         (register_traced_file): New function.
54232         (invalidate_cache): Don't use reset_res to determine whether to call
54233         res_init, go through the list of registered files.
54234         (main_loop_poll): The inotify descriptors are now stored in the
54235         structures for the traced files.
54236         (main_loop_epoll): Likewise
54237         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54238         to __nss_disable_nscd.
54239         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54240         for a database anymore.  Check the records for all the registered
54241         files instead.
54242         * nss/Makefile (libnss_files-routines): Add files-init.
54243         (libnss_db-routines): Add db-init.
54244         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54245         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54246         * nss/nss_db/db-init.c: New file.
54247         * nss/nss_files/files-init.c: New file.
54248         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54249         __nss_lookup_function.
54250         (__nss_lookup_function): Call nss_load_library.
54251         (nss_load_all_libraries): New function.
54252         (__nss_disable_nscd): Take parameter with callback function for files
54253         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54254         used for the cached services.
54255         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54256         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54257         options for features to all the files in nscd.
54259         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54261 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54263         * csu/elf-init.c (__libc_csu_init): Comment typo.
54265 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54267         * po/pl.po: Update from translation team.
54268         * po/ja.po: Likewise.
54269         * po/ru.po: Likewise.
54270         * po/ko.po: Likewise.
54271         * po/fr.po: Likewise.
54273 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54275         * configure.in (.ctors/.dtors header and trailer check):
54276         Use an empirical test on a built program.
54277         * configure: Regenerated.
54279         * configure.in (-z relro check): Use an empirical test on a built DSO.
54280         Detect, but do not require, on ia64.
54281         * configure: Regenerated.
54283         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54284         Update tests that use readelf to use $READELF instead.
54285         * configure: Regenerated.
54287 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54289         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54290         if the result is not used.
54292 2011-07-05  Andreas Jaeger  <aj@suse.de>
54294         [BZ#9696]
54295         * stdlib/tst-strtod.c: Add testcase.
54297 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54299         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54300         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54301         The latter has a higher limit.  Take additional parameter to pass to
54302         the new function.
54303         (__pathconf): Pass file to __statfs_link_max.
54304         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54305         __statfs_link_max.
54306         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54307         __statfs_link_max.
54309         [BZ #12868]
54310         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54311         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54312         Handle Lustre.
54313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54314         (__statfs_filesize_max): Likewise.
54315         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54317 2011-07-05  Andreas Jaeger  <aj@suse.de>
54319         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54321 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54323         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54324         `status' variable.
54325         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54326         Likewise.
54328 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54330         * Makefile (strop-tests): Add strncat.
54331         * string/test-strncat.c: New file.
54333 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54335         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54337 2011-06-21  Andreas Jaeger  <aj@suse.de>
54339         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54340         Copy rule from iconvdata/Makefile.
54342 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54344         [BZ #12922]
54345         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54346         but no long options are defined, just return 'W'.
54348 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54350         [BZ #9696]
54351         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54353 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54355         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54356         netgroups to read.
54357         (innetgr): Likewise.
54359 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54361         * config.make.in (install_root): Default to $(DESTDIR).
54363 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54365         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54367 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54369         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54371         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54372         containing directory rather than embedding absolute directory names.
54374         * scripts/check-local-headers.sh: Rewritten using awk.
54375         Match by word, not by line.  Print error messages for matches.
54376         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54378         * Makerules [shlib-lds-flags empty]:
54379         ($(common-objpfx)libc_pic.opts): New target.
54380         ($(common-objpfx)libc_pic.os.clean): New target.
54381         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54383         * config.make.in (OBJCOPY): New variable.
54384         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54385         * configure: Regenerated.
54387         * config.make.in (use-default-link): New variable.
54388         * configure.in (use_default_link): Grok --with-default-link to set it.
54389         * configure: Regenerated.
54390         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54391         (shlib-lds, shlib-lds-flags): Define to empty.
54393         * Makerules (shlib-lds): New variable.
54394         (shlib-lds-flags): New variable.
54395         (build-shlib, build-moduile, build-module-asneeded): Use it.
54396         ($(common-objpfx)libc.so): Use $(shlib-lds).
54397         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54398         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54400         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54401         DT_FLAGS/DT_FLAGS_1 with zero flags.
54403         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54404         linker script munging.
54406 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54408         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54409         as 128-bit value.
54410         * crypt/sha512.c (sha512_process_block): Perform total addition using
54411         128-bit if possible.
54412         (__sha512_finish_ctx): Likewise.
54413         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54414         as 64-bit value.
54415         * crypt/sha256.c (SWAP64): Define.
54416         (sha256_process_block): Perform total addition using 64-bit if
54417         possible.
54418         (__sha256_finish_ctx): Likewise.
54420 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54422         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54423         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54424         * nscd/hstcache.c (cache_addhst): Likewise.
54425         * nscd/grpcache.c (cache_addgr): Likewise.
54426         * nscd/aicache.c (addhstaiX): Likewise
54427         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54429 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54431         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54432         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54433         * nscd/hstcache.c (cache_addhst): Likewise.
54434         * nscd/grpcache.c (cache_addgr): Likewise.
54435         * nscd/aicache.c (addhstaiX): Likewise
54437 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54439         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54440         domain only when needed.
54442 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54445         is always restored.
54447 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54449         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54450         are re-adding the entry.
54451         * nscd/servicescache.c (cache_addserv): Likewise.
54453 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54455         * sysdeps/generic/dl-irel.h: fix protection against multiple
54456         inclusions.
54457         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54459 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54461         [BZ #12935]
54462         * malloc/memusage.sh: Fix quoting in message.
54463         * debug/xtrace.sh: Likewise.
54465         * configure.in: Remove support for --experimental-malloc option, make
54466         it the default.
54467         * config.make.in: Likewise.
54468         * malloc/Makefile: Likewise.
54470 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54472         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54473         two-byte characters.
54475 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54477         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54478         AC_CACHE_CHECK invocation.
54479         * configure: Regenerated.
54481         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54483 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54485         [BZ #12350]
54486         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54487         bit from old_res_options.
54489         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54491         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54492         value type for setfct.
54494 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54496         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54497         __gettimeofday instead of gettimeofday.
54499 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54501         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54503 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54505         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54507         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54508         info.
54510 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54513         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54514         strcpy-sse2-unaligned strncpy-sse2-unaligned
54515         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54516         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54517         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54518         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54519         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54520         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54521         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54522         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54523         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54524         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54525         (STRCPY): Support SSE2 and SSSE3 versions.
54527 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54529         [BZ #12874]
54530         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54531         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54532         kernels which artificially limit size of requests.
54534 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54536         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54537         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54538         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54539         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54540         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54541         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54542         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54543         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54544         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54545         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54546         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54547         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54548         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54549         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54550         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54552         Enable unaligned load optimization for Intel Core i3, i5 and i7
54553         processors.
54554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54555         Define.
54556         (index_Fast_Unaligned_Load): Define.
54557         (HAS_FAST_UNALIGNED_LOAD): Define.
54559 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54561         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54563 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54565         [BZ #12907]
54566         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54567         until it is clear that the information is realy needed.
54568         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54570 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54574 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54577         /sys/devices/system/cpu/online if it is usable.
54579         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54580         reading the information from the /proc filesystem to once a second.
54582 2011-06-21  Andreas Jaeger  <aj@suse.de>
54584         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54585         NULL after inclusion of kernel headers.
54587 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54589         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54590         calls to internal_setent.
54592         [BZ #12885]
54593         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54594         addresses using gethostbyname4_r ignore IPv4 addresses.
54596         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54597         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54599         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54601 2011-06-20  David S. Miller  <davem@davemloft.net>
54603         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54604         inclusions.
54605         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54607         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54608         (elf_irel): Use it.
54609         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54610         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54611         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54612         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54613         * sysdeps/x86_64/dl-irel.h: Likewise.
54615         * elf/dl-runtime.c: Use elf_ifunc_invoke.
54616         * elf/dl-sym.c: Likewise.
54618 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54620         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
54621         need to dereference resplen2.
54623 2011-06-14  Andreas Schwab  <schwab@redhat.com>
54625         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54627 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54629         * Makeconfig: Define vardbdir and inst_vardbdir.
54630         * nss/Makefile: Add rules to install db-Makefile.
54632         * nss/nss_db/db-XXX.c: Cleanup.
54634         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54635         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54636         GLIBC_PRIVATE.
54637         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54638         * nss/makedb.c: Implement -g option to specify that value strings
54639         are generated and should not be added to table iterated over for
54640         get*ent calls.
54641         * nss/nss_db/db-initgroups.c: New file.
54643         * nss/getent.c: Add support for initgroups lookups through getgrouplist
54644         interface.
54646         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54647         (internal_getgrouplist): Adjust to name change.
54648         Update use_initgroups_entry if this is not the first call.
54649         * nss/databases.def: Add initgroups entry.
54651         * nss/makedb.c (compute_tables): Check result of multiple hash table
54652         sizes to minimize maximum chain length.
54654 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
54656         * Versions.def: Add entry for libnss_db.
54657         * shlib-versions: Likewise.
54658         * nss/Makefile: Add rules to build libnss_db.
54659         * nss/Versions: Add libnss_db information.  Organize libnss_files
54660         entries better.
54661         * nss/db-Makefile: Add gshadow support.  Change rules for the new
54662         makedb progra.  Some minor improvements to generate smaller files.
54663         * nss/nss_db/nss_db.h: Move NSS database header data structures to
54664         here from...
54665         * nss/makedb.c: ...here.
54666         Improve database format to be smaller and require less memory at
54667         runtime.
54668         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
54669         db anymore.
54670         * nss/nss_db/db-netgrp.c: Likewise.
54671         * nss/nss_db/db-open.c: Likewise.
54672         * nss/nss_files/flies-XXX.x: Adjust comments.
54673         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54674         * nss/nss_files/files-grp.c: Likewise.
54675         * nss/nss_files/files-hosts.c: Likewise.
54676         * nss/nss_files/files-network.c: Likewise.
54677         * nss/nss_files/files-proto.c: Likewise.
54678         * nss/nss_files/files-pwd.c: Likewise.
54679         * nss/nss_files/files-rpc.c: Likewise.
54680         * nss/nss_files/files-service.c: Likewise.
54681         * nss/nss_files/files-sgrp.c: Likewise.
54682         * nss/nss_files/files-spwd.c: Likewise.
54683         * nss/nss_db/db-alias.c: Removed.
54684         * nss/nss_db/dummy-db.h: Removed.
54686 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
54688         * nss/makedb.c: Rewritten to not use database library.
54689         * nss/Makefile: Update to build new makedb program.
54691 2011-06-14  Andreas Jaeger  <aj@suse.de>
54693         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54694         memset declaration.
54696 2011-06-10  Andreas Schwab  <schwab@redhat.com>
54698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54699         tmpbuf.
54701 2011-06-10  Roland McGrath  <roland@hack.frob.com>
54703         * Makerules (shlib.lds): Fail if the linker script comes out empty.
54704         * elf/Makefile ($(objpfx)ld.so): Likewise.
54706         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54707         Don't list ld.so twice in dependencies.
54709         * posix/bug-regex31.c: Include <stdlib.h>.
54711         * nscd/hstcache.c (cache_addhst): Remove unused variable.
54713         * nis/nss_compat/compat-spwd.c
54714         (getspent_next_nss_netgr): Remove unused variable.
54715         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54717         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54718         nonmembers" output to use the right array.
54720         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54722         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54724         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54725         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54726         * catgets/gencat.c (read_input_file): Likewise.
54727         * locale/programs/locarchive.c (enlarge_archive): Likewise.
54729         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54730         variable definition inside #if's controlling its use.
54732         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54734         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54736         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54738         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54739         unreachable code.
54741         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54743         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54744         * configure: Regenerated.
54746         * Makerules: Revert last change.
54747         * elf/Makefile: Likewise.
54749 2011-06-09  Roland McGrath  <roland@hack.frob.com>
54751         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54752         * elf/Makefile ($(objpfx)librtld.os): Likewise.
54753         (reloc-link): Likewise.
54755 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
54757         * elf/Makefile: Add rules to build pldd.
54758         * elf/pldd.c: New file.
54759         * elf/pldd-xx.c: New file.
54761 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
54763         * version.h: Update for 2.15 development version.
54765 2011-06-07  David S. Miller  <davem@davemloft.net>
54767         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54768         ifuncs.
54769         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54770         elf_machine_lazy_rel): Likewise.
54771         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54773         elf_machine_lazy_rel): Likewise.
54774         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54775         dl_hwcap via passed in argument.
54776         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54777         Likewise.
54779 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54781         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
54783 2011-06-06  Roland McGrath  <roland@hack.frob.com>
54785         [BZ #12849]
54786         * manual/fdl-1.1.texi: New file, verbatim from:
54787         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54788         * manual/lgpl-2.1.texi: New file, verbatim from:
54789         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54790         * manual/Makefile (licenses): New variable, list those new file names.
54791         (texis): Use it.
54792         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54794         * manual/fdl.texi: File removed.
54795         * manual/lesser.texi: File removed.
54796         * manual/libc.texinfo (Copying, Documentation License):
54797         Use new @include file names, put @appendix directive before @include.
54799 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
54801         [BZ #12841]
54802         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54803         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54804         (mq_open): Add __NTH.
54806 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54809         Assume Intel Core i3/i5/i7 processor if AVX is available.
54811 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54813         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54814         typo.
54816 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54818         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54819         memory.  Use alloca_account.  Fix memory leak when retrying.
54821 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54823         * version.h (RELEASE): Bump for 2.14 release.
54824         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54826         * config.make.in (RANLIB): Remove entry.
54828 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54830         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54831         (libc.pot): Work around missing support for .ksh extension in xgettext.
54833         [BZ #12684]
54834         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54835         if both request failed.
54836         (send_dg): In case of server errors clear resplen or *resplen2.
54838         [BZ #12454]
54839         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54840         when there are multiple maps.
54841         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54842         (_dl_fini): Remove test here.
54844         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54846 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54848         [BZ #12350]
54849         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54850         bit from old_res_options.
54851         (gaih_inet): Likewise.
54853         [BZ #11099]
54854         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54855         as signed.
54857         * resolv/res_init.c (res_setoptions): Make the code more compact.
54859         [BZ #11558]
54860         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54861         set RES_USEVC.
54863         [BZ #11634]
54864         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54866         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54868         [BZ #11781]
54869         * malloc/malloc.h: Declare malloc hook variables as volatile.
54871         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54872         in last patch.
54874         [BZ #11799]
54875         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54876         raise in the comment.
54877         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54878         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54879         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54881 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54883         [BZ #12811]
54884         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54885         grow the buffers more if it already has to be sufficient.
54886         (build_wcs_upper_buffer): Likewise.
54887         * posix/regexec.c (check_matching): Likewise.
54888         (clean_state_log_if_needed): Likewise.
54889         (extend_buffers): Don't enlarge buffers beyond size of the input
54890         buffer.
54891         Patches mostly by Emil Wojak <emil@wojak.eu>.
54892         * posix/bug-regex32.c: New file.
54893         * posix/Makefile (tests): Add bug-regex32.
54895         * locale/findlocale.c (_nl_find_locale): Return right away if
54896         _nl_explode_name failed.
54897         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54899         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54901         * debug/xtrace.sh: Unify messages.
54902         * malloc/memusage.sh: Likewise.
54904         [BZ #12813]
54905         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54906         time symbol from vDSO.  Substitute with vsyscall if not available.
54907         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54908         __vdso_time.
54910         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54911         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54912         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54913         Add sendmmsg and internal_sendmmsg.
54914         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54915         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54916         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54918         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54919         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54920         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54922 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54924         [BZ #12813]
54925         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54926         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54927         available.
54928         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54929         __vdso_getcpu.
54931         [BZ #12814]
54932         * iconvdata/Makefile (tests): Add bug-iconv9.
54933         * iconvdata/bug-iconv9.c: New file.
54935 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54937         [BZ #12814]
54938         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54940 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54942         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54943         (struct user_regs_struct): Change intcs field back to cs.
54945 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54947         * po/ja.po: Update from translation team.
54949 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54951         [BZ #12795]
54952         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54953         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54955 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54957         * stdlib/longlong.h: Update from GCC.
54959 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54961         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54962         parameter name.
54963         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54964         Add parameter name.
54965         (__sysconf): Pass it down.
54967 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54969         [BZ #12671]
54970         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54971         some situations.
54972         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54973         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54974         add in in __libc_use_alloca calls.  Adjust callers.
54975         (glob): Use malloc in some situations.
54977         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54978         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54979         pltexit.
54981 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54983         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54984         and CLOCK_BOOTTIME_ALARM.
54986         [BZ #12782]
54987         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54988         is returned.
54990         * string/_strerror.c (__strerror_r): Print negative errors as signed
54991         numbers.
54993         [BZ #12777]
54994         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54995         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54996         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54998         * configure.in: Fix typo in redirection and correct removal of test
54999         files in two cases.
55001         [BZ #12788]
55002         * locale/setlocale.c (new_composite_name): Fix test to check for
55003         identical name of all categories.
55005         [BZ #12792]
55006         * libio/filedoalloc.c (local_isatty): New function.
55007         (_IO_file_doallocate): Use local_isatty.
55008         * stdio-common/perror.c (perror): In case a new stream is used
55009         forward the stream error.
55010         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55011         error flag.
55013 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55015         [BZ #11869]
55016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55017         alloca.
55018         * include/alloca.h (extend_alloca_account): Define.
55020         [BZ #11857]
55021         * posix/regex.h: Fix comments with documentation of user-accessible
55022         fields after compilation and describe correct free'ing of pattern
55023         after re_compile_pattern.
55024         Patch by Reuben Thomas <rrt@sc3d.org>.
55026 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55028         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55029         and -mno-altivec to prevent the compiler from using Altivec and/or
55030         VSX instructions when the corresponding registers are not available.
55032 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55034         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55036 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55038         * libio/freopen.c (freopen): Use __dup2, not dup2.
55039         * libio/freopen64.c (freopen64): Likewise.
55041 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55043         [BZ #12775]
55044         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55045         * math/Makefile (tests): Add test-powl.
55046         (CFLAGS-test-powl.c): Define.
55047         * math/test-powl.c: New file.
55049 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55051         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55053 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55055         [BZ #11837]
55056         * iconvdata/gb18030.c: Update to GB18020-2005.
55058 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55060         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55061         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55062         Patch by Aharon Robbins <arnold@skeeve.com>.
55064         [BZ #11892]
55065         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55066         on the stack.
55068         [BZ #11895]
55069         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55070         through underflows.
55072         [BZ #12766]
55073         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55074         point to strings before performing equality test for error_one_per_line
55075         mode.
55077         [BZ #11697]
55078         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55080         [BZ #11820]
55081         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55082         (struct user_fpregs_struct): Avoid __uint*_t types.
55084         [BZ #6420]
55085         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55086         symbol info.  Use it instead of calling _dl_addr locally.
55087         (lock_and_info): New function.
55088         (tr_freehook): Call lock_and_info and pass symbol info as additional
55089         parameter to tr_where.
55090         (tr_mallochook): Likewise.
55091         (tr_reallochook): Likewise.
55092         (tr_memalignhook): Likewise.
55094         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55095         used and couldn't be at all thread-safe.
55097 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55099         * libio/freopen.c (freopen): Don't close old file descriptor
55100         before the new one is opened.  Instead dup the new file descriptor
55101         to the old one after the new stream is created.
55102         * libio/freopen64.c (freopen64): Likewise.
55103         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55104         * libio/fileops.c (_IO_new_file_close_it): Handle new
55105         _IO_FLAGS2_NOCLOSE flag.
55106         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55107         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55108         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55109         _IO_FLAGS2_NOCLOSE flag.
55110         * include/unistd.h: Add hidden_proto for dup3.
55111         Define __have_dup3.
55112         * io/dup3.c: Define hidden symbol.
55113         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55115         [BZ #7101]
55116         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55117         when an incomplete long option is used.
55118         * posix/tst-getopt_long1.c: New file.
55119         * posix/Makefile (tests): Add tst-getopt_long1.
55121         [BZ #10138]
55122         * scripts/config.guess: Update from autoconf-2.68.
55123         * scripts/config.sub: Likewise.
55125         [BZ #10157]
55126         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55127         tests into ...
55128         (has_cpuclock): ...this.  New function.
55129         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55130         macro here based on has_cpuclock code.
55132         [BZ #10149]
55133         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55134         First byte (not low byte) is now always NUL.
55135         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55138         Use non-cancelable interfaces.
55140         [BZ #9809]
55141         * locale/iso-639.def: Add entry for Sorani.
55143         [BZ #11901]
55144         * include/stdlib.h: Move include protection to the right place.
55145         Define abort_msg_s.  Declare __abort_msg with it.
55146         * stdlib/abort.c (__abort_msg): Adjust type.
55147         * assert/assert.c (__assert_fail_base): New function.  Majority
55148         of code from __assert_fail.  Allocate memory for __abort_msg with
55149         mmap.
55150         (__assert_fail): Now call __assert_fail_base.
55151         * assert/assert-perr.c: Remove bulk of implementation.  Use
55152         __assert_fail_base.
55153         * include/assert.hL Declare __assert_fail_base.
55154         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55155         mmap.
55156         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55158 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55160         [BZ #11952]
55161         [BZ #12453]
55162         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55163         until all modules are registered in the DTV.
55164         * elf/Makefile: Add rules to build and run tst-tls19.
55165         * elf/tst-tls19.c: New file.
55166         * elf/tst-tls19mod1.c: New file.
55167         * elf/tst-tls19mod2.c: New file.
55168         * elf/tst-tls19mod3.c: New file.
55169         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55171         [BZ #12083]
55172         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55173         correctly.
55175         [BZ #12601]
55176         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55177         two-byte sequence errors.
55178         * iconvdata/Makefile (tests): Add bug-iconv8.
55179         * iconvdata/bug-iconv8.c: New file.
55181         [BZ #12626]
55182         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55183         buf2 definition.
55185         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55187         [BZ #12432]
55188         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55189         (dummy_getcfa): New function.
55190         (init): Get _Unwind_GetCFA address, use dummy if not found.
55191         (backtrace_helper): In recursion check, also check whether CFA changes.
55192         (__backtrace): Completely initialize arg.
55194         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55195         storing incomplete byte sequence in state object.  Avoid testing for
55196         guaranteed too small input if we know there is enough data available.
55198 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55200         * Makeconfig (+link-pie): Indent.
55201         * Rules (binaries-pie): Define if $(have-fpie) and
55202         $(build-shared).
55203         (binaries-shared): Also filter out $(binaries-pie).
55204         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55205         * nscd/Makefile (others-pie): Add nscd.
55206         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55207         ($(objpfx)nscd): Remove command override.
55208         * login/Makefile (others-pie): Add pt_chown.
55209         ($(objpfx)pt_chown): Remove command override.
55210         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55211         remove command overrides.
55213 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55215         * libio/tst_putwc.c: Fix error messages.
55217         [BZ #12724]
55218         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55219         currently writing and seek to current position when not.
55220         * libio/Makefile (tests): Add bug-fclose1.
55221         * libio/bug-fclose1.c: New file.
55223 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55225         [BZ #12511]
55226         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55227         don't set DF_1_NODELETE here.
55228         (do_lookup_x): When entering new entry test for copy relocation
55229         and if necessary set DF_1_NODELETE flag.
55230         * elf/tst-unique4.cc: New file.
55231         * elf/tst-unique4.h: New file.
55232         * elf/tst-unique4lib.cc: New file.
55233         * elf/Makefile: Add rules to build and run tst-unique4.
55234         Patch by Piotr Bury <pbury@goahead.com>.
55236 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55238         [BZ #12052]
55239         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55241         [BZ #12625]
55242         * misc/mntent_r.c (addmntent): Flush the stream after the output
55244         [BZ #12393]
55245         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55246         (is_trusted_path_normalize): Skip initial colon.  Append slash
55247         to empty buffer.  Duplicate is_trusted_path code but allow
55248         constructed patch to be prefix.
55249         (is_dst): Allow $ORIGIN followed by /.
55250         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55251         Correct testing of result of is_trusted_path_normalize
55252         (decompose_rpath): Fix warning.
55254 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55256         [BZ #11257]
55257         * grp/initgroups.c (internal_getgrouplist): When we found the service
55258         list through the initgroups entry in nsswitch.conf do not always
55259         continue on a successful lookup.  Don't always use the
55260         __nss_group_database value if it is set.
55261         * nss/nsswitch.conf (initgroups): Change action for successful db
55262         lookup to continue for compatibility.
55264 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55266         [BZ #11532]
55267         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55268         and CP774 modules.
55269         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55270         and CP774 modules.
55271         * iconvdata/tst-tables.sh: Likewise.
55272         * iconvdata/cp770.c: New file.
55273         * iconvdata/cp771.c: New file.
55274         * iconvdata/cp772.c: New file.
55275         * iconvdata/cp773.c: New file.
55276         * iconvdata/cp774.c: New file.
55277         * iconvdata/testdata/CP770: New file.
55278         * iconvdata/testdata/CP770..UTF8: New file.
55279         * iconvdata/testdata/CP771: New file.
55280         * iconvdata/testdata/CP771..UTF8: New file.
55281         * iconvdata/testdata/CP772: New file.
55282         * iconvdata/testdata/CP772..UTF8: New file.
55283         * iconvdata/testdata/CP773: New file.
55284         * iconvdata/testdata/CP773..UTF8: New file.
55285         * iconvdata/testdata/CP774: New file.
55286         * iconvdata/testdata/CP774..UTF8: New file.
55288         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55289         END CHARMAP line.
55290         * iconvdata/gen-8bit-gap.sh: Likewise.
55291         * iconvdata/gen-8bit.sh: Likewise.
55293         * locale/iso-639.def: Add ary entry.
55295         [BZ #11258]
55296         * locale/C-translit.h.in: Add U20A1 transliteration.
55298         [BZ #12178]
55299         * locale/iso-639.def: Add wae entry.
55300         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55302         [BZ #12545]
55303         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55304         for n.
55306         [BZ #12711]
55307         * locale/C-translit.h.in: Add entry for U20B9.
55308         Patch by pravin.d.s@gmail.com.
55310 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55312         [BZ #12713]
55313         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55314         ENAMETOOLONG use generic getcwd.
55315         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55316         in rtld.  Use *stat64.
55317         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55318         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55319         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55320         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55321         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55322         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55323         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55324         __fstatat64 macros.
55325         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55326         * dirent/rewinddir.c: Add libc_hidden_def.
55327         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55328         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55330         * include/dirent.h (__alloc_dir): Add flags parameter.
55331         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55332         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55333         __alloc_dir.
55334         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55335         from fdopendir if O_CLOEXEC is already set.
55337 2011-03-15  Alan Modra  <amodra@gmail.com>
55339         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55340         l_tls_firstbyte_offset non-zero.  Save padding offset in
55341         l_tls_firstbyte_offset for later use.
55342         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55343         freeing static tls block.
55345 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55347         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55348         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55349         being defined by the kernel headers.
55351 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55353         [BZ #12734]
55354         * resolv/resolv.h: Define RES_NOTLDQUERY.
55355         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55356         no-tld-query and set RES_NOTLDQUERY.
55357         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55358         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55359         modern BIND to search name as TLD unless forbidden.
55361 2011-05-07  Petr Baudis  <pasky@suse.cz>
55362             Ulrich Drepper  <drepper@gmail.com>
55364         [BZ #12393]
55365         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55366         (is_trusted_path): ...to here.
55367         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55368         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55369         using is_trusted_path_normalize() in setuid scripts.
55371 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55373         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55374         __BEGIN/__END_DECLS.
55376 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55378         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55379         NSS_STATUS_NOTFOUND if no record was found.
55381 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55383         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55384         (headers-not-in-tirpc): Remove rpc/netdb.h
55385         * resolv/netdb.h: Revert last change.
55387 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55389         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55390         circular dependency between libgcc.a and libc.a.
55392 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55394         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55395         * nis/Makefile: Don't install rpcsvc/*.
55396         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55397         instead of <rpc/types.h>.
55398         (MAXHOSTNAMELEN): Define.
55400 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55402         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55404 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55406         [BZ #12714]
55407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55408         gethostbyname4_r when IPv6 results are possible.
55410 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55412         [BZ #12723]
55413         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55414         _PC_PIPE_BUF handling.
55416 2011-04-30  Bruno Haible  <bruno@clisp.org>
55418         [BZ #12717]
55419         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55420         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55421         to 'int'.
55422         * inet/getnameinfo.c (getnameinfo): Likewise.
55424 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55426         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55427         to groups setting in database lookup.
55428         * nss/nsswitch.conf: Add initgroups entry.
55430 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55432         [BZ #12685]
55433         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55434         mode string.
55435         Patch by Eric Blake <eblake@redhat.com>.
55437 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55439         * sunrpc/Makefile (need-export-routines): Add svc_run.
55440         (routines): Remove svc_run.
55441         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55442         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55443         * sunrpc/svc_run.c (svc_run): Likewise.
55444         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55446 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55448         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55449         problem in reallocation in last patch.
55451 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55453         * sunrpc/Makefile: Move inclusion of Rules.
55455 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55457         * nss/nss_files/files-initgroups.c: New file.
55458         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55459         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55460         _nss_files_initgroups_dyn.
55462 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55464         * elf/elf.h (R_ARM_IRELATIVE): Define.
55466 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55468         * po/ru.po: Update from translation team.
55470 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55472         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55473         dependencies.
55475 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55477         [BZ #12653]
55478         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55479         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55480         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55481         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55482         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55484 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55486         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55487         differing bytes.
55488         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55489         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55492 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55494         [BZ #12420]
55495         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55496         storing it.
55497         * stdlib/bug-getcontext.c: New file.
55498         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55500 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55502         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55503         instructions into .machine "z9-109".
55504         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55505         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55507 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55509         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55510         between environment variables and auxiliary vector.
55512 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55514         * Makefile: Add rules to build linkobj/libc.so.
55515         * include/libc-symbols.h: Define libc_hidden_nolink.
55516         * include/rpc/auth.h: Mark functions which are to be hidden.
55517         * include/rpc/auth_des.h: Likewise.
55518         * include/rpc/auth_unix.h: Likewise.
55519         * include/rpc/clnt.h: Likewise.
55520         * include/rpc/des_crypt.h: Likewise.
55521         * include/rpc/key_prot.h: Likewise.
55522         * include/rpc/pmap_clnt.h: Likewise.
55523         * include/rpc/pmap_prot.h: Likewise.
55524         * include/rpc/pmap_rmt.h: Likewise.
55525         * include/rpc/rpc_msg.h: Likewise.
55526         * include/rpc/svc.h: Likewise.
55527         * include/rpc/svc_auth.h: Likewise.
55528         * include/rpc/xdr.h: Likewise.
55529         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55530         * nss/Makefile: Likewise.
55531         * sunrpc/Makefile: Don't install headers.  Build library with normal
55532         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55533         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55534         for the compat linking library.  Remove use of INTDEF/INTUSE.
55535         * sunrpc/auth_none.c: Likewise.
55536         * sunrpc/auth_unix.c: Likewise.
55537         * sunrpc/authdes_prot.c: Likewise.
55538         * sunrpc/authuxprot.c: Likewise.
55539         * sunrpc/clnt_gen.c: Likewise.
55540         * sunrpc/clnt_perr.c: Likewise.
55541         * sunrpc/clnt_raw.c: Likewise.
55542         * sunrpc/clnt_simp.c: Likewise.
55543         * sunrpc/clnt_tcp.c: Likewise.
55544         * sunrpc/clnt_udp.c: Likewise.
55545         * sunrpc/clnt_unix.c: Likewise.
55546         * sunrpc/des_crypt.c: Likewise.
55547         * sunrpc/des_soft.c: Likewise.
55548         * sunrpc/get_myaddr.c: Likewise.
55549         * sunrpc/key_call.c: Likewise.
55550         * sunrpc/key_prot.c: Likewise.
55551         * sunrpc/netname.c: Likewise.
55552         * sunrpc/pm_getmaps.c: Likewise.
55553         * sunrpc/pm_getport.c: Likewise.
55554         * sunrpc/pmap_clnt.c: Likewise.
55555         * sunrpc/pmap_prot.c: Likewise.
55556         * sunrpc/pmap_prot2.c: Likewise.
55557         * sunrpc/pmap_rmt.c: Likewise.
55558         * sunrpc/publickey.c: Likewise.
55559         * sunrpc/rpc_cmsg.c: Likewise.
55560         * sunrpc/rpc_common.c: Likewise.
55561         * sunrpc/rpc_dtable.c: Likewise.
55562         * sunrpc/rpc_prot.c: Likewise.
55563         * sunrpc/rpc_thread.c: Likewise.
55564         * sunrpc/rtime.c: Likewise.
55565         * sunrpc/svc.c: Likewise.
55566         * sunrpc/svc_auth.c: Likewise.
55567         * sunrpc/svc_authux.c: Likewise.
55568         * sunrpc/svc_raw.c: Likewise.
55569         * sunrpc/svc_run.c: Likewise.
55570         * sunrpc/svc_simple.c: Likewise.
55571         * sunrpc/svc_tcp.c: Likewise.
55572         * sunrpc/svc_udp.c: Likewise.
55573         * sunrpc/svc_unix.c: Likewise.
55574         * sunrpc/svcauth_des.c: Likewise.
55575         * sunrpc/xcrypt.c: Likewise.
55576         * sunrpc/xdr.c: Likewise.
55577         * sunrpc/xdr_array.c: Likewise.
55578         * sunrpc/xdr_float.c: Likewise.
55579         * sunrpc/xdr_intXX_t.c: Likewise.
55580         * sunrpc/xdr_mem.c: Likewise.
55581         * sunrpc/xdr_rec.c: Likewise.
55582         * sunrpc/xdr_ref.c: Likewise.
55583         * sunrpc/xdr_sizeof.c: Likewise.
55584         * sunrpc/xdr_stdio.c: Likewise.
55586 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55588         [BZ #12650]
55589         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55590         * sysdeps/ia64/dl-tls.h: Likewise.
55591         * sysdeps/powerpc/dl-tls.h: Likewise.
55592         * sysdeps/s390/dl-tls.h: Likewise.
55593         * sysdeps/sh/dl-tls.h: Likewise.
55594         * sysdeps/sparc/dl-tls.h: Likewise.
55595         * sysdeps/x86_64/dl-tls.h: Likewise.
55596         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55598 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55600         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55601         rpath element also skip the following colon.
55602         (expand_dynamic_string_token): Add is_path parameter and pass
55603         down to DL_DST_REQUIRED and _dl_dst_substitute.
55604         (decompose_rpath): Call expand_dynamic_string_token with
55605         non-zero is_path.  Ignore empty rpaths.
55606         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55607         with zero is_path.
55609 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
55611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55612         Make cancelable.
55614 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
55616         [BZ #12655]
55617         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55618         Patch by Filipe David Manana <fdmanana@apache.org>.
55620 2011-04-07  Andreas Schwab  <schwab@redhat.com>
55622         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55623         Maintain aligned stack.
55624         (CHECK_RSP): Remove unused macro.
55626 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
55628         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55629         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55631 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
55633         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55635         * include/features.h: Mention __USE_XOPEN2K8 in comment.
55637 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
55639         [BZ #12518]
55640         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55641         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55642         * sysdeps/x86_64/memmove.c: New file.
55643         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55644         (memcpy): Renamed to ...
55645         (__new_memcpy): This.
55646         (memcpy): Provide GLIBC_2_14 memcpy.
55647         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55648         (memcpy): Provide GLIBC_2_2_5 memcpy.
55650 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55652         [BZ #12631]
55653         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55655 2011-03-30  Andreas Schwab  <schwab@redhat.com>
55657         * misc/syncfs.c: New file.
55658         * misc/Makefile (routines): Add syncfs.
55659         * posix/unistd.h: Declare syncfs.
55660         * sysdeps/unix/syscalls.list: Add syncfs.
55662 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55664         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55665         open_by_handle_at.
55666         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55667         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55671         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55674 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55676         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55677         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55678         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55680         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55682         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55684         * io/Makefile: Compile fallocate.c, fallocate64.c, and
55685         sync_file_range.c with -fexceptions.
55686         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55687         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55688         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55689         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55690         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55691         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55693         sync_file_range as cancellation point
55694         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
55695         now a wrapper around __call_sync_file_range with cancellation handling.
55696         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55697         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
55698         function name to __call_sync_file_range.
55699         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55700         Add call_sync_file_range.
55702 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55705         bits/timex.h.
55707 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55709         * iconv/iconv.h: Fix typo in comment.
55710         * io/fcntl.h: Likewise.
55711         * libio/stdio.h: Likewise.
55712         * posix/spawn.h: Likewise.
55713         * posix/unistd.h: Likewise.
55714         * stdlib/stdlib.h: Likewise.
55715         * time/time.h: Likewise.
55716         * wcsmbs/wchar.h: Likewise.
55718         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55719         open_by_handle): Add.
55720         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55721         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
55722         Augment a few comments.
55723         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55724         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55725         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55728         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55729         open_by_handle.
55731         * io/fcntl.h (AT_EMPTY_PATH): Define.
55733 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
55735         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55736         * sysdeps/unix/sysv/linux/bits/time.h: New file.
55737         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55738         to...
55739         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
55740         * Versions.def: Add GLIBC_2.14.
55741         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55742         Export.
55744 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
55746         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55747         round counter.
55748         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55750 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55752         [BZ #12597]
55753         * string/test-strncmp.c (do_page_test): New function.
55754         (check2): Likewise.
55755         (test_main): Call check2.
55756         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55758 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
55760         [BZ #12587]
55761         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55762         Handle cache information in CPU leaf 4.
55763         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55765 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
55767         [BZ #12583]
55768         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55769         character representation.
55770         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55772 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
55774         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55775         END(__isnan) to END(__isnanf) to match function entry point/label
55776         EALIGN(__isnanf,...).
55778 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
55780         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55782 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
55784         [BZ #12510]
55785         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55786         copy from the symbol referenced in the relocation to initialize the
55787         used variable.
55788         Patch by Piotr Bury <pbury@goahead.com>.
55789         * elf/Makefile: Add rules to build and tst-unique3.
55790         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55791         * elf/tst-unique3.cc: New file.
55792         * elf/tst-unique3.h: New file.
55793         * elf/tst-unique3lib.cc: New file.
55794         * elf/tst-unique3lib2.cc: New file.
55796         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55798 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
55800         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55801         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
55802         to _start.
55804 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
55806         * elf/dl-load.c (_dl_map_object): If we are looking for the first
55807         to-be-loaded object along a path to loader is ld.so.
55809 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55810             Ulrich Drepper  <drepper@gmail.com>
55812         * sysdeps/x86_64/memset.S: After aligning destination, code
55813         branches to different locations depending on the value of
55814         misalignment, when multiarch is enabled. Fix this.
55816 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55818         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55819         Set _x86_64_preferred_memory_instruction for AMD processsors.
55820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55821         Set bit_Prefer_SSE_for_memop for AMD processors.
55823 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55825         * libio/fmemopen.c (fmemopen): Optimize a bit.
55827 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55829         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55831 2011-03-03  Roland McGrath  <roland@redhat.com>
55833         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55835 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55837         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55838         __bzero_ultra1 instead of __memset_ultra1.
55840 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55841             Ulrich Drepper  <drepper@gmail.com>
55843         [BZ #12509]
55844         * include/link.h (struct link_map): Add l_orig_initfini.
55845         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55846         returning unsuccessfully.
55847         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55848         close of a file loaded at startup, restore the original l_initfini
55849         list.
55850         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55851         list, store the pointer.
55852         * elf/Makefile ($(objpfx)noload-mem): New rule.
55853         (noload-ENV): Define.
55854         (tests): Add $(objpfx)noload-mem.
55855         * elf/noload.c: Include <memcheck.h>.
55856         (main): Call mtrace.  Close all opened handles.
55858 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55860         [BZ #12454]
55861         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55862         dependencies are missing.
55864 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55866         Fix __if_freereq crash: Unlike the generic version which uses free,
55867         Hurd needs munmap.
55868         * sysdeps/mach/hurd/ifreq.h: New file.
55870 2011-01-27  Petr Baudis  <pasky@suse.cz>
55871             Ulrich Drepper  <drepper@gmail.com>
55873         [BZ 12445]#
55874         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55875         to extend_alloca().
55876         * stdio-common/bug23.c: New file.
55877         * stdio-common/Makefile (tests): Add bug23.
55879 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55880             Ulrich Drepper  <drepper@gmail.com>
55882         [BZ #12489]
55883         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55884         before performing relro protection.  At old place add assertion
55885         to make sure nothing changed.
55887 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55888             Glauber de Oliveira Costa  <glommer@gmail.com>
55890         * elf/elf.h: Add new ARM TLS relocs.
55892 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55895         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55896         cast from r3.
55897         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55898         'tests' variable.
55899         * sysdeps/wordsize-64/tst-writev.c: New file.
55901 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55903         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55904         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55905         insns in _dl_start to prevent a TOC reference before relocs are
55906         resolved.
55908 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55910         [BZ #12469]
55911         * Makeconfig: Remove RANLIB definition.
55912         * Makerules: Don't use RANLIB.
55913         * aclocal.m4: Remove ranlib test.
55914         * configure.in: No need to check for ranlib.
55915         * elf/rtld-Rules: Don't use RANLIB.
55917 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55919         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55920         protection macro.
55921         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55922         inclusion protection macro.
55924         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55925         SIGRTMIN and SIGRTMAX and print information in that case only when
55926         SIGRTMIN is defined.
55928 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55930         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55931         arginfo fn returning -1.
55933         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55934         and thousands string is zero terminated.
55936 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55938         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55939         sysdeps/unix/sysv/linux/bits/socket.h.
55941 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55943         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55944         (__CPU_COUNT): Remove old macros.
55945         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55946         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55947         (__CPU_ALLOC, __CPU_FREE): Add macros.
55948         (__sched_cpualloc, __sched_cpufree): Add declarations.
55950 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55952         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55953         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55954         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55955         (readdhstai): Return value of addhstaiX call.
55956         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55957         (addgrbyX): Return value returned by cache_addgr.
55958         (readdgrbyname): Return value returned by addgrbyX.
55959         (readdgrbygid): Likewise.
55960         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55961         (addpwbyX): Return value returned by cache_addpw.
55962         (readdpwbyname): Return value returned by addhstbyX.
55963         (readdpwbyuid): Likewise.
55964         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55965         (addservbyX): Return value returned by cache_addserv.
55966         (readdservbyname): Return value returned by addservbyX:
55967         (readdservbyport): Likewise.
55968         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55969         (addhstbyX): Return value returned by cache_addhst.
55970         (readdhstbyname): Return value returned by addhstbyX.
55971         (readdhstbyaddr): Likewise.
55972         (readdhstbynamev6): Likewise.
55973         (readdhstbyaddrv6): Likewise.
55974         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55975         (readdinitgroups): Return value returned by addinitgroupsX.
55976         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55977         (prune_cache): Keep track of timeout value of re-added entries.
55978         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55979         * nscd/nscd.h: Adjust prototypes of readd* functions.
55981 2011-02-04  Roland McGrath  <roland@redhat.com>
55983         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55984         (nis_stats): Likewise.
55985         * nis/nis_modify.c (nis_modify): Likewise.
55986         * nis/nis_remove.c (nis_remove): Likewise.
55987         * nis/nis_add.c (nis_add): Likewise.
55989         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55991         * posix/fnmatch_loop.c: Add some consts.
55993         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55995 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55997         [BZ #12460]
55998         * config.make.in (config-cflags-novzeroupper): Define.
55999         * configure.in: Substitute libc_cv_cc_novzeroupper.
56000         * elf/Makefile (AVX-CFLAGS): Define.
56001         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56002         (CFLAGS-tst-auditmod4a.c): Likewise.
56003         (CFLAGS-tst-auditmod4b.c): Likewise.
56004         (CFLAGS-tst-auditmod6b.c): Likewise.
56005         (CFLAGS-tst-auditmod6c.c): Likewise.
56006         (CFLAGS-tst-auditmod7b.c): Likewise.
56007         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56009 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56011         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56012         function to the callback.
56013         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56015 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56017         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56018         of errno.
56020 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56022         [BZ #11724]
56023         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56024         of constructors.
56025         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56026         of destructors.
56027         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56029         [BZ #11724]
56030         * elf/Makefile: Add rules to build and run new test.
56031         * elf/tst-initorder.c: New file.
56032         * elf/tst-initorder.exp: New file.
56033         * elf/tst-initordera1.c: New file.
56034         * elf/tst-initordera2.c: New file.
56035         * elf/tst-initordera3.c: New file.
56036         * elf/tst-initordera4.c: New file.
56037         * elf/tst-initorderb1.c: New file.
56038         * elf/tst-initorderb2.c: New file.
56039         * elf/tst-order-a1.c: New file.
56040         * elf/tst-order-a2.c: New file.
56041         * elf/tst-order-a3.c: New file.
56042         * elf/tst-order-a4.c: New file.
56043         * elf/tst-order-b1.c: New file.
56044         * elf/tst-order-b2.c: New file.
56045         * elf/tst-order-main.c: New file.
56046         New test case by George Gensure <werkt0@gmail.com>.
56048 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56051         decoding ACE if AI_CANONIDN.
56053 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56055         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56057 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56059         * version.h (RELEASE): Bump for 2.13 release.
56060         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56062         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56064         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56065         MADV_NOHUGEPAGE.
56066         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56067         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56068         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56069         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56070         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56071         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56073         * posix/getconf.c: Update copyright year.
56074         * catgets/gencat.c: Likewise.
56075         * csu/version.c: Likewise.
56076         * debug/catchsegv.sh: Likewise.
56077         * debug/xtrace.sh: Likewise.
56078         * elf/ldconfig.c: Likewise.
56079         * elf/ldd.bash.in: Likewise.
56080         * elf/sprof.c (print_version): Likewise.
56081         * iconv/iconv_prog.c: Likewise.
56082         * iconv/iconvconfig.c: Likewise.
56083         * locale/programs/locale.c: Likewise.
56084         * locale/programs/localedef.c: Likewise.
56085         * malloc/memusage.sh: Likewise.
56086         * malloc/mtrace.pl: Likewise.
56087         * nscd/nscd.c (print_version): Likewise.
56088         * nss/getent.c: Likewise.
56090         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56091         PF_CAIF, and PF_ALG.
56092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56094 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56096         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56097         (modules-names): Use them.
56098         (ifunc-test-modules, ifunc-pie-tests): Define.
56099         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56100         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56101         (test-extras): Likewise.
56102         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56103         $(compile-command.c).
56104         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56105         (all-built-dso): Define.
56106         (check-textrel.out, check-execstack.out): Depend on it.
56108         * configure.in: Don't override --enable-multi-arch.
56110 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56112         [BZ #6812]
56113         * nscd/hstcache.c (tryagain): Define.
56114         (cache_addhst): Return tryagain not notfound for temporary errors.
56115         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56116         failed.
56118 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56120         [BZ #10563]
56121         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56122         to make the syscall.
56123         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56125         [BZ #12378]
56126         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56127         and fall back to matching as normal character if the string ends before
56128         the matching ']' is found.  This is what POSIX requires.
56129         * posix/testfnm.c: Adjust test result.
56130         * posix/globtest.sh: Adjust test result.  Add new test.
56131         * posix/tst-fnmatch.input: Likewise.
56132         * posix/tst-fnmatch2.c: Add new test.
56134 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56136         * elf/Makefile (check-execstack): Revert last change.  Depend on
56137         check-execstack.h.
56138         (check-execstack.h): New target.
56139         (generated): Add check-execstack.h.
56140         * elf/check-execstack.c: Include "check-execstack.h".
56141         (main): Revert last change.
56142         (handle_file): Return zero if GNU_STACK is absent and
56143         DEFAULT_STACK_PERMS doesn't include PF_X.
56145 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56147         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56148         in child fails because the descriptor is already closed.
56149         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56150         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56151         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56153         [BZ #12397]
56154         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56155         syscall.
56157         [BZ #10484]
56158         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56159         temporary buffer used to handle multi lookups locally.
56160         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56162 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56164         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56165         loader is ld.so.
56167 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56169         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56170         alignment for SSE2.
56172 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56174         [BZ #12394]
56175         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56176         characters.  When rounding increased number of integer digits recompute
56177         number of groups.
56178         * stdio-common/tst-grouping.c: New file.
56179         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56181 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56183         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56184         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56186         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56187         void.
56188         * bits/select.h: Likewise.
56190 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56192         * po/ja.po: Update from translation team.
56194 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56196         [BZ #11155]
56197         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56198         implementation just like for lxstat, fxstatat, et al.
56200 2010-12-27  Jim Meyering  <meyering@redhat.com>
56202         [BZ #12348]
56203         * posix/regexec.c (build_trtable): Return failure indication upon
56204         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56206 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56208         [BZ #12201]
56209         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56210         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56211         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56212         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56214         [BZ #12207]
56215         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56217         [BZ #12204]
56218         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56219         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56221 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56223         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56224         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56225         script has SORT_BY_INIT_PRIORITY.
56226         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56227         NO_CTORS_DTORS_SECTIONS is defined.
56228         * elf/soinit.c: Likewise.
56229         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56230         NO_CTORS_DTORS_SECTIONS is defined.
56231         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56232         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56233         * sysdeps/sh/init-first.c: Likewise.
56234         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56236 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56238         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56239         always use the slow path.
56241 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56243         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56244         similar rule which adds the sysdep directories to the header search in
56245         order to pick up the correct platform stackinfo.h.
56246         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56247         perform test if it is, otherwise return successfully without testing.
56248         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56249         DEFAULT_STACK_PERMS define in stackinfo.h.
56250         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56251         defined in stackinfo.h.
56252         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56253         DEFAULT_STACK_PERMS defined in stackinfo.h.
56254         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56255         * sysdeps/ia64/stackinfo.h: Likewise.
56256         * sysdeps/s390/stackinfo.h: Likewise.
56257         * sysdeps/sh/stackinfo.h: Likewise.
56258         * sysdeps/sparc/stackinfo.h: Likewise.
56259         * sysdeps/x86_64/stackinfo.h: Likewise.
56260         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56261         PF_X for powerpc64.  Retain PF_X for powerpc32.
56263 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56265         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56266         accurately.
56267         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56268         GETDENTS_64BIT_ALIGNED.
56270 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56272         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56274 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56276         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56277         _GNU_SOURCE.
56279         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56280         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56281         Remove __restrict.
56282         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56283         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56285 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56287         [BZ #11655]
56288         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56289         are initialized.
56291 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56293         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56295 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56297         * po/it.po: Update from translation team.
56299 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56301         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56302         unused codes.
56304 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56306         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56308 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56310         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56311         specially.
56312         (gaih_getanswer_slice): Likewise.
56314 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56318 2010-05-31  Petr Baudis  <pasky@suse.cz>
56320         [BZ #11149]
56321         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56322         silently even in the chroot mode.
56324 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56326         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56327         last patch a bit.  Pretty printing
56329 2010-05-31  Petr Baudis <pasky@suse.cz>
56331         [BZ #10085]
56332         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56333         initialization of skip_initgroups_dyn.
56335 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56337         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56338         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56340 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56342         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56344 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56346         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56347         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56348         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56349         ($(objpfx)tst-fnmatch-mem): New rule.
56350         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56351         * posix/tst-fnmatch.c (main): Call mtrace.
56353 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56356         Support Intel processor model 6 and model 0x2c.
56358 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56360         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56361           signed comparison.
56363 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56365         [BZ #12205]
56366         * string/test-strncasecmp.c (check_result): New function.
56367         (do_one_test): Use it.
56368         (check1): New function.
56369         (test_main): Use it.
56370         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56371         Support strcasecmp and strncasecmp.
56373 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56375         [BZ #12194]
56376         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56377         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56379 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56381         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56382         IFUNC support.
56383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56384         memset-x86-64.
56385         * sysdeps/x86_64/multiarch/bzero.S: New file.
56386         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56387         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56388         * sysdeps/x86_64/multiarch/memset.S: New file.
56389         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56391         Set bit_Prefer_SSE_for_memop for Intel processors.
56392         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56393         Define.
56394         (index_Prefer_SSE_for_memop): Define.
56395         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56397 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56399         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56400         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56402 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56404         [BZ #12191]
56405         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56406         (__x86_64_raw_data_cache_size_half): Likewise.
56407         (__x86_64_raw_shared_cache_size): Likewise.
56408         (__x86_64_raw_shared_cache_size_half): Likewise.
56410         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56411         (__x86_64_raw_data_cache_size_half): Likewise.
56412         (__x86_64_raw_shared_cache_size): Likewise.
56413         (__x86_64_raw_shared_cache_size_half): Likewise.
56414         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56415         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56416         and __x86_64_raw_shared_cache_size_half.  Round
56417         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56418         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56419         to multiple of 256 bytes.
56421 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56423         [BZ #12167]
56424         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56425         of inacessible symlinks.  Verify result of symlink before returning it.
56426         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56427         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56429 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56431         * math/math.h (isinf): Fix typo in comment.
56433 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56435         * po/da.po: Update from translation team.
56437 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56439         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56440         is added to the list.
56442 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56443             Ulrich Drepper  <drepper@gmail.com>
56445         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56446         the global list here.  Move code to...
56447         (_dl_add_to_namespace_list): ...here.  New function.
56448         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56449         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56450         * elf/dl-load.c (lose): Don't remove the element from the list.
56451         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56452         (_dl_map_object): Likewise.
56454 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56456         [BZ #12159]
56457         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56458         into all bytes of SSE register.
56459         Patch by Richard Li <richardpku@gmail.com>.
56461 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56463         [BZ #12140]
56464         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56465         perturbing.
56467 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56469         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56470         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56471         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56472         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56474         submachine.
56475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56477 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56479         * include/dlfcn.h (__RTLD_SECURE): Define.
56480         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56481         mode & __RTLD_SECURE instead.
56482         (open_path): Rename preloaded parameter to secure.
56483         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56484         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56485         * elf/dl-deps.c (openaux): Likewise.
56486         * elf/rtld.c (struct map_args): Remove is_preloaded.
56487         (map_doit): Don't use it.
56488         (dl_main): Likewise.
56489         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56490         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56492 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56494         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56495         (sysd-rules-targets): Remove duplicates.
56496         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56497         rtld-%.$o dependency.
56499 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56501         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56502         _dl_map_object do it.
56504 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56506         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56507         fast fma builtins, define the macros in the C99 standard.
56508         (FP_FAST_FMAF): Likewise.
56509         (FP_FAST_FMAL): Likewise.
56510         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56512         * bits/mathdef.h: Update copyright year.
56513         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56515 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56517         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56518         builtins, define the macros in the C99 standard.
56519         (FP_FAST_FMAF): Likewise.
56520         (FP_FAST_FMAL): Likewise.
56521         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56522         multiply/add.
56523         (FP_FAST_FMAF): Likewise.
56525 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56527         [BZ #3268]
56528         * math/libm-test.inc (fma_test): Some new testcases.
56529         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56530         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56531         y and infinite z.  Do multiplication by C already in long double.
56532         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56534         y and infinite z.  Do bitwise or of inexact bit into u.d.
56535         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56536         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56537         * sysdeps/i386/fpu/s_fma.S: Removed.
56538         * sysdeps/i386/fpu/s_fmal.S: Removed.
56540 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56542         [BZ #3268]
56543         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56544         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56545         computation is not scheduled after fetestexcept.  Fix value
56546         of minimum denormal long double.
56548 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56550         [BZ #3268]
56551         * math/libm-test.inc (fma_test): Add some more tests.
56552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56553         correctly.
56555 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56557         * scripts/data/localplt-s390-linux-gnu.data: New file.
56558         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56560 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56562         [BZ #3268]
56563         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56564         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56565         instead of dbl-64.
56566         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56567         inlines.
56568         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56570         if one of x and y is very large and the other is subnormal.
56571         * sysdeps/s390/fpu/s_fmaf.c: New file.
56572         * sysdeps/s390/fpu/s_fma.c: New file.
56573         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56574         * sysdeps/powerpc/fpu/s_fma.S: New file.
56575         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56576         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56577         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56579 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56581         [BZ #3268]
56582         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56583         fma tests.
56584         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56585         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56586         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56587         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56588         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56589         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56590         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56592 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
56594         [BZ #12078]
56595         * posix/regcomp.c (parse_branch): One more memory leak plugged.
56596         * posix/bug-regex31.input: Add test case.
56598 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56600         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56601         * posix/bug-regex31.input: New file.
56603         [BZ #12078]
56604         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56605         (parse_sub_exp): Fix last change, use postorder.
56607         * posix/bug-regex31.c: New file.
56608         * posix/Makefile: Add rules to build and run bug-regex31.
56610         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56612         [BZ #12078]
56613         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56615         [BZ #12108]
56616         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56617         to have entries in sys_siglist.
56619         [BZ #12093]
56620         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56621         be NULL.
56623 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
56625         [BZ #3268]
56626         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56627         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56628         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56629         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56630         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56631         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56632         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56633         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56634         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56635         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56636         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56637         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56638         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56639         * math/ftestexcept.c (fetestexcept): Likewise.
56640         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56641         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56642         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56643         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56644         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56645         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56646         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56648 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56650         [BZ #12107]
56651         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56652         newline.
56654 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
56656         * string/bug-strstr1.c: New file.
56657         * string/Makefile: Add rules to build and run bug-strstr1.
56659 2010-10-05  Eric Blake  <eblake@redhat.com>
56661         [BZ #12092]
56662         * string/str-two-way.h (two_way_long_needle): Always clear memory
56663         when skipping input due to the shift table.
56665 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
56667         [BZ #12005]
56668         * malloc/mcheck.c: Handle large requests.
56670         [BZ #12077]
56671         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56672         for strncmp and strncasecmp.
56673         * string/stratcliff.c: Add tests for strcmp and strncmp.
56674         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56676 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56678         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56679         __set_fpscr.
56681 2010-09-30  Andreas Jaeger  <aj@suse.de>
56683         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56684         (CGROUP_SUPER_MAGIC): Define.
56685         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56686         Handle btrfs and cgroup file systems.
56687         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56688         Likewise.
56690 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
56692         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56693         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56695 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56697         [BZ #12067]
56698         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56699         trying to locate the ELF header.
56701 2010-09-27  Andreas Schwab  <schwab@redhat.com>
56703         [BZ #11611]
56704         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56705         Mask out sign-bit copies when constructing f_fsid.
56707 2010-09-24  Petr Baudis <pasky@suse.cz>
56709         * debug/stack_chk_fail_local.c: Add missing licence exception.
56710         * debug/warning-nop.c: Likewise.
56712 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
56714         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56715         implementing getdents64 using getdents syscall, set d_type if
56716         __ASSUME_GETDENTS32_D_TYPE.
56718 2010-09-16  Andreas Schwab  <schwab@redhat.com>
56720         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56721         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56723 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
56725         [BZ #12037]
56726         * posix/unistd.h: Undo change of feature selection for ftruncate from
56727         2010-01-11.
56729 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
56731         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56732         detection.
56734 2010-09-20  Andreas Schwab  <schwab@redhat.com>
56736         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56737         fanotify_mark.
56738         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56740 2010-09-14  Andreas Schwab  <schwab@redhat.com>
56742         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56743         variables after CHECK_SP call.
56744         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56746 2010-09-13  Andreas Schwab  <schwab@redhat.com>
56747             Ulrich Drepper  <drepper@redhat.com>
56749         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56750         re-relocationg ld.so.
56751         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56752         _dl_init_paths call.
56753         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
56754         here anymore.
56756 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
56758         * resolv/res_init.c (__res_vinit): Count the default server we added.
56760 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
56761             Ulrich Drepper  <drepper@redhat.com>
56763         [BZ #11968]
56764         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56765         (____longjmp_chk): Use %ebx for saving value across system call.
56766         Add unwind info.
56768 2010-09-06  Andreas Schwab  <schwab@redhat.com>
56770         * manual/Makefile: Don't mix pattern rules with normal rules.
56772 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56774         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56775         operation.
56776         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56777         * libio/iofopncook.c (_IO_cookie_init): Likewise.
56778         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56779         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56781         Likewise.
56783 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
56785         [BZ #11979]
56786         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56787         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56789 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
56791         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56792         * sysdeps/x86_64/addmul_1.S: Likewise.
56793         * sysdeps/x86_64/lshift.S: Likewise.
56794         * sysdeps/x86_64/mul_1.S: Likewise.
56795         * sysdeps/x86_64/rshift.S: Likewise.
56796         * sysdeps/x86_64/sub_n.S: Likewise.
56797         * sysdeps/x86_64/submul_1.S: Likewise.
56799 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56801         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56802         Define __sched_param instead of SCHED_* and sched_param when
56803         <bits/sched.h> is included with __need_schedparam defined.
56804         * bits/sched.h [__need_schedparam]
56805         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56806         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56807         (__defined_schedparam): Define to 1.
56808         (__sched_param): New structure, identical to sched_param.
56809         (__need_schedparam): Undefine.
56811 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56813         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56814         (epoll_create1): Declare.
56816         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56818 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56820         [BZ #7066]
56821         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56822         shifting retval into place.
56824 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56826         * nis/rpcsvc/nis.h: Update copyright notice.
56827         * nis/rpcsvc/nis.x: Likewise.
56828         * nis/rpcsvc/nis_callback.h: Likewise.
56829         * nis/rpcsvc/nis_callback.x: Likewise.
56830         * nis/rpcsvc/nis_object.x: Likewise.
56831         * nis/rpcsvc/nis_tags.h: Likewise.
56832         * nis/rpcsvc/yp.h: Likewise.
56833         * nis/rpcsvc/yp.x: Likewise.
56834         * nis/rpcsvc/ypupd.h: Likewise.
56835         * nis/yp_xdr.c: Likewise.
56836         * nis/ypupdate_xdr.c: Likewise.
56838         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56839         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56840         (pmap_getport): Use __libc_rpc_getport.
56841         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56842         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56843         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56845 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56848         fanotify_mark.
56850 2010-08-27  Roland McGrath  <roland@redhat.com>
56852         * sysdeps/i386/i686/multiarch/Makefile
56853         (CFLAGS-varshift.c): New variable.
56855 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56857         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56858         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56860         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56862         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56864 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56866         * sysdeps/x86_64/strlen.S: Unroll the loop.
56867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56868         strlen-sse2 strlen-sse2-bsf.
56869         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56870         __strlen_no_bsf if bit_Slow_BSF is set.
56871         (__strlen_sse42): Removed.
56872         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56873         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56875 2010-08-25  Roland McGrath  <roland@redhat.com>
56877         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56878         * sysdeps/x86_64/multiarch/varshift.c: New file.
56879         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56880         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56881         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56882         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56884 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56886         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56887         strlen-sse2 strlen-sse2-bsf.
56888         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56889         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56890         (__strlen_sse2): Removed.
56891         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56892         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56894         bit_Slow_BSF for Atom.
56895         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56896         (index_Slow_BSF): Define.
56897         (HAS_SLOW_BSF): Define.
56899 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56901         [BZ #10851]
56902         * resolv/res_init.c (__res_vinit): When no server address at all
56903         is given default to loopback.
56905 2010-08-24  Roland McGrath  <roland@redhat.com>
56907         * configure.in: Remove config-name.h generation.
56908         * configure: Regenerated.
56909         * config-name.in: File removed.
56910         * scripts/config-uname.sh: New file.
56911         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56912         ($(objdir)config-name.h): New target.
56914         * sunrpc/rpc_parse.h: Avoid nested comment.
56916 2010-08-24  Richard Henderson  <rth@redhat.com>
56917             Ulrich Drepper  <drepper@redhat.com>
56918             H.J. Lu  <hongjiu.lu@intel.com>
56920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56922         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56923         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56924         _mm_alignr_epi8 with _mm_loadu_si128.
56925         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56926         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56927         (__m128i_shift_right): Removed.
56928         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56929         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56930         * sysdeps/x86_64/multiarch/varshift.h: New file.
56931         * sysdeps/x86_64/multiarch/varshift.S: New file.
56933 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56935         * configure.in: Move assembler checks to before sysdep dir checking.
56937 2010-08-20  Petr Baudis  <pasky@suse.cz>
56939         * LICENSES: Sync the sunrpc license.
56941 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56943         * sunrpc/auth_des.c: Update copyright notice once again.
56944         * sunrpc/auth_none.c: Likewise.
56945         * sunrpc/auth_unix.c: Likewise.
56946         * sunrpc/authdes_prot.c: Likewise.
56947         * sunrpc/authuxprot.c: Likewise.
56948         * sunrpc/bindrsvprt.c: Likewise.
56949         * sunrpc/clnt_gen.c: Likewise.
56950         * sunrpc/clnt_perr.c: Likewise.
56951         * sunrpc/clnt_raw.c: Likewise.
56952         * sunrpc/clnt_simp.c: Likewise.
56953         * sunrpc/clnt_tcp.c: Likewise.
56954         * sunrpc/clnt_udp.c: Likewise.
56955         * sunrpc/clnt_unix.c: Likewise.
56956         * sunrpc/des_crypt.c: Likewise.
56957         * sunrpc/des_soft.c: Likewise.
56958         * sunrpc/get_myaddr.c: Likewise.
56959         * sunrpc/getrpcport.c: Likewise.
56960         * sunrpc/key_call.c: Likewise.
56961         * sunrpc/key_prot.c: Likewise.
56962         * sunrpc/openchild.c: Likewise.
56963         * sunrpc/pm_getmaps.c: Likewise.
56964         * sunrpc/pm_getport.c: Likewise.
56965         * sunrpc/pmap_clnt.c: Likewise.
56966         * sunrpc/pmap_prot.c: Likewise.
56967         * sunrpc/pmap_prot2.c: Likewise.
56968         * sunrpc/pmap_rmt.c: Likewise.
56969         * sunrpc/rpc/auth.h: Likewise.
56970         * sunrpc/rpc/auth_unix.h: Likewise.
56971         * sunrpc/rpc/clnt.h: Likewise.
56972         * sunrpc/rpc/des_crypt.h: Likewise.
56973         * sunrpc/rpc/key_prot.h: Likewise.
56974         * sunrpc/rpc/netdb.h: Likewise.
56975         * sunrpc/rpc/pmap_clnt.h: Likewise.
56976         * sunrpc/rpc/pmap_prot.h: Likewise.
56977         * sunrpc/rpc/pmap_rmt.h: Likewise.
56978         * sunrpc/rpc/rpc.h: Likewise.
56979         * sunrpc/rpc/rpc_des.h: Likewise.
56980         * sunrpc/rpc/rpc_msg.h: Likewise.
56981         * sunrpc/rpc/svc.h: Likewise.
56982         * sunrpc/rpc/svc_auth.h: Likewise.
56983         * sunrpc/rpc/types.h: Likewise.
56984         * sunrpc/rpc/xdr.h: Likewise.
56985         * sunrpc/rpc_clntout.c: Likewise.
56986         * sunrpc/rpc_cmsg.c: Likewise.
56987         * sunrpc/rpc_common.c: Likewise.
56988         * sunrpc/rpc_cout.c: Likewise.
56989         * sunrpc/rpc_dtable.c: Likewise.
56990         * sunrpc/rpc_hout.c: Likewise.
56991         * sunrpc/rpc_main.c: Likewise.
56992         * sunrpc/rpc_parse.c: Likewise.
56993         * sunrpc/rpc_parse.h: Likewise.
56994         * sunrpc/rpc_prot.c: Likewise.
56995         * sunrpc/rpc_sample.c: Likewise.
56996         * sunrpc/rpc_scan.c: Likewise.
56997         * sunrpc/rpc_scan.h: Likewise.
56998         * sunrpc/rpc_svcout.c: Likewise.
56999         * sunrpc/rpc_tblout.c: Likewise.
57000         * sunrpc/rpc_util.c: Likewise.
57001         * sunrpc/rpc_util.h: Likewise.
57002         * sunrpc/rpcinfo.c: Likewise.
57003         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57004         * sunrpc/rpcsvc/key_prot.x: Likewise.
57005         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57006         * sunrpc/rpcsvc/mount.x: Likewise.
57007         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57008         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57009         * sunrpc/rpcsvc/rex.x: Likewise.
57010         * sunrpc/rpcsvc/rstat.x: Likewise.
57011         * sunrpc/rpcsvc/rusers.x: Likewise.
57012         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57013         * sunrpc/rpcsvc/spray.x: Likewise.
57014         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57015         * sunrpc/rtime.c: Likewise.
57016         * sunrpc/svc.c: Likewise.
57017         * sunrpc/svc_auth.c: Likewise.
57018         * sunrpc/svc_authux.c: Likewise.
57019         * sunrpc/svc_raw.c: Likewise.
57020         * sunrpc/svc_run.c: Likewise.
57021         * sunrpc/svc_simple.c: Likewise.
57022         * sunrpc/svc_tcp.c: Likewise.
57023         * sunrpc/svc_udp.c: Likewise.
57024         * sunrpc/svc_unix.c: Likewise.
57025         * sunrpc/svcauth_des.c: Likewise.
57026         * sunrpc/xcrypt.c: Likewise.
57027         * sunrpc/xdr.c: Likewise.
57028         * sunrpc/xdr_array.c: Likewise.
57029         * sunrpc/xdr_float.c: Likewise.
57030         * sunrpc/xdr_mem.c: Likewise.
57031         * sunrpc/xdr_rec.c: Likewise.
57032         * sunrpc/xdr_ref.c: Likewise.
57033         * sunrpc/xdr_sizeof.c: Likewise.
57034         * sunrpc/xdr_stdio.c: Likewise.
57036         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57037         handling.
57039 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57041         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57043 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57045         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57046         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57047         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57048         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57049         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57050         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57051         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57052         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57053         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57054         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57055         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57056         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57057         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57058         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57060 2010-07-26  Anton Blanchard  <anton@samba.org>
57062         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57063         * malloc/arena.c (heap_trim): Likewise.
57065 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57067         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57068         here.  Not...
57069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57070         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57072 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57074         * sysdeps/i386/elf/Makefile: New file.
57076 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57078         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57079         from fanotify_init.
57080         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57081         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57083 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57085         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57086         of strncasecmp_l.
57087         * sysdeps/multiarch/strcmp.S: Likewise.
57089 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57091         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57092         strncase_l-nonascii.
57093         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57094         Add strncase_l-ssse3.
57095         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57096         * sysdeps/x86_64/strcmp.S: Likewise.
57097         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57098         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57099         * sysdeps/x86_64/strncase.S: New file.
57100         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57101         * sysdeps/x86_64/strncase_l.S: New file.
57102         * string/Makefile (strop-tests): Add strncasecmp.
57103         * string/test-strncasecmp.c: New file.
57105         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57106         warning.
57108         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57109         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57111 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57113         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57115 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57117         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57118         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57119         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57121 2010-05-01  Alan Modra  <amodra@gmail.com>
57123         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57124         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57125         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57126         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57127         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57128         tidying.  Don't tail-call __sigjmp_save for static lib.
57129         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57130         save location.
57131         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57132         (CALL_MCOUNT): Add eh info, and nop after bl.
57133         (TAIL_CALL_SYSCALL_ERROR): New macro.
57134         (PSEUDO_RET): Use it.
57135         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57136         Correct save location of integer regs and cr.
57137         (_dl_profile_resolve): Correct cr save location.  Delete nops
57138         after bl when SHARED.  Reduce cfi size a little by better
57139         placement of cfi directives.
57140         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57141         make a stack frame.  Instead use parm save area as a temp.
57142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57143         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57145         Don't make a stack frame for parent, use parm save area.
57146         Increase child stack frame to 112 bytes.  Don't save unused reg,
57147         and adjust reg usage.  Set up cfi on error recovery and
57148         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57150         (__makecontext): Add dummy nop after jump to exit.
57151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57152         Use correct parm save area and cr save, reduce stack frame.
57153         Correct cfi for possible PSEUDO_RET frame setup.
57154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57155         Branch to local label emitted by PSEUDO_RET rather than
57156         __syscall_error.
57158 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57160         [BZ #11904]
57161         * locale/programs/locale.c (print_assignment): New function.
57162         (show_locale_vars): Use it.
57164 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57166         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57167         field.
57168         (struct statfs64): Likewise.
57169         (_STATFS_F_FLAGS): Define.
57170         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57171         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57172         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57173         (ST_VALID): Define locally.
57174         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57175         __statvfs_getflags, use the provided value.
57176         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57177         __ASSUME_STATFS_F_FLAGS.
57179         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57181         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57182         Add sys/fanotify.h.
57183         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57184         fanotify_mask for GLIBC_2.13.
57185         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57186         fanotify_init and fanotify_mark.
57187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57188         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57190         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57191         Add prlimit.
57192         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57193         prlimit64 for GLIBC_2.13.
57194         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57195         prlimit64.
57196         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57197         syscall.
57198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57200         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57201         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57202         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57203         add prlimit alias.
57204         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57206         [BZ #11903]
57207         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57208         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57210         * nss/Makefile: Add rules to build and run tst-nss-test1.
57211         * shlib-versions: Add entry for libnss_test1.
57212         * nss/nss_test1.c: New file.
57213         * nss/tst-nss-test1.c: New file.
57215         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57216         (__nss_configure_lookup): Set appropriate entry in
57217         __nss_configure_lookup to true.
57218         * nss/nsswitch.h: Define enum with indeces of databases in
57219         databases and __nss_database_custom arrays.  Declare
57220         __nss_database_custom.
57221         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57222         to avoid using nscd when custom rules are installed.
57223         * nss/getXXbyYY_r.c: Likewise.
57224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57226         * nss/nss_files/files-parse.c: Whitespace fixes.
57228 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57230         [BZ #11883]
57231         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57232         * posix/fnmatch_loop.c: Likewise.
57234 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57236         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57237         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57238         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57239         * Versions.def [GLIBC_2.13]: Add.
57241 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57243         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57244         Also fail if tpwd after pwuid call is NULL.
57246 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57248         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57249         when converting to ms.
57251 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57253         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57254         EOPNOTSUPP errors with ENOTTY.
57255         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57256         EOPNOTSUPP errors with ENOTTY.
57258 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57260         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57261         Add strcasecmp_l-ssse3.
57262         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57263         strcasecmp.
57264         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57265         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57266         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57268 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57270         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57272         * string/Makefile (strop-tests): Add strcasecmp.
57273         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57274         strcasecmp_l-nonascii.
57275         (gen-as-const-headers): Add locale-defines.sym.
57276         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57277         * sysdeps/x86_64/strcasecmp.S: New file.
57278         * sysdeps/x86_64/strcasecmp_l.S: New file.
57279         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57280         * sysdeps/x86_64/locale-defines.sym: New file.
57281         * string/test-strcasecmp.c: New file.
57283         * string/test-strcasestr.c: Test both ends of the range of characters.
57284         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57286 2010-07-29  Roland McGrath  <roland@redhat.com>
57288         [BZ #11856]
57289         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57291 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57293         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57294         for ld.so.
57296 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57298         * manual/memory.texi (Malloc Tunable Parameters): Document
57299         M_PERTURB.
57301 2010-07-26  Roland McGrath  <roland@redhat.com>
57303         [BZ #11840]
57304         * configure.in (-fgnu89-inline check): Set and substitute
57305         gnu89_inline, not libc_cv_gnu89_inline.
57306         * configure: Regenerated.
57307         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57309 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57311         * string/test-strnlen.c: New file.
57312         * string/Makefile (strop-tests): Add strnlen.
57313         * string/tester.c (test_strnlen): Add a few more test cases.
57314         * string/tst-strlen.c: Better error reporting.
57316         * sysdeps/x86_64/strnlen.S: New file.
57318 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57320         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57321         lower-latency instructions.
57323 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57325         * string/test-strcasestr.c: New file.
57326         * string/test-strstr.c: New file.
57327         * string/Makefile (strop-tests): Add strstr and strcasestr.
57328         * string/str-two-way.h: Don't undefine MAX.
57329         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57331 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57333         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57334         strcasestr-nonascii.
57335         (CFLAGS-strcasestr-nonascii.c): Define.
57336         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57337         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57338         Remove unused attribute.
57340 2010-07-20  Roland McGrath  <roland@redhat.com>
57342         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57343         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57344         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57345         like LD_HWCAP_MASK can disable hwcaps.
57347 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57349         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57351 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57353         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57354         call in strcasestr.
57355         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57356         __strcasestr_sse42_nonascii.
57357         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57358         strcasestr-nonascii.c.
57359         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57361 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57363         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57364         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57365         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57366         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57368 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57370         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57371         fcntl.
57373 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57375         [BZ #11577]
57376         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57377         dl_signal_cerror.
57379 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57381         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57382         _PC_PIPE_BUF using F_GETPIPE_SZ.
57384 2010-07-05  Roland McGrath  <roland@redhat.com>
57386         * manual/arith.texi (Rounding Functions): Fix rint description
57387         implicit in round description.
57389 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57391         * elf/Makefile: Fix linking for a few tests to make recent linker
57392         happy.
57394 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57396         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57397         $(common-objpfx)libc_nonshared.a.
57399 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57401         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57402         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57403         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57404         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57405         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57406         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57407         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57408         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57423         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57424         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57425         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57426         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57427         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57428         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57429         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57430         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57431         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57432         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57433         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57434         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57450 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57452         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57453         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57454         * string/memmove.c (memmove): Renamed to ...
57455         (MEMMOVE): ...this.  Default to memmove.
57456         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57457         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57458         (END_CHK): Define.
57459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57460         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57461         mempcpy-ssse3-back memmove-ssse3-back.
57462         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57463         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57464         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57465         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57466         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57467         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57468         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57469         * sysdeps/x86_64/multiarch/memmove.c: New file.
57470         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57471         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57472         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57473         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57474         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57475         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57476         Define.
57477         (index_Fast_Copy_Backward): Define.
57478         (HAS_ARCH_FEATURE): Define.
57479         (HAS_FAST_REP_STRING): Define.
57480         (HAS_FAST_COPY_BACKWARD): Define.
57482 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57484         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57485         Restore proper fallback handling.
57487 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57489         [BZ #11701]
57490         * posix/group_member.c (__group_member): Correct checking loop.
57492         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57493         OOM in getpwuid_r correctly.  Return error number when the caller
57494         should return, otherwise -1.
57495         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57496         call returning > 0 value.
57497         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57499 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57501         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57502         libc_nonshared.a from targets in modules-names.
57504 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57506         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57507         requires it.
57509 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57511         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57512         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57513         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57516 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57518         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57520 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57522         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57523         and F_GETPIPE_SZ.
57524         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57525         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57527         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57528         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57529         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57531 2010-06-14  Roland McGrath  <roland@redhat.com>
57533         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57535 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57537         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57538         __REDIRECT followed by __THROW.
57539         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57540         * posix/getopt.h (getopt): Likewise.
57542 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57544         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57545         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57546         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57547         in AT_FLAGS.
57548         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57549         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57551 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57553         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57555 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57557         [BZ #11640]
57558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57559         Properly check family and model.
57561 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57563         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57565 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57567         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57569 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57571         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57572         symbol reference.
57574 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57576         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57577         symbol reference.
57579 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57581         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57582         and internal_recvmmsg.
57583         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57584         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57585         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57586         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57588         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57589         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57590         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57592 2010-05-20  Andreas Schwab  <schwab@redhat.com>
57594         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57596 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57598         POWER7 optimizations.
57599         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57600         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57602 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57604         * version.h: Update for 2.13 development version.
57606 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57608         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57609         exceptions.  Return 0.
57611 2010-05-07  Roland McGrath  <roland@redhat.com>
57613         * elf/ldconfig.c (main): Add a const.
57615 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
57617         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57618         (args_options): Add no-idn option.
57619         (ahosts_keys_int): Add idn_flags to ai_flags.
57620         (parse_option): Handle 'i' option to clear idn_flags.
57622         * malloc/malloc.c (_int_free): Possible race in the most recently
57623         added check.  Only act on the data if no current modification
57624         happened.
57626 See ChangeLog.17 for earlier changes.